View previous topic :: View next topic |
Author |
Message |
liudk n00b
Joined: 12 Oct 2024 Posts: 1
|
Posted: Sun Oct 13, 2024 11:00 am Post subject: emerge --ask --verbose app-containers/docker fail |
|
|
Hell all, when I install docker ,An error occurred
Install command is :
Code: |
emerge --ask --verbose app-containers/docker
|
Error is:
Code: |
>>> Compiling source in /var/tmp/portage/app-containers/docker-26.1.0-r1/work/docker-26.1.0/src/github.com/docker/docker ...
Removing bundles/
---> Making bundle: dynbinary (in bundles/dynbinary)
Building dynamic bundles/dynbinary-daemon/dockerd (linux/amd64)...
+ tee /var/tmp/portage/app-containers/docker-26.1.0-r1/work/docker-26.1.0/src/github.com/docker/docker/go.mod
module github.com/docker/docker
go 1.21
+ trap 'rm -f "${ROOTDIR}/go.mod"' EXIT
+ GO111MODULE=on
+ GOTOOLCHAIN=local
+ go build -mod=vendor -modfile=vendor.mod -o bundles/dynbinary-daemon/dockerd -tags ' exclude_graphdriver_btrfs exclude_graphdriver_overlay seccomp journald' -buildmode=pie -ldflags '-w -X "github.com/docker/docker/dockerversion.Version=26.1.0" -X "github.com/docker/docker/dockerversion.GitCommit=061aa95809be396a6b5542618d8a34b02a21ff77" -X "github.com/docker/docker/dockerversion.BuildTime=2024-10-13T10:51:16.000000000+00:00" -X "github.com/docker/docker/dockerversion.PlatformName=" -X "github.com/docker/docker/dockerversion.ProductName=" -X "github.com/docker/docker/dockerversion.DefaultProductLicense=" ' -gcflags= github.com/docker/docker/cmd/dockerd
error obtaining VCS status: exit status 128
Use -buildvcs=false to disable VCS stamping.
+ rm -f /var/tmp/portage/app-containers/docker-26.1.0-r1/work/docker-26.1.0/src/github.com/docker/docker/go.mod
* ERROR: app-containers/docker-26.1.0-r1::gentoo failed (compile phase):
* dynbinary failed
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 2577: Called die
* The specific snippet of code:
* ./hack/make.sh dynbinary || die 'dynbinary failed'
*
* If you need support, post the output of `emerge --info '=app-containers/docker-26.1.0-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-containers/docker-26.1.0-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-containers/docker-26.1.0-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-containers/docker-26.1.0-r1/temp/environment'.
* Working directory: '/var/tmp/portage/app-containers/docker-26.1.0-r1/work/docker-26.1.0/src/github.com/docker/docker'
* S: '/var/tmp/portage/app-containers/docker-26.1.0-r1/work/docker-26.1.0/src/github.com/docker/docker'
>>> Failed to emerge app-containers/docker-26.1.0-r1, Log file:
>>> '/var/tmp/portage/app-containers/docker-26.1.0-r1/temp/build.log'
* Messages for package app-containers/docker-26.1.0-r1:
* ERROR: app-containers/docker-26.1.0-r1::gentoo failed (compile phase):
* dynbinary failed
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 2577: Called die
* The specific snippet of code:
* ./hack/make.sh dynbinary || die 'dynbinary failed'
*
* If you need support, post the output of `emerge --info '=app-containers/docker-26.1.0-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-containers/docker-26.1.0-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-containers/docker-26.1.0-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-containers/docker-26.1.0-r1/temp/environment'.
* Working directory: '/var/tmp/portage/app-containers/docker-26.1.0-r1/work/docker-26.1.0/src/github.com/docker/docker'
* S: '/var/tmp/portage/app-containers/docker-26.1.0-r1/work/docker-26.1.0/src/github.com/docker/docker'
|
output of `emerge --info '=app-containers/docker-26.1.0-r1::gentoo'` is:
Code: |
dev-build/meson: 1.5.1::gentoo
dev-lang/perl: 5.40.0::gentoo
dev-lang/python: 3.12.6_p2::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/sandbox: 2.39::gentoo
sys-apps/systemd: 255.11::gentoo
sys-devel/binutils: 2.42-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc: 13.3.1_p20240614::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r6::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://mirrors.tuna.tsinghua.edu.cn/gentoo-portage/
priority: -1000
volatile: False
sync-rsync-verify-max-age: 3
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirrors.ustc.edu.cn/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
PKGDIR="/var/cache/binpkgs"
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"
SHELL="/bin/bash"
USE="acl amd64 bzip2 cet crypt gdbm iconv ipv6 libtirpc multilib ncurses nls openmp pam pcre readline seccomp ssl systemd test-rust udev unicode xattr zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB,
READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
|
Can everyone help me ? Thanks! |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2298
|
Posted: Sun Oct 13, 2024 3:51 pm Post subject: |
|
|
It built fine for me. Maybe the easiest way is to add --getbinpkg to your command and install it from the binhost, it's available there.
If you want to diagnose the build, go to the temp directory and run ./hack/make.sh dynbinary and see what the error is. Or you can put the ebuild in a user overlay and edit out the || die part of that line. I think it's unnecessary and the ebuild will fail aither way, but at least it'll print the actual error.
EDIT: I think the relevant part is:
Code: | error obtaining VCS status: exit status 128 |
Maybe a temporary network unavailability?
Best Regards,
Georgi |
|
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
|
|