Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209394 - sys-apps/slocate-3.1-r1 fails to compile w/ uclibc
Summary: sys-apps/slocate-3.1-r1 fails to compile w/ uclibc
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal with 1 vote (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 338380
Blocks:
  Show dependency tree
 
Reported: 2008-02-08 20:52 UTC by Tom Lloyd
Modified: 2010-12-18 17:15 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 Tom Lloyd 2008-02-08 20:52:10 UTC
Summary says it all, really.  I've got 2.7-r8 installed fine, so presumably that's unaffected.

Reproducible: Always

Steps to Reproduce:
1. emerge -DuN sys-apps/slocate
2.
3.

Actual Results:  
>>> Emerging (1 of 3) sys-apps/slocate-3.1-r1 to /
 * slocate-3.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                
 * checking ebuild checksums ;-) ...                                                                                                                  
 * checking auxfile checksums ;-) ...                                                                                                                 
 * checking miscfile checksums ;-) ...                                                                                                                
 * checking slocate-3.1.tar.gz ;-) ...                                                                                                                
>>> Unpacking source...
>>> Unpacking slocate-3.1.tar.gz to /var/tmp/portage/sys-apps/slocate-3.1-r1/work
 * Applying slocate-3.1-build.patch ...                                                                                                               
 * Applying slocate-3.1-incompat-warning.patch ...                                                                                                    
 * Applying slocate-3.1-cron.patch ...                                                                                                                
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/slocate-3.1-r1/work/slocate-3.1 ...
make: Entering directory `/var/tmp/portage/sys-apps/slocate-3.1-r1/work/slocate-3.1/src'
cc -c -O2 -mcpu=603e -pipe -Wall -Wshadow -o slocate.o slocate.c
cc -c -O2 -mcpu=603e -pipe -Wall -Wshadow -o cmds.o cmds.c
cc -c -O2 -mcpu=603e -pipe -Wall -Wshadow -o conf.o conf.c
cc -c -O2 -mcpu=603e -pipe -Wall -Wshadow -o utils.o utils.c
slocate.c:42:17: fts.h: No such file or directory
slocate.c: In function `create_db':
slocate.c:253: error: `FTS' undeclared (first use in this function)
slocate.c:253: error: (Each undeclared identifier is reported only once
slocate.c:253: error: for each function it appears in.)
slocate.c:253: error: `dir' undeclared (first use in this function)
slocate.c:254: error: `FTSENT' undeclared (first use in this function)
slocate.c:254: error: `file' undeclared (first use in this function)
slocate.c:334: warning: implicit declaration of function `fts_open'
slocate.c:334: error: `FTS_PHYSICAL' undeclared (first use in this function)
slocate.c:334: error: `FTS_NOSTAT' undeclared (first use in this function)
slocate.c:339: warning: implicit declaration of function `fts_read'
slocate.c:342: error: `FTS_DP' undeclared (first use in this function)
slocate.c:342: error: `FTS_NS' undeclared (first use in this function)
slocate.c:350: warning: implicit declaration of function `fts_set'
slocate.c:350: error: `FTS_SKIP' undeclared (first use in this function)
slocate.c:356: warning: implicit declaration of function `fts_close'
make: *** [slocate.o] Error 1
make: *** Waiting for unfinished jobs....
utils.c: In function `match':
utils.c:133: warning: implicit declaration of function `strcasestr'
utils.c:133: warning: comparison between pointer and integer
utils.c:142: error: `nocase_str' undeclared (first use in this function)
utils.c:142: error: (Each undeclared identifier is reported only once
utils.c:142: error: for each function it appears in.)
utils.c:146: error: `nocase_path' undeclared (first use in this function)
make: *** [utils.o] Error 1
make: Leaving directory `/var/tmp/portage/sys-apps/slocate-3.1-r1/work/slocate-3.1/src'
 *
 * ERROR: sys-apps/slocate-3.1-r1 failed.
 * Call stack:
 *               ebuild.sh, line 1701:  Called dyn_compile
 *               ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *               ebuild.sh, line   44:  Called src_compile
 *   slocate-3.1-r1.ebuild, line   41:  Called die
 * The specific snippet of code:
 *      emake -C src || die



muttley ~ # emerge --info
Portage 2.1.3.19 (uclibc/ppc/hardened, gcc-3.4.6, uclibc-0.9.28.3-r2, 2.6.20-hardened-r3-muttley-7-shape ppc)
=================================================================
System uname: 2.6.20-hardened-r3-muttley-7-shape ppc G2_LE
Timestamp of tree: Thu, 07 Feb 2008 22:46:01 +0000
distcc 2.18.3 powerpc-gentoo-linux-uclibc (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
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.61-r1
sys-devel/automake:  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-r3
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-gentoo-linux-uclibc"
CFLAGS="-O2 -mcpu=603e -pipe"
CHOST="powerpc-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/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=603e -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-z,relro"
MAKEOPTS="-j5"
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/local/portage"
SYNC="rsync://splig/gentoo-portage"
USE="alsa apache2 bitmap-fonts bzip2 cgi cli cracklib dri embedded fastcgi hardened ipv6 mudflap mysql ncurses openmp pcre php pic ppc quotas readline reflection samba session spl sqlite ssl suhosin syslog truetype-fonts type1-fonts uclibc unicode 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tom Lloyd 2009-01-05 00:31:12 UTC
Upgraded to uclibc-0.9.30, still fails.

If you have a patch or any ideas that I can test out I'm more than willing to give them a whirl...
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-12-18 17:15:36 UTC
slocate is out of tree, use mlocate