#79 dpkg fails with slibtoolize
Closed a day ago by orbea. Opened a day ago by orbea.

OS: Gentoo
dpkg: 1.22.14

slibtool (https://git.foss21.org/slibtool): version 0.7.0.
[commit reference: 5a897c85025eda71a1d6b3362cf4ef8634ce218f]

It only fails with slibtoolize and not GNU libtoolize.

rdlibtool --mode=link x86_64-pc-linux-musl-gcc -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -o libcompat-test.la libcompat_test_la-strchrnul.lo libcompat_test_la-strnlen.lo libcompat_test_la-strndup.lo libcompat_test_la-strsignal.lo libcompat_test_la-snprintf.lo libcompat_test_la-vsnprintf.lo libcompat_test_la-asprintf.lo libcompat_test_la-vasprintf.lo libcompat_test_la-alphasort.lo libcompat_test_la-scandir.lo libcompat_test_la-unsetenv.lo

rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/lib/compat"}.
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 65026, .st_ino = 201859784}.
rdlibtool: lconf: openat(AT_FDCWD,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65026, .st_ino = 134386804}.
rdlibtool: lconf: openat(3,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4.
rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 65026, .st_ino = 134296266}.
rdlibtool: lconf: openat(4,"slibtool.cfg",O_RDONLY,0) = 3.
rdlibtool: lconf: found "/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/slibtool.cfg".
rdlibtool: link: ln -s libcompat-test.so.def .libs/libcompat-test.so.def.linux
rdlibtool: link: ln -s libcompat-test.so.def.linux .libs/libcompat-test.so.def.host
rdlibtool: link: x86_64-pc-linux-musl-ar -crs .libs/libcompat-test.a libcompat_test_la-strchrnul.o libcompat_test_la-strnlen.o libcompat_test_la-strndup.o libcompat_test_la-strsignal.o libcompat_test_la-snprintf.o libcompat_test_la-vsnprintf.o libcompat_test_la-asprintf.o libcompat_test_la-vasprintf.o libcompat_test_la-alphasort.o libcompat_test_la-scandir.o libcompat_test_la-unsetenv.o
x86_64-pc-linux-musl-ar: libcompat_test_la-strchrnul.o: No such file or directory
rdlibtool: error logged in slbt_exec_link_create_archive(), line 174: flow error: unexpected condition or other.
rdlibtool: < returned to > slbt_exec_link(), line 263.
 * Package:    app-arch/dpkg-1.22.14:0
 * Repository: gentoo
 * USE:        abi_x86_64 amd64 bzip2 elibc_musl kernel_linux lzma update-alternatives zlib zstd
 * FEATURES:   ccache network-sandbox preserve-libs sandbox userpriv usersandbox

>>> Unpacking source...
>>> Unpacking dpkg_1.22.14.tar.xz to /var/tmp/portage/app-arch/dpkg-1.22.14/work
>>> Source unpacked in /var/tmp/portage/app-arch/dpkg-1.22.14/work
>>> Preparing source in /var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14 ...
 * Applying dpkg-1.22.0-flags.patch ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14' ...
 * Running 'autopoint --force' ...
 [ ok ]
 * Running 'slibtoolize --install --copy --force --automake' ...
 [ ok ]
 * Running 'aclocal -I /usr/share/slibtool -I m4 --system-acdir=/var/tmp/portage/app-arch/dpkg-1.22.14/temp/aclocal' ...
 [ ok ]
 * Running 'autoconf -I /usr/share/slibtool --force' ...
 [ ok ]
 * Running 'autoheader -I /usr/share/slibtool --force' ...
 [ ok ]
 * Running 'automake --add-missing --copy --foreign --force-missing' ...
 [ ok ]
 * Running elibtoolize in: dpkg-1.22.14/
 * Running elibtoolize in: dpkg-1.22.14/build-aux/
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14 ...
 * econf: updating dpkg-1.22.14/build-aux/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating dpkg-1.22.14/build-aux/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating dpkg-1.22.14/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating dpkg-1.22.14/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-musl --host=x86_64-pc-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/dpkg-1.22.14 --htmldir=/usr/share/doc/dpkg-1.22.14/html --with-sysroot=/ --libdir=/usr/lib --disable-compiler-warnings --disable-devel-docs --disable-dselect --disable-start-stop-daemon --enable-unicode --localstatedir=/var --disable-nls --enable-update-alternatives --with-libbz2 --with-liblzma --without-libselinux --with-libz --with-libzstd
configure: loading site script /usr/share/config.site
configure: loading site script /usr/share/config.site.d/80crossdev.conf
checking for x86_64-pc-linux-musl-gcc... x86_64-pc-linux-musl-gcc
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 the compiler supports GNU C... yes
checking whether x86_64-pc-linux-musl-gcc accepts -g... yes
checking for x86_64-pc-linux-musl-gcc option to enable C11 features... none needed
checking whether x86_64-pc-linux-musl-gcc understands -c and -o together... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for a BSD-compatible install... /usr/lib/portage/python3.13/ebuild-helpers/xattr/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /bin/mkdir -p
checking for gawk... mawk
checking whether make LIBTOOL=rdlibtool sets $(MAKE)... yes
checking whether make LIBTOOL=rdlibtool supports the include directive... yes (GNU style)
checking whether make LIBTOOL=rdlibtool supports nested variables... yes
checking xargs -n works... yes
checking whether UID '250' is supported by ustar format... yes
checking whether GID '250' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking dependency style of x86_64-pc-linux-musl-gcc... none
checking for a sed that does not truncate output... /bin/sed
checking whether NLS is requested... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... x86_64-pc-linux-musl
checking host system type... x86_64-pc-linux-musl
checking for ld used by x86_64-pc-linux-musl-gcc... /usr/x86_64-pc-linux-musl/bin/ld
checking if the linker (/usr/x86_64-pc-linux-musl/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking 32-bit host C ABI... no
checking how to run the C preprocessor... x86_64-pc-linux-musl-gcc -E
checking for egrep -e... /bin/grep -E
checking for ELF binary format... yes
checking for the common suffixes of directories in the library search path... lib,lib,lib
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyPreferredLanguages... no
checking whether to use NLS... no
checking for x86_64-pc-linux-musl-ar... x86_64-pc-linux-musl-ar
checking for gawk... (cached) mawk
checking for flex... flex
checking for a sed that does not truncate output... (cached) /bin/sed
checking for bison... bison -y
checking for x86_64-pc-linux-musl-ar... (cached) x86_64-pc-linux-musl-ar
checking for x86_64-pc-linux-musl-nm... x86_64-pc-linux-musl-nm
checking for x86_64-pc-linux-musl-ranlib... x86_64-pc-linux-musl-ranlib
checking whether ln -s works... yes



rdlibtool -print-shared-ext --host=x86_64-pc-linux-musl




rdlibtool -print-static-ext --host=x86_64-pc-linux-musl

checking for --as-needed linker flag... yes
checking for --version-script linker flag... yes
checking whether to build dselect... no
checking whether to build start-stop-daemon... no
checking whether to build update-alternatives... yes
checking for perl >= 5.32.1... /usr/bin/perl
checking for a POSIX sh that supports -- after -c... sh
checking for pager... no
checking for less... less
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for x86_64-pc-linux-musl-gcc... (cached) x86_64-pc-linux-musl-gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether x86_64-pc-linux-musl-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-musl-gcc option to enable C11 features... (cached) none needed
checking whether x86_64-pc-linux-musl-gcc understands -c and -o together... (cached) yes
checking whether x86_64-pc-linux-musl-gcc supports C99... yes
checking for x86_64-pc-linux-musl-g++... x86_64-pc-linux-musl-g++
checking whether the compiler supports GNU C++... yes
checking whether x86_64-pc-linux-musl-g++ accepts -g... yes
checking for x86_64-pc-linux-musl-g++ option to enable C++11 features... none needed
checking dependency style of x86_64-pc-linux-musl-g++... none
checking whether x86_64-pc-linux-musl-g++ supports C++14... yes
checking for gpatch... gpatch
checking for doxygen... doxygen
checking for dot... NO
checking for gnutar... no
checking for gtar... gtar
checking for po4a >= 0.59... no
checking for perl >= 5.32.1... (cached) /usr/bin/perl
checking for pod2man... pod2man
checking whether to build with code coverage... no
checking for x86_64-pc-linux-musl-gcc option to enable large file support... none needed
checking for library containing clock_gettime... none required
checking for md5.h... yes
checking for library containing MD5Init... -lmd
checking for gzdopen in -lz... yes
checking for zlib.h... yes
checking for zng_gzdopen in -lz-ng... no
checking for BZ2_bzdopen in -lbz2... yes
checking for bzlib.h... yes
checking for lzma_alone_decoder in -llzma... yes
checking for lzma.h... yes
checking for lzma_stream_encoder_mt in -llzma... yes
checking for lzma_stream_decoder_mt in -llzma... yes
checking for ZSTD_compressStream2 in -lzstd... yes
checking for zstd.h... yes
checking for x86_64-pc-linux-musl-pkg-config... /usr/bin/x86_64-pc-linux-musl-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether Unicode is requested... yes
checking for error.h... no
checking for err.h... yes
checking for locale.h... yes
checking for xlocale.h... no
checking for libintl.h... yes
checking for kvm.h... no
checking for sys/sysmacros.h... yes
checking for sys/param.h... yes
checking for sys/syscall.h... yes
checking for sys/user.h... yes
checking for sys/mkdev.h... no
checking for sys/pstat.h... no
checking for linux/fiemap.h... yes
checking for sys/sysctl.h... no
checking for sys/procfs.h... yes
checking for sys/proc.h... no
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of float... 4
checking size of double... 8
checking size of long double... 16
checking size of void *... 8
checking size of off_t... 8
checking size of time_t... 8
checking alignment of max_align_t... 16
checking whether char is unsigned... no
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ptrdiff_t... yes
checking for struct psinfo... no
checking for x86_64-pc-linux-musl-gcc options needed to detect all undeclared functions... (cached) none needed
checking for unistd.h... (cached) yes
checking whether sys_siglist is declared... no
checking whether sys_errlist is declared... no
checking whether sys_nerr is declared... no
checking for va_copy... yes
checking for C99 snprintf functions... yes
checking whether fsync works on directories... yes
checking whether offsetof is declared... yes
checking whether makedev is declared... no
checking whether WCOREDUMP is declared... yes
checking whether TIOCNOTTY is declared... yes
checking whether O_NOFOLLOW is declared... yes
checking whether F_ALLOCSP64 is declared... no
checking whether F_PREALLOCATE is declared... no
checking whether P_tmpdir is declared... yes
checking for program_invocation_short_name... yes
checking for __progname... yes
checking for getopt... yes
checking for getopt_long... yes
checking for obstack_free... no
checking for strchrnul... yes
checking for strnlen... yes
checking for strndup... yes
checking for strerror... yes
checking for strsignal... yes
checking for asprintf... yes
checking for scandir... yes
checking for alphasort... yes
checking for unsetenv... yes
checking for lchown... yes
checking for setsid... yes
checking for getdtablesize... yes
checking for closefrom... no
checking for close_range... no
checking for getprocs64... no
checking for getprogname... no
checking for getexecname... no
checking for lutimes... yes
checking for fallocate... yes
checking for posix_fallocate... yes
checking for posix_fadvise... yes
checking for uselocale... yes
checking dpkg cpu type... amd64
checking dpkg operating system type... linux
checking dpkg architecture name... musl-linux-amd64
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating dselect/Makefile
config.status: creating dselect/methods/Makefile
config.status: creating dselect/po/Makefile.in
config.status: creating lib/Makefile
config.status: creating lib/compat/Makefile
config.status: creating lib/dpkg/Makefile
config.status: creating lib/dpkg/libdpkg.pc
config.status: creating doc/Doxyfile
config.status: creating man/Makefile
config.status: creating po/Makefile.in
config.status: creating scripts/Build.PL
config.status: creating scripts/Makefile
config.status: creating scripts/README.cpan
config.status: creating scripts/mk/Makefile
config.status: creating scripts/po/Makefile.in
config.status: creating src/Makefile
config.status: creating src/at/atlocal
config.status: creating utils/Makefile
config.status: creating slibtool.cfg
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating dselect/po/POTFILES
config.status: creating dselect/po/Makefile
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: creating scripts/po/POTFILES
config.status: creating scripts/po/Makefile
config.status: executing src/at/atconfig commands

Release:
  Version . . . . . : 1.22.14
  VCS id  . . . . . : 70034dd074cb81a7a018b296924328a29d436288

Configuration:
  Arch attributes:
    cpu name  . . . . . . . . . . : amd64
    os name . . . . . . . . . . . : linux
    arch name . . . . . . . . . . : musl-linux-amd64
    arch bits . . . . . . . . . . : 64
    arch endian . . . . . . . . . : little
    char bits . . . . . . . . . . : 8
    char sign . . . . . . . . . . : signed
    sizeof(short) . . . . . . . . : 2
    sizeof(int) . . . . . . . . . : 4
    sizeof(long)  . . . . . . . . : 8
    sizeof(long long) . . . . . . : 8
    sizeof(float) . . . . . . . . : 4
    sizeof(double)  . . . . . . . : 8
    sizeof(long double) . . . . . : 16
    sizeof(void *)  . . . . . . . : 8
    sizeof(off_t) . . . . . . . . : 8
    sizeof(time_t)  . . . . . . . : 8
    alignof(max_align_t)  . . . . : 16

  Features:
    native language support . . . : no
    unicode support . . . . . . . : yes
    development documentation . . : no
    code coverage . . . . . . . . : no
    build shared libraries  . . . : no
    mmap loaders  . . . . . . . . : no
    disk pre-allocation . . . . . : no
    default dpkg-deb compressor . : xz
    default shell interpreter . . : sh
    default pager program . . . . : less

  Paths:
    devlibdir . . . . . . . . . . : /usr/lib
    pkgconfdir  . . . . . . . . . : /etc/dpkg
    docspecdir  . . . . . . . . . : /usr/share/doc/dpkg-1.22.14/spec
    methodsdir  . . . . . . . . . : ${exec_prefix}/libexec/dpkg/methods
    admindir  . . . . . . . . . . : /var/lib/dpkg
    backupsdir  . . . . . . . . . : /var/backups
    logdir  . . . . . . . . . . . : /var/log
    pkg-config dir  . . . . . . . : /usr/lib/pkgconfig
    aclocal dir   . . . . . . . . : /usr/share/aclocal
    polkit actions dir  . . . . . : /usr/share/polkit-1/actions
    bash completions dir  . . . . : /usr/share/bash-completion/completions
    zsh completions dir . . . . . : /usr/share/zsh/vendor-completions
    perl interpreter  . . . . . . : /usr/bin/perl
    perl libdir . . . . . . . . . : $(prefix)/lib/perl5/vendor_perl/5.40

  Programs:
    update-alternatives . . . . . : yes
    start-stop-daemon . . . . . . : no
    dselect . . . . . . . . . . . : no

  System Libraries:
    librt . . . . . . . . . . . . : builtin
    libsocket . . . . . . . . . . : no
    libps . . . . . . . . . . . . : no
    libkvm  . . . . . . . . . . . : no
    libselinux  . . . . . . . . . : no
    libmd . . . . . . . . . . . . : yes
    libz  . . . . . . . . . . . . : yes (zlib)
    liblzma . . . . . . . . . . . : yes
    libzstd . . . . . . . . . . . : yes
    libbz2  . . . . . . . . . . . : yes
    libcurses . . . . . . . . . . : no
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14 ...
make LIBTOOL=rdlibtool -j1 AR=x86_64-pc-linux-musl-ar 
make LIBTOOL=rdlibtool  all-recursive
make[1]: Entering directory '/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14'
Making all in lib
make[2]: Entering directory '/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/lib'
Making all in compat
make[3]: Entering directory '/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/lib/compat'
rdlibtool    --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H   -idirafter ../../lib/compat -I../..  -DTEST_LIBCOMPAT=1    -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-strchrnul.lo `test -f 'strchrnul.c' || echo './'`strchrnul.c



rdlibtool --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -idirafter ../../lib/compat -I../.. -DTEST_LIBCOMPAT=1 -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-strchrnul.lo strchrnul.c

rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/lib/compat"}.
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 65026, .st_ino = 201859784}.
rdlibtool: lconf: openat(AT_FDCWD,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65026, .st_ino = 134386804}.
rdlibtool: lconf: openat(3,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4.
rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 65026, .st_ino = 134296266}.
rdlibtool: lconf: openat(4,"slibtool.cfg",O_RDONLY,0) = 3.
rdlibtool: lconf: found "/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/slibtool.cfg".
rdlibtool    --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H   -idirafter ../../lib/compat -I../..  -DTEST_LIBCOMPAT=1    -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-strnlen.lo `test -f 'strnlen.c' || echo './'`strnlen.c



rdlibtool --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -idirafter ../../lib/compat -I../.. -DTEST_LIBCOMPAT=1 -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-strnlen.lo strnlen.c

rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/lib/compat"}.
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 65026, .st_ino = 201859784}.
rdlibtool: lconf: openat(AT_FDCWD,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65026, .st_ino = 134386804}.
rdlibtool: lconf: openat(3,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4.
rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 65026, .st_ino = 134296266}.
rdlibtool: lconf: openat(4,"slibtool.cfg",O_RDONLY,0) = 3.
rdlibtool: lconf: found "/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/slibtool.cfg".
rdlibtool    --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H   -idirafter ../../lib/compat -I../..  -DTEST_LIBCOMPAT=1    -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-strndup.lo `test -f 'strndup.c' || echo './'`strndup.c



rdlibtool --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -idirafter ../../lib/compat -I../.. -DTEST_LIBCOMPAT=1 -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-strndup.lo strndup.c

rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/lib/compat"}.
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 65026, .st_ino = 201859784}.
rdlibtool: lconf: openat(AT_FDCWD,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65026, .st_ino = 134386804}.
rdlibtool: lconf: openat(3,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4.
rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 65026, .st_ino = 134296266}.
rdlibtool: lconf: openat(4,"slibtool.cfg",O_RDONLY,0) = 3.
rdlibtool: lconf: found "/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/slibtool.cfg".
rdlibtool    --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H   -idirafter ../../lib/compat -I../..  -DTEST_LIBCOMPAT=1    -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-strsignal.lo `test -f 'strsignal.c' || echo './'`strsignal.c



rdlibtool --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -idirafter ../../lib/compat -I../.. -DTEST_LIBCOMPAT=1 -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-strsignal.lo strsignal.c

rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/lib/compat"}.
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 65026, .st_ino = 201859784}.
rdlibtool: lconf: openat(AT_FDCWD,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65026, .st_ino = 134386804}.
rdlibtool: lconf: openat(3,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4.
rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 65026, .st_ino = 134296266}.
rdlibtool: lconf: openat(4,"slibtool.cfg",O_RDONLY,0) = 3.
rdlibtool: lconf: found "/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/slibtool.cfg".
rdlibtool    --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H   -idirafter ../../lib/compat -I../..  -DTEST_LIBCOMPAT=1    -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-snprintf.lo `test -f 'snprintf.c' || echo './'`snprintf.c



rdlibtool --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -idirafter ../../lib/compat -I../.. -DTEST_LIBCOMPAT=1 -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-snprintf.lo snprintf.c

rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/lib/compat"}.
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 65026, .st_ino = 201859784}.
rdlibtool: lconf: openat(AT_FDCWD,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65026, .st_ino = 134386804}.
rdlibtool: lconf: openat(3,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4.
rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 65026, .st_ino = 134296266}.
rdlibtool: lconf: openat(4,"slibtool.cfg",O_RDONLY,0) = 3.
rdlibtool: lconf: found "/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/slibtool.cfg".
rdlibtool    --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H   -idirafter ../../lib/compat -I../..  -DTEST_LIBCOMPAT=1    -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-vsnprintf.lo `test -f 'vsnprintf.c' || echo './'`vsnprintf.c



rdlibtool --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -idirafter ../../lib/compat -I../.. -DTEST_LIBCOMPAT=1 -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-vsnprintf.lo vsnprintf.c

rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/lib/compat"}.
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 65026, .st_ino = 201859784}.
rdlibtool: lconf: openat(AT_FDCWD,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65026, .st_ino = 134386804}.
rdlibtool: lconf: openat(3,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4.
rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 65026, .st_ino = 134296266}.
rdlibtool: lconf: openat(4,"slibtool.cfg",O_RDONLY,0) = 3.
rdlibtool: lconf: found "/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/slibtool.cfg".
rdlibtool    --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H   -idirafter ../../lib/compat -I../..  -DTEST_LIBCOMPAT=1    -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-asprintf.lo `test -f 'asprintf.c' || echo './'`asprintf.c



rdlibtool --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -idirafter ../../lib/compat -I../.. -DTEST_LIBCOMPAT=1 -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-asprintf.lo asprintf.c

rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/lib/compat"}.
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 65026, .st_ino = 201859784}.
rdlibtool: lconf: openat(AT_FDCWD,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65026, .st_ino = 134386804}.
rdlibtool: lconf: openat(3,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4.
rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 65026, .st_ino = 134296266}.
rdlibtool: lconf: openat(4,"slibtool.cfg",O_RDONLY,0) = 3.
rdlibtool: lconf: found "/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/slibtool.cfg".
rdlibtool    --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H   -idirafter ../../lib/compat -I../..  -DTEST_LIBCOMPAT=1    -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-vasprintf.lo `test -f 'vasprintf.c' || echo './'`vasprintf.c



rdlibtool --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -idirafter ../../lib/compat -I../.. -DTEST_LIBCOMPAT=1 -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-vasprintf.lo vasprintf.c

rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/lib/compat"}.
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 65026, .st_ino = 201859784}.
rdlibtool: lconf: openat(AT_FDCWD,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65026, .st_ino = 134386804}.
rdlibtool: lconf: openat(3,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4.
rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 65026, .st_ino = 134296266}.
rdlibtool: lconf: openat(4,"slibtool.cfg",O_RDONLY,0) = 3.
rdlibtool: lconf: found "/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/slibtool.cfg".
rdlibtool    --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H   -idirafter ../../lib/compat -I../..  -DTEST_LIBCOMPAT=1    -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-alphasort.lo `test -f 'alphasort.c' || echo './'`alphasort.c



rdlibtool --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -idirafter ../../lib/compat -I../.. -DTEST_LIBCOMPAT=1 -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-alphasort.lo alphasort.c

rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/lib/compat"}.
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 65026, .st_ino = 201859784}.
rdlibtool: lconf: openat(AT_FDCWD,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65026, .st_ino = 134386804}.
rdlibtool: lconf: openat(3,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4.
rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 65026, .st_ino = 134296266}.
rdlibtool: lconf: openat(4,"slibtool.cfg",O_RDONLY,0) = 3.
rdlibtool: lconf: found "/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/slibtool.cfg".
rdlibtool    --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H   -idirafter ../../lib/compat -I../..  -DTEST_LIBCOMPAT=1    -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-scandir.lo `test -f 'scandir.c' || echo './'`scandir.c



rdlibtool --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -idirafter ../../lib/compat -I../.. -DTEST_LIBCOMPAT=1 -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-scandir.lo scandir.c

rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/lib/compat"}.
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 65026, .st_ino = 201859784}.
rdlibtool: lconf: openat(AT_FDCWD,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65026, .st_ino = 134386804}.
rdlibtool: lconf: openat(3,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4.
rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 65026, .st_ino = 134296266}.
rdlibtool: lconf: openat(4,"slibtool.cfg",O_RDONLY,0) = 3.
rdlibtool: lconf: found "/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/slibtool.cfg".
rdlibtool    --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H   -idirafter ../../lib/compat -I../..  -DTEST_LIBCOMPAT=1    -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-unsetenv.lo `test -f 'unsetenv.c' || echo './'`unsetenv.c



rdlibtool --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -idirafter ../../lib/compat -I../.. -DTEST_LIBCOMPAT=1 -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_test_la-unsetenv.lo unsetenv.c

rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/lib/compat"}.
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 65026, .st_ino = 201859784}.
rdlibtool: lconf: openat(AT_FDCWD,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65026, .st_ino = 134386804}.
rdlibtool: lconf: openat(3,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4.
rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 65026, .st_ino = 134296266}.
rdlibtool: lconf: openat(4,"slibtool.cfg",O_RDONLY,0) = 3.
rdlibtool: lconf: found "/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/slibtool.cfg".
rdlibtool    --mode=link x86_64-pc-linux-musl-gcc  -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -o libcompat-test.la  libcompat_test_la-strchrnul.lo libcompat_test_la-strnlen.lo libcompat_test_la-strndup.lo libcompat_test_la-strsignal.lo libcompat_test_la-snprintf.lo libcompat_test_la-vsnprintf.lo libcompat_test_la-asprintf.lo libcompat_test_la-vasprintf.lo libcompat_test_la-alphasort.lo libcompat_test_la-scandir.lo libcompat_test_la-unsetenv.lo   



rdlibtool --mode=link x86_64-pc-linux-musl-gcc -O2 -pipe -Werror=strict-aliasing -frecord-gcc-switches -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -o libcompat-test.la libcompat_test_la-strchrnul.lo libcompat_test_la-strnlen.lo libcompat_test_la-strndup.lo libcompat_test_la-strsignal.lo libcompat_test_la-snprintf.lo libcompat_test_la-vsnprintf.lo libcompat_test_la-asprintf.lo libcompat_test_la-vasprintf.lo libcompat_test_la-alphasort.lo libcompat_test_la-scandir.lo libcompat_test_la-unsetenv.lo

rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/lib/compat"}.
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 65026, .st_ino = 201859784}.
rdlibtool: lconf: openat(AT_FDCWD,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65026, .st_ino = 134386804}.
rdlibtool: lconf: openat(3,"slibtool.cfg",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4.
rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 65026, .st_ino = 134296266}.
rdlibtool: lconf: openat(4,"slibtool.cfg",O_RDONLY,0) = 3.
rdlibtool: lconf: found "/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/slibtool.cfg".
rdlibtool: link: ln -s libcompat-test.so.def .libs/libcompat-test.so.def.linux
rdlibtool: link: ln -s libcompat-test.so.def.linux .libs/libcompat-test.so.def.host
rdlibtool: link: x86_64-pc-linux-musl-ar -crs .libs/libcompat-test.a libcompat_test_la-strchrnul.o libcompat_test_la-strnlen.o libcompat_test_la-strndup.o libcompat_test_la-strsignal.o libcompat_test_la-snprintf.o libcompat_test_la-vsnprintf.o libcompat_test_la-asprintf.o libcompat_test_la-vasprintf.o libcompat_test_la-alphasort.o libcompat_test_la-scandir.o libcompat_test_la-unsetenv.o
x86_64-pc-linux-musl-ar: libcompat_test_la-strchrnul.o: No such file or directory
rdlibtool: error logged in slbt_exec_link_create_archive(), line 174: flow error: unexpected condition or other.
rdlibtool: < returned to > slbt_exec_link(), line 263.
make[3]: *** [Makefile:524: libcompat-test.la] Error 2
make[3]: Leaving directory '/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/lib/compat'
make[2]: *** [Makefile:445: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14/lib'
make[1]: *** [Makefile:759: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14'
make: *** [Makefile:600: all] Error 2
 * ERROR: app-arch/dpkg-1.22.14::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-arch/dpkg-1.22.14::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-arch/dpkg-1.22.14::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-arch/dpkg-1.22.14/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-arch/dpkg-1.22.14/temp/environment'.
 * Working directory: '/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14'
 * S: '/var/tmp/portage/app-arch/dpkg-1.22.14/work/dpkg-1.22.14'

This is a difference in implementation.

In configure.ac dpkg has:

# Shared libraries are disabled on purpose, currently there is no ABI stability
# guarantee, and it will be broken at will. The infrastructure is in place just
# to be able to test that its future activation will work.
LT_INIT([disable-shared]

Where Gentoo is also using ---disable-static in their build process. With GNU libtool where both --disable-shared and --disabled-static is set it results in --enable-static being implicitly used while slibtool will actually disable both resulting in perhaps unexpected failures.

Metadata Update from @orbea:
- Issue status updated to: Closed (was: Open)

a day ago

Login to comment on this ticket.

Metadata