Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 774237 - www-client/ungoogled-chromium-88.0.4324.192-r1::PF4Public - three packages fails to compile
Summary: www-client/ungoogled-chromium-88.0.4324.192-r1::PF4Public - three packages fa...
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: 2021-03-04 22:43 UTC by Marcus V Salvador
Modified: 2021-03-05 22:51 UTC (History)
3 users (show)

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


Attachments
www-client/ungoogled-chromium-88.0.4324.192-r1 (ungoogled-chromium.tar.xz,11.41 KB, application/x-xz)
2021-03-04 22:49 UTC, Marcus V Salvador
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus V Salvador 2021-03-04 22:43:59 UTC
After trying to compile www-client/ungoogled-chromium-88.0.4324.192-r1, fails to compile three packages as following:

1 - dev-libs/re2-0.2020.11.01;
2 - media-libs/openh264-2.1.1;
3 - x11-misc/xdg-utils-1.1.3_p20200220-r1;

Which they are inside the archive attached in this post with the name "ungoogled-chromium.tar.xz." Every single time just output to recompile using -fPIC, but I have a package.env configured with this flag, which is in the same archives attached in this post.

Reproducible: Always

Steps to Reproduce:
1.Put the necessary archives of the package www-client/ungoogled-chromium on a local overlay, or use another tool such as eselect-repository or layman. For example, I use the archives from the PF4Public overlay;
2.After this, use the following command: # emerge --ask --verbose www-client/ungoogled-chromium;
3.Watch the packages fail to compile.
Actual Results:  
Portage decline to compile package www-client/ungoogled-chromium, because can't compile these three packages which I mentioned in the bug description.

Expected Results:  
Compile the www-client/ungoogled-chromium properly and be able to use the software.

Here is the "emerge --info" output command. But, I've send another archives that can be helpful for you all.

# emerge --info
Portage 3.0.16 (python 3.8.8-final-0, default/linux/amd64/17.1/no-multilib/hardened/selinux, gcc-10.2.0, glibc-2.32-r8, 5.10.15-gentoo x86_64)
=================================================================
System uname: Linux-5.10.15-gentoo-x86_64-Intel-R-_Core-TM-_i5-7400_CPU_@_3.00GHz-with-glibc2.2.5
KiB Mem:    24538728 total,  20519416 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 04 Mar 2021 21:30:01 +0000
Head commit of repository gentoo: 4dddc6ba1c6060f41cdf140933cfe2d662d69c34
sh bash 5.1_p4
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p4::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p7::gentoo, 3.8.8::gentoo, 3.9.2::gentoo
dev-util/cmake:           3.19.6::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r8::gentoo
Repositories:

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

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fPIE -fstack-protector-strong -fstack-clash-protection"
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="-march=native -O2 -pipe -fPIE -fstack-protector-strong -fstack-clash-protection"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2 --load-average=1 --keep-going=y"
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 config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://gentoo.c3sl.ufpr.br/ rsync://gentoo.c3sl.ufpr.br/gentoo/ rsync://gentoo.gossamerhost.com/gentoo-distfiles/ https://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ https://mirror.isoc.org.il/pub/gentoo/ rsync://rsync.gtlib.gatech.edu/gentoo https://gentoo.osuosl.org/ https://mirrors.rit.edu/gentoo/ rsync://mirrors.rit.edu/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-z,now -Wl,-z,relro"
MAKEOPTS="--jobs=5 --load-average=4"
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"
USE="X acl aes aio alsa amd64 avx avx2 bzip2 cli crypt custom-cflags custom-optimization dri extra-hardened f16c fftw fma3 gles2 graphite hardened iconv ithreads libglvnd libtirpc minimal mmx mmxext ncurses nptl offensive openmp openssl otr pam pclmul pcre pgo pie popcnt readline seccomp secure-path selinux split-usr sse sse2 sse3 sse4_1 sse4_2 ssl ssp ssse3 system-av1 system-binutils system-cairo system-clang system-cmark system-compress system-ffmpeg system-harfbuzz system-heimdal system-icu system-images system-jpeg system-jsoncpp system-lcms system-leveldb system-libevent system-libs system-libvpx system-libyaml system-limspack system-llvm system-lua system-lz4 system-nss system-pixman system-renpy system-snappy system-sqlite system-tbb system-uulib system-vpx system-zlib threads tor-hardened unicode xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 f16c fma3 mmx mmxext pclmul 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="keyboard libinput mouse" 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-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marcus V Salvador 2021-03-04 22:49:57 UTC
Created attachment 689385 [details]
www-client/ungoogled-chromium-88.0.4324.192-r1

Archives:

emerge_info_command.txt
ungoogled_chromium_emerge_problem.txt
openh264_build.log
re2_build.log
xdg-utils_build.log
fPIC_compilation.conf
package.env
make.conf
Comment 2 PF4Public 2021-03-05 15:41:22 UTC
Given the fact, that my overlay does have neither of the failing packages and given that ungoogled-chromium ebuild (which indeed is in my overlay) wasn't even attempted to be compiled, I don't to see how this issue is related to my overlay at all.
Comment 3 Ionen Wolkens gentoo-dev 2021-03-05 17:46:01 UTC
It's preferable to file bugs against the packages you are having issues with and not the end-goal package (which led to confusion like this).

However, in a situation where it's multiple packages, there's good odds there's a specific reason for it rather than a bug, and so support venues are preferable first:
https://www.gentoo.org/support/

That aside, the failures are happening because you have -fPIE in C(XX)FLAGS, note that pie is already default-enforced on gentoo (by gcc) but can lead to issues if specified.

Also, please don't use tar for logs in the future, and don't CC arches (amd64@) like that -- these serve a different purpose.
Comment 4 Marcus V Salvador 2021-03-05 22:43:24 UTC
(In reply to PF4Public from comment #2)
> Given the fact, that my overlay does have neither of the failing packages
> and given that ungoogled-chromium ebuild (which indeed is in my overlay)
> wasn't even attempted to be compiled, I don't to see how this issue is
> related to my overlay at all.

Hello!

It's just how I look properly to reference well my problem. For me, as user, seems related, because I'd tried to compile www-client/ungoogled-chromium and these three packages failed to compile. So, I feel better reference these packages with the ungoogled-chromium just to relate better my problem and receive an awesome help overall.

Thanks so much for your comment.

Best regards,
Marcus V.
Comment 5 Marcus V Salvador 2021-03-05 22:51:27 UTC
(In reply to Ionen Wolkens from comment #3)
> It's preferable to file bugs against the packages you are having issues with
> and not the end-goal package (which led to confusion like this).
> 
> However, in a situation where it's multiple packages, there's good odds
> there's a specific reason for it rather than a bug, and so support venues
> are preferable first:
> https://www.gentoo.org/support/
> 
> That aside, the failures are happening because you have -fPIE in C(XX)FLAGS,
> note that pie is already default-enforced on gentoo (by gcc) but can lead to
> issues if specified.
> 
> Also, please don't use tar for logs in the future, and don't CC arches
> (amd64@) like that -- these serve a different purpose.

Hello!

Definetely, I like it! I agree with you. I'll look forward to these tips in compilation in order to avoid problems. Also, I'll save this support link which I didn't know before. Sorry.

Anyway, I've tried my best to reference well my problem. Sorry if I did confusion in this bug. And, I'll not do that about tar for logs and CC arches. Really appreciated it these tips too.

Best regards,
Marcus V.