View previous topic :: View next topic |
Author |
Message |
perusal n00b
Joined: 24 Sep 2009 Posts: 3
|
Posted: Thu Sep 24, 2009 4:24 am Post subject: apps fail to build due to 'asm/swab.h: No such file ...' |
|
|
Hello all,
I'm looking for some help resolving an issue regarding packages that fail to build.
An example of a failed package is shown below. The error I'm seeing is common among the following packages:
Code: |
ParanoidAndroid jo3 # emerge -puND world
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] media-sound/alsa-utils-1.0.20-r5 USE="nls -doc -minimal"
[ebuild U ] gnome-base/gnome-vfs-2.24.1 [2.24.0]
[ebuild R ] media-libs/xine-lib-1.1.16.3 USE="aac* flac* -musepack*" |
Should you need more info on my build system, please let me know.
Thanks in advance for you help.
-jo3
Code: | ParanoidAndroid jo3 # emerge -v alsa-utils
.....blah blah blah......
make[1]: Leaving directory `/var/tmp/portage/media-sound/alsa-utils-1.0.20-r5/work/alsa-utils-1.0.20/alsaconf'
Making all in aplay
make[1]: Entering directory `/var/tmp/portage/media-sound/alsa-utils-1.0.20-r5/work/alsa-utils-1.0.20/aplay'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -O2 -pipe -mno-tls-direct-seg-refs -MT aplay.o -MD -MP -MF ".deps/aplay.Tpo" -c -o aplay.o aplay.c; \
then mv -f ".deps/aplay.Tpo" ".deps/aplay.Po"; else rm -f ".deps/aplay.Tpo"; exit 1; fi
In file included from /usr/src/linux/include/linux/byteorder/little_endian.h:12,
from /usr/include/asm/byteorder.h:79,
from aplay.c:48:
/usr/src/linux/include/linux/swab.h:6:22: error: asm/swab.h: No such file or directory <------------- wtf?
make[1]: *** [aplay.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/alsa-utils-1.0.20-r5/work/alsa-utils-1.0.20/aplay'
make: *** [all-recursive] Error 1
*
* ERROR: media-sound/alsa-utils-1.0.20-r5 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2332: Called _eapi2_src_compile
* ebuild.sh, line 634: Called die
* The specific snippet of code:
* emake || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-sound/alsa-utils-1.0.20-r5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-sound/alsa-utils-1.0.20-r5/temp/environment'.
*
>>> Failed to emerge media-sound/alsa-utils-1.0.20-r5, Log file:
>>> '/var/tmp/portage/media-sound/alsa-utils-1.0.20-r5/temp/build.log'
* Messages for package media-sound/alsa-utils-1.0.20-r5:
*
* ERROR: media-sound/alsa-utils-1.0.20-r5 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2332: Called _eapi2_src_compile
* ebuild.sh, line 634: Called die
* The specific snippet of code:
* emake || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-sound/alsa-utils-1.0.20-r5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-sound/alsa-utils-1.0.20-r5/temp/environment'.
*
|
Code: | ParanoidAndroid jo3 # emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4mounds x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4mounds-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 24 Sep 2009 01:15:02 +0000
app-shells/bash: 4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python: 2.5.4-r3, 2.6.2-r1
dev-util/cmake: 2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.mirrors.hoobly.com/ http://gentoo.mirrors.pair.com/ ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ ftp://gentoo.mirrors.pair.com/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dts dvd dvdr eds emboss encode esd evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad mikmod mmx modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
|
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Thu Sep 24, 2009 4:51 am Post subject: |
|
|
Did you run revdep-rebuild lately? |
|
Back to top |
|
|
perusal n00b
Joined: 24 Sep 2009 Posts: 3
|
Posted: Thu Sep 24, 2009 5:42 am Post subject: |
|
|
ok so I just ran revdep-rebuild and it did not resolve this issue |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|