powerman / powerman-overlay

Powerman's Gentoo overlay
12 stars 4 forks source link

runit-service/setupservices-1-r1: workdir doesn't exist #3

Closed fusion809 closed 6 years ago

fusion809 commented 6 years ago

Hi,

runit builds fine but for some reason runit-service/setupservices-1-r1 doesn't build, it gives the error:

Calculating dependencies  ... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 3) runit-service/setupservices-1-r1::powerman
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/runit-service/setupservices-1-r1/work
>>> Preparing source in /var/tmp/portage/runit-service/setupservices-1-r1/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/runit-service/setupservices-1-r1/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/runit-service/setupservices-1-r1/work ...
>>> Source compiled.
>>> Test phase [not enabled]: runit-service/setupservices-1-r1
 * ERROR: runit-service/setupservices-1-r1::powerman failed (install phase):
 *   The source directory '/var/tmp/portage/runit-service/setupservices-1-r1/work/setupservices-1' doesn't exist
 *
 * Call stack:
 *            ebuild.sh, line  776:  Called __ebuild_main 'install'
 *   phase-functions.sh, line 1053:  Called __dyn_install
 *   phase-functions.sh, line  575:  Called die
 * The specific snippet of code:
 *          die "The source directory '${S}' doesn't exist"
 *
 * If you need support, post the output of `emerge --info '=runit-service/setupservices-1-r1::powerman'`,
 * the complete build log and the output of `emerge -pqv '=runit-service/setupservices-1-r1::powerman'`.
 * The complete build log is located at '/var/tmp/portage/runit-service/setupservices-1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/runit-service/setupservices-1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/runit-service/setupservices-1-r1/homedir'
 * S: '/var/tmp/portage/runit-service/setupservices-1-r1/work/setupservices-1'

>>> Failed to emerge runit-service/setupservices-1-r1, Log file:

>>>  '/var/tmp/portage/runit-service/setupservices-1-r1/temp/build.log'
 * Messages for package runit-service/setupservices-1-r1:
 * ERROR: runit-service/setupservices-1-r1::powerman failed (install phase):
 *   The source directory '/var/tmp/portage/runit-service/setupservices-1-r1/work/setupservices-1' doesn't exist
 *
 * Call stack:
 *            ebuild.sh, line  776:  Called __ebuild_main 'install'
 *   phase-functions.sh, line 1053:  Called __dyn_install
 *   phase-functions.sh, line  575:  Called die
 * The specific snippet of code:
 *          die "The source directory '${S}' doesn't exist"
 *
 * If you need support, post the output of `emerge --info '=runit-service/setupservices-1-r1::powerman'`,
 * the complete build log and the output of `emerge -pqv '=runit-service/setupservices-1-r1::powerman'`.
 * The complete build log is located at '/var/tmp/portage/runit-service/setupservices-1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/runit-service/setupservices-1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/runit-service/setupservices-1-r1/homedir'
 * S: '/var/tmp/portage/runit-service/setupservices-1-r1/work/setupservices-1'

. While my emerge -pqv output is:

[ebuild  N    ] runit-service/setupservices-1-r1

and my emerge --info output is:

Portage 2.3.13 (python 3.4.5-final-0, hardened/linux/musl/amd64, gcc-5.4.0, musl-1.1.18, 4.12.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.4.1
KiB Mem:     8175956 total,   7824816 free
KiB Swap:    4194300 total,   4194300 free
Head commit of repository gentoo: 91c02b6a97e4cc6ac17457640bb32c3d708093b3

Head commit of repository powerman: 113c8b600e3df2f62ee46d963b3635b0e42df839

sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.8::gentoo
sys-apps/sandbox:         2.10-r4::musl
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::musl, 6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::musl (virtual/os-headers)
sys-libs/musl:            1.1.18::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://github.com/gentoo/gentoo.git
    priority: -1000

powerman
    location: /usr/local/powerman-overlay
    sync-type: git
    sync-uri: git://github.com/powerman/powerman-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-gentoo-linux-musl"
CFLAGS="-O2 -pipe"
CHOST="x86_64-gentoo-linux-musl"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.swin.edu.au/gentoo http://ftp.swin.edu.au/gentoo"
INSTALL_MASK="charset.alias"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="amd64 bindist cli cracklib crypt cxx dri fortran iconv ipv6 mmx modules ncurses nls nptl openmp pam pcre pic readline seccomp session sse sse2 ssl tcpd unicode xattr zlib" ABI_X86="64" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="musl" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

as you can see I am using musl as my C standard library, what can I say I want to see if I can make my Gentoo system similar to Void Linux, using both musl and runit. Is the musl likely to make a difference?

Thanks for your time, Brenton

powerman commented 6 years ago

Thanks for the report.

I've installed it 2 years ago, and looks like now it fail to install in same way on my system too, so it have nothing with musl (I use glibc).

I'll check this now…

powerman commented 6 years ago

Fixed.

powerman commented 6 years ago

Looks like portage was changed and thus need fix for edge case (package without source archive).