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 1881315 - efivar-37-9.eln103 fails to build in ELN buildroot
Summary: efivar-37-9.eln103 fails to build in ELN buildroot
Keywords:
Status: CLOSED DUPLICATE of bug 1863475
Alias: None
Product: Fedora
Classification: Fedora
Component: efivar
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-22 07:36 UTC by Kamil Dudka
Modified: 2020-10-27 08:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 08:00:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kamil Dudka 2020-09-22 07:36:51 UTC
Version-Release number of selected component (if applicable):
efivar-37-9.eln103


How reproducible:
Easily.


Steps to Reproduce:
1. koji buildinfo $(koji latest-build --quiet eln efivar | cut -f1 -d' ') | grep ^Task
2. koji build --scratch eln git+https://src.fedoraproject.org/rpms/efivar.git#515f6c544746c6f2aaa2ca3d66a5ec14a9ca70fd


Actual results:
[...]
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -flto -std=gnu11 -funsigned-char -fvisibility=hidden -specs=/builddir/build/BUILD/efivar-37/src/include/gcc.specs -fno-merge-constants  -L. -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  -flto  -Wl,--add-needed -Wl,--build-id -Wl,--no-allow-shlib-undefined -Wl,--no-undefined-version -Wl,-z,now -Wl,-z,muldefs -Wl,-z,relro -Wl,--fatal-warnings     -DLIBEFIVAR_VERSION=37 -D_GNU_SOURCE -I/builddir/build/BUILD/efivar-37/src/include/  -shared -Wl,-soname,libefivar.so.1 -Wl,--version-script=libefivar.map  \
  -o libefivar.so crc32.o dp.o dp-acpi.o dp-hw.o dp-media.o dp-message.o efivarfs.o error.o export.o guid.o guids.o guid-symbols.o lib.o vars.o -ldl 
{standard input}: Assembler messages:
{standard input}: Error: invalid attempt to declare external version name as default in symbol `efi_set_variable@@LIBEFIVAR_0.24'
make[2]: *** [/tmp/cc3BXAXO.mk:2: /tmp/libefivar.so.8asj5N.ltrans0.ltrans.o] Error 1
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[1]: *** [/builddir/build/BUILD/efivar-37/src/include/rules.mk:32: libefivar.so] Error 1
make[1]: Leaving directory '/builddir/build/BUILD/efivar-37/src'
make: *** [Makefile:14: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.YNb1ks (%build)


Expected results:
Successful build.


Additional info:
https://koji.fedoraproject.org/koji/taskinfo?taskID=52001487

Comment 2 Petr Pisar 2020-10-27 08:00:04 UTC

*** This bug has been marked as a duplicate of bug 1863475 ***


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