#48537 Build fail, rawhide 20160209 undefined reference to `abstraction_increment'
Closed: Fixed None Opened 3 years ago by firstyear.

Found on rawhide copr build.

https://copr-be.cloud.fedoraproject.org/results/firstyear/ds/fedora-rawhide-x86_64/00158776-389-ds-base/

libtool: link: ( cd ".libs" && rm -f "libposix-winsync-plugin.la" && ln -s "../libposix-winsync-plugin.la" "libposix-winsync-plugin.la" )
/bin/sh ./libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic  -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mmldif-bin ldap/servers/slapd/tools/mmldif_bin-mmldif.o libslapd.la -lplc4 -lplds4 -lnspr4 -L/usr/lib64 -lssl3 -lnss3 -L/usr/lib64 -lsvrcore -lldap  -llber -lsasl2 
libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/migratecred-bin ldap/servers/slapd/tools/migratecred_bin-migratecred.o  ./.libs/libslapd.so -L../nunc-stans-0.1.7/lib -L/usr/lib64 -lnunc-stans -lkrb5 -lk5crypto -lcom_err -lpcre -lpthread -lplc4 -lplds4 -lnspr4 -lssl3 -lnss3 -lsvrcore -lldap_r -llber -lsasl2 -Wl,-rpath -Wl,/usr/lib64/dirsrv
../nunc-stans-0.1.7/lib/libnunc-stans.so: undefined reference to `abstraction_increment'
collect2: error: ld returned 1 exit status
Makefile:5145: recipe for target 'migratecred-bin' failed
make[1]: *** [migratecred-bin] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/mmldif-bin ldap/servers/slapd/tools/mmldif_bin-mmldif.o  ./.libs/libslapd.so -L../nunc-stans-0.1.7/lib -L/usr/lib64 -lldap_r -lnunc-stans -lkrb5 -lk5crypto -lcom_err -lpcre -lpthread -lplc4 -lplds4 -lnspr4 -lssl3 -lnss3 -lsvrcore -lldap -llber -lsasl2 -Wl,-rpath -Wl,/usr/lib64/dirsrv
../nunc-stans-0.1.7/lib/libnunc-stans.so: undefined reference to `abstraction_increment'
collect2: error: ld returned 1 exit status
Makefile:5152: recipe for target 'mmldif-bin' failed
make[1]: *** [mmldif-bin] Error 1
make[1]: Leaving directory '/builddir/build/BUILD/389-ds-base-1.3.5'
Makefile:3218: recipe for target 'all' failed
make: *** [all] Error 2

Hi William,
As you proposed, please go ahead and drop INLINE.
Thanks!

I have cloned this ticket in the nunc-stans trac.
https://fedorahosted.org/nunc-stans/ticket/46

Could you please work on the ticket 46 and use this ticket as a placeholder not to forget for 389-ds-base build to pick up the fixed version of nunc-stans? Thanks!

https://fedorahosted.org/nunc-stans/ticket/46#comment:5

Fixed in upstream nunc-stans: Need to wait for a nunc-stans release and bump version in rpm spec.

Thank you for finding it out, William!
(Please note that rawhide/f24 is not using the spec file... It correctly picked up 0.1.8.)

commit d8e4245fe5afb0487c723ad0858162768ed85990

To ssh://git.fedorahosted.org/git/389/ds.git
1e2cfe2..2a9d49a master -> master

Metadata Update from @firstyear:
- Issue assigned to firstyear
- Issue set to the milestone: 1.3.5.0

2 years ago

Login to comment on this ticket.

Metadata