Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 776970 - gnome-extra/filemanager-actions-3.4 fails to compile when /bin/sh is dash
Summary: gnome-extra/filemanager-actions-3.4 fails to compile when /bin/sh is dash
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: nonbash
  Show dependency tree
 
Reported: 2021-03-17 23:30 UTC by Bruce Guenter
Modified: 2022-05-09 22:11 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 Bruce Guenter 2021-03-17 23:30:12 UTC
The configure script for filemanager-actions uses some bash commands, notably `source`, that do not work with dash. This causes compile failures later in the build process.

A snippit from the log:

checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for pkg-config... /usr/bin/pkg-config
./configure: 13033: source: not found
checking locale.h usability... yes

Changing the /bin/sh link to point to bash makes it work again.

This appears to be a separate issue from #739444

Reproducible: Always

Steps to Reproduce:
1. ln -fs dash /bin/sh
2. emerge =gnome-extra/filemanager-actions-3.4




Portage 3.0.13 (python 3.8.8-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-10.2.0, glibc-2.32-r7, 5.10.23 x86_64)
=================================================================
System uname: Linux-5.10.23-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.4
KiB Mem:    32809408 total,   3435740 free
KiB Swap:    4194300 total,   4140796 free
Timestamp of repository gentoo: Wed, 17 Mar 2021 12:21:05 +0000
Timestamp of repository dotnet: Fri, 12 Mar 2021 12:05:49 +0000
Head commit of repository dotnet: b02a6125c2c415d20397c6d41df198f8f10f32d5

Timestamp of repository snapd: Wed, 17 Feb 2021 19:37:55 +0000
Head commit of repository snapd: 01778120bc38ae6894e896fb2da6aa027c51f977

sh dash 0.5.11.3-r1
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo-dev
dev-lang/python:          2.7.18_p7::gentoo, 3.7.10::gentoo, 3.8.8::gentoo, 3.9.2::gentoo
dev-util/cmake:           3.18.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.2-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            7.5.0-r1::gentoo, 8.4.0-r2::gentoo, 10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

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

BG
    location: /home/bruce/portage
    masters: gentoo

dotnet
    location: /var/db/repos/dotnet
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/dotnet.git
    masters: gentoo

snapd
    location: /var/db/repos/snapd
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/snapd.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE google-chrome NVIDIA-CUDA FAH-EULA-2014 FraunhoferFDK Intel-SDP AdobeFlash-11.x AnyDesk-TOS PUEL freedist unRAR SGMLUG CUDPP CC-Sampling-Plus-1.0 NVIDIA-r2 lha MSttfEULA ODESK SIFT bh-luxi VIGRA NVIDIA-CODEC-SDK free-noncomm all-rights-reserved Subversion NPSL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=znver1 -mtune=native -fstack-protector-all"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -pipe -march=znver1 -mtune=native -fstack-protector-all"
DISTDIR="/var/cache/distfiles"
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 buildpkg compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news notitles parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_CA en_US en"
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="/tmp"
USE="X a52 aac acl acpi alsa amd64 aom avif ayatana bat berkdb bluetooth bpf branding btpclient btrfs bundled-libjpeg-turbo bzip2 cairo cdda cdr cgmanager cgroup-hybrid cilk clang cli client colord crypt cryptsetup css cuda cups cycles dav1d dbus dep device-mapper dia djvu docbook dri drm dts dvd dvdnav dvdr eds egl emacs emboss enchant encode evdev evo exif fat fdk ffmpeg fftw flac fontconfig foomatic frei0r gbm gdbm gdm gif gimp gles gles2 gmp-autoupdate gnome gnome-keyring gnome-online-accounts gnome-screensaver gnumeric go gold gpg gpgme gpm graphite gstreamer gtk gtk3 gui hardened highbitdepth hsts html iconv icu id3tag initramfs inkjar inspector introspection ipv6 jack jit jpeg jumbo-build kms lame lcms lensfun libaom libav-aac libglvnd libkms libnotify libsamplerate libsecret libsoxr libtirpc libxml2 lldb llvm lm-sensors lmdb lto lxc lz4 lzma mad melt mikmod minizip mmx mmxext mng mod modplug mp3 mp4 mpeg mtp multilib mutt nautilus ncurses nls notmuch nptl nsplugin nss ntfsprogs ocl-icd ogg opencl openexr opengl openimageio openmp openmpt opus osmesa overlay pam pango pcre pcre16 pcre32 pdf perl pgo pgp png policykit postproc postscript ppds pulseaudio python qml qt5 readline rubberband sanitize savedconfig scanner sdl sdl2 seccomp smbclient smime sndfile spell spice split-usr sqlite srt sse sse2 sse3 ssh ssl ssse3 startup-notification static-analyzer subversion svc svg sysprof system-ffmpeg system-icu system-llvm systemd systray taglib tcpd theora threads tiff tools tracker truetype uchardet udev udisks unicode update_drivedb upower usb usbredir user-permissions user-session utils uvm uxa v4l v4l2 v4lutils vdpau vidstab vim vim-syntax visio vorbis vpx vtv wayland webchannel webgl webm webp widgets winbind wpg x264 x265 xattr xcb xfce xft xinetd xkb xml xmp xv xvfb xvid zeroconf zlib zstd" 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 sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" 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="pc efi-32 efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-CA en-US en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF NVPTX X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8 python3_9" QEMU_SOFTMMU_TARGETS="x86_64 i386 aarch64 aarch64_be arm" QEMU_USER_TARGETS="x86_64 i386 aarch64 aarch64_be arm armeb" 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 proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ionen Wolkens gentoo-dev 2021-03-18 05:23:27 UTC
I see plenty others as well
./configure: 14294: let: not found
./configure: 16233: test: -eq: unexpected operator (because of earlier let)

Previous stable 3.2.4 also emitted a
./configure: 13286: let: not found
..but that was the only one, 3.4 clearly took this further
Comment 2 Matt Turner gentoo-dev 2022-05-09 22:11:43 UTC
Package removed.