Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235709 - mail-filter/gld-1.7 - /usr/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress': (.text+0x59): undefined reference to `uncompress'
Summary: mail-filter/gld-1.7 - /usr/lib/libmysqlclient.a(my_compress.o): In function `...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-25 19:46 UTC by f1a989188a51186834a821708563800a
Modified: 2010-04-24 16:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description f1a989188a51186834a821708563800a 2008-08-25 19:46:11 UTC
/usr/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress':
(.text+0x59): undefined reference to `uncompress'
/usr/lib/libmysqlclient.a(my_compress.o): In function `my_compress_alloc':
(.text+0x106): undefined reference to `compress'
collect2: ld returned 1 exit status
make: *** [gld] Error 1
 *
 * ERROR: mail-filter/gld-1.7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line   76:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/tmp/portage/mail-filter/gld-1.7/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/mail-filter/gld-1.7/temp/environment'.
 *

 * Messages for package mail-filter/gld-1.7:

 *
 * ERROR: mail-filter/gld-1.7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line   76:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/tmp/portage/mail-filter/gld-1.7/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/mail-filter/gld-1.7/temp/environment'.
 *


Reproducible: Always

Steps to Reproduce:
1. emerge -D gld
Comment 1 f1a989188a51186834a821708563800a 2008-08-25 19:47:29 UTC
www ~ # emerge --info
WARNING: repository at /usr/local/portage is missing a repo_name entry
Portage 2.2_rc8 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.                      6.25-gr6 i686)
=================================================================
System uname: Linux-2.6.25-gr6-i686-Intel-R-_Celeron-R-_CPU_2.40GHz-with-glibc2.                      0
Timestamp of tree: Mon, 25 Aug 2008 15:30:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r6, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.62-r1
sys-devel/automake:  1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe --omit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf                       /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-ph                      p5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /                      etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe --omit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-                      orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/                      distributions/gentoo"
LDFLAGS="-Wl,--hash-style=both -Wl,-O1"
LINGUAS="hu"
MAKEOPTS="-j2 -l3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress                       --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclu                      de=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri fastcgi fortran gdbm glibc-omi                      tfp gpm iconv isdnlog midi minimal mmap mmx mudflap ncurses nptl nptlonly pam pc                      re perl pppd python readline reflection session spl sse sse2 ssl sysfs unicode x                      86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipc                      i emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8                      x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="a                      dpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug la                      dspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm so                      ftvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_db                      m authn_default authn_file authz_dbm authz_default authz_groupfile authz_host au                      thz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache                       env expires ext_filter file_cache filter headers include info log_config logio m                      em_cache mime mime_magic negotiation rewrite setenvif speling status unique_id u                      serdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"                       KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 m                      txorb ncurses text" LINGUAS="hu" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 ma                      ch64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voo                      doo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_A                      LL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-25 19:57:59 UTC
Please run revdep-rebuild from the app-portage/gentoolkit package - that should rebuild dev-db/mysql in all likelihood.

Also, attach the full build log to this bug report - the command that issued the error messages does not appear in the output you pasted.
Comment 3 f1a989188a51186834a821708563800a 2008-08-26 06:31:44 UTC
After revdep-rebuild gld-1.7 build.log

>>> Unpacking source...
>>> Unpacking gld-1.7.tgz to /tmp/portage/mail-filter/gld-1.7/work
>>> Source unpacked.
>>> Compiling source in /tmp/portage/mail-filter/gld-1.7/work/gld-1.7 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info -
-datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=pentium4 -pipe --omit-frame-pointer -Wl,--hash-style=b
oth -Wl,-O1) works... yes
checking whether the C compiler (gcc -O2 -march=pentium4 -pipe --omit-frame-pointer -Wl,--hash-style=b
oth -Wl,-O1) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for sys/time.h... yes
checking for syslog.h... yes
checking for netdb.h... yes
checking for working const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for select... yes
checking for socket... yes
checking for inet_addr... yes
checking for strstr... yes
checking for fork... yes
checking for accept... yes
checking for wait... yes
checking for shutdown... yes
checking for gethostbyname... yes
checking for bzero... yes
checking for bcopy... yes
checking for connect... yes
checking for bind... yes
checking for sendto... yes
checking for gethostbyaddr... yes
checking for getpeername... yes
checking for setsockopt... yes
checking for waitpid... yes
checking for sscanf... yes
checking for inet_aton... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
gcc -O2  -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-DHAVE_SETSOCKOPT=1 -DHAVE_WAITPID=1 -DHAVE_SSCANF=1  -I/usr/include -D_DB_MYSQL_ -
Wall -c sql.c
gcc -O2  -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_NETDB_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SELECT=1
 -DHAVE_STRSTR=1 -DHAVE_FORK=1 -DHAVE_ACCEPT=1 -DHAVE_WAIT=1 -DHAVE_SHUTDOWN=1 -DHAVE_GETHOSTBYNAME=1
-DHAVE_BZERO=1 -DHAVE_BCOPY=1 -DHAVE_CONNECT=1 -DHAVE_BIND=1 -DHAVE_SENDTO=1 -DHAVE_GETHOSTBYADDR=1 -D
HAVE_GETPEERNAME=1 -DHAVE_SETSOCKOPT=1 -DHAVE_WAITPID=1 -DHAVE_SSCANF=1  -Wall -c sockets.c
gcc -O2  -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_NETDB_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SELECT=1
 -DHAVE_STRSTR=1 -DHAVE_FORK=1 -DHAVE_ACCEPT=1 -DHAVE_WAIT=1 -DHAVE_SHUTDOWN=1 -DHAVE_GETHOSTBYNAME=1
-DHAVE_BZERO=1 -DHAVE_BCOPY=1 -DHAVE_CONNECT=1 -DHAVE_BIND=1 -DHAVE_SENDTO=1 -DHAVE_GETHOSTBYADDR=1 -D
HAVE_GETPEERNAME=1 -DHAVE_SETSOCKOPT=1 -DHAVE_WAITPID=1 -DHAVE_SSCANF=1  -Wall -c greylist.c
sockets.c: In function 'ReadUdpData':
sockets.c:494: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness
gcc -O2  -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_NETDB_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SELECT=1
 -DHAVE_STRSTR=1 -DHAVE_FORK=1 -DHAVE_ACCEPT=1 -DHAVE_WAIT=1 -DHAVE_SHUTDOWN=1 -DHAVE_GETHOSTBYNAME=1
-DHAVE_BZERO=1 -DHAVE_BCOPY=1 -DHAVE_CONNECT=1 -DHAVE_BIND=1 -DHAVE_SENDTO=1 -DHAVE_GETHOSTBYADDR=1 -D
HAVE_GETPEERNAME=1 -DHAVE_SETSOCKOPT=1 -DHAVE_WAITPID=1 -DHAVE_SSCANF=1  -Wall server.o sql.o sockets.
o cnf.o greylist.o  -L /usr/lib -L /lib -L/usr/lib/mysql -lmysqlclient -o gld
/usr/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress':
(.text+0x59): undefined reference to `uncompress'
/usr/lib/libmysqlclient.a(my_compress.o): In function `my_compress_alloc':
(.text+0x106): undefined reference to `compress'
collect2: ld returned 1 exit status
make: *** [gld] Error 1
 .[31;01m*.[0m
 .[31;01m*.[0m ERROR: mail-filter/gld-1.7 failed.
 .[31;01m*.[0m Call stack:
 .[31;01m*.[0m               ebuild.sh, line   49:  Called src_compile
 .[31;01m*.[0m             environment, line   76:  Called die
 .[31;01m*.[0m The specific snippet of code:
 .[31;01m*.[0m       emake || die "emake failed"
 .[31;01m*.[0m  The die message:
 .[31;01m*.[0m   emake failed
 .[31;01m*.[0m
 .[31;01m*.[0m If you need support, post the topmost build error, and the call stack if relevant.
 .[31;01m*.[0m A complete build log is located at '/tmp/portage/mail-filter/gld-1.7/temp/build.log'.
 .[31;01m*.[0m The ebuild environment file is located at '/tmp/portage/mail-filter/gld-1.7/temp/enviro
nment'.
 .[31;01m*.[0m

Comment 4 Tobias Scherbaum (RETIRED) gentoo-dev 2008-08-29 20:34:11 UTC
which version of mysql are you running? emerge -pv mysql please.
Comment 5 f1a989188a51186834a821708563800a 2008-09-07 07:58:30 UTC
(In reply to comment #4)
> which version of mysql are you running? emerge -pv mysql please.
> 

www ~ # emerge -pv dev-db/mysql

[ebuild   R   ] dev-db/mysql-5.0.60-r1  USE="perl static -berkdb -big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal (-selinux) -ssl" 0 kB
Comment 6 f1a989188a51186834a821708563800a 2010-04-24 11:09:33 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > which version of mysql are you running? emerge -pv mysql please.
> > 
> 
> www ~ # emerge -pv dev-db/mysql
> 
> [ebuild   R   ] dev-db/mysql-5.0.60-r1  USE="perl static -berkdb -big-tables
> -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal (-selinux)
> -ssl" 0 kB
> 

FYI: I decided not to use greylisting at all during spam filtering, so I do not know what is the actual status of this bug. (Still exists, or solved.)
Comment 7 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-04-24 16:20:52 UTC
(In reply to comment #6)
> FYI: I decided not to use greylisting at all during spam filtering, so I do not
> know what is the actual status of this bug. (Still exists, or solved.)

Please close this bug then; it looks pretty invalid to me ;-).