Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893524 - dev-lang/ghc-9.0.2-r3: compile error with USE=binary
Summary: dev-lang/ghc-9.0.2-r3: compile error with USE=binary
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 890563
Blocks:
  Show dependency tree
 
Reported: 2023-02-07 18:12 UTC by std_proc_0xaf
Modified: 2023-03-17 21:54 UTC (History)
1 user (show)

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 std_proc_0xaf 2023-02-07 18:12:21 UTC
dev-lang/ghc-9.0.2-r3 fails to merge when the use flag 'binary' is active. This is probably due to the patch introduced in 890563.

> * Applying ghc-9.0.2-sphinx-6.patch ...
> can't find file to patch at input line 31

Reproducible: Always

Steps to Reproduce:
1.add =dev-lang/ghc-9.0.2-r3 binary to package.use
2.run emerge -1 =dev-lang/ghc-9.0.2-r3
Actual Results:  
The merge process fails with an error indicating a missing file when appyling the patch ghc-9.0.2-sphinx-6.patch.

Expected Results:  
The patch should not be applied for the binary version, therefore letting the merge process continue.

Portage 3.0.30 (python 3.10.9-final-0, default/linux/amd64/17.1/desktop/systemd, gcc-11.3.0, glibc-2.35-r8, 5.15.59-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.15.59-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-5600U_CPU_@_2.60GHz-with-glibc2.35
KiB Mem:    16108820 total,    929672 free
KiB Swap:   10485756 total,  10485756 free
Timestamp of repository gentoo: Tue, 07 Feb 2023 08:30:01 +0000
Head commit of repository gentoo: 5113fd675b32882a2f0f8fd5696ca4005e54278d
sh bash 5.1_p16-r1
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16-r1::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           3.9.16-r1::gentoo, 3.10.9-r1::gentoo
dev-lang/rust:             1.58.1::gentoo
dev-lang/rust-bin:         1.65.0::gentoo
dev-util/cmake:            3.22.4::gentoo
dev-util/meson:            0.62.2::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          251.2::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.6-r1::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r8::gentoo
Repositories:

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

Installed sets: @haskell, @perl, @virtualbox
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE dlj-1.1 sun-bcla-java-vm spin-educational skype-eula PUEL Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xdm/Xsetup_0 /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-php7.4/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php7.4/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php7.4/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --quiet"
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 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="***"
LANG="en_US.utf-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5"
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 a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvd dvdr encode exif flac fortran gdbm gif gnome-keyring gpm gtk gui hardened iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp sound spell split-usr ssl startup-notification svg systemd test-rust threads tiff truetype unicode upower usb vorbis wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" 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="aes avx avx2 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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" RUBY_TARGETS="ruby27 ruby30" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia intel" 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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-09 20:34:49 UTC
Discussing this with hololeap.
Comment 2 Larry the Git Cow gentoo-dev 2023-02-21 05:13:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81141d9b9109eb5fa8c6f87a15ae47fa1d137325

commit 81141d9b9109eb5fa8c6f87a15ae47fa1d137325
Author:     hololeap <hololeap@users.noreply.github.com>
AuthorDate: 2023-02-20 19:26:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-21 05:13:28 +0000

    dev-lang/ghc: Update binaries for ghc-9.0.2
    
    Updates to the amd64 and x86 binaries were built using
    
        quickpkg =dev-lang/ghc-9.0.2-r4
    
    Keywords and binary packages for arm64, ppc64 and riscv have been
    dropped pending new versions. This should prevent anyone on these
    platforms who are using USE=binary from accidentally using old binaries
    which use the old version of 'process'.
    
    Closes: https://bugs.gentoo.org/893524
    Signed-off-by: hololeap <hololeap@users.noreply.github.com>
    Closes: https://github.com/gentoo/gentoo/pull/29687
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/ghc/Manifest            |  2 ++
 dev-lang/ghc/ghc-9.0.2-r4.ebuild | 22 +++++++++++-----------
 2 files changed, 13 insertions(+), 11 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2023-03-17 21:54:03 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=493985779d8fcaeadc2085253fb53fee4a828904

commit 493985779d8fcaeadc2085253fb53fee4a828904
Author:     Matoro Mahri <matoro@users.noreply.github.com>
AuthorDate: 2023-03-15 14:47:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-17 21:51:49 +0000

    dev-lang/ghc: add arm64, ppc64, riscv binaries for 9.0.2-r4
    
    Bug: https://bugs.gentoo.org/893524
    Signed-off-by: Matoro Mahri <matoro@users.noreply.github.com>
    Closes: https://github.com/gentoo/gentoo/pull/30136
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/ghc/Manifest            |  4 ++++
 dev-lang/ghc/ghc-9.0.2-r4.ebuild | 21 ++++++++++-----------
 2 files changed, 14 insertions(+), 11 deletions(-)