Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 228167

Summary: sys-apps/readahead-list-1.20060421.1016 fails to build
Product: Gentoo Linux Reporter: Evil Compile Person <bugs>
Component: New packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: base-system, marduk
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: readahead-list-1.20060421.1016-gcc-4.3.patch

Description Evil Compile Person 2008-06-18 21:51:10 UTC
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..   -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -pipe -Wall -W -MT filelist-order.o -MD -MP -MF ".deps/filelist-order.Tpo" -c -o filelist-order.o filelist-order.cxx; \
        then mv -f ".deps/filelist-order.Tpo" ".deps/filelist-order.Po"; else rm -f ".deps/filelist-order.Tpo"; exit 1; fi
filelist-order.cxx:55: warning: deprecated conversion from string constant to 'char*'
filelist-order.cxx:56: warning: deprecated conversion from string constant to 'char*'
filelist-order.cxx:57: warning: deprecated conversion from string constant to 'char*'
filelist-order.cxx:77: warning: deprecated conversion from string constant to 'char*'
filelist-order.cxx:88: warning: 'typedef' was ignored in this declaration
filelist-order.cxx:97: warning: type qualifiers ignored on function return type
filelist-order.cxx:111: warning: type qualifiers ignored on function return type
filelist-order.cxx:112: warning: type qualifiers ignored on function return type
filelist-order.cxx:113: warning: type qualifiers ignored on function return type
filelist-order.cxx:114: warning: type qualifiers ignored on function return type
filelist-order.cxx:115: warning: type qualifiers ignored on function return type
filelist-order.cxx:116: warning: type qualifiers ignored on function return type
filelist-order.cxx:117: warning: type qualifiers ignored on function return type
filelist-order.cxx:118: warning: type qualifiers ignored on function return type
filelist-order.cxx:119: warning: type qualifiers ignored on function return type
filelist-order.cxx:120: warning: type qualifiers ignored on function return type
filelist-order.cxx:121: warning: type qualifiers ignored on function return type
filelist-order.cxx:122: warning: type qualifiers ignored on function return type
filelist-order.cxx:123: warning: type qualifiers ignored on function return type
filelist-order.cxx:124: warning: type qualifiers ignored on function return type
filelist-order.cxx:128: warning: type qualifiers ignored on function return type
filelist-order.cxx:129: warning: type qualifiers ignored on function return type
filelist-order.cxx:130: warning: type qualifiers ignored on function return type
filelist-order.cxx:131: warning: type qualifiers ignored on function return type
filelist-order.cxx:132: warning: type qualifiers ignored on function return type
filelist-order.cxx:133: warning: type qualifiers ignored on function return type
filelist-order.cxx:134: warning: type qualifiers ignored on function return type
filelist-order.cxx:135: warning: type qualifiers ignored on function return type
filelist-order.cxx:136: warning: type qualifiers ignored on function return type
filelist-order.cxx:137: warning: type qualifiers ignored on function return type
filelist-order.cxx:138: warning: type qualifiers ignored on function return type
filelist-order.cxx:139: warning: type qualifiers ignored on function return type
filelist-order.cxx:140: warning: type qualifiers ignored on function return type
filelist-order.cxx:141: warning: type qualifiers ignored on function return type
filelist-order.cxx:143: warning: type qualifiers ignored on function return type
filelist-order.cxx: In function 'void skel_command_msg_exit(FILE*, char*, unsigned char)':
filelist-order.cxx:336: error: 'exit' was not declared in this scope
filelist-order.cxx: In function 'void process_opts(int, char**)':
filelist-order.cxx:552: error: 'exit' was not declared in this scope
filelist-order.cxx:557: warning: deprecated conversion from string constant to 'char*'
filelist-order.cxx: At global scope:
filelist-order.cxx:56: warning: 'program_header' defined but not used
filelist-order.cxx:57: warning: 'program_id' defined but not used
make[2]: *** [filelist-order.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/readahead-list-1.20060421.1016/work/readahead-list-1.20060421.1016/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/readahead-list-1.20060421.1016/work/readahead-list-1.20060421.1016'
make: *** [all] Error 2
 *
 * ERROR: sys-apps/readahead-list-1.20060421.1016 failed.

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25.1 x86_64)
=================================================================
System uname: 2.6.25.1 x86_64 Dual-Core AMD Opteron(tm) Processor 2212 HE
Timestamp of tree: Tue, 17 Jun 2008 20:45:01 +0000
app-shells/bash:     3.2_p39
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.62
sys-devel/automake:  1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-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/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://216.165.129.134/gentoo http://gentoo.mirrors.tds.net/gentoo http://gentoo.osuosl.org/"
LANG="en_US"
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"
SYNC="rsync://208.71.112.51/gentoo-portage"
USE="X acl amd64 berkdb cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 isdnlog midi mmx mudflap ncurses nls nptl nptlonly objc openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl tcpd unicode 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" 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="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Steffen L. Norgren 2008-08-03 13:05:29 UTC
(In reply to comment #0)

I have the exact same problem myself.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-08-15 03:47:08 UTC
This bug should block bug #198121.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-08-15 03:47:25 UTC
Created attachment 162936 [details, diff]
readahead-list-1.20060421.1016-gcc-4.3.patch
Comment 4 G├╝rkan 2008-09-17 04:03:34 UTC
i can confirm too, and this patch helps, now success..
Comment 5 Peter Alfredsen (RETIRED) gentoo-dev 2008-09-26 14:56:45 UTC
+  26 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
+  +files/readahead-list-1.20060421.1016-gcc-4.3.patch,
+  readahead-list-1.20060421.1016.ebuild:
+  Fix bug #228167. Thanks Arfrever Frehtes Taifersar Arahesis
+  <Arfrever.FTA@gmail.com>
+