First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 180617
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Natanael Copa <natanael.copa@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
findutils-4.3.6-r1.patch findutils-4.3.6-r1_lm_uclibc.patch patch Aurélien Francillon 2007-06-03 20:07 0000 376 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 180617 depends on: Show dependency tree
Bug 180617 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-02 09:33 0000
i386-gentoo-linux-uclibc-ar cru libfindtools.a finddata.o fstype.o parser.o
pred.o tree.o util.o version.o 
i386-gentoo-linux-uclibc-ranlib libfindtools.a
i386-gentoo-linux-uclibc-gcc  -march=i386 -Os -pipe -fomit-frame-pointer   -o
oldfind  find.o ./libfindtools.a ../lib/libfind.a ../gnulib/lib/libgnulib.a   
i386-gentoo-linux-uclibc-gcc  -march=i386 -Os -pipe -fomit-frame-pointer   -o
find  ftsfind.o ./libfindtools.a ../lib/libfind.a ../gnulib/lib/libgnulib.a   
../gnulib/lib/libgnulib.a(close-stream.o): In function `close_stream':
close-stream.c:(.text+0x23): warning: 
./libfindtools.a(parser.o): In function `get_relative_timestamp':
parser.c:(.text+0x3542): undefined reference to `modf'
collect2: ld returned 1 exit status
make[3]: *** [oldfind] Error 1
make[3]: *** Waiting for unfinished jobs....
../gnulib/lib/libgnulib.a(close-stream.o): In function `close_stream':
close-stream.c:(.text+0x23): warning: 
./libfindtools.a(parser.o): In function `get_relative_timestamp':
parser.c:(.text+0x3542): undefined reference to `modf'
collect2: ld returned 1 exit status
make[3]: *** [find] Error 1
make[3]: Leaving directory
`/var/tmp/portage/sys-apps/findutils-4.3.4/work/findutils-4.3.4/find'
make[2]: *** [all-recursive] Error 1

------- Comment #1 From Natanael Copa 2007-06-02 09:33:57 0000 -------
emerge --info:

Portage 2.1.2.7 (uclibc/x86/hardened, gcc-3.4.6, uclibc-0.9.28.3-r0,
2.6.21-gentoo-r1 i686)
=================================================================
System uname: 2.6.21-gentoo-r1 i686 Intel(R) Pentium(R) D CPU 3.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 01 Jun 2007 07:30:01 +0000
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61
sys-devel/automake:  1.6.3, 1.8.5-r3, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-gentoo-linux-uclibc"
CFLAGS="-march=i386 -Os -pipe -fomit-frame-pointer"
CHOST="i386-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo"
CXXFLAGS="-Os -pipe"
DISTDIR="/var/cache/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer nodoc noinfo noman
sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/var/cache/packages/default"
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/alpine-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X509 bitmap-fonts bri bzip2 cli cracklib dri encode expat extensions
hardened iproute2 ipv6 jpeg lua mad midi mudflap ncurses netboot nonfsv4 ntfs
ogg openmp oss pci pcmcia pic png pppd pri readline reflection rrdtool sensord
session snmp speex spl ssl tdb truetype truetype-fonts type1-fonts uclibc
uclibc++ udev usb userlocales wifi wordexp x86 xorg zaptel zlib"
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" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" MISDN_CARDS="avmfritz hfcmulti hfcpci hfcsmini hfcsusb
netjetpci sedlfax w6692pci xhfc" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l
apm ark chips cirrus cyrix epson glint i128 i740 i810 imstt mach64 mga neomagic
nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx
tga trident tseng vesa vga via voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #2 From Wolfgang Thiess 2007-06-02 13:53:04 0000 -------
Same error here on ARM:

[...]
armeb-softfloat-linux-uclibc-ar cru libfindtools.a finddata.o fstype.o parser.o
pred.o tree.o util.o version.o
armeb-softfloat-linux-uclibc-ranlib libfindtools.a
if armeb-softfloat-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I..
-I../gnulib/lib -I../lib -I../gnulib/lib -I../intl
-DLOCALEDIR=\"/usr/share/locale\"    -march=armv5t -Os -MT ftsfind.o -MD -MP
-MF ".deps/ftsfind.Tpo" -c -o ftsfind.o ftsfind.c; \
        then mv -f ".deps/ftsfind.Tpo" ".deps/ftsfind.Po"; else rm -f
".deps/ftsfind.Tpo"; exit 1; fi
armeb-softfloat-linux-uclibc-gcc  -march=armv5t -Os   -o find  ftsfind.o
./libfindtools.a ../lib/libfind.a ../gnulib/lib/libgnulib.a
../gnulib/lib/libgnulib.a(close-stream.o): In function `close_stream':
close-stream.c:(.text+0x8): warning:
./libfindtools.a(parser.o): In function `get_relative_timestamp':
parser.c:(.text+0x2b38): undefined reference to `modf'
collect2: ld returned 1 exit status
make[3]: *** [find] Error 1
make[3]: Leaving directory
`/var/tmp/portage/sys-apps/findutils-4.3.4/work/findutils-4.3.4/find'
[...]
root@NSLU2 ~ # emerge --info
Portage 2.1.2.2 (uclibc/arm, gcc-3.4.6, uclibc-0.9.28-r0, 2.6.16 armv5teb)
=================================================================
System uname: 2.6.16 armv5teb XScale-IXP42x Family rev 1 (v5b)
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 02 Jun 2007 11:30:01 +0000
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="arm"
AUTOCLEAN="yes"
CBUILD="armeb-softfloat-linux-uclibc"
CFLAGS="-march=armv5t -Os"
CHOST="armeb-softfloat-linux-uclibc"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=armv5t -Os"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes
--timeout=500"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="arm cli cracklib dri jpeg midi mudflap ncurses openmp pam pcre readline
reflection session spl uclibc xorg zlib" 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" ELIBC="uclibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
VIDEO_CARDS="dummy fbdev v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY

findutils-4.3.6 fails to emerge with the same error

------- Comment #3 From Aurélien Francillon 2007-06-03 20:07:47 0000 -------
Created an attachment (id=121065) [edit]
findutils-4.3.6-r1_lm_uclibc.patch

On uclibc findutils needs to links against libm,
this patch adds LDFLAGS="-lm" to the make command, it's not probably the nicest
way to fix ...
Aurélien  

------- Comment #4 From Wolfgang Thiess 2007-06-04 06:08:55 0000 -------
Thank you Aurélien. findutils-4.3.6-r1_lm_uclibc.patch works for me.

Applying the patch to findutils-4.3.4.ebuild works as well.

------- Comment #5 From Natanael Copa 2007-06-22 14:32:53 0000 -------
I created a "proper" patch that added -lm to LDADD in Makefile.am, but i got
into nasty gettext m4 macros when running eautoreconf.

I'd rather use append-ldflags:

--- /usr/portage/sys-apps/findutils/findutils-4.3.4.ebuild      2007-06-01
14:36:18 +0000
+++ findutils-4.3.4.ebuild      2007-06-22 14:26:41 +0000
@@ -40,6 +40,7 @@

 src_compile() {
        use static && append-ldflags -static
+       append-ldflags -lm

        local myconf
        use userland_GNU || myconf=" --program-prefix=g"

------- Comment #6 From Natanael Copa 2007-06-22 22:49:02 0000 -------
Issue is fixed in 4.3.7:

http://savannah.gnu.org/bugs/?func=detailitem&item_id=19966

------- Comment #7 From Thomas Anderson 2007-06-26 12:11:19 0000 -------
====amd64====

Compiles fine. Tests Ok.Running programs works as expected.

Portage 2.1.2.7 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r3,
2.6.20-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r7 x86_64 unknown
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 24 Jun 2007 14:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O1 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild
/etc/terminfo"
CXXFLAGS="-march=athlon64 -O1 -pipe"
DISTDIR="/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer multilib-strict
sandbox sfperms strict test userpriv"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/
http://distfiles.gentoo.org/"
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"
SYNC="rsync://192.168.1.206/gentoo-portage"
USE="X acl aiglx aim amd64 berkdb bitmap-fonts branding cli cracklib crypt cups
dri fortran gdbm gpm gtk iconv imap ipv6 isdnlog libg++ midi mmx mpeg3 mudflap
ncurses nls nptl nptlonly nvidia opengl openmp pam pcre perl pppd python qt3
readline reflection session sockets spl sqlite3 sse sse2 ssl tcpd test
truetype-fonts type1-fonts unicode vim xcomposite xine xorg zlib"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY

------- Comment #8 From Gustavo Zacarias (RETIRED) 2007-06-26 12:45:42 0000 -------
This hasn't been in the tree for 30 days and i don't see the maintainer asking
in this bug for stabilization either...

------- Comment #9 From SpanKY 2007-06-26 12:55:44 0000 -------
i added the cc's

------- Comment #10 From Gustavo Zacarias (RETIRED) 2007-06-26 12:58:08 0000 -------
Cool then, add one of your trademark "." or "!" next time otherwise my bugzilla
settings filter "just cc" messages out.

------- Comment #11 From Christoph Mende 2007-06-26 12:59:29 0000 -------
amd64 done, thanks Thomas

------- Comment #12 From Gustavo Zacarias (RETIRED) 2007-06-26 13:38:02 0000 -------
sparc stable.

------- Comment #13 From Raúl Porcel 2007-06-26 14:45:44 0000 -------
alpha/ia64/x86 stable

------- Comment #14 From Jeroen Roovers 2007-06-26 15:40:30 0000 -------
Stable for HPPA.

------- Comment #15 From Lars Weiler (RETIRED) 2007-06-26 16:48:40 0000 -------
ppc stable.

------- Comment #16 From Markus Rothe 2007-06-27 07:25:45 0000 -------
ppc64 stable

------- Comment #17 From Joshua Kinard 2007-06-28 00:50:30 0000 -------
mips stable.

First Last Prev Next    No search results available      Search page      Enter new bug