Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316759 - media-sound/solfege-3.16.1 shouldn't be including headers from /usr/src/linux
Summary: media-sound/solfege-3.16.1 shouldn't be including headers from /usr/src/linux
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Samuli Suominen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-23 04:24 UTC by Mark
Modified: 2010-04-23 09:43 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 Mark 2010-04-23 04:24:16 UTC
Trying to upgrade solfege; fails to build with oss support use flag.  Solfege will build with -oss flag.  

Reproducible: Always

Steps to Reproduce:
1. Emerge solfege-3.16.1
2.
3.

Actual Results:  
Fails with:

027868 i686-pc-linux-gnu-gcc -march=opteron -O2 -pipe -I/usr/src/linux/include -Wall -pedantic -fPIC -DHAVE_CONFIG_H  -march=opteron -O2 -pipe -I/usr/src/linux/include -Wall -pedantic -fPIC   -c -o solfege/soundcard/macro_to_function.o solfege/soundcard/macro_to_function.c
027869 i686-pc-linux-gnu-gcc -march=opteron -O2 -pipe -I/usr/src/linux/include -Wall -pedantic -fPIC -DHAVE_CONFIG_H  -march=opteron -O2 -pipe -I/usr/src/linux/include -Wall -pedantic -fPIC   -c -o solfege/soundcard/solfege_c_midi.o solfege/soundcard/solfege_c_midi.c
027870 (cd solfege/soundcard; i686-pc-linux-gnu-gcc -march=opteron -O2 -pipe -I/usr/src/linux/include -Wall -pedantic -fPIC -DHAVE_CONFIG_H  -march=opteron -O2 -pipe -I/usr/src/linux/include -Wall -pedantic -fPIC -c solfege_c_midi_wrap.c -I/usr/include/python2.6)
027871 In file included from /usr/include/python2.6/Python.h:86,
027872                  from solfege_c_midi_wrap.c:124:
027873 /usr/include/python2.6/intobject.h:45: warning: ISO C90 does not support long long
027874 In file included from /usr/include/python2.6/Python.h:88,
027875                  from solfege_c_midi_wrap.c:124:
027876 /usr/include/python2.6/longobject.h:47: warning: ISO C90 does not support long long
027877 /usr/include/python2.6/longobject.h:48: warning: ISO C90 does not support long long
027878 /usr/include/python2.6/longobject.h:49: warning: ISO C90 does not support long long
027879 /usr/include/python2.6/longobject.h:50: warning: ISO C90 does not support long long
027880 /usr/include/python2.6/longobject.h:51: warning: ISO C90 does not support long long
027881 In file included from /usr/include/asm/types.h:4,
027882                  from /usr/src/linux/include/linux/types.h:4,
027883                  from /usr/include/asm/sigcontext.h:5,
027884                  from /usr/include/bits/sigcontext.h:28,
027885                  from /usr/include/signal.h:339,
027886                  from /usr/include/python2.6/pyfpe.h:129,
027887                  from /usr/include/python2.6/Python.h:158,
027888                  from solfege_c_midi_wrap.c:124:
027889 /usr/src/linux/include/asm-generic/int-ll64.h:11:29: error: asm/bitsperlong.h: No such file or directory
027890 make: *** [solfege/soundcard/solfege_c_midi_wrap.o] Error 1
027891  * ERROR: media-sound/solfege-3.16.1 failed:
027892  *   emake failed
027893  * 
027894  * Call stack:
027895  *     ebuild.sh, line   54:  Called src_compile
027896  *   environment, line 2666:  Called _eapi2_src_compile
027897  *     ebuild.sh, line  646:  Called die
027898  * The specific snippet of code:
027899  *   emake || die "emake failed"

Expected Results:  
Expect a good emerge.  I have all the dependencies.

Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.32-gentoo-r1-i686-Dual-Core_AMD_Opteron-tm-_Processor_1218-with-gentoo-2.0.1
Timestamp of tree: Thu, 22 Apr 2010 13:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.10
dev-lang/python:     2.5.4-r3, 2.6.4, 3.1.2-r2
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.1.1-r3, 4.2.2, 4.4.2
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="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
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="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LC_ALL="en_US.utf-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j1"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa audiofile avahi avi berkdb bluetooth branding bzip2 cairo cdparanoia cdr cdrom chroot cli cracklib crypt cups cxx dbus divx4linux dri dts dv dvd dvdr dvdread emboss encode exif fam ffmpeg firefox flac fortran freetype gdbm gif gimpprint gnome gpm gtk gtk2 gtkhtml hal iconv java javascript jpeg lcms libnotify lm_sensors lzo mad mbox mikmod mime mmap mmx mmxext mng modules mp3 mp4 mpeg mpi mudflap mysql nas ncurses net network nis nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pango pcre pdf perl php png posix ppds pppd python qt3support qt4 readline reflection rtc samba sdl session sndfile snmp sockets socks5 spell spl ssl startup-notification svg swat sysfs szip tcltk tcpd theora tidy tiff truetype type1-fonts unicode usb userlocales vidix vorbis win32codecs wxwindows x264 x86 xcb xfs xgetdefault xml xmlrpc xorg xsl xulrunner xv xvid xvmc zlib" ALSA_CARDS="ice1712" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-04-23 09:43:22 UTC
(In reply to comment #0)
> 027889 /usr/src/linux/include/asm-generic/int-ll64.h:11:29: error:
> asm/bitsperlong.h: No such file or directory

It shouldn't be including headers from kernel source directory, instead it should be using headers from /usr/include installed by linux-headers ebuild. So,

  23 Apr 2010; Samuli Suominen <ssuominen@gentoo.org> solfege-3.16.1.ebuild:
  Don't include headers from /usr/src/linux wrt #316759.