+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libmtp-1.1.21/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libmtp-1.1.21/work.log => Checksum BLAKE2s OK for libmtp-1.1.21.tar.gz => Checksum SHA512 OK for libmtp-1.1.21.tar.gz ===> Installing dependencies for libmtp-1.1.21 ========================================================================== The supported build options for libmtp are: mtpz You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.libmtp (not defined) ========================================================================== => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.4.3nb1 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency libiconv>=1.9.1nb4: found libiconv-1.17 => Full dependency libusb1>=1.0.9: found libusb1-1.0.29 ===> Overriding tools for libmtp-1.1.21 ===> Extracting for libmtp-1.1.21 ===> Patching for libmtp-1.1.21 => Applying pkgsrc patches for libmtp-1.1.21 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libmtp/patches/patch-configure => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libmtp/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.4 2019/09/21 09:52:42 adam Exp $ | |Portability fix. | |--- configure.orig 2016-02-10 20:17:35.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 16392 (offset 1305 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libmtp/patches/patch-hotplug.sh.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libmtp/patches/patch-hotplug.sh.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hotplug.sh.in,v 1.1 2019/09/21 09:52:42 adam Exp $ | |Portability fix. | |--- hotplug.sh.in.orig 2008-09-07 01:18:04.000000000 +0200 |+++ hotplug.sh.in -------------------------- Patching file hotplug.sh.in using Plan A... Hunk #1 succeeded at 171 (offset 1 line). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libmtp/patches/patch-m4_byteorder.m4 => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libmtp/patches/patch-m4_byteorder.m4 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-m4_byteorder.m4,v 1.1 2016/04/09 10:09:14 richard Exp $ | |special case SunOS support for byteswapping | |--- m4/byteorder.m4.orig 2013-03-17 08:04:49.000000000 +0000 |+++ m4/byteorder.m4 -------------------------- Patching file m4/byteorder.m4 using Plan A... Hunk #1 succeeded at 106. Hunk #2 succeeded at 204. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libmtp/patches/patch-src_libusb1-glue.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libmtp/patches/patch-src_libusb1-glue.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_libusb1-glue.c,v 1.1 2020/04/03 20:15:19 nia Exp $ | |Don't try to unload kernel drivers on NetBSD, it doesn't work. | |--- src/libusb1-glue.c.orig 2019-03-25 06:02:39.000000000 +0000 |+++ src/libusb1-glue.c -------------------------- Patching file src/libusb1-glue.c using Plan A... Hunk #1 succeeded at 1932 (offset 12 lines). Hunk #2 succeeded at 1940 (offset 12 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libmtp/patches/patch-src_util.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libmtp/patches/patch-src_util.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_util.c,v 1.1 2016/04/09 10:09:14 richard Exp $ | |config.h should always be first | |--- src/util.c.orig 2015-10-07 07:43:18.000000000 +0000 |+++ src/util.c -------------------------- Patching file src/util.c using Plan A... Hunk #1 succeeded at 22. Hunk #2 succeeded at 35. done ===> Creating toolchain wrappers for libmtp-1.1.21 ===> Configuring for libmtp-1.1.21 => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Replacing sh interpreter in hotplug.sh.in libmtp.sh.in. => Adding run-time search paths to pkg-config files. => Fixing locale directory references. => Checking for portability problems in extracted files checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk checking whether build environment is sane... yes checking for a race-free mkdir -p... ./install-sh -c -d checking for gawk... /usr/bin/nawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-sun-solaris2.11-gcc... 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 gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking whether ln -s works... yes checking build system type... x86_64-sun-solaris2.11 checking host system type... x86_64-sun-solaris2.11 checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep checking for egrep... (cached) /usr/xpg4/bin/grep -E checking for fgrep... /usr/xpg4/bin/grep -F checking for ld used by gcc... /bin/ld checking if the linker (/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p checking the name lister (/usr/bin/nm -p) interface... BSD nm checking the maximum length of command line arguments... 786240 checking how to convert x86_64-sun-solaris2.11 file names to x86_64-sun-solaris2.11 format... func_convert_file_noop checking how to convert x86_64-sun-solaris2.11 file names to toolchain format... func_convert_file_noop checking for /bin/ld option to reload object files... -r checking for x86_64-sun-solaris2.11-objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-sun-solaris2.11-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-sun-solaris2.11-ar... no checking for ar... ar checking for archiver @FILE support... no checking for x86_64-sun-solaris2.11-strip... no checking for strip... strip checking for x86_64-sun-solaris2.11-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -p output from gcc 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 x86_64-sun-solaris2.11-mt... no checking for mt... mt checking if mt is a manifest tool... no 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 sys/time.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/bin/ld -64) supports shared libraries... yes checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory no checking dynamic linker characteristics... solaris2.11 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ld... /bin/ld -64 checking if the linker (/bin/ld -64) is GNU ld... no checking for shared library run path origin... done checking 32-bit host C ABI... no checking how to run the C preprocessor... gcc -E checking for ELF binary format... yes checking for the common suffixes of directories in the library search path... lib,lib/64,lib/amd64 checking for iconv... yes checking for working iconv... no checking for iconv declaration... extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for doxygen... false checking if the host operating system is Darwin... no checking if the host operating system is Linux... no checking For MinGW32... no checking pkg-config is at least version 0.9.0... yes checking for LIBUSB... yes configure: MTPZ functionality disable configure: *** using libusb 1.0.29 *** checking for egrep... (cached) /usr/xpg4/bin/grep -E checking for ctype.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for getopt.h... yes checking for libgen.h... yes checking for limits.h... yes checking for stdio.h... (cached) yes checking for string.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for langinfo.h... yes checking for locale.h... yes checking for arpa/inet.h... yes checking for byteswap.h... no checking for sys/uio.h... yes checking for an ANSI C-conforming const... yes checking for off_t... yes checking return type of signal handlers... void checking for size_t... yes checking for struct stat.st_blksize... yes checking for working memcmp... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for basename... yes checking for memset... yes checking for select... yes checking for strdup... yes checking for strerror... yes checking for strndup... yes checking for strrchr... yes checking for strtoul... yes checking for usleep... yes checking for mkstemp... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for uint8_t in stdint.h... yes checking whether byte ordering is bigendian... no checking for le32toh in machine/endian.h... no checking for ntohl in arpa/inet.h... yes checking for swap32 in machine/endian.h... no checking for bswap_32 in byteswap.h... no checking for bswap32 in machine/endian.h... no checking for __byte_swap_long in sys/types.h... no checking for NXSwapLong in machine/byte_order.h... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating src/libmtp.h config.status: creating doc/Doxyfile config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating examples/Makefile config.status: creating util/Makefile config.status: creating libmtp.sh config.status: creating hotplug.sh config.status: creating libmtp.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands rm: libtoolT: No such file or directory => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp