Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101491 - sysvinit-2.86-r1 does not compile because it can't find the declaration of sigcontext
Summary: sysvinit-2.86-r1 does not compile because it can't find the declaration of si...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-05 14:57 UTC by Petteri Räty (RETIRED)
Modified: 2005-08-09 12:42 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 Petteri Räty (RETIRED) gentoo-dev 2005-08-05 14:57:13 UTC
>>> Source unpacked.
make: Entering directory `/var/tmp/portage/sysvinit-2.86-r1/work/sysvinit-2.86/src'
i686-pc-linux-gnu-gcc -c -O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math
-fomit-frame-pointer -Wall -D_GNU_SOURCE init.c
i686-pc-linux-gnu-gcc -c -O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math
-fomit-frame-pointer -Wall -D_GNU_SOURCE -DINIT_MAIN utmp.c -o init_utmp.o
i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math
-fomit-frame-pointer -Wall -D_GNU_SOURCE   -c -o halt.o halt.c
i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math
-fomit-frame-pointer -Wall -D_GNU_SOURCE   -c -o ifdown.o ifdown.c
init.c:635: warning: "struct sigcontext" declared inside parameter list
init.c:636: error: parameter `ctx' has incomplete type
make: *** [init.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/var/tmp/portage/sysvinit-2.86-r1/work/sysvinit-2.86/src'

For some reason it can't find the declaration of sigcontext. 

pena sysvinit # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r7 i686)
=================================================================
System uname: 2.6.12-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.0_pre4
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer"
DISTDIR="/usr/src/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs distlocks fixpackages noauto sandbox
sfperms strict"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo 
http://lame.lut.fi/linux/gentoo "
LANG="en_US.utf8"
LC_ALL="en_US.utf-8"
LINGUAS="fi"
MAKEOPTS="-j2"
PKGDIR="/home/pkg/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/betelgeuse /usr/local/overlays/gentopia"
SYNC="cvs://betelgeuse@cvs.gentoo.org:/var/cvsroot"
USE="x86 X aac acl acpi alsa apm audiofile avi bash-completion berkdb
bitmap-fonts browserplugin bzip2 bzlib cdb cddb cdparanoia cdr crypt cups curl
dbus divx4linux dts dvd dvdr dvdread emboss esd fam flac foomaticdb freetype gcj
gif gstreamer gtk2 hal imagemagick java jpeg kde kdeenablefinal kdexdeltas
libg++ libwww logitech-mouse lzo mad makecheck mikmod mjpeg mmx mmx2 mp3 mpeg
ncurses network nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl pam
pdflib png python qt quicktime readline real rtc ruby samba slp spell sse sse2
ssl subversion svg symlink tcpd theora tiff truetype truetype-fonts type1-fonts
unicode usb userlocales vorbis win32codecs xine xml xml2 xv xvid zlib
video_cards_nvidia linguas_fi userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2005-08-05 14:58:50 UTC
Well my interpretation of the error message could be wrong but hopefully you can
figure this out. 
Comment 2 SpanKY gentoo-dev 2005-08-05 15:01:41 UTC
adding '#include <sys/ucontext.h>' should fix that
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2005-08-09 12:06:20 UTC
betelgeuse@pena /usr/include/bits $ file sigcontext.h
sigcontext.h: empty

Something seems to be wrong with my glibc install. I will try reinstalling glibc
and see what happens. 
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2005-08-09 12:42:08 UTC
re-emerging glibc solved this problem. Hopefully this was just a local problem
and not caused by a bug in the glibc ebuild.