Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 543900 - sys-fs/udev-219 fails to compile on alpha
Summary: sys-fs/udev-219 fails to compile on alpha
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-20 12:17 UTC by Tobias Klausmann (RETIRED)
Modified: 2015-08-22 22:13 UTC (History)
1 user (show)

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


Attachments
sys-fs/udev-219 build log on alpha. (build.log,95.65 KB, text/x-log)
2015-03-20 12:17 UTC, Tobias Klausmann (RETIRED)
Details
use getxpid instead of getpid (p.patch,461 bytes, patch)
2015-06-30 04:28 UTC, Matt Turner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2015-03-20 12:17:30 UTC
Created attachment 399312 [details]
sys-fs/udev-219 build log on alpha.

libtool: compile:  alpha-unknown-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219 -include ./config.h -DPKGSYSCONFDIR=\"/etc/systemd\" -DSYSTEM_CONFIG_UNIT_PATH=\"/etc/systemd/system\" -DSYSTEM_DATA_UNIT_PATH=\"/lib/systemd/system\" -DSYSTEM_SYSVINIT_PATH=\"/etc/init.d\" -DSYSTEM_SYSVRCND_PATH=\"/etc/rc.d\" -DUSER_CONFIG_UNIT_PATH=\"/etc/systemd/user\" -DUSER_DATA_UNIT_PATH=\"/usr/lib/systemd/user\" -DCERTIFICATE_ROOT=\"/etc/ssl\" -DCATALOG_DATABASE=\"/var/lib/lib/systemd/catalog/database\" -DSYSTEMD_CGROUP_AGENT_PATH=\"/lib/systemd/systemd-cgroups-agent\" -DSYSTEMD_BINARY_PATH=\"/lib/systemd/systemd\" -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"/lib/systemd/systemd-shutdown\" -DSYSTEMD_SLEEP_BINARY_PATH=\"/lib/systemd/systemd-sleep\" -DSYSTEMCTL_BINARY_PATH=\"/bin/systemctl\" -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"/bin/systemd-tty-ask-password-agent\" -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"/usr/bin/systemd-stdio-bridge\" -DROOTPREFIX=\"\" -DRANDOM_SEED_DIR=\"/var/lib/lib/systemd/\" -DRANDOM_SEED=\"/var/lib/lib/systemd/random-seed\" -DSYSTEMD_CRYPTSETUP_PATH=\"/lib/systemd/systemd-cryptsetup\" -DSYSTEM_GENERATOR_PATH=\"/lib/systemd/system-generators\" -DUSER_GENERATOR_PATH=\"/usr/lib/systemd/user-generators\" -DSYSTEM_SHUTDOWN_PATH=\"/lib/systemd/system-shutdown\" -DSYSTEM_SLEEP_PATH=\"/lib/systemd/system-sleep\" -DSYSTEMD_KBD_MODEL_MAP=\"/usr/share/systemd/kbd-model-map\" -DSYSTEMD_LANGUAGE_FALLBACK_MAP=\"/usr/share/systemd/language-fallback-map\" -DX_SERVER=\"/usr/bin/X\" -DUDEVLIBEXECDIR=\"/lib/udev\" -DPOLKIT_AGENT_BINARY_PATH=\"/usr/bin/pkttyagent\" -DQUOTACHECK=\"/usr/sbin/quotacheck\" -DKEXEC=\"/usr/sbin/kexec\" -DLIBDIR=\"/usr/lib\" -DROOTLIBDIR=\"/lib\" -DTEST_DIR=\"/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/test\" -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src -I ./src/shared -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/network -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/login -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/journal -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/timedate -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/timesync -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/resolve -I ./src/resolve -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/systemd -I ./src/core -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/core -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libudev -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/udev -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/udev/net -I ./src/udev -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-bus -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-event -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-network -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-hwdb -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd-network -I /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd-terminal -pipe -Wall -Wextra -Wno-inline -Wundef -Wformat=2 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wsign-compare -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wsuggest-attribute=noreturn -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long -Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Werror=overflow -Wdate-time -Wnested-externs -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -ffunction-sections -fdata-sections --param=ssp-buffer-size=4 -ffat-lto-objects -fvisibility=hidden -mieee -pipe -O2 -mcpu=ev67 -c /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libudev/libudev-util.c  -fPIC -DPIC -o src/libudev/.libs/libudev_la-libudev-util.o
cc1: warning: ./src/resolve: No such file or directory
cc1: warning: ./src/core: No such file or directory
cc1: warning: ./src/resolve: No such file or directory
cc1: warning: ./src/core: No such file or directory
cc1: warning: ./src/resolve: No such file or directory
cc1: warning: ./src/core: No such file or directory
cc1: warning: ./src/resolve: No such file or directory
cc1: warning: ./src/core: No such file or directory
In file included from /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/util.h:89:0,
                 from /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libudev/libudev-private.h:29,
                 from /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libudev/libudev-device.c:37:
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:154:6: warning: #warning "__NR_memfd_create unknown for your architecture" [-Wcpp]
 #    warning "__NR_memfd_create unknown for your architecture"
      ^
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:183:6: warning: #warning "__NR_getrandom unknown for your architecture" [-Wcpp]
 #    warning "__NR_getrandom unknown for your architecture"
      ^
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h: In function ‘raw_getpid’:
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:720:32: error: ‘__NR_getpid’ undeclared (first use in this function)
         return (pid_t) syscall(__NR_getpid);
                                ^
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:720:32: note: each undeclared identifier is reported only once for each function it appears in
In file included from /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/util.h:89:0,
                 from /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libudev/libudev-private.h:29,
                 from /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libudev/libudev-util.c:37:
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:154:6: warning: #warning "__NR_memfd_create unknown for your architecture" [-Wcpp]
 #    warning "__NR_memfd_create unknown for your architecture"
      ^
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:183:6: warning: #warning "__NR_getrandom unknown for your architecture" [-Wcpp]
                                ^
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:720:32: note: each undeclared identifier is reported only once for each function it appears in
In file included from /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/util.h:89:0,
                 from /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libudev/libudev-private.h:29,
                 from /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libudev/libudev-list.c:28:
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:154:6: warning: #warning "__NR_memfd_create unknown for your architecture" [-Wcpp]
 #    warning "__NR_memfd_create unknown for your architecture"
      ^
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:183:6: warning: #warning "__NR_getrandom unknown for your architecture" [-Wcpp]
 #    warning "__NR_getrandom unknown for your architecture"
      ^
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h: In function ‘raw_getpid’:
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:720:32: error: ‘__NR_getpid’ undeclared (first use in this function)
         return (pid_t) syscall(__NR_getpid);
                                ^
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:720:32: note: each undeclared identifier is reported only once for each function it appears in
Makefile:16904: recipe for target 'src/libudev/libudev_la-libudev-util.lo' failed
make: *** [src/libudev/libudev_la-libudev-util.lo] Error 1
make: *** Waiting for unfinished jobs....
In file included from /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/util.h:89:0,
                 from /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libudev/libudev-private.h:29,
                 from /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libudev/libudev.c:31:
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:154:6: warning: #warning "__NR_memfd_create unknown for your architecture" [-Wcpp]
 #    warning "__NR_memfd_create unknown for your architecture"
      ^
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:183:6: warning: #warning "__NR_getrandom unknown for your architecture" [-Wcpp]
 #    warning "__NR_getrandom unknown for your architecture"
      ^
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h: In function ‘raw_getpid’:
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:720:32: error: ‘__NR_getpid’ undeclared (first use in this function)
         return (pid_t) syscall(__NR_getpid);
                                ^
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:720:32: note: each undeclared identifier is reported only once for each function it appears in
In file included from /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/util.h:89:0,
                 from /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libudev/libudev-private.h:29,
                 from /space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/libudev/libudev-enumerate.c:33:
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:154:6: warning: #warning "__NR_memfd_create unknown for your architecture" [-Wcpp]
 #    warning "__NR_memfd_create unknown for your architecture"
      ^
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:183:6: warning: #warning "__NR_getrandom unknown for your architecture" [-Wcpp]
 #    warning "__NR_getrandom unknown for your architecture"
      ^
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h: In function ‘raw_getpid’:
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:720:32: error: ‘__NR_getpid’ undeclared (first use in this function)
         return (pid_t) syscall(__NR_getpid);
                                ^
/space/portage-tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:720:32: note: each undeclared identifier is reported only once for each function it appears in
Makefile:16897: recipe for target 'src/libudev/libudev_la-libudev-list.lo' failed
make: *** [src/libudev/libudev_la-libudev-list.lo] Error 1
Makefile:16911: recipe for target 'src/libudev/libudev_la-libudev-device.lo' failed
make: *** [src/libudev/libudev_la-libudev-device.lo] Error 1
Makefile:16890: recipe for target 'src/libudev/libudev_la-libudev.lo' failed
make: *** [src/libudev/libudev_la-libudev.lo] Error 1
Makefile:16918: recipe for target 'src/libudev/libudev_la-libudev-enumerate.lo' failed
make: *** [src/libudev/libudev_la-libudev-enumerate.lo] Error 1


emerge --info in next comment.
Comment 1 Tobias Klausmann (RETIRED) gentoo-dev 2015-03-20 12:17:43 UTC
$ emerge --info
Portage 2.2.18 (python 2.7.9-final-0, default/linux/alpha/13.0, gcc-4.9.2, glibc-2.20-r2, 3.18.1 alpha)
=================================================================
System uname: Linux-3.18.1-alpha-EV68AL-with-gentoo-2.2
KiB Mem:     8304544 total,    706064 free
KiB Swap:     977912 total,    960560 free
Timestamp of repository gentoo: Fri, 20 Mar 2015 11:15:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
ccache version 3.2.1 [disabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo
dev-util/ccache:          3.2.1-r1::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69-r1::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.8.4::gentoo, 4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync5.de.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="alpha ~alpha"
ACCEPT_LICENSE="* -@EULA"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -pipe -O2 -mcpu=ev67"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mieee -pipe -O2 -mcpu=ev67"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.netcologne.de/gentoo/"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/space/portage-tmp"
USE="acl alpha bash-completion berkdb bzip2 cli cracklib crypt cxx dri fortran ftp gdbm iconv libav mmap modules ncurses nls nptl nptlonly offensive pam pcre readline recode session sharedmem sockets ssl unicode vim vim-pager zlib" ALSA_CARDS="ali5451 als4000 bt87x ca0106 cmipci emu10k1 ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 maestro3 trident usb-audio via82xx 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 gentooer 2015-03-29 08:40:29 UTC
Same here on armv7

cc1: warning: ./src/resolve: No such file or directory
cc1: warning: ./src/core: No such file or directory
cc1: warning: ./src/resolve: No such file or directory
cc1: warning: ./src/core: No such file or directory
In file included from /var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/util.h:89:0,
                 from /var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libudev/libudev-private.h:29,
                 from /var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libudev/libudev-list.c:28:
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h: In function 'kcmp':
In file included from /var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/util.h:89:0,
                 from /var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libudev/libudev-private.h:29,
                 from /var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libudev/libudev.c:31:
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h: In function 'kcmp':
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:759:24: error: '__NR_kcmp' undeclared (first use in this function)
         return syscall(__NR_kcmp, pid1, pid2, type, idx1, idx2);
                        ^
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:759:24: error: '__NR_kcmp' undeclared (first use in this function)
         return syscall(__NR_kcmp, pid1, pid2, type, idx1, idx2);
                        ^
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:759:24: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/shared/missing.h:759:24: note: each undeclared identifier is reported only once for each function it appears in
Makefile:16890: recipe for target 'src/libudev/libudev_la-libudev.lo' failed
make: *** [src/libudev/libudev_la-libudev.lo] Error 1
make: *** Waiting for unfinished jobs....
Makefile:16897: recipe for target 'src/libudev/libudev_la-libudev-list.lo' failed
make: *** [src/libudev/libudev_la-libudev-list.lo] Error 1
 * ERROR: sys-fs/udev-219::gentoo failed (compile phase):
 *   emake failed
Comment 3 Matt Turner gentoo-dev 2015-05-20 18:08:47 UTC
This is because I haven't added the new syscalls to the kernel -- my fault. There's a patch in my inbox that I'll send to Linus shortly.
Comment 4 Matt Turner gentoo-dev 2015-06-04 00:08:02 UTC
(In reply to Matt Turner from comment #3)
> This is because I haven't added the new syscalls to the kernel -- my fault.
> There's a patch in my inbox that I'll send to Linus shortly.

Patches are upstream now and will be in linux-4.1.
Comment 5 Matt Turner gentoo-dev 2015-06-30 04:05:45 UTC
4.1 added getrandom and memfd_create, but getpid is something older that isn't supported.

More investigation needed. Sigh.
Comment 6 Matt Turner gentoo-dev 2015-06-30 04:28:52 UTC
Created attachment 405976 [details, diff]
use getxpid instead of getpid

I think this should do it. Give it a try.
Comment 7 Tobias Klausmann (RETIRED) gentoo-dev 2015-07-30 15:06:43 UTC
(In reply to Matt Turner from comment #6)
> Created attachment 405976 [details, diff] [details, diff]
> use getxpid instead of getpid
> 
> I think this should do it. Give it a try.

It definitely compiles. I'm now running 220-r3 on monolith. I think we should add it to -r3 (and maybe -222, but the patch needs fixing, it doesn't apply there).
Comment 8 Mike Gilbert gentoo-dev 2015-07-30 16:56:15 UTC
(In reply to Tobias Klausmann from comment #7)
> It definitely compiles. I'm now running 220-r3 on monolith. I think we
> should add it to -r3 (and maybe -222, but the patch needs fixing, it doesn't
> apply there).

missing.h moved from src/shared/missing.h to src/basic/missing.h. Should be a simple change in the patch header.
Comment 9 Mike Gilbert gentoo-dev 2015-07-30 17:00:51 UTC
(In reply to Matt Turner from comment #6)
> Created attachment 405976 [details, diff] [details, diff]
> use getxpid instead of getpid
> 
> I think this should do it. Give it a try.

Assuming it works, please send it to systemd upstream when you have a chance. Github pull requests are the preferred method at this point.

Or, if you would prefer that I submit it on your behalf, please prepare a patch with an explanation in the header.
Comment 10 SpanKY gentoo-dev 2015-08-21 21:36:59 UTC
afaict, there's nothing left for the toolchain team here
Comment 11 Matt Turner gentoo-dev 2015-08-22 06:22:07 UTC
This is fixed upstream in

commit a242a99d42276b6b764f80bd0de70c26e5c5f1d4
Author: Matt Turner <mattst88@gmail.com>
Date:   Tue Aug 4 14:47:01 2015 -0700

    Use getxpid syscall on alpha for raw_getpid()
    
    Alpha does not have a getpid syscall, but rather has getxpid to match
    OSF/1.

but is not yet in any released version.

Could we add this patch to systemd in Gentoo now?
Comment 12 Mike Gilbert gentoo-dev 2015-08-22 17:17:19 UTC
(In reply to Matt Turner from comment #11)
> Could we add this patch to systemd in Gentoo now?

Added to systemd-224-r1. If you could also take care of bug 550322, that would be most helpful.

I can also commit this patch for udev-224 if the udev team approves.
Comment 13 Matt Turner gentoo-dev 2015-08-22 20:35:01 UTC
(In reply to Mike Gilbert from comment #12)
> I can also commit this patch for udev-224 if the udev team approves.

That would be great. Thanks!
Comment 14 Mike Gilbert gentoo-dev 2015-08-22 22:13:01 UTC
Added to udev-224-r2 as well.