Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600042 - app-emulation/rkt-1.18.0 - make: *** [stage1/usr_from_kvm/qemu.mk:54: /var/tmp/portage/app-emulation/rkt-1.18.0/work/rkt-1.18.0/build-rkt-1.18.0/stamps/__stage1_usr_from_kvm_qemu_mk_conf.stamp] Error 1
Summary: app-emulation/rkt-1.18.0 - make: *** [stage1/usr_from_kvm/qemu.mk:54: /var/tm...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2016-11-16 21:01 UTC by Dennis Schridde
Modified: 2016-11-19 20:49 UTC (History)
0 users

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


Attachments
build.log (build.log,8.80 KB, text/plain)
2016-11-16 21:01 UTC, Dennis Schridde
Details
emerge --info (emerge.info,19.10 KB, application/x-info)
2016-11-16 21:01 UTC, Dennis Schridde
Details
build.log (build.log,60.82 KB, text/x-log)
2016-11-19 19:15 UTC, Dennis Schridde
Details
config.log (config.log,13.32 KB, text/x-log)
2016-11-19 19:15 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2016-11-16 21:01:16 UTC
Created attachment 453578 [details]
build.log

I tried several times to build app-emulation/rkt-1.18.0 and it always aborts right after the ".../enter_kvm" line:
  GO           github.com/coreos/rkt/stage1/enter_kvm
make: *** [stage1/usr_from_kvm/qemu.mk:54: /var/tmp/portage/app-emulation/rkt-1.18.0/work/rkt-1.18.0/build-rkt-1.18.0/stamps/__stage1_usr_from_kvm_qemu_mk_conf.stamp] Error 1
Comment 1 Dennis Schridde 2016-11-16 21:01:45 UTC
Created attachment 453580 [details]
emerge --info
Comment 2 Dennis Schridde 2016-11-16 21:02:49 UTC
P.S. I suspect that the "WGET ..." line in the log is being prevent from running by FEATURES=network-sandbox.
Comment 3 Zac Medico gentoo-dev 2016-11-19 18:48:52 UTC
(In reply to Dennis Schridde from comment #2)
> P.S. I suspect that the "WGET ..." line in the log is being prevent from
> running by FEATURES=network-sandbox.

You can ignore the WGET stuff, since the ebuild bypasses that by unpacking stuff from SRC_URI.

Please try to build it again with V=3 in your MAKEOPTS variable, and the attach the verbose log. It looks like it's failing to configure qemu (probably due to an unsatisfied dependency).

Also, please attach the qemu config.log which you should find located at "/var/tmp/portage/app-emulation/rkt-1.18.0/work/rkt-1.18.0/build-rkt-1.18.0/tmp/usr_from_kvm/qemu/src/config.log".
Comment 4 Dennis Schridde 2016-11-19 19:10:12 UTC
(In reply to Zac Medico from comment #3)
> Please try to build it again with V=3 in your MAKEOPTS variable, and the
> attach the verbose log. It looks like it's failing to configure qemu
> (probably due to an unsatisfied dependency).

You're right:

ERROR: zlib check failed
       Make sure to have the zlib libs and headers installed.
Comment 5 Dennis Schridde 2016-11-19 19:15:06 UTC
Created attachment 453784 [details]
build.log
Comment 6 Dennis Schridde 2016-11-19 19:15:27 UTC
Created attachment 453786 [details]
config.log
Comment 7 Dennis Schridde 2016-11-19 19:24:54 UTC
Switching to rkt_stage1_kvm_lkvm worked around the issue.
Comment 8 Zac Medico gentoo-dev 2016-11-19 20:49:14 UTC
I've added a sys-libs/zlib[static-libs(+)] dependency that should fix it:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8396490fbc216f90af614cefaa332a6c2492ef3a