Bug 1538016

Summary: lcgdm-1.10.0-2.fc28 FTBFS: /usr/bin/ld: cannot find -lnsl
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: lcgdmAssignee: Ricardo Rocha <rocha.porto>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: a.alvarezayllon, adev88, andrea.manzi, mattias.ellert, rocha.porto, steve.traylen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://apps.fedoraproject.org/koschei/build/3993894
Whiteboard:
Fixed In Version: lcgdm-1.10.0-7.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-30 13:02:16 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:

Description Petr Pisar 2018-01-24 10:20:08 UTC
lcgdm-1.10.0-2.fc28 fails to build in F28:

LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fstack-clash-protection -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-chgrp  nschgrp.o -L. -lns -L../shlib -llfc -llcgdm -lnsl -lstdc++
/usr/bin/ld: cannot find -lnsl
collect2: error: ld returned 1 exit status

A difference between passing and failing build root is <https://apps.fedoraproject.org/koschei/build/3993894>. This is very probably caused by glibc unbundling nsl library to libnsl2. You miss libnsl2-devel now.

Comment 1 Fedora End Of Life 2018-02-20 15:33:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 2 Fedora Update System 2018-03-16 11:03:09 UTC
lcgdm-1.10.0-7.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d01fe7985e

Comment 3 Fedora Update System 2018-03-16 14:48:11 UTC
lcgdm-1.10.0-7.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-d01fe7985e

Comment 4 Fedora Update System 2018-03-30 13:02:16 UTC
lcgdm-1.10.0-7.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.