Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142526 - sys-apps/baselayout-1.12.3 fails to compile: errors in runscript.c
Summary: sys-apps/baselayout-1.12.3 fails to compile: errors in runscript.c
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 142525 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-02 04:33 UTC by Ilya Schurov
Modified: 2006-08-02 05:18 UTC (History)
2 users (show)

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 Ilya Schurov 2006-08-02 04:33:31 UTC
15:10:23 (82.21 KB/s) - `/usr/portage/distfiles/baselayout-1.12.3.tar.bz2' saved [190492]
<...>
>>> Unpacking source...
>>> Unpacking baselayout-1.12.3.tar.bz2 to /var/tmp/portage/baselayout-1.12.3/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/baselayout-1.12.3/work/baselayout-1.12.3 ...
make: Entering directory `/var/tmp/portage/baselayout-1.12.3/work/baselayout-1.12.3/src'
x86_64-pc-linux-gnu-gcc -O2 -march=k8 -O2 -pipe -DLIBDIR=\"lib64\"    consoletype.c   -o consoletype
x86_64-pc-linux-gnu-gcc -O2 -march=k8 -O2 -pipe -DLIBDIR=\"lib64\"   -c -o runscript.o runscript.c
runscript.c:19:24: core/debug.h: No such file or directory
runscript.c:20:23: core/misc.h: No such file or directory
runscript.c: In function `get_whitelist':
runscript.c:80: warning: assignment makes pointer from integer without a cast
runscript.c:95: warning: assignment makes pointer from integer without a cast
runscript.c:96: error: `error' undeclared (first use in this function)
runscript.c:96: error: (Each undeclared identifier is reported only once
runscript.c:96: error: for each function it appears in.)
runscript.c: In function `filter_environ':
runscript.c:148: error: syntax error before '{' token
runscript.c:153: error: `env_var' undeclared (first use in this function)
runscript.c:182: error: continue statement not within a loop
runscript.c:192: error: `error' undeclared (first use in this function)
runscript.c:167: error: label `error' used but not defined
runscript.c: At top level:
runscript.c:195: warning: parameter names (without types) in function declaration
runscript.c:195: warning: data definition has no type or storage class
runscript.c:197: error: syntax error before "if"
runscript.c:199: error: `__len' undeclared here (not in a function)
runscript.c:199: error: initializer element is not constant
runscript.c:199: error: syntax error before "if"
runscript.c:199: error: conflicting types for '__retval'
runscript.c:199: error: previous definition of '__retval' was here
runscript.c:199: warning: data definition has no type or storage class
runscript.c:199: error: syntax error before '}' token
runscript.c:205: warning: parameter names (without types) in function declaration
runscript.c:205: warning: data definition has no type or storage class
runscript.c:207: error: syntax error before "return"
make: *** [runscript.o] Error 1
make: Leaving directory `/var/tmp/portage/baselayout-1.12.3/work/baselayout-1.12.3/src'

!!! ERROR: sys-apps/baselayout-1.12.3 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  baselayout-1.12.3.ebuild, line 68:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

[user@heartofgold photo #590]$ emerge --info                                                                          ~/photo
Portage 2.1.1_pre4-r1 (default-linux/amd64/2005.1, gcc-3.4.6/amd64-vanilla, glibc-2.4-r3, 2.6.15-gentoo x86_64)
=================================================================
System uname: 2.6.15-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/"
LANG="en_US.UTF-8"
LINGUAS="en ru"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X alsa amd64 ansi avi berkdb bitmap-fonts cli crypt cups dlloader dri dvd eds emboss encode foomaticdb fortran gd gif gnome gpm gstreamer gtk gtk2 hal ieee1394 imlib ipv6 isdnlog jpeg kde lzw lzw-tiff mono mozilla mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pcre pdflib perl plotutils png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_ru userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Stoian Ivanov 2006-08-02 05:02:21 UTC
Same here! how come there is this bad problem ... baselayout is not some godforgoten pice of software is it?
Comment 2 Stoian Ivanov 2006-08-02 05:06:33 UTC
btw I'm running ~x86 not an amd64 but still the bug remains
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-02 05:17:56 UTC
*** Bug 142525 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-08-02 05:18:16 UTC
Fixed in 1.12.4