Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919074 - app-containers/skopeo-1.14.0-r2: build error
Summary: app-containers/skopeo-1.14.0-r2: build error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-12-03 00:06 UTC by Albert W. Hopkins
Modified: 2023-12-03 09:12 UTC (History)
4 users (show)

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


Attachments
build.log (build.log.gz,128.79 KB, application/gzip)
2023-12-03 00:07 UTC, Albert W. Hopkins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2023-12-03 00:06:19 UTC
I looked at the log but I can't seem to find the error. skopeo-1.14.0-r1 builds successfully on the same machine. There are a lot of changes in the ebuild from r1 -> r2.

Portage 3.0.51 (python 3.11.6-final-0, default/linux/amd64/17.1/systemd, gcc-13, glibc-2.37-r7, 6.6.3-gentoo x86_64)
=================================================================
System uname: Linux-6.6.3-gentoo-x86_64-12th_Gen_Intel-R-_Core-TM-_i9-12900K-with-glibc2.37
KiB Mem:    65661644 total,   1562404 free
KiB Swap:    2101244 total,    759548 free
Timestamp of repository gentoo: Sat, 02 Dec 2023 23:17:09 +0000
Timestamp of repository marduk: Sat, 02 Dec 2023 14:52:09 +0000
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p7) 2.40.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.6::gentoo, 3.12.0_p1::gentoo
dev-lang/rust:             1.71.1::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.2.3::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          254.5-r1::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r9::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://gbp/repos/lighthouse/gentoo
    priority: -1000
    volatile: True
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: False
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

marduk
    location: /var/db/repos/marduk
    sync-type: rsync
    sync-uri: rsync://gbp/repos/lighthouse/marduk
    masters: gentoo
    priority: 50
    volatile: True
    sync-rsync-verify-metamanifest: False
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="     -O2     -flto     -march=native     -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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="     -O2     -flto     -march=native     -pipe "
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="     --autounmask=n     --jobs=10     --verbose-conflicts     --with-bdeps=n "
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="     -O2     -flto     -march=native     -pipe "
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news noinfo parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans"
FFLAGS="     -O2     -flto     -march=native     -pipe "
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEFLAGS=""
PKGDIR="/var/cache/binpkgs"
PORTAGE_BINHOST="http://gbp/binpkgs/jenkins/"
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 container ipv6 lto minimal native-extensions reference seccomp split-usr ssl systemd test-rust urandom" ABI_X86="64" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" KERNEL="linux" NGINX_MODULES_HTTP="auth_basic gzip proxy referer rewrite headers_more uwsgi" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_8 python3_9 python3_10 python3_11"
YACC="yacc-reference"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SHELL, SIZE, STRINGS, STRIP, YFLAGS
Comment 1 Albert W. Hopkins 2023-12-03 00:07:31 UTC
Created attachment 876481 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-03 03:56:08 UTC
I think the error might be:

# pkg-config --cflags  -- devmapper
Package devmapper was not found in the pkg-config search path.
Perhaps you should add the directory containing `devmapper.pc'
to the PKG_CONFIG_PATH environment variable
Package 'devmapper', required by 'virtual:world', not found
pkg-config: exit status 1
go.mongodb.org/mongo-driver/bson/primitive
Comment 3 Rahil Bhimjiani 2023-12-03 09:02:12 UTC
Sorry Albert, not your fault. In the rewrite William basically undid https://github.com/gentoo/gentoo/commit/ca86f0c551112cd17bb2b122beca7071a6361247 . Not sure if it was intentional.

Fixed it in https://github.com/gentoo/gentoo/pull/34103. Waiting for someone to merge

Thanks for reporting.
Comment 4 Larry the Git Cow gentoo-dev 2023-12-03 09:12:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53f58249ab6783ab39c691f65d637a09dcd5e84a

commit 53f58249ab6783ab39c691f65d637a09dcd5e84a
Author:     Rahil Bhimjiani <me@rahil.website>
AuthorDate: 2023-12-03 08:43:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-03 09:12:04 +0000

    app-containers/skopeo: revbump 1.14.0
    
    1. Use einstalldocs instead of manual dodoc
    2. fix build error caused by device-mapper introduced in 1.14.0-r2
    https://github.com/containers/skopeo/pull/2161
    
    Closes: https://bugs.gentoo.org/919074
    Signed-off-by: Rahil Bhimjiani <me@rahil.website>
    Closes: https://github.com/gentoo/gentoo/pull/34103
    Signed-off-by: Sam James <sam@gentoo.org>

 .../skopeo/{skopeo-1.14.0-r2.ebuild => skopeo-1.14.0-r3.ebuild}     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)