Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198906 - net-ftp/tnftp-20070806 won't compile w/ glibc-2.7
Summary: net-ftp/tnftp-20070806 won't compile w/ glibc-2.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-12 10:34 UTC by Rui Santos
Modified: 2008-01-04 11:18 UTC (History)
1 user (show)

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


Attachments
Build log to help debug (build.log,20.44 KB, text/plain)
2007-11-12 10:36 UTC, Rui Santos
Details
config.log as required (config.log,113.56 KB, text/plain)
2008-01-01 18:35 UTC, Frederico Freire Boaventura
Details
EBuild log (build.log,96.39 KB, text/plain)
2008-01-03 10:26 UTC, Rui Santos
Details
Environment file (environment,97.53 KB, text/plain)
2008-01-03 10:26 UTC, Rui Santos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rui Santos 2007-11-12 10:34:31 UTC
tntftp will not compile.
The version I use, tnftp-20070806, worked perfectly until I upgraded my glibc from version 2.6.1 to 2.7.
When recompiling with 2.7, it prints out a few errors - At least I think this is the problem...


Reproducible: Always

Steps to Reproduce:




Compiled with USE flags as -ipv6 -socks5
Comment 1 Rui Santos 2007-11-12 10:36:12 UTC
Created attachment 135812 [details]
Build log to help debug
Comment 2 Frederico Freire Boaventura 2007-11-19 01:47:49 UTC
Same problem goes here.  Tried also with the prior version, and the compilation failed at same point with same errors.

-----------------  emerge --info

Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0, 2.6.23-gentoo-r1 i686)
=================================================================
System uname: 2.6.23-gentoo-r1 i686 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Mon, 19 Nov 2007 00:30:08 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.4.3-r4, 2.5.1-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3.95.2/env /usr/kde/3.95.2/share/config /usr/kde/3.95.2/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/kde"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa ao apm arts bash-completion berkdb bitmap-fonts bjeg2k bzip2 cairo cdr cli cracklib crypt css cups dbus dri dv dvd dvdr dvdread eds emboss emivox encode esd evo exif fam ffmpeg firefox flac fortran fpx gdbm gif gpm graphviz gstreamer gtk hal iconv ipv6 isdnlog java jbig jpeg kde kdeenablefinal kdehiddenvisibility kerberos lame lcms ldap lm_sensors mad midi mikmod mmx mp3 mpeg mudflap musepack musicbraiz mysql ncurses nforce2 nls nptl nptlonly nvidia ogg opengl openmp oss pam pcmcia pcre pdf penexr perl pmu png pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session sndfile spell spl ssl svg synaptics tcpd tiff truetype truetype-fonts type1-fonts unicode vcd vim-syntax vorbis win32codecs wmf x86 xinerama xml xorg xscreensaver xv zeroconf 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 mulaw multi null plug rate route share shm softvol" CAMERAS="ptp2 sony_dscf1" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa v4l fbdev nv vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Sven Wegener gentoo-dev 2008-01-01 15:12:11 UTC
Could you please attach the config.log that gets created in the build root?

The configure check succeeds

> checking for strlcpy... yes

but the linking fails, I'd like to see the config.log.



For me the check correctly fails

checking for strlcpy... no
Comment 4 Frederico Freire Boaventura 2008-01-01 18:35:31 UTC
Created attachment 139800 [details]
config.log as required
Comment 5 Sven Wegener gentoo-dev 2008-01-01 19:01:37 UTC
Thanks. The linking failure happens when dev-libs/libedit is installed.
Comment 6 Sven Wegener gentoo-dev 2008-01-01 19:20:55 UTC
OK, I've added a patch. Should compile now even when libedit is installed.
Comment 7 Rui Santos 2008-01-03 10:24:29 UTC
Still got an error on building it.
Comment 8 Rui Santos 2008-01-03 10:26:05 UTC
Created attachment 139949 [details]
EBuild log
Comment 9 Rui Santos 2008-01-03 10:26:40 UTC
Created attachment 139952 [details]
Environment file
Comment 10 Sven Wegener gentoo-dev 2008-01-03 19:00:52 UTC
Uhm, the build log seems to be missing the

 * Applying tnftp-20070806-libedit.patch ...                                                                                                                                    

but the envirnment file contains the correct src_unpack function. There seems to be something weird on your end.
Comment 11 Rui Santos 2008-01-04 09:19:39 UTC
I've removed /var/tmp/portage/net-ftp/tnftp-20070806 and issued emerge tnftp again. This time it all compiled and installed like a charm.

I guess it was something wierd on my end... :)

Thanks for your help Sven.
Comment 12 Sven Wegener gentoo-dev 2008-01-04 11:18:55 UTC
Good. :)