Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298037 - media-libs/svgalib-1.9.25 dosent compile
Summary: media-libs/svgalib-1.9.25 dosent compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 298075 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-22 23:24 UTC by Chr0nos
Modified: 2009-12-24 11:20 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 Chr0nos 2009-12-22 23:24:26 UTC
media-libs/svgalib-1.9.25 dosent compile with error message.
i tried in an "emerge -e world"

Reproducible: Always

Steps to Reproduce:
1.emerge -av media-libs/svgalib
2.
3.

Actual Results:  
  CC [M]  /var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.o
Dans le fichier inclus � partir de include/linux/gfp.h:4,
          � partir de include/linux/kmod.h:22,
          � partir de include/linux/module.h:13,
          � partir de /var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:6:
include/linux/mmzone.h:18:26: erreur: linux/bounds.h : Aucun fichier ou dossier de ce type
include/linux/mmzone.h:251:5: attention : � MAX_NR_ZONES � n'est pas d�fini
In file included from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:6:
include/linux/mmzone.h:288: erreur: 'MAX_NR_ZONES' undeclared here (not in a function)
Dans le fichier inclus � partir de /usr/src/linux-2.6.31-gentoo-r3/arch/x86/include/asm/pci.h:4,
          � partir de include/linux/pci.h:1112,
          � partir de /var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:17:
include/linux/mm.h:444:63: attention : � NR_PAGEFLAGS � n'est pas d�fini
include/linux/mm.h:492:62: attention : � NR_PAGEFLAGS � n'est pas d�fini
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c: In function 'svgalib_helper_ioctl':
/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.c:367: attention : ignoring return value of 'request_irq', declared with attribute warn_unused_result
/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:455: attention : ignoring return value of 'request_irq', declared with attribute warn_unused_result
make[2]: *** [/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper/main.o] Erreur 1
make[1]: *** [_module_/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25/kernel/svgalib_helper] Erreur 2
make[1]: quittant le r�pertoire � /usr/src/linux-2.6.31-gentoo-r3 �
make: *** [default] Erreur 2
 * ERROR: media-libs/svgalib-1.9.25 failed:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=  KDIR=/lib/modules/2.6.31-gentoo-r3/build default
 * 
 * Call stack:
 *     ebuild.sh, line   55:  Called src_compile
 *   environment, line 3794:  Called linux-mod_src_compile
 *   environment, line 2897:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" 						CROSS_COMPILE=${CHOST}- 						LDFLAGS=\"$(get_abi_LDFLAGS)\" 						${BUILD_FIXES} 						${BUILD_PARAMS} 					${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 * 
 * If you need support, post the output of 'emerge --info =media-libs/svgalib-1.9.25',
 * the complete build log and the output of 'emerge -pqv =media-libs/svgalib-1.9.25'.
 * The complete build log is located at '/var/tmp/portage/media-libs/svgalib-1.9.25/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/svgalib-1.9.25/temp/environment'.
 * S: '/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25'

>>> Failed to emerge media-libs/svgalib-1.9.25, Log file:

>>>  '/var/tmp/portage/media-libs/svgalib-1.9.25/temp/build.log'

 * Messages for package media-libs/svgalib-1.9.25:

 * ERROR: media-libs/svgalib-1.9.25 failed:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=  KDIR=/lib/modules/2.6.31-gentoo-r3/build default
 * 
 * Call stack:
 *     ebuild.sh, line   55:  Called src_compile
 *   environment, line 3794:  Called linux-mod_src_compile
 *   environment, line 2897:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" 						CROSS_COMPILE=${CHOST}- 						LDFLAGS=\"$(get_abi_LDFLAGS)\" 						${BUILD_FIXES} 						${BUILD_PARAMS} 					${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 * 
 * If you need support, post the output of 'emerge --info =media-libs/svgalib-1.9.25',
 * the complete build log and the output of 'emerge -pqv =media-libs/svgalib-1.9.25'.
 * The complete build log is located at '/var/tmp/portage/media-libs/svgalib-1.9.25/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/svgalib-1.9.25/temp/environment'.
 * S: '/var/tmp/portage/media-libs/svgalib-1.9.25/work/svgalib-1.9.25'



BlackPearl adamaru # emerge --info
Portage 2.2_rc60 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.11-r1, 2.6.31-gentoo-r3 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r3-i686-AMD_Athlon-tm-_XP_2200+-with-gentoo-2.0.1
Timestamp of tree: Tue, 22 Dec 2009 10:15:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.4.6, 2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=athlon-xp -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/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mtune=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ "
LANG="fr_FR"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/zen-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amuled apache2 apic ares automount bash-completion berkdb bluetooth branding browserplugin bzip2 cairo canna cdparanoia cdr chasen cjk cli consolekit cracklib crypt cscope cups curl cxx dbus dga dhclient dlna dns dri dts dvd dvdr dvdread eds emboss emerald encode esd evo fam ffmpeg firefox flac fontconfig fortran freewnn gdbm gif gimp glitz gnome gnutls gstreamer gtk h323 hal i8x0 iconv imagemagick immqt ipod ipv6 java javascript joystick jpeg kde ldap libnotify lm_sensors mad matroska mikmod mmx mng modplug modules mozilla mp3 mp4 mpeg mpm-worker msn mudflap nautilus ncurses nls no-old-linux nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf perl pipechan png policykit ppds pppd python qt3support qt4 quicktime quinnstorm readline reflection remote samba sdl session sip smp sndfile spell spl sse ssl startup-notification stats svg sysfs syslog tcpd theora threads thunar tiff truetype udev unicode upnp urandom usb v4l2 vorbis wav webkit win32codecs x264 x86 xcb xinerama xml xml2 xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul 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" LINGUAS="fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeonhd" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2009-12-23 19:52:38 UTC
*** Bug 298075 has been marked as a duplicate of this bug. ***
Comment 2 Rafał Mużyło 2009-12-23 20:03:26 UTC
I'd say your best call is bug 234386.
Comment 3 Chr0nos 2009-12-24 11:20:23 UTC
thanks for you're help: cd /usr/src/linux/ && make prepare
worked fine for me :)