Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913657 - app-emulation/vagrant-2.3.7 bundler-gem-select.patch -> Hunk #1 FAILED at 258
Summary: app-emulation/vagrant-2.3.7 bundler-gem-select.patch -> Hunk #1 FAILED at 258
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-04 19:20 UTC by Bjoern Olausson
Modified: 2023-09-05 17:31 UTC (History)
1 user (show)

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


Attachments
app-emulation:vagrant-2.3.7:20230904-190513.log (build.log,2.85 KB, text/plain)
2023-09-04 19:20 UTC, Bjoern Olausson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bjoern Olausson 2023-09-04 19:20:58 UTC
Created attachment 869744 [details]
app-emulation:vagrant-2.3.7:20230904-190513.log

Hej,

I can't emerge app-emulation/vagrant-2.3.7, it failes to apply patch "bundler-gem-select.patch" with "Hunk #1 FAILED at 258."

Thanks for any hints!


$ emerge -av app-emulation/vagrant

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 5.46 s.

[ebuild  N    ~] app-emulation/vagrant-2.3.7::gentoo  USE="-test" RUBY_TARGETS="ruby31" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] 
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-emulation/vagrant-2.3.7::gentoo
>>> Failed to emerge app-emulation/vagrant-2.3.7, Log file:
>>>  '/var/log/portage/app-emulation:vagrant-2.3.7:20230904-190513.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.24, 0.14, 0.11
 * Package:    app-emulation/vagrant-2.3.7:0
 * Repository: gentoo
 * Maintainer: guillaumeseren@gmail.com proxy-maint@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby31
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
 * Running unpack phase for all
>>> Unpacking vagrant-2.3.7.tar.gz to /var/tmp/portage/app-emulation/vagrant-2.3.7/work/all
>>> Source unpacked in /var/tmp/portage/app-emulation/vagrant-2.3.7/work
>>> Preparing source in /var/tmp/portage/app-emulation/vagrant-2.3.7/work ...
 * Running prepare phase for all
 * ===============================================================================================================================================================================================
 * Applying user patches from /etc/portage/patches ...
 * Applying bundler-gem-select.patch ...
patching file lib/vagrant/bundler.rb
Hunk #1 FAILED at 258.
1 out of 1 hunk FAILED -- saving rejects to file lib/vagrant/bundler.rb.rej
 [ !! ]
 * ERROR: app-emulation/vagrant-2.3.7::gentoo failed (prepare phase):
 *   patch -p1  failed with /etc/portage/patches/app-emulation/vagrant/bundler-gem-select.patch
 * 
 * Call stack:
 *               ebuild.sh, line  136:  Called src_prepare
 *             environment, line 2202:  Called ruby-ng_src_prepare
 *             environment, line 1805:  Called _ruby_invoke_environment 'all' 'default'
 *             environment, line  602:  Called default
 *      phase-functions.sh, line  872:  Called default_src_prepare
 *      phase-functions.sh, line  948:  Called __eapi8_src_prepare
 *             environment, line  361:  Called eapply_user
 *             environment, line 1022:  Called eapply '/etc/portage/patches/app-emulation/vagrant/bundler-gem-select.patch'
 *             environment, line  985:  Called _eapply_patch '/etc/portage/patches/app-emulation/vagrant/bundler-gem-select.patch'
 *             environment, line  923:  Called __helpers_die 'patch -p1  failed with /etc/portage/patches/app-emulation/vagrant/bundler-gem-select.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/vagrant-2.3.7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/vagrant-2.3.7::gentoo'`.
 * The complete build log is located at '/var/log/portage/app-emulation:vagrant-2.3.7:20230904-190513.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/vagrant-2.3.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vagrant-2.3.7/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/vagrant-2.3.7/work/all/vagrant-2.3.7'
 * S: '/var/tmp/portage/app-emulation/vagrant-2.3.7/work/all/vagrant-2.3.7'
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (app-emulation/vagrant-2.3.7:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/app-emulation:vagrant-2.3.7:20230904-190513.log'
 * 


$ emerge --info '=app-emulation/vagrant-2.3.7::gentoo'
Portage 3.0.49 (python 3.10.13-final-0, default/linux/amd64/17.1, gcc-12, glibc-2.37-r3, 6.4.10-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.4.10-x86_64-x86_64-Intel-R-_Core-TM-_i7-8700K_CPU_@_3.70GHz-with-glibc2.37
KiB Mem:    65778556 total,  50613792 free
KiB Swap:   67108860 total,  67108860 free
Timestamp of repository gentoo: Mon, 04 Sep 2023 18:45:01 +0000
Head commit of repository gentoo: cec3e62dd152ef375e555ce5790ed0b29e0a4b3a
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
ccache version 4.8.2 [disabled]
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.5::gentoo
dev-lang/rust:             1.69.0-r1::gentoo
dev-util/ccache:           4.8.2::gentoo
dev-util/cmake:            3.26.5-r2::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.37::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo
sys-devel/gcc:             12.3.1_p20230526::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 

private
    location: /usr/local/portage/private
    masters: gentoo
    priority: 0
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/easy-rsa /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/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--verbose-conflicts --backtrack=30 --jobs=4 --complete-graph y --with-bdeps y --keep-going y --ignore-built-slot-operator-deps=y"
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 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live clean-logs 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="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="de en en_US sv"
MAKEOPTS="-j6"
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="X aac acl acpi additions adl aes aio airplay alsa amd64 apache apache2 apcupsd autostart avx bash-completion berkdb bluetooth bluray branding bzip2 cairo ccache cdb cdda cddb cdio cdparanoia cdr cec cgi clamapp clamdtop clang cli client creds crypt css cuda cups curl daap dbus declarative device-mapper dnotify drafts dri drm dts dv dvb dvbcsa dvd dvdnav dvdr efi egl elogind encode exif faac fam fat fdk ffmpeg fftw flac fortran fpx fuse g3dvl gallium gbm gd gdbm gif glamor gles2 graph gtk gtk3 gudev gui harfbuzz hddtemp hdri hls http2 hwdb i965 iconv icu imagecache imagemagick inotify intl io-uring iptv ipv6 jce joystick jpeg jpeg2k keymap libass libglvnd libkms libnotify libtirpc libvirt libvirtd lm_sensors lock lvm lzma lzo mad matplotlib mdadm mdnsresponder-compat messages midi mikmod minizip mjpeg mmx mmxext mount mp3 mpeg mpeg2 mpg123 multilib mysql mysqli mytharchive mythbrowser mythgallery mythgame mythmusic mythnetvision mythnews mythweather natspec ncat ncurses network nfs nfsdcld nfsidmap nfsv4 nfsv41 nls nonfree nping nptl nsplugin ntfs nvdec nvenc nvidia ogg ogg123 ogm opcache opengl openmp oss pam parted passwordsave pcre pcre16 pcre32 pdf pdo perl php pkcs11 plasma png pnm policykit popcnt posix ppds printsupport pulseaudio python qml qt5 rar raw rdesktop-vrdp readline rss samba schroedinger screencast script scrypt sdl seccomp sensord server soap spell spice split-usr sql sqlite sse sse2 sse3 sse4_1 sse4_2 ssh ssl ssse3 svg swat test-rust text theora thumbnail tiff timeshift tint2conf tools truetype tty-helpers udev udf udisks uefi unicode upcall upnp upower uriparser usb usbredir utils uvm uxa v4l vaapi vboxwebsrv vde vdpau vhost-net vhost-user-fs vhosts virt-network virtfs virtualbox vorbis vpx vte wayland webp webserver widgets wifi winbind wma wmf x264 x265 xattr xcomposite xine xinerama xla xml xmltv xmlwriter xorg xrandr xslt xspice xv xvfb xvid xvmc zip zlib" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="hda-intel intel8x0" APACHE2_MODULES="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 socache_shmcb rewrite setenvif speling status unique_id userdir usertrack authn_core authz_core unixd" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="sirf nmea" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics tslib" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport presenter-console presenter-minimizer scripting-beanshell wiki-publisher" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10 python3_9" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby31" SANE_BACKENDS="epkova" VIDEO_CARDS="nvidia intel i965" 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, 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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-04 19:23:47 UTC
That's your own patch from /etc/portage/patches - please delete it or rebase it:
"""
 * Applying user patches from /etc/portage/patches ...
 * Applying bundler-gem-select.patch ...
patching file lib/vagrant/bundler.rb
Hunk #1 FAILED at 258.
1 out of 1 hunk FAILED -- saving rejects to file lib/vagrant/bundler.rb.rej
 [ !! ]
 * ERROR: app-emulation/vagrant-2.3.7::gentoo failed (prepare phase):
 *   patch -p1  failed with /etc/portage/patches/app-emulation/vagrant/bundler-gem-select.patch
"""
Comment 2 Bjoern Olausson 2023-09-04 19:40:53 UTC
Arrrgh - indeed!
Thanks for the quick reply and sorry for the noise!