Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 732372 - sys-fs/unionfs-fuse ebuild does not propagate AR/CC to build system
Summary: sys-fs/unionfs-fuse ebuild does not propagate AR/CC to build system
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-07-12 18:37 UTC by Gavin Pryke
Modified: 2020-07-27 15:44 UTC (History)
2 users (show)

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


Attachments
unionfs-fuse.patch (unionfs-fuse.patch,1.29 KB, patch)
2020-07-12 20:06 UTC, Gavin Pryke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Pryke 2020-07-12 18:37:57 UTC
As summary. Attaching patch shortly.

Thanks.

Reproducible: Always

Actual Results:  
>>> Emerging (1 of 1) sys-fs/unionfs-fuse-2.1::gentoo
 * unionfs-fuse-2.1.tar.gz BLAKE2B SHA512 size ;-) ...                   [ ok ]
>>> Unpacking source...
>>> Unpacking unionfs-fuse-2.1.tar.gz to /var/tmp/portage/sys-fs/unionfs-fuse-2.1/work
>>> Source unpacked in /var/tmp/portage/sys-fs/unionfs-fuse-2.1/work
>>> Preparing source in /var/tmp/portage/sys-fs/unionfs-fuse-2.1/work/unionfs-fuse-2.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-fs/unionfs-fuse-2.1/work/unionfs-fuse-2.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-fs/unionfs-fuse-2.1/work/unionfs-fuse-2.1 ...
make -j8 -l7.9 
make -C src/
make[1]: Entering directory '/var/tmp/portage/sys-fs/unionfs-fuse-2.1/work/unionfs-fuse-2.1/src'
cc -march=armv8-a -O2 -pipe -frecord-gcc-switches -Wall -fPIC -I/usr/include/fuse -D_FILE_OFFSET_BITS=64  -DFUSE_USE_VERSION=29 -DLIBC_XATTR   -c -o unionfs.o unionfs.c
cc -march=armv8-a -O2 -pipe -frecord-gcc-switches -Wall -fPIC -I/usr/include/fuse -D_FILE_OFFSET_BITS=64  -DFUSE_USE_VERSION=29 -DLIBC_XATTR   -c -o fuse_ops.o fuse_ops.c
........

Expected Results:  
>>> Emerging (1 of 1) sys-fs/unionfs-fuse-2.1::test-space
 * unionfs-fuse-2.1.tar.gz BLAKE2B SHA512 size ;-) ...                   [ ok ]
>>> Unpacking source...
>>> Unpacking unionfs-fuse-2.1.tar.gz to /var/tmp/portage/sys-fs/unionfs-fuse-2.1/work
>>> Source unpacked in /var/tmp/portage/sys-fs/unionfs-fuse-2.1/work
>>> Preparing source in /var/tmp/portage/sys-fs/unionfs-fuse-2.1/work/unionfs-fuse-2.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-fs/unionfs-fuse-2.1/work/unionfs-fuse-2.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-fs/unionfs-fuse-2.1/work/unionfs-fuse-2.1 ...
make -j8 -l7.9 AR=aarch64-unknown-linux-gnu-ar CC=aarch64-unknown-linux-gnu-gcc 
make -C src/
make[1]: Entering directory '/var/tmp/portage/sys-fs/unionfs-fuse-2.1/work/unionfs-fuse-2.1/src'
aarch64-unknown-linux-gnu-gcc -march=armv8-a -O2 -pipe -frecord-gcc-switches -Wall -fPIC -I/usr/include/fuse -D_FILE_OFFSET_BITS=64  -DFUSE_USE_VERSION=29 -DLIBC_XATTR   -c -o unionfs.o unionfs.c
aarch64-unknown-linux-gnu-gcc -march=armv8-a -O2 -pipe -frecord-gcc-switches -Wall -fPIC -I/usr/include/fuse -D_FILE_OFFSET_BITS=64  -DFUSE_USE_VERSION=29 -DLIBC_XATTR   -c -o fuse_ops.o fuse_ops.c
.....

# emerge --info
Portage 2.3.99 (python 3.7.7-final-0, default/linux/arm64/17.0, gcc-9.3.0, glibc-2.30-r8, 5.7.7-gentoo aarch64)
=================================================================
System uname: Linux-5.7.7-gentoo-aarch64-with-gentoo-2.6
KiB Mem:    32794360 total,  18172300 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Sat, 11 Jul 2020 00:45:01 +0000
Head commit of repository gentoo: bd3f507f336b726f2ae002ffe276a7de1f5c2e8f
sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.0_p17::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.3-r1::gentoo
dev-util/cmake:           3.16.5::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    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

test-space
    location: /var/local/portage/overlays/test-space
    masters: gentoo

crossdev
    location: /var/db/repos/localrepo-crossdev
    masters: gentoo
    priority: 10

ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="@FREE"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-march=armv8-a -O2 -pipe -frecord-gcc-switches"
CHOST="aarch64-unknown-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=armv8-a -O2 -pipe -frecord-gcc-switches"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --load-average=7.9"
ENV_UNSET="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=armv8-a -O2 -pipe -frecord-gcc-switches"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildsyspkg collision-protect compressdebug 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 split-elog split-log splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=armv8-a -O2 -pipe -frecord-gcc-switches"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
LINGUAS="en en_GB"
MAKEOPTS="-j8 -l7.9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-T0"
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="acl arm64 bash-completion berkdb bzip2 caps cli crypt dri fortran gdbm gif gpm iconv imagemagick ipv6 jpeg libtirpc logrotate lzma ncurses nls nptl openmp pam pcre png python readline seccomp split-usr ssl tcpd tiff unicode vim-syntax webp xattr xinerama xrandr zlib zstd" ADA_TARGET="gnat_2018" ALSA_CARDS="usb-audio" 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_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" 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="evdev libinput" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" QEMU_SOFTMMU_TARGETS="aarch64 arm" QEMU_USER_TARGETS="aarch64 arm" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="fbdev virgl" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gavin Pryke 2020-07-12 20:06:23 UTC
Created attachment 649024 [details, diff]
unionfs-fuse.patch

Patch attempting to fix issue.
Comment 2 Sebastian Pipping gentoo-dev 2020-07-27 15:44:03 UTC
Thanks for the patch!
Comment 3 Larry the Git Cow gentoo-dev 2020-07-27 15:44:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23044dcd951cff4f40b4cc183bee80c9a2fa1ac6

commit 23044dcd951cff4f40b4cc183bee80c9a2fa1ac6
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2020-07-27 15:43:01 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2020-07-27 15:44:30 +0000

    sys-fs/unionfs-fuse: Pass variables CC and AR
    
    Closes: https://bugs.gentoo.org/732372
    Thanks for the patch to Gavin Pryke!
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>
    Package-Manager: Portage-3.0.0, Repoman-2.3.23

 sys-fs/unionfs-fuse/unionfs-fuse-2.1.ebuild  | 6 +++++-
 sys-fs/unionfs-fuse/unionfs-fuse-9999.ebuild | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)