Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1842079 - coreboot-utils fails to build on s390x, Fails to install
Summary: coreboot-utils fails to build on s390x, Fails to install
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: coreboot-utils
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker F33FTBFS F33FailsToInstall PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-05-30 17:32 UTC by Igor Raits
Modified: 2023-09-12 03:17 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-18 12:18:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Igor Raits 2020-05-30 17:32:22 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (ignatenkobrain).

Your package (coreboot-utils) Fails To Install in Fedora 33:

can't install coreboot-utils:
  - nothing provides python(abi) = 3.8 needed by coreboot-utils-4.11-1.fc33.x86_64
  
If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.

P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors.

P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/rawhide-gating/multi-builds/

Thanks!

Comment 1 Igor Raits 2020-06-08 07:00:24 UTC
Hello,

This is the first reminder (step 3 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs).

If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.

Comment 2 Tomáš Hrnčiar 2020-06-08 12:02:40 UTC
Fails to build on s390x.

+ make -j2 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' -C util/cbfstool
make: Entering directory '/builddir/build/BUILD/coreboot-4.11/util/cbfstool'
    HOSTCC     cbfstool/cbfstool.o
    HOSTCC     cbfstool/common.o
    HOSTCC     cbfstool/cbfs_image.o
    HOSTCC     cbfstool/cbfs-mkstage.o
    HOSTCC     cbfstool/cbfs-mkpayload.o
    HOSTCC     cbfstool/elfheaders.o
    HOSTCC     cbfstool/rmodule.o
/builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c: In function 'elf_writer_serialize':
/builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:926:3: error: 'phdr.p_align' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  926 |   ew->xdr->put64(m, phdr->p_align);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:966:13: note: 'phdr.p_align' was declared here
  966 |  Elf64_Phdr phdr;
      |             ^~~~
/builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:925:3: error: 'phdr.p_memsz' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  925 |   ew->xdr->put64(m, phdr->p_memsz);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:966:13: note: 'phdr.p_memsz' was declared here
  966 |  Elf64_Phdr phdr;
      |             ^~~~
/builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:924:3: error: 'phdr.p_filesz' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  924 |   ew->xdr->put64(m, phdr->p_filesz);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:966:13: note: 'phdr.p_filesz' was declared here
  966 |  Elf64_Phdr phdr;
      |             ^~~~
/builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:923:3: error: 'phdr.p_paddr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  923 |   ew->xdr->put64(m, phdr->p_paddr);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:966:13: note: 'phdr.p_paddr' was declared here
  966 |  Elf64_Phdr phdr;
      |             ^~~~
/builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:922:3: error: 'phdr.p_vaddr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  922 |   ew->xdr->put64(m, phdr->p_vaddr);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:966:13: note: 'phdr.p_vaddr' was declared here
  966 |  Elf64_Phdr phdr;
      |             ^~~~
/builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:921:3: error: 'phdr.p_offset' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  921 |   ew->xdr->put64(m, phdr->p_offset);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:966:13: note: 'phdr.p_offset' was declared here
  966 |  Elf64_Phdr phdr;
      |             ^~~~
/builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:920:3: error: 'phdr.p_flags' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  920 |   ew->xdr->put32(m, phdr->p_flags);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:966:13: note: 'phdr.p_flags' was declared here
  966 |  Elf64_Phdr phdr;
      |             ^~~~
cc1: all warnings being treated as errors

Comment 3 Dan Horák 2020-06-08 13:39:57 UTC
The problem is in -Werror switch set in the flags for cbfstool and smarter gcc compared to the previously successful build. Likely there is a real problem in upstream code and the warning/error is right. It can be reproduced on non-s390x (ppc64le at least) by adding --param=inline-min-speedup=2 --param=max-inline-insns-auto=80 to the TOOLCFLAGS in coreboot-4.11/util/cbfstool/Makefile.inc. gcc does more aggressive inlining on s390x leading to detection of new potential bugs.

Comment 4 Igor Raits 2020-06-29 20:22:06 UTC
Hello,

This is the second reminder (step 4 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs).

If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.

Comment 5 Fedora Admin user for bugzilla script actions 2020-08-05 09:17:14 UTC
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.

Comment 6 Igor Raits 2020-08-09 08:43:59 UTC
This package has been orphaned.

You can pick it up at https://src.fedoraproject.org/rpms/coreboot-utils by clicking button "Take". If nobody picks it up, it will be retired and removed from a distribution.

Comment 7 Ben Cotton 2020-08-11 13:35:16 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 8 Miro Hrončok 2020-08-18 12:18:15 UTC
According to https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ point 9:

> A week before the scheduled beta freeze, any packages which have open FTI bugs in the NEW state for at least 8 weeks with at least 2 reminder comments will be retired from the relevant release and rawhide (in addition to being orphaned).

This package was now orphaned (if not already) and is being retired from F33 and rawhide.

If you like it to be unretired, please open a ticket at https://pagure.io/releng/new_issue?template=package_unretirement

If you believe this was done by an accident and would like to talk to me, please note that this comment is mass posted to several bugzillas and I'm not CCed in all of them. Add me to CC or e-mail me directly if you wish need to respond.

The releng ticket it https://pagure.io/releng/issue/9693

Comment 9 Red Hat Bugzilla 2023-09-12 03:17:18 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.