[REL - head-i386-default][archivers/sharutils] Failed for sharutils-4.13.5_1 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Thu Sep 19 00:53:40 UTC 2013


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:     garga at FreeBSD.org
Last committer: garga at FreeBSD.org
Ident:          $FreeBSD: head/archivers/sharutils/Makefile 325961 2013-09-02 09:45:00Z garga $
Log URL:        http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-19_00h27m24s/logs/sharutils-4.13.5_1.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-19_00h27m24s
Log:

====>> Building archivers/sharutils
build started at Thu Sep 19 00:52:58 UTC 2013
port directory: /usr/ports/archivers/sharutils
building for: FreeBSD head-i386-default-job-15 10.0-CURRENT FreeBSD 10.0-CURRENT i386
maintained by: garga at FreeBSD.org
Makefile ident:      $FreeBSD: head/archivers/sharutils/Makefile 325961 2013-09-02 09:45:00Z garga $
Poudriere version: 3.1-pre

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1000055
UNAME_v=FreeBSD 10.0-CURRENT
UNAME_r=10.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-i386-default/ref
PKG_EXT=txz
tpid=32702
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
NBPARALLEL=24
PKGNG=1
PKGNAME=sharutils-4.13.5_1
PKG_DELETE=/usr/local/sbin/pkg delete -y -f
PKG_ADD=/usr/local/sbin/pkg add
PWD=/root
MASTERNAME=head-i386-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
SKIPSANITY=1
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for sharutils-4.13.5_1:
     NLS=on: Native Language Support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--
--program-prefix=g --disable-uucode --with-libintl-prefix="/usr/local" --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/sharutils
DOCSDIR=/usr/local/share/doc/sharutils
EXAMPLESDIR=/usr/local/share/examples/sharutils
WWWDIR=/usr/local/www/sharutils
ETCDIR=/usr/local/etc/sharutils
--End SUB_LIST--

---Begin make.conf---
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=yes
---End make.conf---
===>  Cleaning for sharutils-4.13.5_1
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   sharutils-4.13.5_1 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===>   Installing existing package /packages/All/pkg-1.1.4_2.txz
Installing pkg-1.1.4_2... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of sharutils-4.13.5_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by sharutils-4.13.5_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by sharutils-4.13.5_1 for building
=> SHA256 Checksum OK for sharutils-4.13.5.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by sharutils-4.13.5_1 for building
===>  Extracting for sharutils-4.13.5_1
=> SHA256 Checksum OK for sharutils-4.13.5.tar.xz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for sharutils-4.13.5_1
===>  Applying FreeBSD patches for sharutils-4.13.5_1
===========================================================================
=======================<phase: build-depends  >============================
===>   sharutils-4.13.5_1 depends on file: /usr/local/bin/perl5.14.4 - not found
===>    Verifying install for /usr/local/bin/perl5.14.4 in /usr/ports/lang/perl5.14
===>   Installing existing package /packages/All/perl-5.14.4.txz
Installing perl-5.14.4...Removing stale symlinks from /usr/bin...
    Skipping /usr/bin/perl
    Skipping /usr/bin/perl5
Done.
Creating various symlinks in /usr/bin...
    Symlinking /usr/local/bin/perl5.14.4 to /usr/bin/perl
    Symlinking /usr/local/bin/perl5.14.4 to /usr/bin/perl5
Done.
Cleaning up /etc/make.conf... Done.
Spamming /etc/make.conf... Done.
 done
===>   Returning to build of sharutils-4.13.5_1
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for sharutils-4.13.5_1
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/archivers/sharutils/work/sharutils-4.13.5/config.rpath
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/archivers/sharutils/work/sharutils-4.13.5/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/archivers/sharutils/work/sharutils-4.13.5/configure
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for minix/config.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking build system type... i386-portbld-freebsd10.0
checking host system type... i386-portbld-freebsd10.0
checking whether we are using the GNU C Library 2 or newer... no
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking for inline... inline
checking for size_t... (cached) yes
checking for stdint.h... (cached) yes
checking for working alloca.h... no
<snip>
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/pipe2-safer.Tpo .deps/pipe2-safer.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT quotearg.o -MD -MP -MF .deps/quotearg.Tpo -c -o quotearg.o quotearg.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/quotearg.Tpo .deps/quotearg.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT save-cwd.o -MD -MP -MF .deps/save-cwd.Tpo -c -o save-cwd.o save-cwd.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/save-cwd.Tpo .deps/save-cwd.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT sig-handler.o -MD -MP -MF .deps/sig-handler.Tpo -c -o sig-handler.o sig-handler.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/sig-handler.Tpo .deps/sig-handler.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT sockets.o -MD -MP -MF .deps/sockets.Tpo -c -o sockets.o sockets.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/sockets.Tpo .deps/sockets.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT spawn-pipe.o -MD -MP -MF .deps/spawn-pipe.Tpo -c -o spawn-pipe.o spawn-pipe.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/spawn-pipe.Tpo .deps/spawn-pipe.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT strftime.o -MD -MP -MF .deps/strftime.Tpo -c -o strftime.o strftime.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/strftime.Tpo .deps/strftime.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT sys_socket.o -MD -MP -MF .deps/sys_socket.Tpo -c -o sys_socket.o sys_socket.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/sys_socket.Tpo .deps/sys_socket.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT tempname.o -MD -MP -MF .deps/tempname.Tpo -c -o tempname.o tempname.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/tempname.Tpo .deps/tempname.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT unistd.o -MD -MP -MF .deps/unistd.Tpo -c -o unistd.o unistd.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/unistd.Tpo .deps/unistd.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT dup-safer.o -MD -MP -MF .deps/dup-safer.Tpo -c -o dup-safer.o dup-safer.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/dup-safer.Tpo .deps/dup-safer.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT fd-safer.o -MD -MP -MF .deps/fd-safer.Tpo -c -o fd-safer.o fd-safer.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/fd-safer.Tpo .deps/fd-safer.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT pipe-safer.o -MD -MP -MF .deps/pipe-safer.Tpo -c -o pipe-safer.o pipe-safer.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/pipe-safer.Tpo .deps/pipe-safer.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT wait-process.o -MD -MP -MF .deps/wait-process.Tpo -c -o wait-process.o wait-process.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/wait-process.Tpo .deps/wait-process.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT wctype-h.o -MD -MP -MF .deps/wctype-h.Tpo -c -o wctype-h.o wctype-h.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/wctype-h.Tpo .deps/wctype-h.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT xmalloc.o -MD -MP -MF .deps/xmalloc.Tpo -c -o xmalloc.o xmalloc.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/xmalloc.Tpo .deps/xmalloc.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT xalloc-die.o -MD -MP -MF .deps/xalloc-die.Tpo -c -o xalloc-die.o xalloc-die.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/xalloc-die.Tpo .deps/xalloc-die.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT xgetcwd.o -MD -MP -MF .deps/xgetcwd.Tpo -c -o xgetcwd.o xgetcwd.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/xgetcwd.Tpo .deps/xgetcwd.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT xstrndup.o -MD -MP -MF .deps/xstrndup.Tpo -c -o xstrndup.o xstrndup.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/xstrndup.Tpo .deps/xstrndup.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT xstrtoimax.o -MD -MP -MF .deps/xstrtoimax.Tpo -c -o xstrtoimax.o xstrtoimax.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/xstrtoimax.Tpo .deps/xstrtoimax.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT xstrtol.o -MD -MP -MF .deps/xstrtol.Tpo -c -o xstrtol.o xstrtol.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/xstrtol.Tpo .deps/xstrtol.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT xstrtoul.o -MD -MP -MF .deps/xstrtoul.Tpo -c -o xstrtoul.o xstrtoul.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/xstrtoul.Tpo .deps/xstrtoul.Po
cc -DHAVE_CONFIG_H -I. -I..  -I../intl  -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT xstrtol-error.o -MD -MP -MF .deps/xstrtol-error.Tpo -c -o xstrtol-error.o xstrtol-error.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
1 warning generated.
mv -f .deps/xstrtol-error.Tpo .deps/xstrtol-error.Po
rm -f libgnu.a
ar cru libgnu.a base64.o binary-io.o  c-ctype.o c-strcasecmp.o  c-strncasecmp.o cloexec.o md5.o  dirname.o basename.o dirname-lgpl.o  basename-lgpl.o stripslash.o  exitfail.o fatal-signal.o fd-hook.o  fd-safer-flag.o dup-safer-flag.o  filenamecat-lgpl.o idcache.o  imaxtostr.o inttostr.o offtostr.o  uinttostr.o umaxtostr.o localcharset.o  openat-die.o pipe2.o pipe2-safer.o  quotearg.o save-cwd.o sig-handler.o  sockets.o spawn-pipe.o strftime.o  sys_socket.o tempname.o unistd.o  dup-safer.o fd-safer.o pipe-safer.o  wait-process.o wctype-h.o xmalloc.o  xalloc-die.o xgetcwd.o xstrndup.o  xstrtoimax.o xstrtol.o xstrtoul.o  xstrtol-error.o 
ranlib libgnu.a
rm -f t-charset.alias charset.alias &&  /bin/sh ./config.charset 'i386-portbld-freebsd10.0' > t-charset.alias &&  mv t-charset.alias charset.alias
rm -f t-ref-add.sed ref-add.sed &&  sed -e '/^#/d' -e 's/@''PACKAGE''@/sharutils/g' ref-add.sin > t-ref-add.sed &&  mv t-ref-add.sed ref-add.sed
rm -f t-ref-del.sed ref-del.sed &&  sed -e '/^#/d' -e 's/@''PACKAGE''@/sharutils/g' ref-del.sin > t-ref-del.sed &&  mv t-ref-del.sed ref-del.sed
Making all in libopts
cc -DHAVE_CONFIG_H -I. -I..  -I. -D_THREAD_SAFE -Wno-format-contains-nul -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT libopts_a-libopts.o -MD -MP -MF .deps/libopts_a-libopts.Tpo -c -o libopts_a-libopts.o `test -f 'libopts.c' || echo './'`libopts.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
2 warnings generated.
mv -f .deps/libopts_a-libopts.Tpo .deps/libopts_a-libopts.Po
rm -f libopts.a
ar cru libopts.a libopts_a-libopts.o 
ranlib libopts.a
Making all in src
cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I../libopts -I. -I..  -I../lib -I../lib -I../intl  -D_THREAD_SAFE -Wno-format-contains-nul -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT shar.o -MD -MP -MF .deps/shar.Tpo -c -o shar.o shar.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
In file included from shar.c:54:
In file included from ../lib/md5.c:26:
./lib/stdalign.h:51:10: warning: '_Alignof' macro redefined
# define _Alignof(type) offsetof (struct { char __a; type __b; }, __b)
         ^
/usr/include/sys/cdefs.h:268:9: note: previous definition is here
#define _Alignof(x)             __alignof(x)
        ^
shar.c:464:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      error (0, errno, local_name);
                       ^~~~~~~~~~
shar.c:473:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      error (0, errno, local_name);
                       ^~~~~~~~~~
shar.c:566:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      error (0, errno, local_name);
                       ^~~~~~~~~~
shar.c:603:20: warning: implicit declaration of function 'basename' is invalid in C99 [-Wimplicit-function-declaration]
    restore_name = basename (local_name_copy);
                   ^
shar.c:603:18: warning: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion]
    restore_name = basename (local_name_copy);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
shar.c:957:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      error (0, errno, _("Cannot get current directory name"));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./shar-opts.h:386:18: note: expanded from macro '_'
#   define _(s)  aoGetsText(s)
                 ^~~~~~~~~~~~~
shar.c:1545:12: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
           basename (output_filename), part_number,
           ^~~~~~~~~~~~~~~~~~~~~~~~~~
./scripts.x:58:12: note: format string is defined here
# This is '%s' (part %d of %s).\n\
           ^~
           %d
shar.c:2138:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
               _("reopening stderr to /dev/null"));
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./shar-opts.h:386:18: note: expanded from macro '_'
#   define _(s)  aoGetsText(s)
                 ^~~~~~~~~~~~~
shar.c:2203:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        error (0, 0, _("PLEASE avoid -X shars on Usenet or public networks"));
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./shar-opts.h:386:18: note: expanded from macro '_'
#   define _(s)  aoGetsText(s)
                 ^~~~~~~~~~~~~
shar.c:2351:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            error (0, errno, arg);
                             ^~~
13 warnings generated.
mv -f .deps/shar.Tpo .deps/shar.Po
cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I../libopts -I. -I..  -I../lib -I../lib -I../intl  -D_THREAD_SAFE -Wno-format-contains-nul -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT encode.o -MD -MP -MF .deps/encode.Tpo -c -o encode.o encode.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
2 warnings generated.
mv -f .deps/encode.Tpo .deps/encode.Po
cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I../libopts -I. -I..  -I../lib -I../lib -I../intl  -D_THREAD_SAFE -Wno-format-contains-nul -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul -MT shar-opts.o -MD -MP -MF .deps/shar-opts.Tpo -c -o shar-opts.o shar-opts.c
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option]
2 warnings generated.
mv -f .deps/shar-opts.Tpo .deps/shar-opts.Po
cc -Wno-format-contains-nul -O2 -pipe -fno-strict-aliasing -Wno-format-contains-nul   -o shar shar.o encode.o shar-opts.o ../libopts/libopts.a ../lib/libgnu.a  ../intl/libintl.a ../lib/libgnu.a   
shar.o: In function `main':
shar.c:(.text+0x1ad7): undefined reference to `error'
shar.c:(.text+0x1fff): undefined reference to `error'
shar.c:(.text+0x21e5): undefined reference to `error'
shar.c:(.text+0x22c7): undefined reference to `error'
shar.o: In function `shar':
shar.c:(.text+0x2552): undefined reference to `error'
shar.o:shar.c:(.text+0x2bd4): more undefined references to `error' follow
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/archivers/sharutils/work/sharutils-4.13.5/src
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/archivers/sharutils/work/sharutils-4.13.5
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/archivers/sharutils/work/sharutils-4.13.5
*** Error code 1

Stop.
make: stopped in /usr/ports/archivers/sharutils
===>  Cleaning for sharutils-4.13.5_1


More information about the freebsd-pkg-fallout mailing list