Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"sys-power/iasl-20120816: emake failed" [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Pryoidain
n00b
n00b


Joined: 11 Jan 2012
Posts: 7

PostPosted: Sun Dec 09, 2012 3:16 am    Post subject: "sys-power/iasl-20120816: emake failed" [SOLVED] Reply with quote

Hello all, I'm getting a failed emerge with sys-power/iasl, ~AMD.

It appears to be related to something in the Makefile, or how portage is calling the makefile, but I'm not sure where to go with it in terms of correcting the problem. If I go into the work folder and run "make" manually, it works fine, but I'm wondering if I can just install from there? I need the dependency to be logged in portage because I'm trying to get qemu up and running.

Thanks for any and all help :)

Here's the error log:

Code:

[32;01m * Package:    sys-power/iasl-20120816
 * Repository: gentoo
 * Maintainer: robbat2@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   preserve-libs sandbox
>>> Unpacking source...
>>> Unpacking acpica-unix-20120816.tar.gz to /mnt/compile/portage/sys-power/iasl-20120816/work
>>> Source unpacked in /mnt/compile/portage/sys-power/iasl-20120816/work
>>> Preparing source in /mnt/compile/portage/sys-power/iasl-20120816/work/acpica-unix-20120816 ...
 * Applying iasl-20120816-locale.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /mnt/compile/portage/sys-power/iasl-20120816/work/acpica-unix-20120816 ...
>>> Source configured.
>>> Compiling source in /mnt/compile/portage/sys-power/iasl-20120816/work/acpica-unix-20120816 ...
/mnt/compile/portage/sys-power/iasl-20120816/temp/environment: line 2381: cd: acpica/generate/unix: No such file or directory
make -j4 BITS=64
make[1]: Entering directory `/mnt/compile/portage/sys-power/iasl-20120816/work/acpica-unix-20120816/generate/unix/acpihelp'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[1]: *** No rule to make target `acpi', needed by `obj64/acpihelp'.  Stop.
make[1]: Leaving directory `/mnt/compile/portage/sys-power/iasl-20120816/work/acpica-unix-20120816/generate/unix/acpihelp'
64-bit version of acpihelp:
make[1]: Entering directory `/mnt/compile/portage/sys-power/iasl-20120816/work/acpica-unix-20120816/generate/unix/acpinames'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[1]: *** No rule to make target `acpi', needed by `obj64/acpinames'.  Stop.
make[1]: Leaving directory `/mnt/compile/portage/sys-power/iasl-20120816/work/acpica-unix-20120816/generate/unix/acpinames'
64-bit version of acpinames:
make[1]: Entering directory `/mnt/compile/portage/sys-power/iasl-20120816/work/acpica-unix-20120816/generate/unix/acpiexec'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
ls: cannot access ../bin64/acpihelpls: cannot access ../bin64/acpinames: No such file or directory
: No such file or directory
make[1]: Entering directory `/mnt/compile/portage/sys-power/iasl-20120816/work/acpica-unix-20120816/generate/unix/acpibin'
make[1]: make[1]: *** warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.No rule to make target `acpi', needed by `obj64/acpiexec'
.  Stop.
make[1]: Leaving directory `/mnt/compile/portage/sys-power/iasl-20120816/work/acpica-unix-20120816/generate/unix/acpiexec'
make[1]: *** No rule to make target `acpi', needed by `obj64/acpibin'64-bit version of acpiexec:
.  Stop.
make: *** [acpinames] Error 2
make[1]: Leaving directory `/mnt/compile/portage/sys-power/iasl-20120816/work/acpica-unix-20120816/generate/unix/acpibin'
make: *** Waiting for unfinished jobs....
make: *** [acpihelp] Error 2
64-bit version of acpibin:
ls: cannot access ../bin64/acpibinls: cannot access ../bin64/acpiexec: No such file or directory
: No such file or directory
make: *** [acpiexec] Error 2
make: *** [acpibin] Error 2
 * ERROR: sys-power/iasl-20120816 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-power/iasl-20120816'`,
 * the complete build log and the output of `emerge -pqv '=sys-power/iasl-20120816'`.
 * The complete build log is located at '/var/log/portage/sys-power:iasl-20120816:20121209-025536.log'.
 * For convenience, a symlink to the build log is located at '/mnt/compile/portage/sys-power/iasl-20120816/temp/build.log'.
 * The ebuild environment file is located at '/mnt/compile/portage/sys-power/iasl-20120816/temp/environment'.
 * Working directory: '/mnt/compile/portage/sys-power/iasl-20120816/work/acpica-unix-20120816'
 * S: '/mnt/compile/portage/sys-power/iasl-20120816/work/acpica-unix-20120816'


Code:

yuki temp # emerge --info iasl
Portage 2.3.5-r4 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.6.3, glibc-2.15-r3, 3.6.2-ck-yuki-v3.1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.6.2-ck-yuki-v3.1-x86_64-Intel-R-_Core-TM-_i5-2467M_CPU_@_1.60GHz-with-gentoo-2.2.0
Timestamp of tree: Sat, 08 Dec 2012 18:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1000
dev-lang/python:          2.7.3-r1000, 3.2.3-r1000
dev-util/cmake:           2.8.10.2
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2.0-r3
sys-apps/openrc:          0.10.2-r6
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.5-r1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo steam-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O3 --pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /et
c/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=corei7-avx -O3 --pipe"
DISTDIR="/mnt/compile/distfiles"
EMERGE_DEFAULT_OPTS="--ask"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync mini-manifest news nodoc noinfo parallel-fetch preserve
-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/mnt/compile"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/lib/layman/steam-overlay"
SYNC="git://github.com/funtoo/ports-2012.git"
SYNC_USER="root"
USE="X acl acpi alsa amd64 bash-completion berkdb branding bzip2 cdr consolekit cracklib crypt cups cxx dbus dri dvd dvdr dvdread flac gdbm gif gstreamer gzip iconv icu j
peg lame libnotify lock lzma mad mmx modules mp3 mpeg mudflap multilib ncurses networkmanager nls nptl ogg opengl openmp pam pcre png policykit python readline resolvconf
 sse sse2 sse4_1 sse4_2 ssl ssse3 startup-notification tcpd threads thunar tiff truetype udev udisks unicode usb vorbis wavpack xcomposite xml xorg zlib zsh-completion" A
LSA_CARDS="hda-intel" CURL_SSL="openssl" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" PYTHON_ABIS="2.7 3.2" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGET
S="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" USERLAND="GNU" VIDEO_CARDS="intel i965" XFCE_PLUGINS="brightness clock trash"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK


Code:

yuki temp # emerge -pqv iasl
[ebuild  N    ] sys-power/iasl-20120816  USE="{-test}"


Last edited by Pryoidain on Sun Dec 09, 2012 9:23 am; edited 1 time in total
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Dec 09, 2012 7:19 am    Post subject: Reply with quote

Try:
Code:
sed -i -e "s:-Werror::" Makefile.config

Works for me, on Intel 32-bit.
Back to top
View user's profile Send private message
Pryoidain
n00b
n00b


Joined: 11 Jan 2012
Posts: 7

PostPosted: Sun Dec 09, 2012 9:22 am    Post subject: Reply with quote

So what I ended up having to do (Thanks much to Paul!)

I ran ebuild fetch, unpack, prepare, and configure

ebuild compile is still broken. I went into my PORTAGE_TMPDIR/portage/sys-power/iasl/work/generate/unix and ran the sed option from paul on my Makefile.config

from there I was able to go into PORTAGE_TMPDIR/portage/sys-power/iasl/work and run Make as standard. (Oddly enough I did not encounter this bug even using make -j4.

Once the package built, I had to make the image directory in PORTAGE_TMPDIR/portage/sys-power/iasl/

then I just ran ebuild preinst and ebuild install. Everything shows up correctly in the portage tree, and now qemu seems perfectly happy :)

I'm gonna tag this as solved, I think it's a one off thing, but I'll leave it here in the event anyone else runs into it.

Thanks again paul :)
Back to top
View user's profile Send private message
d3x73r
n00b
n00b


Joined: 16 Apr 2010
Posts: 55
Location: Bahia/Brazil

PostPosted: Wed Jul 09, 2014 2:34 am    Post subject: Reply with quote

Hey...

It seems that the problem is back. Ebuild for 20130117-r1 is buggy. Unfortunantly I could not reproduce the proposed solution. In fact the make command works if I go right to the tmp folder. However, I do not know how to use ebuild command in this case.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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