deu / palemoon-overlay

Unofficial Gentoo overlay for the Pale Moon (http://www.palemoon.org/) web browser.
34 stars 12 forks source link

www-client/palemoon-bin-30.0.0: fails at install phase (!!! newins: /var/tmp/portage/www-client/palemoon-bin-30.0.0/work/palemoon/browser/chrome/icons/default/default16.png does not exist) #121

Closed corvus1 closed 2 years ago

corvus1 commented 2 years ago
>>> Emerging (2 of 2) www-client/palemoon-bin-30.0.0::palemoon
 * palemoon-30.0.0.linux-x86_64-gtk3.tar.xz BLAKE2B SHA512 size ;-) ...                                                                              [ ok ]
>>> cfg-update-1.8.2-r1: Creating checksum index...
>>> Unpacking source...
>>> Unpacking palemoon-30.0.0.linux-x86_64-gtk3.tar.xz to /var/tmp/portage/www-client/palemoon-bin-30.0.0/work
>>> Source unpacked in /var/tmp/portage/www-client/palemoon-bin-30.0.0/work
>>> Preparing source in /var/tmp/portage/www-client/palemoon-bin-30.0.0/work/palemoon ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-client/palemoon-bin-30.0.0/work/palemoon ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/www-client/palemoon-bin-30.0.0/work/palemoon ...
>>> Source compiled.
>>> Test phase [not enabled]: www-client/palemoon-bin-30.0.0

>>> Install www-client/palemoon-bin-30.0.0 into /var/tmp/portage/www-client/palemoon-bin-30.0.0/image/
 * ERROR: www-client/palemoon-bin-30.0.0::palemoon failed (install phase):
 *   !!! newins: /var/tmp/portage/www-client/palemoon-bin-30.0.0/work/palemoon/browser/chrome/icons/default/default16.png does not exist
 * 
 * If you need support, post the output of `emerge --info '=www-client/palemoon-bin-30.0.0::palemoon'`,
 * the complete build log and the output of `emerge -pqv '=www-client/palemoon-bin-30.0.0::palemoon'`.
 * The complete build log is located at '/var/tmp/portage/www-client/palemoon-bin-30.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/palemoon-bin-30.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/palemoon-bin-30.0.0/work/palemoon'
 * S: '/var/tmp/portage/www-client/palemoon-bin-30.0.0/work/palemoon'

>>> Failed to emerge www-client/palemoon-bin-30.0.0, Log file:

>>>  '/var/tmp/portage/www-client/palemoon-bin-30.0.0/temp/build.log'
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (www-client/palemoon-bin-30.0.0:0/0::palemoon, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/www-client/palemoon-bin-30.0.0/temp/build.log'

emerge --info:

emerge --info '=www-client/palemoon-bin-30.0.0::palemoon'
Portage 3.0.30 (python 3.9.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.2.1, glibc-2.33-r13, 5.16.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.16.12-gentoo-x86_64-AMD_Ryzen_7_2700_Eight-Core_Processor-with-glibc2.33
KiB Mem:    24633616 total,    773812 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 18 Mar 2022 06:34:16 +0000
Head commit of repository gentoo: 4164988152d5d9b5127651b51f4a20a61c4369cc

Timestamp of repository kde: Thu, 17 Mar 2022 17:49:03 +0000
Head commit of repository kde: a63e89ce37420d995595bdea482eec82e9723a08

Timestamp of repository palemoon: Fri, 18 Mar 2022 00:04:15 +0000
Head commit of repository palemoon: 0f38ad24b2ef719e8fecf3d4f715eb73d14aee30

Head commit of repository rion: b6488f30a66eb65bef1e23f51b3b10ff18cfaf1f

Timestamp of repository steam-overlay: Wed, 16 Mar 2022 21:49:22 +0000
Head commit of repository steam-overlay: 892e90f510daf8b68e3b02aa40a710b2d343c076

Timestamp of repository torbrowser: Fri, 18 Mar 2022 01:49:33 +0000
Head commit of repository torbrowser: 8af8ce281f85ab67af609c3824f5f3f3a1402745

sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           2.7.18_p14::gentoo, 3.9.9-r1::gentoo
dev-util/cmake:            3.22.3::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.4::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           13.0.1::gentoo
sys-devel/gcc:             11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.1::gentoo
sys-devel/llvm:            13.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.16::gentoo (virtual/os-headers)
sys-libs/glibc:            2.33-r13::gentoo
Repositories:

gentoo
    location: /mnt/portage/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

kde
    location: /mnt/portage/layman/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo

local
    location: /mnt/portage/layman/local
    masters: gentoo

palemoon
    location: /mnt/portage/layman/palemoon
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/palemoon.git
    masters: gentoo

rion
    location: /mnt/portage/layman/rion
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/rion.git
    masters: gentoo

steam-overlay
    location: /mnt/portage/layman/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

torbrowser
    location: /mnt/portage/layman/torbrowser
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/torbrowser.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* AdobeFlash-10.1 skype-eula Q3AEULA AdobeFlash-10.3 skype-4.0.0.7-copyright AdobeFlash-11.x TeamViewer Oracle-BCLA-JavaSE OPERA-12 OPERA-2014"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-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 /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
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="-mtune=native -O2 -pipe"
DISTDIR="/home/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n "
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="-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 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="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru ru_RU"
MAKEOPTS="-j14"
PKGDIR="/home/packages"
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="3dnow 3dnowext X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdr cli corefont crypt dbus declarative dri dts dvd dvdr elogind encode exif ffmpeg flac fortran gdbm gif gpm gtk gui iconv icu idn introspection ip6 ipv6 jgp jpeg kde kwallet lcms libglvnd libnotify libtirpc mad matroska midi mmx mng mp3 mp4 mpeg multilib ncurses nls nptl offensive ogg opengl openmp pam pango pcre pdf plasma png policykit ppds private-headers pulseaudio qml qt qt3support qt5 rar readline samba sdl seccomp spell split-usr sse sse2 sse3 ssl startup-notification svg symlink taglib theora tiff truetype udev udisks unicode unrar upower usb utf8 vdpau vorbis widgets wxwidgets x264 xattr xcb xml xorg xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2020" ALSA_CARDS="hda-intel" 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 sse sse2 sse3 3dnow" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="ru en" 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_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, 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
corvus1 commented 2 years ago

Upon closer examination, turns out what used to be work/palemoon/browser/chrome/ is now work/palemoon/chrome/, so that needs to be taken a look at in the ebuild.

jeandestouches commented 2 years ago

I guess the path of icon_path should be changed to the new location indeed. (in install_branding_files() function of palemoon eclass)

icon_path="${extracted_dir}/branding"

should be

  icon_path="${extracted_dir}/browser/branding/unofficial"

for >30.0.0 of course

I'm currently compiling it and forgot to modify that so I think I'm gonna have the same issue in install phase.. Damn :octopus:

CaseOf commented 2 years ago
        if [ "$(printf '%s\n' "30.0.0" "${PV}" | sort -V | head -n1)" = "30.0.0" ]; then
                icon_path="${extracted_dir}/browser/branding/unofficial"
        else
                icon_path="${extracted_dir}/branding"
        fi
CaseOf commented 2 years ago

Finally not the right change as seen in #122

CaseOf commented 2 years ago

on my side, build succeeded. feel free to reopen this issue if it is not on your side.

CaseOf commented 1 year ago

Hi, I know I missed something. I think it's git submodules. I'll fix this soon.