Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 226039 - findutils-4.3.13 fail to cross-compile
Summary: findutils-4.3.13 fail to cross-compile
Status: RESOLVED DUPLICATE of bug 224685
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-12 09:05 UTC by Bertrand Jacquin
Modified: 2008-06-12 13:11 UTC (History)
0 users

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


Attachments
Fix (findutils-4.3.13.ebuild-fix-rpl_fseeko.diff,365 bytes, patch)
2008-06-12 09:08 UTC, Bertrand Jacquin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2008-06-12 09:05:26 UTC
cross-compiling findutils 4.3.13 fail :

# /usr/bin/emerge --info
Portage 2.1.5.4 (uclibc/x86/2.4, gcc-3.4.6, uclibc-0.9.28.3-r3,
2.6.24-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Sun, 08 Jun 2008 14:16:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="x86"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k6-2 -O2 -pipe -fomit-frame-pointer"
CHOST="i586-geode-linux-uclibc"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k6-2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks nodoc noinfo noman parallel-fetch sandbox
sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LC_ALL="C"
LDFLAGS=""
LINGUAS=""
PKGDIR="/usr/portage/packages"
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="/opt/meleeweb/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="cli cracklib crypt dri ipv6 midi mudflap ncurses openmp pcre perl readline
reflection session spl ssl tcpd uclibc x86 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"
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 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" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

make[4]: Entering directory `/var/tmp/i586-geode-linux-uclibc/portage/sys-apps/findutils-4.3.13/work/findutils-4.3.13/gnulib/lib'
depbase=`echo areadlink-with-size.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        i586-geode-linux-uclibc-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -I../../intl   -march=k6-2 -O2 -pipe -fomit-frame-pointer -MT areadlink-with-size.o -MD -MP -MF $depbase.Tpo -c -o areadlink-with-size.o areadlink-with-size.c &&\
        mv -f $depbase.Tpo $depbase.Po
In file included from ./stdio.h:31,
                 from areadlink-with-size.c:25:
/usr/i586-geode-linux-uclibc/usr/include/stdio.h:644: error: syntax error before '(' token
/usr/i586-geode-linux-uclibc/usr/include/stdio.h:644: error: `rpl_fseeko' declared as function returning a function
/usr/i586-geode-linux-uclibc/usr/include/stdio.h:644: error: syntax error before "int"
make[4]: *** [areadlink-with-size.o] Error 1
make[4]: Leaving directory `/var/tmp/i586-geode-linux-uclibc/portage/sys-apps/findutils-4.3.13/work/findutils-4.3.13/gnulib/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/i586-geode-linux-uclibc/portage/sys-apps/findutils-4.3.13/work/findutils-4.3.13/gnulib/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/i586-geode-linux-uclibc/portage/sys-apps/findutils-4.3.13/work/findutils-4.3.13/gnulib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/i586-geode-linux-uclibc/portage/sys-apps/findutils-4.3.13/work/findutils-4.3.13'
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
1. ROOT=/usr/i586-geode-linux-uclibc
PORTAGE_CONFIGROOT=/etc/ct/i586-geode-linux-uclibc
CHOST=i586-geode-linux-uclibc CBUILD=x86_64-pc-linux-gnu emerge -vat findutils
Comment 1 Bertrand Jacquin 2008-06-12 09:08:10 UTC
Created attachment 156473 [details, diff]
Fix

This patch fix compilation issue.
Comment 2 SpanKY gentoo-dev 2008-06-12 13:11:56 UTC

*** This bug has been marked as a duplicate of bug 224685 ***