Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] autofs depends on systemd?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
iMike
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 217
Location: Stockholm, Sweden

PostPosted: Thu Feb 14, 2019 12:27 pm    Post subject: [SOLVED] autofs depends on systemd? Reply with quote

I got this today when trying to update my system, which only had one update today: autofs 5.1.4 -> 5.1.5
Code:
automount.c:40:10: fatal error: systemd/sd-daemon.h: No such file or directory
 #include <systemd/sd-daemon.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [../Makefile.rules:68: automount.o] Error 1

I assume there is still the choice to run the old init system instead of systemd on ppc32. Right? Or did I miss the memo?


Last edited by iMike on Thu Feb 14, 2019 3:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
iMike
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 217
Location: Stockholm, Sweden

PostPosted: Thu Feb 14, 2019 12:46 pm    Post subject: Reply with quote

Oops, just got the same error on a i686. Seems to be a bug in autofs build in general, I guess.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31348
Location: here

PostPosted: Thu Feb 14, 2019 12:51 pm    Post subject: Reply with quote

You have enabled systemd use flag in net-fs/autofs? Because in code I see
automount.c:
...
#ifdef WITH_SYSTEMD
#include <systemd/sd-daemon.h>
#endif
...

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
iMike
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 217
Location: Stockholm, Sweden

PostPosted: Thu Feb 14, 2019 1:29 pm    Post subject: Reply with quote

Code:

$ grep systemd /etc/portage/package.*
$

Also, ufed shows it's not set. So, no.
Back to top
View user's profile Send private message
iMike
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 217
Location: Stockholm, Sweden

PostPosted: Thu Feb 14, 2019 1:39 pm    Post subject: Reply with quote

Code:

$ sudo grep systemd /var/tmp/portage/net-fs/autofs-5.1.5/temp/build.log
checking for systemd... no               
checking for sm_notify in -lsystemd... no
automount.c:40:10: fatal error: systemd/sd-daemon.h: No such file or directory
 #include <systemd/sd-daemon.h>                   
$ sudo grep systemd /var/tmp/portage/net-fs/autofs-5.1.5/temp/environment
 [whole bunch of systemd functions defined here in the "declare -- phase_func" part, but I guess that's normal?]
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31348
Location: here

PostPosted: Thu Feb 14, 2019 1:40 pm    Post subject: Reply with quote

You can post your emerge --info and emerge -pv net-fs/autofs output?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
iMike
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 217
Location: Stockholm, Sweden

PostPosted: Thu Feb 14, 2019 2:37 pm    Post subject: emerge_info-2019-02-14 Reply with quote

Code:

Portage 2.3.51 (python 2.7.15-final-0, default/linux/powerpc/ppc32/17.0, gcc-7.3.0, glibc-2.27-r6, 4.19.2-gentoo ppc)
=================================================================
System uname: Linux-4.19.2-gentoo-ppc-7400,_altivec_supported-with-gentoo-2.6
KiB Mem:      509576 total,     84964 free
KiB Swap:    3145724 total,   3128828 free
Timestamp of repository gentoo: Thu, 14 Feb 2019 13:15:01 +0000
Head commit of repository gentoo: acd7af1469e6f6fca47b7b2b815529b5b66dfd55
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.30 p5) 2.30.0
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

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

local-repo
    location: /usr/local/portage
    masters: gentoo
    priority: 1

xyz
    location: /var/lib/layman/xyz
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=7400 -O2 -pipe -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mcpu=7400 -O2 -pipe -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y --autounmask-write"
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="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.mdfnet.se/gentoo http://mirror.mdfnet.se/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB sv sv_SE"
MAKEOPTS="-j2"
PKGDIR="/var/pkg"
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 alsa altivec autoipd avahi bash-completion berkdb big-endian bzip2 caps cli contrib crypt curl cxx dbus device-mapper dri emacs fam fortran gcrypt gdbm git gnutls hpn iconv ipv6 ldap mailwrapper mount nagios-ssh ncurses network-cron nls no-old-linux nptl openmp openssl pam pcre perl ppc python readline sasl seccomp sound spell ssh ssl tcpd threads truetype udev unicode xattr xml zlib" ABI_PPC="32" ALSA_CARDS="powermac" 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" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="ieee1275" INPUT_DEVICES="keyboard mouse" KERNEL="linux" L10N="en en-GB sv sv-SE" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="radeon fbdev" 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_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
iMike
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 217
Location: Stockholm, Sweden

PostPosted: Thu Feb 14, 2019 2:40 pm    Post subject: Reply with quote

autofs-emerge-pv-2019-02-14
Code:

These are the packages that would be merged, in order:

Calculating dependencies  ... .. ... .... done!
[ebuild     U ~] net-fs/autofs-5.1.5-r1::gentoo [5.1.4::gentoo] USE="ldap (libtirpc) sasl -dmalloc -mount-locking -systemd%" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

OK, so now I see the reference to in -systemd%. But where is that coming from? I've never run systemd on this machine, and I've been running it for ... like decades :D
Back to top
View user's profile Send private message
iMike
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 217
Location: Stockholm, Sweden

PostPosted: Thu Feb 14, 2019 2:58 pm    Post subject: Reply with quote

Looking at output from config is interesting:
Code:

rimmy /var/tmp/portage/net-fs/autofs-5.1.5/work/autofs-5.1.5 # grep systemd config.log
   $ ./configure  ... --with-systemd=/lib/systemd/system
 ...
configure:3252: checking for systemd
configure:3259: $PKG_CONFIG --exists --print-errors "libsystemd"
Package libsystemd was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsystemd.pc'
No package 'libsystemd' found

(PS The above is on a i686 not ppc32, but they both are getting the same error.)
Back to top
View user's profile Send private message
iMike
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 217
Location: Stockholm, Sweden

PostPosted: Thu Feb 14, 2019 3:08 pm    Post subject: Reply with quote

I guess someone else found the error and reported it, because after eix-sync and rebuild, it works with no change from me. :D
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Thu Feb 14, 2019 5:38 pm    Post subject: Reply with quote

For reference, that was bug 677874
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum