#46 Build fail, rawhide 20160209 undefined reference to `abstraction_increment'
Closed: Fixed None Opened 8 years ago by nhosoi.

Cloning a ticket: https://fedorahosted.org/389/ticket/48537

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 toabstraction_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
}}}

See also:
https://bugzilla.redhat.com/show_bug.cgi?id=1306097


Upstream have accepted this fix for the next version (7) and will add a known issues note.

commit b231f70

Total 12 (delta 10), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/nunc-stans.git
5b03995..c59239a master -> master

Login to comment on this ticket.

Metadata