Skip to content

Instantly share code, notes, and snippets.

@yurikoles
Last active March 24, 2016 21:53
Show Gist options
  • Save yurikoles/120cffc84c141261f85d to your computer and use it in GitHub Desktop.
Save yurikoles/120cffc84c141261f85d to your computer and use it in GitHub Desktop.
lib32-systemd-git
# $Id$
# Maintainer: Dave Reisner <dreisner@archlinux.org>
# Maintainer: Tom Gundersen <teg@jklm.no>
pkgname=lib32-systemd-git
_pkgbasename=systemd-git
pkgbase=systemd
pkgver=229.r456.gd8fd85e
pkgrel=1
pkgdesc="system and service manager (32-bit)"
arch=('x86_64')
url="http://www.freedesktop.org/wiki/Software/systemd"
license=('GPL2' 'LGPL2.1' 'MIT')
depends=('lib32-libgcrypt' 'lib32-xz' 'lib32-libcap' 'lib32-acl' 'lib32-libidn' 'lib32-gcc-libs' 'systemd')
makedepends=('lib32-gcc-libs' 'gcc-multilib' 'lib32-libidn' 'lib32-glib2' 'intltool' 'gperf'
'lib32-curl' 'lib32-bzip2' 'git')
source=("git://github.com/systemd/systemd.git#branch=master")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/$pkgbase"
# cutting off 'foo-' prefix that presents in the git tag
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd systemd
./autogen.sh
}
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd systemd
local timeservers=({0..3}.arch.pool.ntp.org)
./configure \
--libexecdir=/usr/lib32 \
--libdir=/usr/lib32 \
--localstatedir=/var \
--sysconfdir=/etc \
--disable-audit \
--disable-tests \
--disable-ima \
--disable-seccomp \
--disable-pam \
--disable-kmod \
--disable-networkd \
--disable-blkid \
--disable-libiptc \
--disable-lz4 \
--disable-manpages \
--without-python \
--disable-libcryptsetup \
--with-sysvinit-path= \
--with-sysvrcnd-path= \
--with-ntp-servers="${timeservers[*]}"
make
}
package() {
cd systemd
make DESTDIR="$pkgdir" install
rm -rf "${pkgdir}"/{etc,var}
rm -rf "${pkgdir}"/usr/{bin,include,lib,share}
install -m755 -d "${pkgdir}/usr/share/licenses"
ln -s systemd "$pkgdir/usr/share/licenses/lib32-systemd"
}
checking for gcc... gcc -m32
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -m32 accepts -g... yes
checking for gcc -m32 option to accept ISO C89... none needed
checking whether gcc -m32 understands -c and -o together... yes
checking how to run the C preprocessor... gcc -m32 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking dependency style of gcc -m32... gcc3
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc -m32 option to accept ISO C99... none needed
checking for C compiler vendor... gnu
checking for gcc-ar... gcc-ar
checking for gcc-nm... gcc-nm
checking for gcc-ranlib... gcc-ranlib
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -m32... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... gcc-nm
checking the name lister (gcc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... (cached) gcc-ranlib
checking command to parse gcc-nm output from gcc -m32 object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -m32 supports -fno-rtti -fno-exceptions... no
checking for gcc -m32 option to produce PIC... -fPIC -DPIC
checking if gcc -m32 PIC flag -fPIC -DPIC works... yes
checking if gcc -m32 static flag -static works... yes
checking if gcc -m32 supports -c -o file.o... yes
checking if gcc -m32 supports -c -o file.o... (cached) yes
checking whether the gcc -m32 linker (/usr/bin/ld -m elf_i386) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for intltool-merge... yes
checking whether NLS is requested... yes
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(.*)\${ <-- HERE ?([A-Z_]+)}?(.*)$/ at /usr/bin/intltool-update line 1065.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?AC_PACKAGE_NAME}?/ at /usr/bin/intltool-update line 1193.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?PACKAGE}?/ at /usr/bin/intltool-update line 1194.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?AC_PACKAGE_VERSION}?/ at /usr/bin/intltool-update line 1195.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?VERSION}?/ at /usr/bin/intltool-update line 1196.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?AC_PACKAGE_NAME}?/ at /usr/bin/intltool-update line 1222.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?PACKAGE}?/ at /usr/bin/intltool-update line 1223.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?AC_PACKAGE_VERSION}?/ at /usr/bin/intltool-update line 1224.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?VERSION}?/ at /usr/bin/intltool-update line 1225.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?\w+}?/ at /usr/bin/intltool-update line 1226.
checking for intltool >= 0.40.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.22.1
checking for XML::Parser... ok
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for gawk... (cached) gawk
checking for m4... /usr/bin/m4
checking for quotaon... /usr/bin/quotaon
checking for quotacheck... /usr/bin/quotacheck
checking for setcap... /usr/bin/setcap
checking for kill... /usr/bin/kill
checking for kmod... /usr/bin/kmod
checking for kexec... /usr/sbin/kexec
checking for sulogin... /usr/bin/sulogin
checking for mount... /usr/bin/mount
checking for umount... /usr/bin/umount
checking for objcopy... objcopy
checking for strings... strings
checking for gperf... gperf
checking if gcc -m32 supports flag -pipe in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wall in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wextra in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wundef in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wformat=2 -Wformat-security -Wformat-nonliteral in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wlogical-op in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wmissing-include-dirs in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wold-style-definition in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wpointer-arith in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Winit-self in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wdeclaration-after-statement in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wfloat-equal in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wsuggest-attribute=noreturn in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Werror=missing-prototypes in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Werror=implicit-function-declaration in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Werror=missing-declarations in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Werror=return-type in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wstrict-prototypes in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wredundant-decls in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wmissing-noreturn in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wshadow in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wendif-labels in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wstrict-aliasing=2 in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wwrite-strings in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wno-unused-parameter in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wno-missing-field-initializers in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wno-unused-result in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wno-format-signedness in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Werror=overflow in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wdate-time in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wnested-externs in envvar CFLAGS... yes
checking if gcc -m32 supports flag -ffast-math in envvar CFLAGS... yes
checking if gcc -m32 supports flag -fno-common in envvar CFLAGS... yes
checking if gcc -m32 supports flag -fdiagnostics-show-option in envvar CFLAGS... yes
checking if gcc -m32 supports flag -fno-strict-aliasing in envvar CFLAGS... yes
checking if gcc -m32 supports flag -fvisibility=hidden in envvar CFLAGS... yes
checking if gcc -m32 supports flag -fstack-protector in envvar CFLAGS... yes
checking if gcc -m32 supports flag -fstack-protector-strong in envvar CFLAGS... yes
checking if gcc -m32 supports flag -fPIE in envvar CFLAGS... yes
checking if gcc -m32 supports flag --param=ssp-buffer-size=4 in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Werror=shadow in envvar CFLAGS... yes
checking if gcc -m32 supports flag -flto in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wp,-D_FORTIFY_SOURCE=2 in envvar CPPFLAGS... yes
checking if gcc -m32 supports flag -Wl,--gc-sections in envvar LDFLAGS... yes
checking if gcc -m32 supports flag -ffunction-sections in envvar CFLAGS... yes
checking if gcc -m32 supports flag -fdata-sections in envvar CFLAGS... yes
checking if gcc -m32 supports flag -Wl,--as-needed in envvar LDFLAGS... yes
checking if gcc -m32 supports flag -Wl,--no-undefined in envvar LDFLAGS... yes
checking if gcc -m32 supports flag -Wl,-z,relro in envvar LDFLAGS... yes
checking if gcc -m32 supports flag -Wl,-z,now in envvar LDFLAGS... yes
checking if gcc -m32 supports flag -pie in envvar LDFLAGS... yes
checking if gcc -m32 supports flag -Wl,-fuse-ld=gold in envvar LDFLAGS... yes
checking size of pid_t... 4
checking size of uid_t... 4
checking size of gid_t... 4
checking size of time_t... 4
checking size of dev_t... 8
checking size of rlim_t... 8
checking sys/capability.h usability... yes
checking sys/capability.h presence... yes
checking for sys/capability.h... yes
checking linux/btrfs.h usability... yes
checking linux/btrfs.h presence... yes
checking for linux/btrfs.h... yes
checking linux/memfd.h usability... yes
checking linux/memfd.h presence... yes
checking for linux/memfd.h... yes
checking for library containing clock_gettime... none required
checking for library containing cap_init... -lcap
checking for __secure_getenv... no
checking for secure_getenv... yes
checking whether memfd_create is declared... no
checking whether gettid is declared... no
checking whether pivot_root is declared... no
checking whether name_to_handle_at is declared... yes
checking whether setns is declared... yes
checking whether getrandom is declared... no
checking whether renameat2 is declared... no
checking whether kcmp is declared... no
checking whether keyctl is declared... no
checking whether LO_FLAGS_PARTSCAN is declared... yes
checking whether copy_file_range is declared... no
checking for char16_t... yes
checking for char32_t... yes
checking for key_serial_t... no
checking whether IFLA_INET6_ADDR_GEN_MODE is declared... yes
checking whether IFLA_MACVLAN_FLAGS is declared... yes
checking whether IFLA_IPVLAN_MODE is declared... yes
checking whether IFLA_VTI_REMOTE is declared... yes
checking whether IFLA_PHYS_PORT_ID is declared... yes
checking whether IFLA_BOND_AD_INFO is declared... yes
checking whether IFLA_VLAN_PROTOCOL is declared... yes
checking whether IFLA_VXLAN_REMCSUM_NOPARTIAL is declared... yes
checking whether IFLA_IPTUN_ENCAP_DPORT is declared... yes
checking whether IFLA_GRE_ENCAP_DPORT is declared... yes
checking whether IFLA_BRIDGE_VLAN_INFO is declared... yes
checking whether IFLA_BRPORT_PROXYARP is declared... yes
checking whether IFLA_BRPORT_LEARNING_SYNC is declared... yes
checking whether IFLA_BR_PRIORITY is declared... yes
checking whether NDA_IFINDEX is declared... yes
checking whether IFA_FLAGS is declared... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DBUS... yes
checking for XKBCOMMON... yes
checking for MOUNT... yes
checking for SELINUX... no
checking for APPARMOR... no
checking for XZ... yes
checking for ZLIB... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking acl/libacl.h usability... yes
checking acl/libacl.h presence... yes
checking for acl/libacl.h... yes
checking for acl_get_file in -lacl... yes
checking for libgcrypt-config... /usr/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.4.5... yes (1.6.5)
checking for gpg-error-config... /usr/bin/gpg-error-config
checking for GPG Error - version >= 1.12... yes (1.21)
checking elfutils/libdwfl.h usability... yes
checking elfutils/libdwfl.h presence... yes
checking for elfutils/libdwfl.h... yes
checking for dwfl_core_file_attach in -ldw... yes
checking for QRENCODE... yes
checking for GNUTLS... yes
checking for MICROHTTPD... yes
checking for LIBCURL... yes
checking for LIBIDN... yes
checking for dlsym in -ldl... yes
checking for gcc... gcc
checking efi/x86_64/efibind.h usability... yes
checking efi/x86_64/efibind.h presence... yes
checking for efi/x86_64/efibind.h... yes
checking for valgrind/memcheck.h... yes
checking for valgrind/valgrind.h... yes
checking for ANSI C header files... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking nss.h usability... yes
checking nss.h presence... yes
checking for nss.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/auxv.h usability... yes
checking sys/auxv.h presence... yes
checking for sys/auxv.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strcasecmp... yes
checking for strspn... yes
checking for xsltproc... /usr/bin/xsltproc
checking for qemu-system-x86_64... no
checking for /usr/share/qemu/bios-ovmf.bin... no
checking for /usr/share/qemu-ovmf/bios.bin... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po/stamp-it commands
systemd 229
libcryptsetup: no
PAM: no
AUDIT: no
IMA: no
AppArmor: no
SELinux: no
SECCOMP: no
SMACK: yes
ZLIB: yes
XZ: yes
LZ4: no
BZIP2: yes
ACL: yes
GCRYPT: yes
QRENCODE: yes
MICROHTTPD: yes
GNUTLS: yes
libcurl: yes
libidn: yes
libiptc: no
ELFUTILS: yes
binfmt: yes
vconsole: yes
quotacheck: yes
tmpfiles: yes
sysusers: yes
firstboot: yes
randomseed: yes
backlight: yes
rfkill: yes
logind: yes
machined: yes
importd: yes
hostnamed: yes
timedated: yes
timesyncd: yes
Default NTP servers: 0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org
time epoch: 1458855432
localed: yes
networkd: no
resolved: yes
Default DNS servers: 8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844
Default DNSSEC mode: allow-downgrade
coredump: yes
polkit: yes
efi: yes
gnuefi: yes
efi arch: x86_64
EFI machine type: x64
EFI CC gcc
EFI libdir: /usr/lib
EFI ldsdir: /usr/lib
EFI includedir: /usr/include
kmod: no
xkbcommon: yes
blkid: no
libmount: yes
dbus: yes
nss-myhostname: yes
hwdb: yes
tpm: no
kdbus: yes
Python: no
man pages: no
test coverage: no
Split /usr: no
SysV compatibility: no
utmp/wtmp support: yes
ldconfig support: yes
hibernate support: yes
extra debugging: none
tests: no
prefix: /usr
rootprefix: /usr
sysconf dir: /etc
datarootdir: ${prefix}/share
includedir: ${prefix}/include
lib dir: /usr/lib32
rootlib dir: /usr/lib32
SysV init scripts:
SysV rc?.d directories:
Build Python:
PAM modules dir: /usr/lib32/security
PAM configuration dir: /etc/pam.d
D-Bus policy dir: /etc/dbus-1/system.d
D-Bus session dir: ${datarootdir}/dbus-1/services
D-Bus system dir: ${datarootdir}/dbus-1/system-services
Bash completions dir: /usr/share/bash-completion/completions
Zsh completions dir: ${datarootdir}/zsh/site-functions
Extra start script: /etc/rc.local
Extra stop script: /usr/sbin/halt.local
Wheel group: yes
Debug shell: /bin/sh @ /dev/tty9
TTY GID: 5
Maximum System UID: 999
Maximum System GID: 999
Certificate root: /etc/ssl
CFLAGS: -pipe -Wall -Wextra -Wundef -Wformat=2 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=missing-declarations -Werror=return-type -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Wno-format-signedness -Werror=overflow -Wdate-time -Wnested-externs -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -fstack-protector -fstack-protector-strong -fPIE --param=ssp-buffer-size=4 -Werror=shadow -flto -ffunction-sections -fdata-sections -mtune=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
CPPFLAGS: -Wp,-D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2
LDFLAGS: -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -pie -Wl,-fuse-ld=gold -Wl,-O1,--sort-common,--as-needed,-z,relro
M4 src/core/load-fragment-gperf.gperf
GPERF src/core/load-fragment-gperf.c
GEN src/core/load-fragment-gperf-nulstr.c
make --no-print-directory all-recursive
Making all in .
M4 units/tmp.mount
M4 units/getty@.service
M4 units/serial-getty@.service
M4 units/console-shell.service
M4 units/console-getty.service
M4 units/container-getty@.service
M4 units/user@.service
M4 units/systemd-resolved.service
M4 sysusers.d/systemd.conf
M4 sysusers.d/systemd-remote.conf
M4 tmpfiles.d/systemd.conf
M4 tmpfiles.d/etc.conf
CCLD mtd_probe
GEN systemd-bootx64.efi
GEN linuxx64.efi.stub
CC src/core/libcore_la-load-fragment-gperf.lo
CC src/core/libcore_la-load-fragment-gperf-nulstr.lo
CCLD systemd-journal-remote
CCLD journalctl
CCLD systemd-journald
CCLD systemd-journal-gatewayd
CCLD systemd-coredump
CCLD systemd-binfmt
/usr/bin/ld.gold: warning: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../libmicrohttpd.so while searching for microhttpd
/usr/bin/ld.gold: warning: skipping incompatible /usr/lib/libmicrohttpd.so while searching for microhttpd
/usr/bin/ld.gold: error: cannot find -lmicrohttpd
src/journal/mmap-cache.c: In function 'mmap_cache_get':
src/journal/mmap-cache.c:574:9: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
munmap(d, wsize);
^
src/journal/mmap-cache.c:512:15: note: 'd' was declared here
void *d;
^
/tmp/ccQoqite.ltrans0.ltrans.o:<artificial>:function main: error: undefined reference to 'MHD_stop_daemon'
/tmp/ccQoqite.ltrans11.ltrans.o:<artificial>:function request_handler: error: undefined reference to 'MHD_lookup_connection_value'
/tmp/ccQoqite.ltrans11.ltrans.o:<artificial>:function request_handler: error: undefined reference to 'MHD_get_connection_info'
/tmp/ccQoqite.ltrans11.ltrans.o:<artificial>:function request_handler: error: undefined reference to 'MHD_get_connection_info'
/tmp/ccQoqite.ltrans11.ltrans.o:<artificial>:function setup_microhttpd_server.lto_priv.202: error: undefined reference to 'MHD_start_daemon'
/tmp/ccQoqite.ltrans11.ltrans.o:<artificial>:function setup_microhttpd_server.lto_priv.202: error: undefined reference to 'MHD_get_daemon_info'
/tmp/ccQoqite.ltrans11.ltrans.o:<artificial>:function setup_microhttpd_server.lto_priv.202: error: undefined reference to 'MHD_stop_daemon'
/tmp/ccQoqite.ltrans15.ltrans.o:<artificial>:function dispatch_http_event.lto_priv.204: error: undefined reference to 'MHD_run'
/tmp/ccQoqite.ltrans25.ltrans.o:<artificial>:function mhd_respond_internal.lto_priv.167: error: undefined reference to 'MHD_create_response_from_buffer'
/tmp/ccQoqite.ltrans25.ltrans.o:<artificial>:function mhd_respond_internal.lto_priv.167: error: undefined reference to 'MHD_add_response_header'
/tmp/ccQoqite.ltrans25.ltrans.o:<artificial>:function mhd_respond_internal.lto_priv.167: error: undefined reference to 'MHD_queue_response'
/tmp/ccQoqite.ltrans25.ltrans.o:<artificial>:function mhd_respond_internal.lto_priv.167: error: undefined reference to 'MHD_destroy_response'
collect2: error: ld returned 1 exit status
Makefile:11312: recipe for target 'systemd-journal-remote' failed
make[2]: *** [systemd-journal-remote] Error 1
make[2]: *** Waiting for unfinished jobs....
src/libsystemd/sd-device/sd-device.c: In function 'device_read_uevent_file':
src/libsystemd/sd-device/sd-device.c:367:25: warning: 'ifindex' may be used uninitialized in this function [-Wmaybe-uninitialized]
device->ifindex = ifindex;
^
src/libsystemd/sd-device/sd-device.c:354:13: note: 'ifindex' was declared here
int ifindex, r;
^
src/journal/mmap-cache.c: In function 'mmap_cache_get':
src/journal/mmap-cache.c:574:9: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
munmap(d, wsize);
^
src/journal/mmap-cache.c:512:15: note: 'd' was declared here
void *d;
^
/usr/bin/ld.gold: warning: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../libmicrohttpd.so while searching for microhttpd
/usr/bin/ld.gold: warning: skipping incompatible /usr/lib/libmicrohttpd.so while searching for microhttpd
/usr/bin/ld.gold: error: cannot find -lmicrohttpd
src/journal/mmap-cache.c: In function 'mmap_cache_get':
src/journal/mmap-cache.c:574:9: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
munmap(d, wsize);
^
src/journal/mmap-cache.c:512:15: note: 'd' was declared here
void *d;
^
In function '__ppoll_alias',
inlined from 'bus_poll' at src/libsystemd/sd-bus/sd-bus.c:2871:11:
/usr/include/bits/poll2.h:71:9: warning: call to '__ppoll_chk_warn' declared with attribute warning: ppoll called with fds buffer too small file nfds entries
return __ppoll_chk (__fds, __nfds, __timeout, __ss, __bos (__fds));
^
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_parse_accept: error: undefined reference to 'MHD_lookup_connection_value'
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_handler.lto_priv.279: error: undefined reference to 'MHD_get_connection_info'
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_handler.lto_priv.279: error: undefined reference to 'MHD_create_response_from_buffer'
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_handler.lto_priv.279: error: undefined reference to 'MHD_add_response_header'
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_handler.lto_priv.279: error: undefined reference to 'MHD_add_response_header'
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_handler.lto_priv.279: error: undefined reference to 'MHD_queue_response'
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_handler.lto_priv.279: error: undefined reference to 'MHD_destroy_response'
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_handler.lto_priv.279: error: undefined reference to 'MHD_lookup_connection_value'
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_handler.lto_priv.279: error: undefined reference to 'MHD_create_response_from_callback'
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_handler.lto_priv.279: error: undefined reference to 'MHD_add_response_header'
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_handler.lto_priv.279: error: undefined reference to 'MHD_get_connection_values'
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_handler.lto_priv.279: error: undefined reference to 'MHD_create_response_from_fd_at_offset64'
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_handler.lto_priv.279: error: undefined reference to 'MHD_add_response_header'
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_handler.lto_priv.279: error: undefined reference to 'MHD_queue_response'
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_handler.lto_priv.279: error: undefined reference to 'MHD_destroy_response'
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_handler.lto_priv.279: error: undefined reference to 'MHD_create_response_from_callback'
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_handler.lto_priv.279: error: undefined reference to 'MHD_create_response_from_buffer'
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_handler.lto_priv.279: error: undefined reference to 'MHD_queue_response'
/tmp/ccNY8xSQ.ltrans0.ltrans.o:<artificial>:function request_handler.lto_priv.279: error: undefined reference to 'MHD_destroy_response'
/tmp/ccNY8xSQ.ltrans28.ltrans.o:<artificial>:function mhd_respond_internal: error: undefined reference to 'MHD_create_response_from_buffer'
/tmp/ccNY8xSQ.ltrans28.ltrans.o:<artificial>:function mhd_respond_internal: error: undefined reference to 'MHD_queue_response'
/tmp/ccNY8xSQ.ltrans28.ltrans.o:<artificial>:function mhd_respond_internal: error: undefined reference to 'MHD_destroy_response'
/tmp/ccNY8xSQ.ltrans30.ltrans.o:<artificial>:function main: error: undefined reference to 'MHD_start_daemon'
/tmp/ccNY8xSQ.ltrans30.ltrans.o:<artificial>:function main: error: undefined reference to 'MHD_stop_daemon'
collect2: error: ld returned 1 exit status
Makefile:11296: recipe for target 'systemd-journal-gatewayd' failed
make[2]: *** [systemd-journal-gatewayd] Error 1
/usr/bin/ld.gold: warning: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../libqrencode.so while searching for qrencode
/usr/bin/ld.gold: warning: skipping incompatible /usr/lib/libqrencode.so while searching for qrencode
/usr/bin/ld.gold: error: cannot find -lqrencode
src/libsystemd/sd-device/sd-device.c: In function 'device_set_syspath.constprop':
src/basic/fs-util.c:238:17: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
free(t);
^
src/basic/fs-util.c:226:15: note: 't' was declared here
char *t, *s;
^
src/libsystemd/sd-device/sd-device.c: In function 'device_read_uevent_file':
src/libsystemd/sd-device/sd-device.c:367:25: warning: 'ifindex' may be used uninitialized in this function [-Wmaybe-uninitialized]
device->ifindex = ifindex;
^
src/libsystemd/sd-device/sd-device.c:354:13: note: 'ifindex' was declared here
int ifindex, r;
^
src/journal/mmap-cache.c: In function 'mmap_cache_get':
src/journal/mmap-cache.c:574:9: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
munmap(d, wsize);
^
src/journal/mmap-cache.c:512:15: note: 'd' was declared here
void *d;
^
In function '__ppoll_alias',
inlined from 'bus_poll' at src/libsystemd/sd-bus/sd-bus.c:2871:11:
/usr/include/bits/poll2.h:71:9: warning: call to '__ppoll_chk_warn' declared with attribute warning: ppoll called with fds buffer too small file nfds entries
return __ppoll_chk (__fds, __nfds, __timeout, __ss, __bos (__fds));
^
/tmp/cc0b6zYc.ltrans0.ltrans.o:<artificial>:function setup_keys.lto_priv.347: error: undefined reference to 'QRcode_encodeString'
/tmp/cc0b6zYc.ltrans0.ltrans.o:<artificial>:function setup_keys.lto_priv.347: error: undefined reference to 'QRcode_free'
collect2: error: ld returned 1 exit status
Makefile:10823: recipe for target 'journalctl' failed
make[2]: *** [journalctl] Error 1
Makefile:18514: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Makefile:9147: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR:(B A failure occurred in build().(B
 Aborting...(B
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: linking file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/bin/automake line 3936.
configure.ac:33: installing 'build-aux/compile'
configure.ac:37: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
----------------------------------------------------------------
Initialized build system. For a common configuration please run:
----------------------------------------------------------------
./configure CFLAGS='-g -O0 -ftrapv' --enable-kdbus --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment