Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 872380 - net-misc/iputils-99999999 fcaps in postinst phase fails
Summary: net-misc/iputils-99999999 fcaps in postinst phase fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-22 13:42 UTC by jospezial
Modified: 2022-09-22 15:47 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2022-09-22 13:42:16 UTC
* Messages for package net-misc/iputils-99999999:

 * FAILED postinst: 1
 * ERROR: net-misc/iputils-99999999::gentoo failed (postinst phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  122:  Called pkg_postinst
 *   environment, line 2677:  Called fcaps 'cap_net_raw' 'bin/ping' 'bin/arping'
 *   environment, line 1550:  Called die
 * The specific snippet of code:
 *               chmod ${caps_mode} "${file}" || die;
 * 
 * If you need support, post the output of `emerge --info '=net-misc/iputils-99999999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/iputils-99999999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/iputils-99999999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/iputils-99999999/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/iputils-99999999/empty'
 * S: '/var/tmp/portage/net-misc/iputils-99999999/work/iputils-99999999'


Portage 3.0.36 (python 3.11.0-candidate-2, default/linux/amd64/17.1, gcc-12.2.1, glibc-2.35-r10, 6.0.0-rc6 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.0.0-rc6-x86_64-AMD_Athlon-tm-_II_X2_240_Processor-with-glibc2.35
KiB Mem:     4026796 total,   1893312 free
KiB Swap:   11010040 total,  10625832 free
Timestamp of repository FireBurn: Wed, 21 Sep 2022 21:46:42 +0000
Head commit of repository FireBurn: a3e507783cc49e12bb12156af6a1a09d5768749c

Timestamp of repository gamerlay: Wed, 07 Sep 2022 08:25:56 +0000
Head commit of repository gamerlay: 1bd28fab37508064c67e90cc2d3c179d6472d22c

Timestamp of repository gerislay: Mon, 12 Sep 2022 19:25:31 +0000
Head commit of repository gerislay: fe7a7f4cc355ae1087357a38d778af2750f340f8

Timestamp of repository java: Wed, 24 Aug 2022 05:02:38 +0000
Head commit of repository java: 845d70cdfaecc9379aceee98fd3cc0906548a7b5

Head commit of repository kde: b557ce87a82bda203b010127e532a16e6f219232

Head commit of repository netfab-overlay: 6a95772ceaff5daf8fda9ca855f2c0f6ca4d8ddd

Timestamp of repository pg_overlay: Tue, 20 Sep 2022 12:01:56 +0000
Head commit of repository pg_overlay: 473c7cbd8cd3e8bda4041e6fb01f847c1d7cc08a

Timestamp of repository poly-c: Wed, 21 Sep 2022 11:37:00 +0000
Timestamp of repository qt: Sun, 18 Sep 2022 12:01:56 +0000
Head commit of repository qt: c7e0d707368bafa3daa0d372757ec6c952e7c50c

Timestamp of repository seden: Mon, 12 Sep 2022 19:25:27 +0000
Head commit of repository seden: 2dbf859c748816a0060d8aa9961d8d2e8a4bf4cd

Timestamp of repository stefantalpalaru: Wed, 21 Sep 2022 17:01:50 +0000
Head commit of repository stefantalpalaru: 1505b9e2fb81bd65c77432ccd3216c1e1cb6650d

Timestamp of repository x11: Wed, 07 Sep 2022 08:26:01 +0000
Head commit of repository x11: de3e047228eb627573e04383968f729f6c710db1

Timestamp of repository gentoo: Thu, 22 Sep 2022 00:46:50 +0000
Head commit of repository gentoo: 61d8a8d8cc4a8a9755cc3f895ae530590e7700e0

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p4) 2.39.0
ccache version 4.6.3 [enabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0::gentoo
dev-lang/python:           3.10.7::gentoo, 3.11.0_rc2::gentoo
dev-lang/rust-bin:         1.63.0::gentoo
dev-util/ccache:           4.6.3::gentoo
dev-util/cmake:            3.24.2::gentoo
dev-util/meson:            0.63.2-r1::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.45.2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r4::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           15.0.1::gentoo
sys-devel/gcc:             12.2.1_p20220917::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             15.0.1::gentoo
sys-devel/llvm:            15.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.19::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r10::gentoo
Repositories:

FireBurn
    location: /var/db/repos/FireBurn
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/FireBurn.git
    masters: gentoo
    priority: -1001

gamerlay
    location: /var/db/repos/gamerlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gamerlay.git
    masters: gentoo
    priority: -1001

gerislay
    location: /var/db/repos/gerislay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gerislay.git
    masters: gentoo
    priority: -1001

java
    location: /var/db/repos/java
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/java.git
    masters: gentoo
    priority: -1001

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/kde.git
    masters: gentoo
    priority: -1001

netfab-overlay
    location: /var/db/repos/netfab-overlay
    sync-type: git
    sync-uri: https://github.com/netfab/overlay
    masters: gentoo
    priority: -1001

overlay_jl
    location: /var/db/repos/overlay_jl
    masters: gentoo
    priority: -1001

pg_overlay
    location: /var/db/repos/pg_overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pg_overlay.git
    masters: gentoo
    priority: -1001

poly-c
    location: /var/db/repos/poly-c
    sync-type: rsync
    sync-uri: rsync://rsync.gentoofan.org/poly-c
    masters: gentoo
    priority: -1001
    sync-rsync-extra-opts: 

qt
    location: /var/db/repos/qt
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/qt.git
    masters: gentoo
    priority: -1001

seden
    location: /var/db/repos/seden
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/seden.git
    masters: gentoo
    priority: -1001

stefantalpalaru
    location: /var/db/repos/stefantalpalaru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/stefantalpalaru.git
    masters: gentoo
    priority: -1001

x11
    location: /var/db/repos/x11
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/x11.git
    masters: gentoo
    priority: -1001

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y --autounmask-write=y --keep-going --quiet-build=y --verbose-conflicts"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-march=native -mtune=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox 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 -mtune=native -O2 -pipe"
GENTOO_MIRRORS="http://ftp.halifax.rwth-aachen.de/gentoo/ https://mirrors.dotsrc.org/gentoo/ https://mirror.leaseweb.com/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j3"
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="64bit X Xaw3d a52 aac aacplus aacs aalib ace acl acpi activefilter admin adns aften alsa ambisonics amd64 ap apm apng archive arping audacious audiofile automount avif bash bazaar bdplus binary-drivers bluray boost btrfs bzip2 cairo ccache cdda cddb cdio cdr cdrom charconv chm chroot cjk clang cli client colordiff colorpicker colors compress corefonts cpio cpufreq_bench cpuload crypt css cue cups curl custom-modes d3d9 dav1d dbus declarative dga dhcp dom doom doomsday dri dri3 drm dts duktape dump dv dvb dvd dvdnav eap eap-sim eap-tls ebook egl elogind encode enscript epub equalizer exif extensions extras faac faad farstream fat fax fbcon fdformat fdk ffmpeg fftw firefox flac fluidsynth fontconfig foomatic foomaticdb fortran freedoom ftp fuse gadu gd gegl geoip gif git glamor gpg gphoto2 graphite grub gstreamer gtk gtk3 gtk4 gui gzip haptic hddtemp hdf hdf5 heretic hexen hid highlight history hpcups hpijs http http2 hwdb iconv icu id3tag idn imagemagick initramfs inotify introspection ipc ipod ipv6 iso jack jbootstrap jit jpeg jpeg2k jpegxl kde kdenlive keyfinder ladspa lame lcms legacy-systray lensfun libaom libass libcanberra libdrm libglvnd libinput libmpv libnotify libplacebo librtmp libsamplerate libssh2 libtirpc libv4l libwww lightdm live lm-sensors lm_sensors logrotate lua lv2 lximage lz4 lzma lzo mad magic man matroska md5sum meanwhile melt mercurial metalink midi mikmod mime minizip mixer mjpeg mmap mms mng mobi mod modern-top modplug mono mount mouse mozilla mp3 mp4 mpeg mpeg2 mplayer mtp multilib multimedia multislot musepack musicbrainz nano-syntax ncat ncurses ndiff network networkmonitor newnet nls nmap-update normalize nowlistening nping nptl ntfs ntfsprogs ntp nvidia nvram obex ocr odbc odf offload ogg ogm openal opencl opengl openh264 openmp openssl opus osdmenu otr p2p pam pango panorama parse-clocks pcap pci pcre pcre16 pdf pdfimport phonon pipes pkcs11 plasma plugins pm-utils png policykit postproc postscript powermanagement ppds printsupport privacy projectm pulseaudio pvr python qalculate qml qrcode qt5 qtkeychain quicktime radio rar raw readline recording reiser4 reiserfs remote-access replaygain rtc rtmp rubberband sbsms scanner screencast screensaver scripttools sdl seccomp secure-delete sensors serial serialport sftp sha512 shorten skins slang smi sndfile sockets sound soundtouch source-highlight speech speex spell split-usr sql sqlite sqlite3 squashfs ssh ssl staging startup-notification statistics statusnotifier stk stream subtitles sudo svg symlink sync-plugin-portage syslog sysstat system-ffmpeg system-harfbuzz system-icu system-jpeg system-jsoncpp system-libvpx system-sqlite sysv-utils szip taglib text texteffect tftp tftpd themes theora threads thumbnail tiff timidity tracepath traceroute translator truetype twolame udev udf udisks unicode update_drivedb upower urlpicpreview usb utils v4l v4l2 vaapi vala vamp vdpau vector-icons video videos virtualbox vkd3d vnc vorbis vpx vroot vst vulkan vulkaninfo wad wav wavpack wayland webgl webp webpresence widgets winbind winpopup wmf worldclock wps wxwidgets x264 x265 xattr xcb xcomposite xfs xine xinerama xkb xml xmp xorg xosd xpm xrandr xscreensaver xv xvid yahoo zenmap zink zip zlib zstd zvbi" ABI_X86="64" ADA_TARGET="gnat_2020" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4a" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10 python3_11" RUBY_TARGETS="ruby31" USERLAND="GNU" VIDEO_CARDS="radeon amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
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, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

net-misc/iputils-99999999::gentoo was built with the following:
USE="arping filecaps idn nls tracepath -caps -clockdiff -doc -test" ABI_X86="(64)"
FEATURES="pid-sandbox sfperms binpkg-multi-instance assume-digests usersandbox binpkg-docompress multilib-strict sandbox parallel-fetch distlocks userfetch protect-owned ebuild-locks userpriv fixlafiles qa-unresolved-soname-deps strict preserve-libs merge-sync unmerge-orphans xattr unknown-features-warn config-protect-if-modified unmerge-logs binpkg-logs ipc-sandbox ccache network-sandbox news usersync buildpkg-live binpkg-dostrip"
Comment 1 jospezial 2022-09-22 13:52:51 UTC
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   /usr/bin/arping
   /usr/bin/tracepath
   /usr/bin/ping
 * checking 14 files for package collisions
>>> Merging net-misc/iputils-99999999 to /
--- /usr/
--- /usr/bin/
>>> /usr/bin/ping
>>> /usr/bin/tracepath4 -> tracepath
>>> /usr/bin/tracepath6 -> tracepath
>>> /usr/bin/arping
>>> /usr/bin/tracepath
>>> /usr/bin/ping6 -> ping
>>> /usr/bin/ping4 -> ping
--- /usr/share/
--- /usr/share/locale/
--- /usr/share/locale/de/
--- /usr/share/locale/de/LC_MESSAGES/
>>> /usr/share/locale/de/LC_MESSAGES/iputils.mo
--- /usr/share/doc/
--- /usr/share/doc/iputils-99999999/
>>> /usr/share/doc/iputils-99999999/README.md.bz2
>>> /usr/share/doc/iputils-99999999/CHANGES.bz2
--- /usr/share/man/
--- /usr/share/man/man8/
>>> /usr/share/man/man8/tracepath6.8.bz2 -> tracepath.8.bz2
>>> /usr/share/man/man8/arping.8.bz2
>>> /usr/share/man/man8/tracepath.8.bz2
>>> /usr/share/man/man8/ping.8.bz2
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
--- replaced sym /usr/share/man/man8/tracepath6.8.bz2
--- replaced obj /usr/share/man/man8/tracepath.8.bz2
--- replaced obj /usr/share/man/man8/ping.8.bz2
--- replaced obj /usr/share/man/man8/arping.8.bz2
--- replaced dir /usr/share/man/man8
--- replaced dir /usr/share/man
--- replaced obj /usr/share/locale/de/LC_MESSAGES/iputils.mo
--- replaced dir /usr/share/locale/de/LC_MESSAGES
--- replaced dir /usr/share/locale/de
--- replaced dir /usr/share/locale
--- replaced obj /usr/share/doc/iputils-99999999/README.md.bz2
--- replaced obj /usr/share/doc/iputils-99999999/CHANGES.bz2
--- replaced dir /usr/share/doc/iputils-99999999
--- replaced dir /usr/share/doc
--- replaced dir /usr/share
--- replaced sym /usr/bin/tracepath6
--- replaced sym /usr/bin/tracepath4
--- replaced obj /usr/bin/tracepath
--- replaced sym /usr/bin/ping6
--- replaced sym /usr/bin/ping4
--- replaced obj /usr/bin/ping
--- replaced obj /usr/bin/arping
--- replaced dir /usr/bin
--- replaced dir /usr
>>> Original instance of package unmerged safely.
chmod: cannot access '/bin/ping': No such file or directory


The path is wrong, /bin/ vs /usr/bin/
Comment 2 jospezial 2022-09-22 14:04:03 UTC
Does the ebuild need "prefix" added also?
Comment 3 Larry the Git Cow gentoo-dev 2022-09-22 15:47:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cd0fbd620b0f3210d047a5139bef8e866331c8f

commit 4cd0fbd620b0f3210d047a5139bef8e866331c8f
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-09-22 15:46:10 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-09-22 15:46:58 +0000

    net-misc/iputils: rework fcaps logic
    
    Closes: https://bugs.gentoo.org/872380
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 net-misc/iputils/iputils-99999999.ebuild | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)