[package - main-i386-default][graphics/gphoto2] Failed for gphoto2-2.5.26 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 12 Feb 2023 22:12:04 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     danfe@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p909032bc6729_s7e44856e3a/logs/gphoto2-2.5.26.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p909032bc6729_s7e44856e3a
Log:

=>> Building graphics/gphoto2
build started at Sun Feb 12 22:11:51 UTC 2023
port directory: /usr/ports/graphics/gphoto2
package name: gphoto2-2.5.26
building for: FreeBSD main-i386-default-job-11 14.0-CURRENT FreeBSD 14.0-CURRENT 1400079 i386
maintained by: danfe@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400079
Job Id: 11




!!! Jail is newer than host. (Jail: 1400079, Host: 1400073) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1400079
UNAME_v=FreeBSD 14.0-CURRENT 1400079
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for gphoto2-2.5.26:
     AALIB=on: Text mode capture preview support
     DOCS=on: Build and/or install documentation
     NLS=on: Native Language Support
     READLINE=on: Command line editing via libreadline
     THREADS=on: Threading support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
danfe@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--without-cdk --with-aalib --enable-nls --with-readline --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
POPT_CFLAGS="$(pkg-config --cflags popt)"  POPT_LIBS="$(pkg-config --libs popt)" MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/gphoto2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/gphoto2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/gphoto2/work/.cache  HOME=/wrkdirs/usr/ports/graphics/gphoto2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/gphoto2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/gphoto2/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/gphoto2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/gphoto2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/gphoto2/work/.cache  HOME=/wrkdirs/usr/ports/graphics/gphoto2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/gphoto2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/gphoto2/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIP
 T="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" AALIB="" NO_AALIB="@comment " DOCS="" NO_DOCS="@comment " NLS="" NO_NLS="@comment " READLINE="" NO_READLINE="@comment " THREADS="" NO_THREADS="@comment " OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/gphoto2"  EXAMPLESDIR="share/examples/gphoto2"  DATADIR="share/gphoto2"  WWWDIR="www/gphoto2"  ETCDIR="etc/gphoto2"
--End PLIST_SUB--

--SUB_LIST--
AALIB="" NO_AALIB="@comment " DOCS="" NO_DOCS="@comment " NLS="" NO_NLS="@comment " READLINE="" NO_READLINE="@comment " THREADS="" NO_THREADS="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/gphoto2 DOCSDIR=/usr/local/share/doc/gphoto2 EXAMPLESDIR=/usr/local/share/examples/gphoto2  WWWDIR=/usr/local/www/gphoto2 ETCDIR=/usr/local/etc/gphoto2
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400079
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   gphoto2-2.5.26 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1.pkg
[main-i386-default-job-11] Installing pkg-1.19.1...
[main-i386-default-job-11] Extracting pkg-1.19.1: .......... done
===>   gphoto2-2.5.26 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of gphoto2-2.5.26
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by gphoto2-2.5.26 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by gphoto2-2.5.26 for building
=> SHA256 Checksum OK for gphoto2-2.5.26.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by gphoto2-2.5.26 for building
===>  Extracting for gphoto2-2.5.26
=> SHA256 Checksum OK for gphoto2-2.5.26.tar.bz2.
===========================================================================
<snip>
checking whether NLS is requested... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib
checking for msgfmt... (cached) /usr/local/bin/msgfmt
checking for gmsgfmt... (cached) /usr/local/bin/msgfmt
checking for xgettext... (cached) /usr/local/bin/xgettext
checking for msgmerge... (cached) /usr/local/bin/msgmerge
checking for iconv... (cached) yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking pkg-config is at least version 0.9.0... yes
checking for dynamic library extension... .so
checking for libgphoto2 to use... autodetect
checking for LIBGPHOTO2... yes
checking libgphoto2 library flags... "-L/usr/local/lib -lgphoto2 -lgphoto2_port -lm "
checking libgphoto2 cpp flags... "-I/usr/local/include/gphoto2 -I/usr/local/include "
checking for strptime... (cached) yes
checking for signal... yes
checking for pause... yes
checking for sleep... (cached) yes
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking for signal.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for spawnve... no
checking for floor in -lm... yes
checking for pthread.h... (cached) yes
checking for pthread_exit in -lpthread... yes
checking whether SIGHUP is declared... yes
checking whether SIGINT is declared... yes
checking whether SIGUSR1 is declared... yes
checking whether SIGUSR2 is declared... yes
checking whether SIGTERM is declared... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_read_scanlines in -ljpeg... yes
checking for libexif to use... autodetect
checking for LIBEXIF... yes
checking libexif/exif-log.h usability... yes
checking libexif/exif-log.h presence... yes
checking for libexif/exif-log.h... yes
checking libexif/exif-ifd.h usability... yes
checking libexif/exif-ifd.h presence... yes
checking for libexif/exif-ifd.h... yes
checking libexif/exif-data.h usability... yes
checking libexif/exif-data.h presence... yes
checking for libexif/exif-data.h... yes
checking for function exif_data_new in libexif... yes
checking libexif library flags... "-L/usr/local/lib -lexif "
checking libexif cpp flags... "-I/usr/local/include "
checking aalib.h usability... yes
checking aalib.h presence... yes
checking for aalib.h... yes
checking for aalib-config... /usr/local/bin/aalib-config
checking whether popt is required... yes
checking if popt is functional... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking for rl_completion_append_character in -lreadline... yes
checking for rl_completion_matches in -lreadline... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating po/Makefile.in
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating Makefile
config.status: creating gphoto2/Makefile
config.status: creating gphoto-m4/Makefile
config.status: creating doc/Makefile
config.status: creating contrib/Makefile
config.status: creating packaging/Makefile
config.status: creating packaging/rpm/Makefile
config.status: creating packaging/rpm/package.spec
config.status: creating tests/data/Makefile
config.status: creating tests/staging/subdir1/Makefile
config.status: creating tests/staging/subdir2/Makefile
config.status: creating tests/staging/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default-2 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

Configuration (gphoto2 2.5.26):

  Build
    Source code location:          .
    Compiler:                      cc

  Features
    Use translations:              yes
    libgphoto2:                    yes
    pthread support:               yes (-lpthread)
    Interactive config support:    no (not requested)
    JPEG support:                  yes
    libexif:                       yes
    Text preview support:          yes
    use popt library:              yes
    popt libs:                     -L/usr/local/lib -lpopt 
    popt cppflags:                 -I/usr/local/include 
    Readline support:              yes (doesn't require explicit -lncurses)

You may run "make" and "make install" now.
===========================================================================
=======================<phase: build          >============================
===>  Building for gphoto2-2.5.26
gmake[1]: Entering directory '/wrkdirs/usr/ports/graphics/gphoto2/work/gphoto2-2.5.26'
gmake  all-recursive
gmake[2]: Entering directory '/wrkdirs/usr/ports/graphics/gphoto2/work/gphoto2-2.5.26'
Making all in gphoto-m4
gmake[3]: Entering directory '/wrkdirs/usr/ports/graphics/gphoto2/work/gphoto2-2.5.26/gphoto-m4'
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory '/wrkdirs/usr/ports/graphics/gphoto2/work/gphoto2-2.5.26/gphoto-m4'
Making all in contrib
gmake[3]: Entering directory '/wrkdirs/usr/ports/graphics/gphoto2/work/gphoto2-2.5.26/contrib'
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory '/wrkdirs/usr/ports/graphics/gphoto2/work/gphoto2-2.5.26/contrib'
Making all in doc
gmake[3]: Entering directory '/wrkdirs/usr/ports/graphics/gphoto2/work/gphoto2-2.5.26/doc'
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory '/wrkdirs/usr/ports/graphics/gphoto2/work/gphoto2-2.5.26/doc'
Making all in gphoto2
gmake[3]: Entering directory '/wrkdirs/usr/ports/graphics/gphoto2/work/gphoto2-2.5.26/gphoto2'
cc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/local/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/local/include -I.. -I../gphoto2 -I/usr/local/include/gphoto2 -I/usr/local/include  -DLOCALEDIR=\"/usr/local/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/local/include  -I/usr/local/include -I/usr/local/include   -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wmissing-declarations -Wmissing-prototypes -g -MT gphoto2-gphoto2-cmd-capture.o -MD -MP -MF .deps/gphoto2-gphoto2-cmd-capture.Tpo -c -o gphoto2-gphoto2-cmd-capture.o `test -f 'gphoto2-cmd-capture.c' || echo './'`gphoto2-cmd-capture.c
cc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/local/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/local/include -I.. -I../gphoto2 -I/usr/local/include/gphoto2 -I/usr/local/include  -DLOCALEDIR=\"/usr/local/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/local/include  -I/usr/local/include -I/usr/local/include   -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wmissing-declarations -Wmissing-prototypes -g -MT gphoto2-actions.o -MD -MP -MF .deps/gphoto2-actions.Tpo -c -o gphoto2-actions.o `test -f 'actions.c' || echo './'`actions.c
gphoto2-cmd-capture.c:80:43: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign]
                gp_file_get_data_and_size (file, &data, &size);
                                                        ^~~~~
/usr/local/include/gphoto2/gphoto2-file.h:136:30: note: passing argument to parameter 'size' here
                               unsigned long int *size);
                                                  ^
actions.c:109:18: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                fn = basename (path);
                               ^~~~
/usr/include/libgen.h:61:74: note: expanded from macro 'basename'
#define basename(x)     __generic(x, const char *, __old_basename, basename)(x)
                                                                             ^
/usr/include/libgen.h:56:28: note: passing argument to parameter here
char    *__old_basename(char *);
                              ^
actions.c:137:6: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                fn = path+5;
                   ^ ~~~~~~
actions.c:1146:13: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                        wp.u.str = arg;
                                 ^ ~~~
1 warning generated.
mv -f .deps/gphoto2-gphoto2-cmd-capture.Tpo .deps/gphoto2-gphoto2-cmd-capture.Po
cc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/local/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/local/include -I.. -I../gphoto2 -I/usr/local/include/gphoto2 -I/usr/local/include  -DLOCALEDIR=\"/usr/local/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/local/include  -I/usr/local/include -I/usr/local/include   -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wmissing-declarations -Wmissing-prototypes -g -MT gphoto2-foreach.o -MD -MP -MF .deps/gphoto2-foreach.Tpo -c -o gphoto2-foreach.o `test -f 'foreach.c' || echo './'`foreach.c
mv -f .deps/gphoto2-foreach.Tpo .deps/gphoto2-foreach.Po
cc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/local/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/local/include -I.. -I../gphoto2 -I/usr/local/include/gphoto2 -I/usr/local/include  -DLOCALEDIR=\"/usr/local/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/local/include  -I/usr/local/include -I/usr/local/include   -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wmissing-declarations -Wmissing-prototypes -g -MT gphoto2-gp-params.o -MD -MP -MF .deps/gphoto2-gp-params.Tpo -c -o gphoto2-gp-params.o `test -f 'gp-params.c' || echo './'`gp-params.c
mv -f .deps/gphoto2-gp-params.Tpo .deps/gphoto2-gp-params.Po
cc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/local/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/local/include -I.. -I../gphoto2 -I/usr/local/include/gphoto2 -I/usr/local/include  -DLOCALEDIR=\"/usr/local/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/local/include  -I/usr/local/include -I/usr/local/include   -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wmissing-declarations -Wmissing-prototypes -g -MT gphoto2-spawnve.o -MD -MP -MF .deps/gphoto2-spawnve.Tpo -c -o gphoto2-spawnve.o `test -f 'spawnve.c' || echo './'`spawnve.c
mv -f .deps/gphoto2-spawnve.Tpo .deps/gphoto2-spawnve.Po
cc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/local/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/local/include -I.. -I../gphoto2 -I/usr/local/include/gphoto2 -I/usr/local/include  -DLOCALEDIR=\"/usr/local/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/local/include  -I/usr/local/include -I/usr/local/include   -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wmissing-declarations -Wmissing-prototypes -g -MT gphoto2-main.o -MD -MP -MF .deps/gphoto2-main.Tpo -c -o gphoto2-main.o `test -f 'main.c' || echo './'`main.c
main.c:1214:9: error: incompatible pointer to integer conversion returning 'pthread_t' (aka 'struct pthread *') from a function with result type 'unsigned int' [-Wint-conversion]
        return (tid);
               ^~~~~
main.c:1221:12: error: incompatible integer to pointer conversion initializing 'pthread_t' (aka 'struct pthread *') with an expression of type 'unsigned int' [-Wint-conversion]
        pthread_t tid = id;
                  ^     ~~
2 errors generated.
gmake[3]: *** [Makefile:864: gphoto2-main.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
3 warnings generated.
mv -f .deps/gphoto2-actions.Tpo .deps/gphoto2-actions.Po
gmake[3]: Leaving directory '/wrkdirs/usr/ports/graphics/gphoto2/work/gphoto2-2.5.26/gphoto2'
gmake[2]: *** [Makefile:464: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/gphoto2/work/gphoto2-2.5.26'
gmake[1]: *** [Makefile:396: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/gphoto2/work/gphoto2-2.5.26'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/gphoto2