Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 724304

Summary: net-misc/networkmanager-1.18.4-r3: fails to build with /bin/sh -> dash
Product: Gentoo Linux Reporter: Louis Leseur <louis.leseur>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: alexander, coppens.matthias.abc, louis.leseur, mjo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 526268    
Attachments: build.log
config.log

Description Louis Leseur 2020-05-20 09:25:36 UTC
Created attachment 640494 [details]
build.log

Builds fine with app-shells/dash-0.5.9.1-r3 but fails during configure with app-shells/dash-0.5.10.2-r1.

Fails with:
/var/tmp/portage/net-misc/networkmanager-1.18.4-r3/work/NetworkManager-1.18.4/configure: 21563: test: xyes: unexpected operator
checking if /usr/bin/g-ir-scanner works... yes
/var/tmp/portage/net-misc/networkmanager-1.18.4-r3/work/NetworkManager-1.18.4/configure: 21596: test: xyes: unexpected operator
configure: error: invalid argument passed to --enable-introspection, should be one of [no/auto/yes]

$ emerge --info '=net-misc/networkmanager-1.18.4-r3::gentoo'
Portage 2.3.99 (python 3.6.10-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.2.0, glibc-2.30-r8, 5.5.13-gentoo-yoshi x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.5.13-gentoo-yoshi-x86_64-AMD_Ryzen_Threadripper_1950X_16-Core_Processor-with-gentoo-2.6
KiB Mem:    32929404 total,  10957160 free
KiB Swap:   16777212 total,  16775932 free
Timestamp of repository gentoo: Sun, 17 May 2020 17:30:01 +0000
Head commit of repository gentoo: fa05b766a44c18baf2ed50d12801bd85af3db8dc
Timestamp of repository dotnet: Mon, 20 Apr 2020 14:35:11 +0000
Head commit of repository dotnet: d690cd146a69acd3028c190ed089ca186c9c5c0f

Timestamp of repository guru: Sun, 17 May 2020 15:05:09 +0000
Head commit of repository guru: 9a013329e862a9cb62903df1dc19bbff442615ef

Timestamp of repository haskell: Fri, 15 May 2020 07:40:25 +0000
Head commit of repository haskell: 2752f276f0b6195f947389594ebb61bd9a72978e

Timestamp of repository steam-overlay: Fri, 01 May 2020 10:40:34 +0000
Head commit of repository steam-overlay: d9f36ed6e2975246eda02ea00c1697fe5f58ee92

Head commit of repository yoshi-overlay: f9d6e3bca646d75fbbc13854a711dc9ebf324f45

sh dash 0.5.10.2-r1
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 3.7.7 [enabled]
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo
dev-util/ccache:          3.7.7-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.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            8.3.0-r3::gentoo, 9.2.0-r2::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.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r8::gentoo
Repositories:

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo
    priority: -2000

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-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

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

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

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

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

yoshi-overlay
    location: /var/db/repos/yoshi-overlay
    sync-type: git
    sync-uri: https://github.com/lleseur/yoshi-overlay.git
    masters: gentoo

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver1 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=znver1 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--ask-enter-invalid --jobs=8 --load-average 16"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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=znver1 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache cgroup collision-protect config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles ipc-sandbox merge-sync mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver1 -O2 -pipe"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirrors.soeasyto.com/distfiles.gentoo.org/ http://mirrors.evowise.com/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS=""
MAKEOPTS="-j16 -l16"
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 a52 aac acl acpi activities alsa amd64 apparmor berkdb bluetooth bzip2 cairo cdda cdr cjk cli crypt cuda cups dbus declarative dri dts dvd dvdr elogind emboss encode exif ffmpeg flac fontconfig fortran gdbm gif gpm iconv icu ipv6 jpeg kde kipi kwallet lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl numa nvidia ogg opengl openmp pam pango pch pcre pdf phonon pie plasma png policykit ppds pulseaudio qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tcpd tiff tk truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xinerama xml xv xvid 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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt sse3 sse4_1 sse4_2 sse4a 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr en" 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_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="x86_64 arm ppc ppc64 mips i386" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-misc/networkmanager-1.18.4-r3::gentoo was built with the following:
USE="bluetooth dhclient elogind introspection modemmanager ncurses nss (policykit) wext wifi -audit -connection-sharing -consolekit -dhcpcd -gnutls -iwd -json -ofono -ovs -ppp -resolvconf (-selinux) -systemd -teamd -test -vala" ABI_X86="(64) -32 (-x32)"
FEATURES="binpkg-docompress ccache downgrade-backup cgroup fixlafiles unmerge-logs binpkg-dostrip ipc-sandbox sfperms ebuild-locks parallel-install strict sandbox network-sandbox usersandbox xattr qa-unresolved-soname-deps pid-sandbox unmerge-orphans multilib-strict config-protect-if-modified userpriv collision-protect binpkg-logs news distlocks preserve-libs assume-digests merge-sync mount-sandbox unknown-features-warn usersync protect-owned sign parallel-fetch userfetch"

$ emerge -pqv '=net-misc/networkmanager-1.18.4-r3::gentoo'
[ebuild   R   ] net-misc/networkmanager-1.18.4-r3  USE="bluetooth dhclient elogind introspection modemmanager ncurses nss (policykit) wext wifi -audit -connection-sharing -consolekit -dhcpcd -gnutls -iwd -json -ofono -ovs -ppp -resolvconf (-selinux) -systemd -teamd -test -vala" ABI_X86="(64) -32 (-x32)"
Comment 1 Louis Leseur 2020-05-20 09:26:14 UTC
Created attachment 640496 [details]
config.log
Comment 2 Joonas Niilola gentoo-dev 2020-05-20 12:52:38 UTC
I remember new dash failing on other packages as well. I believe this should be assigned to dash maintainers, and dash 0.5.10 to be patched.
Comment 3 Michael Orlitzky gentoo-dev 2020-05-20 17:13:22 UTC
(In reply to Joonas Niilola from comment #2)
> I remember new dash failing on other packages as well. I believe this should
> be assigned to dash maintainers, and dash 0.5.10 to be patched.

Dash works correctly. These errors have already been fixed upstream in e.g.

  https://github.com/NetworkManager/NetworkManager/commit/7b0130d5d7936f4
Comment 4 Mart Raudsepp gentoo-dev 2020-05-20 17:18:44 UTC
Note that they are fixed upstream only because a Gentoo developer fixed them and contributed upstream.
Comment 5 Mart Raudsepp gentoo-dev 2020-06-07 09:54:29 UTC
This should be fixed in networkmanager-1.24.2, as it includes the fixes from Gilles upstream.
Comment 6 Mart Raudsepp gentoo-dev 2020-06-07 09:57:07 UTC
Removing blocking of LINENO bug, as judging by the changes, this had nothing to do with that.
Comment 7 Mart Raudsepp gentoo-dev 2020-06-20 10:07:44 UTC
*** Bug 728878 has been marked as a duplicate of this bug. ***