Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on PPC
  • Search

[SOLVED] autofs depends on systemd?

Have a PowerPC specific problem? This is the spot.
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
iMike
Apprentice
Apprentice
Posts: 217
Joined: Fri Apr 01, 2005 11:16 am
Location: Stockholm, Sweden

[SOLVED] autofs depends on systemd?

  • Quote

Post by iMike » Thu Feb 14, 2019 12:27 pm

I got this today when trying to update my system, which only had one update today: autofs 5.1.4 -> 5.1.5

Code: Select all

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.
Top
iMike
Apprentice
Apprentice
Posts: 217
Joined: Fri Apr 01, 2005 11:16 am
Location: Stockholm, Sweden

  • Quote

Post by iMike » Thu Feb 14, 2019 12:46 pm

Oops, just got the same error on a i686. Seems to be a bug in autofs build in general, I guess.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Feb 14, 2019 12:51 pm

You have enabled systemd use flag in net-fs/autofs? Because in code I see

Code: Select all

...
#ifdef WITH_SYSTEMD
#include <systemd/sd-daemon.h>
#endif
...
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
iMike
Apprentice
Apprentice
Posts: 217
Joined: Fri Apr 01, 2005 11:16 am
Location: Stockholm, Sweden

  • Quote

Post by iMike » Thu Feb 14, 2019 1:29 pm

Code: Select all

$ grep systemd /etc/portage/package.*
$
Also, ufed shows it's not set. So, no.
Top
iMike
Apprentice
Apprentice
Posts: 217
Joined: Fri Apr 01, 2005 11:16 am
Location: Stockholm, Sweden

  • Quote

Post by iMike » Thu Feb 14, 2019 1:39 pm

Code: Select all

$ 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?]
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Feb 14, 2019 1:40 pm

You can post your emerge --info and emerge -pv net-fs/autofs output?
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
iMike
Apprentice
Apprentice
Posts: 217
Joined: Fri Apr 01, 2005 11:16 am
Location: Stockholm, Sweden

emerge_info-2019-02-14

  • Quote

Post by iMike » Thu Feb 14, 2019 2:37 pm

Code: Select all

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
Top
iMike
Apprentice
Apprentice
Posts: 217
Joined: Fri Apr 01, 2005 11:16 am
Location: Stockholm, Sweden

  • Quote

Post by iMike » Thu Feb 14, 2019 2:40 pm

autofs-emerge-pv-2019-02-14

Code: Select all

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
Top
iMike
Apprentice
Apprentice
Posts: 217
Joined: Fri Apr 01, 2005 11:16 am
Location: Stockholm, Sweden

  • Quote

Post by iMike » Thu Feb 14, 2019 2:58 pm

Looking at output from config is interesting:

Code: Select all

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.)
Top
iMike
Apprentice
Apprentice
Posts: 217
Joined: Fri Apr 01, 2005 11:16 am
Location: Stockholm, Sweden

  • Quote

Post by iMike » Thu Feb 14, 2019 3:08 pm

I guess someone else found the error and reported it, because after eix-sync and rebuild, it works with no change from me. :D
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Thu Feb 14, 2019 5:38 pm

For reference, that was [bug]677874[/bug]
Top
Post Reply

11 posts • Page 1 of 1

Return to “Gentoo on PPC”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic