Summary: | dev-db/postgresql-base-8.3.4 with USE=kerberos and app-crypt/heimdal-1.2.1-r1: undefined symbol: gss_* | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin von Gagern <Martin.vGagern> |
Component: | [OLD] Development | Assignee: | PgSQL Bugs <pgsql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ben, ming_zym |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/Makefile.diff?r1=1.159.2.2;r2=1.159.2.3;f=h | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Don't filter -lgssapi for SHLIB_LINK |
Description
Martin von Gagern
2008-11-11 13:57:31 UTC
Created attachment 171423 [details, diff]
Don't filter -lgssapi for SHLIB_LINK
Upstream has found and fixed this issue as well: http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/Makefile.diff?r1=1.159.2.2;r2=1.159.2.3;f=h postgres is at 8.3.8 now, I would guess this error is fixed now. Can you confirm? (In reply to comment #3) > postgres is at 8.3.8 now, I would guess this error is fixed now. > Can you confirm? 8.2.8 emerged without an incident. Confirming. Doesn't seem to be fixed in 8.4.2-r1. With the kerberos USE flag on and Heimdal installed, postgresql-base won't emerge. Will emerge if I turn the USE flag off. Also emerged with kerberos USE flag on, with MIT kerberos instead of Heimdal. It therefore seems to be the same bug, even if it is presenting in a different manner. Here's the relevant last bit from the log: i686-pc-linux-gnu-gcc -march=pentium-m -pipe -fomit-frame-pointer -O3 -Wall -Wmi ssing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -f no-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREA D_SEMANTICS -DECPG_COMPILE -L../../../../src/port -Wl,-O1 -Wl,--as-needed -Wl,- rpath,'/usr/lib/postgresql-8.4/lib' preproc.o type.o ecpg.o output.o parser.o ke ywords.o c_keywords.o ecpg_keywords.o kwlookup.o ../ecpglib/typename.o descripto r.o variable.o -lpgport -lpam -lssl -lcrypto -lgssapi -lkrb5 -lcrypto -lz -lread line -lcrypt -ldl -lm -lpthread -o ecpg descriptor.o: In function `descriptor_variable': descriptor.c:make[4]: Leaving directory `/var/tmp/paludis/dev-db-postgresql-base -8.4.2-r1/work/postgresql-8.4.2/src/interfaces/ecpg/preproc' (.text+0x3e): undefined reference to `strlcpy' ../../../../src/port/libpgport.a(path.o): In function `get_home_path': path.c:(.text+0x127): undefined reference to `strlcpy' ../../../../src/port/libpgport.a(path.o): In function `join_path_components': path.c:(.text+0x333): undefined reference to `strlcpy' ../../../../src/port/libpgport.a(path.o): In function `make_relative_path': path.c:(.text+0xa44): undefined reference to `strlcpy' path.c:(.text+0xa95): undefined reference to `strlcpy' collect2: ld returned 1 exit status make[4]: *** [ecpg] Error 1 make[3]: Leaving directory `/var/tmp/paludis/dev-db-postgresql-base-8.4.2-r1/wor k/postgresql-8.4.2/src/interfaces/ecpg' make[3]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/paludis/dev-db-postgresql-base-8.4.2-r1/wor k/postgresql-8.4.2/src/interfaces' make[1]: Leaving directory `/var/tmp/paludis/dev-db-postgresql-base-8.4.2-r1/wor k/postgresql-8.4.2/src' make[2]: *** [all] Error 2 make[1]: *** [all] Error 2 make: *** [all] Error 2 /usr/libexec/paludis/utils/emake: emake returned error 2 !!! ERROR in dev-db/postgresql-base-8.4.2-r1::gentoo: !!! In src_compile at line 4461 !!! emake failed !!! Call stack: !!! * src_compile (/var/tmp/paludis/dev-db-postgresql-base-8.4.2-r1/temp/load saveenv:4461) !!! * ebuild_f_compile (/usr/libexec/paludis/1/src_compile.bash:49) !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:616) !!! * main (/usr/libexec/paludis/ebuild.bash:644) diefunc: making ebuild PID 31102 exit with error die trap: exiting with error. I am having the same issue as Bob: postgresql-base-8.4.3 will not emerge with USE=kerberos and heimdal-1.2.1-r4. emerge succeeds with USE=-kerberos. please see the patch from bug 285953, I have tested postgresql-base-8.4.2-r1.ebuild postgresql-base-8.4.3.ebuild with that patch works over USE kerberos(heimdal): Installed versions: 8.4.3(8.4)!t{tbz2}[1](08:14:13 03/27/10)(kerberos ldap linguas_zh_CN nls pam readline ssl threads zlib -doc -linguas_af -linguas_cs -linguas_de -linguas_es -linguas_fa -linguas_fr -linguas_hr -linguas_hu -linguas_it -linguas_ko -linguas_nb -linguas_pl -linguas_pt_BR -linguas_ro -linguas_ru -linguas_sk -linguas_sl -linguas_sv -linguas_tr -linguas_zh_TW -pg_legacytimestamp) + 02 Jun 2010; Patrick Lauer <patrick@gentoo.org> + +postgresql-base-7.4.29-r1.ebuild, +postgresql-base-8.0.25-r1.ebuild, + +postgresql-base-8.1.21-r1.ebuild, +postgresql-base-8.2.17-r1.ebuild, + +postgresql-base-8.3.11-r1.ebuild, + +files/postgresql-base-8.4-9.0-heimdal_strlcpy.patch, + +postgresql-base-8.4.4-r1.ebuild, +postgresql-base-9.0_beta1-r1.ebuild: + Fixes for #313765, #251046, #294462, #300793, #274836, #296714, #238817, + #278228, #263096, #246397, #285953. Thanks to Aaron Swenson for collecting + the fixes and testing. |