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

Bug 43097

Summary: sys-apps/baselayout-1.8.6.13-r1 doesn't build with gcc-2.95
Product: Gentoo Linux Reporter: Tristan Henderson <T.Henderson>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for rc-scripts to fix C-99 declaration.

Description Tristan Henderson 2004-02-27 06:27:28 UTC
Can't build sys-apps/baselayout-1.8.6.13-r1  on my gentoo-1.2 box. I've attached a patch for rc-scripts-1.4.3.13p1 

>>> Unpacking source...
>>> Unpacking sysvinit-2.84.tar.gz to /var/tmp/portage/baselayout-1.8.6.13-r1/work
>>> Unpacking rc-scripts-1.4.3.13p1.tar.bz2 to /var/tmp/portage/baselayout-1.8.6.13-r1/work
>>> Source unpacked.
 * Building utilities...
gcc -mcpu=i686 -O3 -pipe   -c -o consoletype.o consoletype.c
gcc  -o consoletype consoletype.o
gcc -mcpu=i686 -O3 -pipe   -c -o runscript.o runscript.c
runscript.c: In function `main':
runscript.c:21: parse error before `void'
runscript.c:36: `lib_handle' undeclared (first use in this function)
runscript.c:36: (Each undeclared identifier is reported only once
runscript.c:36: for each function it appears in.)
make: *** [runscript.o] Error 1

!!! ERROR: sys-apps/baselayout-1.8.6.13-r1 failed.
!!! Function src_compile, Line 83, Exitcode 2
!!! problem compiling utilities


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r1 (default-1.0, gcc-2.95.3, glibc-2.2.5-r9, 2.4.25)
==============================================================
===
System uname: 2.4.25 i686 Transmeta(tm) Crusoe(tm) Processor TM5800
Gentoo Base System version 1.4.3.13p1
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ 
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=i686 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest sandbox strict"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.
clarkson.edu/pub/distributions/gentoo/ http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http:
//gentoo.chem.wisc.edu/gentoo/ http://mirrors.tds.net/gentoo http://open-systems.ufl.
edu/mirrors/gentoo http://mirror.tucdemonic.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http:
//mirror.cpsc.ucalgary.ca/mirror/gentoo.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X X509 aalib alsa apache2 apm avi berkdb bonobo cdr crypt cups curses dga dvd emacs 
encode esd ethereal evo fbcon foomaticdb gdbm gif gnome-libs gpm gtk gtk2 gtkhtml guile imap 
imlib java jpeg lcms ldap libg++ libwww mmx motif mpeg mysql nas ncurses odbc oggvorbis oss 
pam pcmcia pda pdflib perl pic plotutils png pnp python quicktime readline samba sdl skey slang 
smooth snmp spell ssl stroke svga tcltk tcpd tetex tiff truetype trusted usb vim-with-x x86 xml xml2 
xmms xv zlib"
Comment 1 Tristan Henderson 2004-02-27 06:28:15 UTC
Created attachment 26472 [details, diff]
Patch for rc-scripts to fix C-99 declaration.
Comment 2 SpanKY gentoo-dev 2004-03-03 11:58:25 UTC
i hope you dont kill me az but i added the patch to the 1.8.6.13-r1 ebuild and
to gentoo-src/rc-scripts