Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 753641 - net-wireless/iwd-1.9-r1 [standalone] does not install conf.d file (PATCH)
Summary: net-wireless/iwd-1.9-r1 [standalone] does not install conf.d file (PATCH)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-11-09 07:04 UTC by Guillaume Castagnino
Modified: 2020-11-09 13:05 UTC (History)
2 users (show)

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


Attachments
patch against iwd-1.9-r1 to install the conf.d file (iwd.patch,494 bytes, patch)
2020-11-09 07:04 UTC, Guillaume Castagnino
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Castagnino 2020-11-09 07:04:33 UTC
Created attachment 670523 [details, diff]
patch against iwd-1.9-r1 to install the conf.d file

Hello,

I found that when enabling the standalone USE flag, iwd fails to install the generated file in /etc/conf.d directory because the directory does not exists:

/var/tmp/portage/net-wireless/iwd-1.9-r1/temp/environment: line 3168: /var/tmp/portage/net-wireless/iwd-1.9-r1/image//etc/conf.d/iwd: No such file or directory


Attached the patch: install phase fails because the /etc/conf.d directory does not exists.




emerge --info:
Portage 3.0.9 (python 3.8.6-final-0, default/linux/amd64/17.1/desktop, gcc-10.2.0, glibc-2.32-r2, 5.9.6-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.9.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-8650U_CPU_@_1.90GHz-with-glibc2.2.5
KiB Mem:    16260748 total,  10464060 free
KiB Swap:   17658176 total,  17658176 free
Timestamp of repository gentoo: Mon, 09 Nov 2020 06:35:33 +0000
Head commit of repository gentoo: 1c0be8d4b770064a4bddf9d58ad928252eb92055

Timestamp of repository xwing: Mon, 09 Nov 2020 06:00:10 +0000
sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p1) 2.35.1
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18-r4::gentoo, 3.8.6::gentoo, 3.9.0::gentoo
dev-util/cmake:           3.18.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.35.1::gentoo
sys-devel/gcc:            10.2.0-r3::gentoo
sys-devel/gcc-config:     2.3.2::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    sync-git-clone-extra-opts: -b master

local
    location: /var/db/repos/local
    masters: gentoo
    priority: 50

xwing
    location: /var/db/repos/xwing
    sync-type: rsync
    sync-uri: rsync://gentoo.xwing.info/xwing-overlay
    masters: gentoo
    priority: 50
    sync-rsync-extra-opts: -4

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -mtune=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /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"
CXXFLAGS="-march=native -O2 -mtune=native -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps 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 buildsyspkg collision-protect 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://gentoo.mirrors.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common"
LINGUAS="fr"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-4"
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 aio alsa amd64 bash-completion bluetooth branding bzip2 cairo caps cdda cdr cli colord crypt cups dbus dri dts dvb dvd dvdr elogind emboss encode exif flac fontconfig fpm gif gold gpm gtk gtkstyle gui http2 iconv icu idn inotify introspection iproute2 ipv6 ithreads jpeg kde kdrive lcms libglvnd libnotify libtirpc live llvm lz4 mad matroska minizip mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp openssl pam pango pcre pdf png policykit postproc pulseaudio qml qt5 rdesktop readline sasl seccomp spell split-usr ssl ssse3 startup-notification svg system-bootstrap tcpd theora threads thunderbolt tiff truetype udev udisks unicode upower usb v4l vaapi vim-syntax vnc vorbis vulkan webp x264 xattr xcb xfce xml xpresent xv xvid zip zlib" ABI_X86="64" ADA_TARGET="gnat_2018" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand 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="evdev wacom synaptics" KERNEL="linux" L10N="fr" 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-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="intel i965 iris" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

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

net-wireless/iwd-1.9-r1::gentoo was built with the following:
USE="client crda monitor standalone -ofono -systemd -wired" ABI_X86="(64)" CPU_FLAGS_X86="aes ssse3"
CFLAGS="-march=native -O2 -mtune=native -pipe -fsigned-char"
Comment 1 Rahil Bhimjiani 2020-11-09 11:00:39 UTC
Can confirm.
Comment 2 Larry the Git Cow gentoo-dev 2020-11-09 13:05:05 UTC
The bug has been closed via the following commit(s):

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

commit f1d1cf0f1271901c791e46e819bbd228358850fe
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2020-11-09 13:02:14 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2020-11-09 13:03:37 +0000

    net-wireless/iwd: fix standalone install
    
    Closes: https://bugs.gentoo.org/753641
    
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 net-wireless/iwd/iwd-1.9-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)