Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384977 - net-fs/netatalk-2.2.1-r1[tcpd] fails to build
Summary: net-fs/netatalk-2.2.1-r1[tcpd] fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 19:40 UTC by hal
Modified: 2011-09-30 12:25 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 hal 2011-09-29 19:40:31 UTC
net-fs/netatalk-2.2.1-r1 fails to build with USE="avahi cracklib pam tcpd" enabled. the rest of the use flags is disabled.

"libtool: link: (cd ".libs" && rm -f "libatalk.so" && ln -s "libatalk.so.0.0.0" "libatalk.so")
libtool: link: ( cd ".libs" && rm -f "libatalk.la" && ln -s "../libatalk.la" "libatalk.la" )
make[3]: Leaving directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r1/work/netatalk-2.2.1/libatalk'
make[2]: Leaving directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r1/work/netatalk-2.2.1/libatalk'
Making all in bin
make[2]: Entering directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r1/work/netatalk-2.2.1/bin'
Making all in adv1tov2
make[3]: Entering directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r1/work/netatalk-2.2.1/bin/adv1tov2'
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../sys    -I../../include -D_U_="__attribute__((unused))" -march=prescott -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -I../../sys -c adv1tov2.c
adv1tov2.c: In function ‘main’:
adv1tov2.c:150:8: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
adv1tov2.c:153:8: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
adv1tov2.c: In function ‘descend’:
adv1tov2.c:107:12: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
adv1tov2.c:110:12: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
/bin/sh ../../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc -std=gnu99  -I../../include -D_U_="__attribute__((unused))" -march=prescott -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -I../../sys  -Wl,-O1 -Wl,--as-needed -o adv1tov2 adv1tov2.o ../../libatalk/libatalk.la -lpthread -ldl  -lcrack -L../../libatalk
libtool: link: i686-pc-linux-gnu-gcc -std=gnu99 -I../../include "-D_U_=__attribute__((unused))" -march=prescott -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -I../../sys -Wl,-O1 -o .libs/adv1tov2 adv1tov2.o  -Wl,--as-needed ../../libatalk/.libs/libatalk.so -L../../libatalk -L../libatalk -lpthread -ldl /usr/lib/libcrack.so -lz
../../libatalk/.libs/libatalk.so: undefined reference to `eval_client'
../../libatalk/.libs/libatalk.so: undefined reference to `sock_host'
../../libatalk/.libs/libatalk.so: undefined reference to `hosts_access'
../../libatalk/.libs/libatalk.so: undefined reference to `request_init'
collect2: ld returned 1 exit status
make[3]: *** [adv1tov2] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r1/work/netatalk-2.2.1/bin/adv1tov2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r1/work/netatalk-2.2.1/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r1/work/netatalk-2.2.1'
make: *** [all] Error 2
 * ERROR: net-fs/netatalk-2.2.1-r1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =net-fs/netatalk-2.2.1-r1',
 * the complete build log and the output of 'emerge -pqv =net-fs/netatalk-2.2.1-r1'.
 * The complete build log is located at '/var/log/portage/net-fs:netatalk-2.2.1-r1:20110929-193225.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-fs/netatalk-2.2.1-r1/temp/environment'.
 * S: '/var/tmp/portage/net-fs/netatalk-2.2.1-r1/work/netatalk-2.2.1'

>>> Failed to emerge net-fs/netatalk-2.2.1-r1, Log file:

>>>  '/var/log/portage/net-fs:netatalk-2.2.1-r1:20110929-193225.log'"

emerge --info
Portage 2.1.10.11 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.12.2-r0, 2.6.39-gentoo-r3 i686)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-i686-Intel-R-_Celeron-R-_CPU_3.33GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 29 Sep 2011 19:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/ccache:          2.4-r9
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-overlay
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi avahi bash-completion berkdb bzip2 caps cli cracklib cxx dbus dri fortran gdbm iconv lm_sensors mmx modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline session sse sse2 ssl symlink sysfs syslog tcpd threads udev unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Steps to Reproduce:
1. emerge "=net-fs/netatalk-2.2.1-r1"
Actual Results:  
emerge quits with error described above

Expected Results:  
shouldn't fail to build
Comment 1 Steven Green 2011-09-30 09:31:38 UTC
I was getting the same error.

Disabling tcpd use flag allowed it to build and run.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-09-30 09:54:21 UTC
Will fix in a moment.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-09-30 10:37:39 UTC
Fixed (without revbump).
Comment 4 hal 2011-09-30 12:08:14 UTC
(In reply to comment #3)
> Fixed (without revbump).

thank you. works again with USE="tcpd" enabled.