Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207594 - media-libs/svgalib-1.9.25 doesn't compile w/ 2.6.24 kernel
Summary: media-libs/svgalib-1.9.25 doesn't compile w/ 2.6.24 kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: kernel-2.6.24
  Show dependency tree
 
Reported: 2008-01-26 19:05 UTC by Eric Bosch
Modified: 2008-01-27 11:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log with LC_ALL=C (build.log,124.00 KB, text/plain)
2008-01-26 19:37 UTC, Eric Bosch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Bosch 2008-01-26 19:05:12 UTC
media-libs/svgalib-1.9.25 fails to compile with gentoo-sources-2.6.24 installed

Reproducible: Always

Steps to Reproduce:
1.Install and boot to kernel-2.6.24-gentoo and emerge svgalibs
2.
3.

Actual Results:  
/etc/portage/package.use configured with media-libs/svgalib "-no-helper"
Build fails with the following errors:
 * Preparing svgalib_helper module
make -C /lib/modules/2.6.24-gentoo/build SUBDIRS=/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper CLASS_CFLAGS= modules
make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo'
  CC [M]  /var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.o
  CC [M]  /var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/i810.o
  CC [M]  /var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/interrupt.o
  CC [M]  /var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/virtual.o
  CC [M]  /var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/displaystart.o
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c: In function â:
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:363: error: â undeclared (first use in this function)
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:363: error: (Each undeclared identifier is reported only once
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:363: error: for each function it appears in.)
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:363: warning: passing argument 2 of â from incompatible pointer type
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c: In function â:
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:451: error: â undeclared (first use in this function)
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:451: warning: passing argument 2 of â from incompatible pointer type
make[2]: *** [/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo'
make: *** [default] Error 2


Expected Results:  
Appropriate -no-helper USE flag should prevent svgalib-helper module from being built, yet it still tries to build it and fails.
gandalf ~ # emerge -ptv svgalib

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/svgalib-1.9.25  USE="-build -no-helper" 0 kB [1]



Should have compiled/installed svgalibs with no svgalib-helper module.
gandalf ~ # emerge --info
Portage 2.1.4 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.24-gentoo i686)
=================================================================
System uname: 2.6.24-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Timestamp of tree: Sat, 26 Jan 2008 17:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 2.0.0_rc6-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 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="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer nostrip sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en_US en_US.UTF8 en_GB"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi administrator alsa amarok apache2 arts artworkextra auth authdaemond avahi avi berkdb binary-drivers binfilter bitmap-fonts bluetooth bootsplash cairo cdda cddb cdinitscripts cdio cdparanoia cdr cdrom cgi clamav clamd cli cpudetection cracklib crciprec crypt css csv cups curl curlwrappers dbus dga dlloader doc dpms dri dts dvb dvd dvdr dvdread emboss encode esd ethereal evo examples exif fam fame fbcondecor ffmpeg fftw fftw3 firefox flac float font-server fontconfig foomaticdb fortran gd gdbm gif gimp gimpprint gphoto2 gpm graphicsmagick grub gtk gvim gzip hal hash hddtemp html httpd iconv icq ieee1394 imagemagick imlib install ipod iptv isdnlog ithreads ivtv jack java javascript jfs jpeg kde kdgraphics lame libg++ libusb libvisual lirc live lm_sensors logrotate lpr mad mceusb mdnsresponder-compat midi mikmod mjpeg mmx mmxext mp3 mp3lame mp4 mp4live mpeg mpeg2 mplayer mudflap mysql mythtv ncurses network nfs nls nptl nptlonly nsplugin nvidia oav odbc odk offensive ogg opengl openmp openntpd oss pam pcre pda pdf pdflib perl perlsuid php php5 player png posix povray ppds pppd profile pulseaudio python qt qt3 qt3support qt4 query-browser quicktime readline real reflection reiser4 reiserfs rtc samba sasl scanner scp sdl sensord server session sftp sftplogging slp smp sound source spell spl sse sse2 ssl stream subversion suidcheck svg svga symlink sysfs sysvipc tcl tcpd tetex theora threads tiff tivo tk tools transcode truetype truetype-fonts type1 type1-fonts udev unicode unzip ups usb utempter utils v4l v4l2 videos vim vim-syntax visualization vlm vnc vorbis vstreamer webdav win32codecs wma wmf wxwindows x11vnc x86 xcomposite xfs xine xinerama xml xmlreader xmlwriter xorg xprint xv xvmc xvmc-opengl zeroconf zlib" ALSA_CARDS="ca0106 emu10k1" 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="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en_US.UTF8 en_GB" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-26 19:08:40 UTC
Please, attach a full emerge.log with LC_ALL=C; this is mangled with some unicode cruft.
Comment 2 Eric Bosch 2008-01-26 19:37:55 UTC
Created attachment 141836 [details]
Build log with LC_ALL=C
Comment 3 Eric Bosch 2008-01-26 19:38:34 UTC
I've attached the build log with LC_ALL=C
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-01-26 19:41:34 UTC
Much better...

<snip>
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:363: error: 'SA_SHIRQ' undeclared (first use in this function)
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:363: error: (Each undeclared identifier is reported only once
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:363: error: for each function it appears in.)
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:363: warning: passing argument 2 of 'request_irq' from incompatible pointer type
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c: In function 'svgalib_helper_open':
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:451: error: 'SA_SHIRQ' undeclared (first use in this function)
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:451: warning: passing argument 2 of 'request_irq' from incompatible pointer type
make[2]: *** [/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo'
make: *** [default] Error 2
 [31;01m*[0m 
 [31;01m*[0m ERROR: media-libs/svgalib-1.9.25 failed.
</snip>