Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39902 - On amd64 hesiod-3.0.2 and hesiod-3.0.2-r1 fail to build, needs -lresolv
Summary: On amd64 hesiod-3.0.2 and hesiod-3.0.2-r1 fail to build, needs -lresolv
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-30 13:07 UTC by James l
Modified: 2004-02-06 07:36 UTC (History)
0 users

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 James l 2004-01-30 13:07:43 UTC
On amd64, manually emerging hesiod fails (also (~)amd64 isn't in the keywords, and if fixed, should be added), because it fails to link against -lreslov

To get it to build, one can do 'LDFLAGS="-lreslov" emerge /usr/portage.../hesiod-3.0.2.ebuild 

This is a dependancy of sendmail (which also works after this has been done on amd64, so should probably have (~)amd64 added to it's keywords as well)

This bugreport is filed when in a chroot from RH, but it also fails with the gentoo kernel & no chroot.

Output without:

emerge  /usr/portage/net-dns/hesiod/hesiod-3.0.2-r1.ebuild
Calculating dependencies ...done!
>>> emerge (1 of 1) net-dns/hesiod-3.0.2-r1 to /
flag-o-matic
>>> md5 src_uri ;-) hesiod-3.0.2.tar.gz
flag-o-matic
flag-o-matic
>>> Unpacking source...
>>> Unpacking hesiod-3.0.2.tar.gz to /var/tmp/portage/hesiod-3.0.2-r1/work
 * Applying hesiod-3.0.2-redhat.patch.gz...                                                             [ ok ]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
autoconf: configure.in: No such file or directory
>>> Source unpacked.
flag-o-matic
creating cache ./config.cache
checking for gcc... gcc
checking whether we are using GNU C... yes
checking for a BSD compatible install... /bin/install -c
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for res_mkquery... no
checking for -lresolv... no
checking for strerror_r... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
gcc -c -I. -DSYSCONFDIR=\"/etc\"  -O2 -fPIC hesiod.c
gcc -c -I. -DSYSCONFDIR=\"/etc\"  -O2 -fPIC hesmailhost.c
gcc -c -I. -DSYSCONFDIR=\"/etc\"  -O2 -fPIC hespwnam.c
gcc -c -I. -DSYSCONFDIR=\"/etc\"  -O2 -fPIC hesservbyname.c
gcc -c -I. -DSYSCONFDIR=\"/etc\"  -O2 -fPIC hescompat.c
gcc -c -I. -DSYSCONFDIR=\"/etc\"  -O2 -fPIC hesinfo.c
gcc -c -I. -DSYSCONFDIR=\"/etc\"  -O2 -fPIC hestest.c
ar cru libhesiod.a hesiod.o hesmailhost.o hespwnam.o hesservbyname.o hescompat.o
ranlib libhesiod.a
gcc -shared -fPIC -o libhesiod.so.0 -Wl,-soname=libhesiod.so.0 hesiod.o hesmailhost.o hespwnam.o hesservbyname.o hescompat.o
gcc  -o hesinfo hesinfo.o libhesiod.so.0
gcc  -o hestest hestest.o libhesiod.so.0
libhesiod.so.0: undefined reference to `__dn_skipname'
libhesiod.so.0: undefined reference to `__res_mkquery'
libhesiod.so.0: undefined reference to `__res_send'
collect2: ld returned 1 exit status
make: *** [hestest] Error 1
make: *** Waiting for unfinished jobs....
libhesiod.so.0: undefined reference to `__dn_skipname'
libhesiod.so.0: undefined reference to `__res_mkquery'
libhesiod.so.0: undefined reference to `__res_send'
collect2: ld returned 1 exit status
make: *** [hesinfo] Error 1

!!! ERROR: net-dns/hesiod-3.0.2-r1 failed.
!!! Function src_compile, Line 392, Exitcode 2
!!! emake failed




Reproducible: Always
Steps to Reproduce:
1.
2.
3.


Expected Results:  
Expected Results: link against libresolv, compile  & work :) 

emerge info 
Portage 2.0.49-r21 (default-amd64-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.21-4.EL) 
================================================================= 
System uname: 2.4.21-4.EL x86_64 
Gentoo Base System version 1.4.3.12 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O2" 
CHOST="x86_64-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config 
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ 
http://ftp.iasi.roedu.net/mirrors/gentoo.org/ 
ftp://ftp.iasi.roedu.net/pub/mirrors/gentoo.org/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow X aalib accessibility acl acpi alsa amd64 apache2 apm arts avi berkdb 
bidi bonoboesd canna cdr cjk crypt cryptflac cups dga doc dvd encode esd evo fam 
foomaticdb freewnn gb gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml 
imlib ipv6 jack java jpeg kde ladcca ldap libg++ libgda libwww mad mbox memlimit 
mikmod mmx motif mozilla mpeg mpi nas ncurses nls oggvorbis opengl oss pam pda 
pdflib perl png python qt quicktime readline samba sasl scanner sdl slang slp speex 
spell sqlite sse ssl tcpd tetex tiff truetype unicode usb videos wmf wxwindows xinerma 
xml xml2 xmms xv zlib"
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2004-02-06 07:36:43 UTC
This seems to already be fixed, closing.