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 1859853

Summary: openwsman-2.6.8-14.fc33 FTBFS: /tmp/libwsman_curl_client_transport.so.1.0.0.T71LrZ.ltrans0.ltrans.o: relocation R_X86_64_PC32 against undefined symbol `facility' can not be used when making a shared object; recompile with -fPIC
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: openwsmanAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: praween.paladugu, srinivas_g_gowda, vcrhonek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/openwsman?collection=f33
Whiteboard:
Fixed In Version: openwsman-2.6.8-15.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-03 07:35:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1803234    

Description Petr Pisar 2020-07-23 07:25:03 UTC
openwsman-2.6.8-14.fc33 fails to build on Fedora 33:

/usr/bin/cc -fPIC -D_GNU_SOURCE -fPIE -DPIE  -g -DIGNORE_DUPLICATE_ID -O2 -flto -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 -fcf-protection -DFEDORA -DNO_SSL_CALLBACK -fno-strict-aliasing -Wl,-z,now -pie -shared -Wl,-soname,libwsman_curl_client_transport.so.1 -o libwsman_curl_client_transport.so.1.0.0 CMakeFiles/wsman_curl_client_transport.dir/wsman-client-transport.c.o CMakeFiles/wsman_curl_client_transport.dir/wsman-curl-client-transport.c.o  -lcurl -lssl -lcrypto 
/usr/bin/ld: /tmp/libwsman_curl_client_transport.so.1.0.0.T71LrZ.ltrans0.ltrans.o: relocation R_X86_64_PC32 against undefined symbol `facility' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [src/lib/CMakeFiles/wsman_curl_client_transport.dir/build.make:124: src/lib/libwsman_curl_client_transport.so.1.0.0] Error 1
make[2]: Leaving directory '/builddir/build/BUILD/openwsman-2.6.8/build'

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/8625708>.

Please note that his bug does not exhibit on ppc64le platform.

Comment 1 Vitezslav Crhonek 2020-08-03 07:35:47 UTC
This was already resolved in openwsman-2.6.8-15, latest build was successfully completed:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1560389