[REL - head-i386-default][mail/noattach] Failed for noattach-1.2_1 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Thu Sep 19 02:11:48 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:     dinoex at FreeBSD.org
Last committer: dinoex at FreeBSD.org
Ident:          $FreeBSD: head/mail/noattach/Makefile 305832 2012-10-13 13:39:56Z dinoex $
Log URL:        http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-19_00h27m24s/logs/noattach-1.2_1.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-19_00h27m24s
Log:

====>> Building mail/noattach
build started at Thu Sep 19 02:11:41 UTC 2013
port directory: /usr/ports/mail/noattach
building for: FreeBSD head-i386-default-job-24 10.0-CURRENT FreeBSD 10.0-CURRENT i386
maintained by: dinoex at FreeBSD.org
Makefile ident:      $FreeBSD: head/mail/noattach/Makefile 305832 2012-10-13 13:39:56Z dinoex $
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=15534
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=noattach-1.2_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---
---End OPTIONS List---

--CONFIGURE_ARGS--
--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=" -rpath=/usr/lib:/usr/local/lib"  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/noattach
DOCSDIR=/usr/local/share/doc/noattach
EXAMPLESDIR=/usr/local/share/examples/noattach
WWWDIR=/usr/local/www/noattach
ETCDIR=/usr/local/etc/noattach
--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 noattach-1.2_1
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   noattach-1.2_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 noattach-1.2_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by noattach-1.2_1 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by noattach-1.2_1 for building
=> SHA256 Checksum OK for noattach-1.2.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by noattach-1.2_1 for building
===>  Extracting for noattach-1.2_1
=> SHA256 Checksum OK for noattach-1.2.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for noattach-1.2_1
===>  Applying FreeBSD patches for noattach-1.2_1
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for noattach-1.2_1
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/mail/noattach/work/noattach-1.2/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/mail/noattach/work/noattach-1.2/configure
/usr/bin/sed -i.bak -e 's=-pthread=-pthread='  /wrkdirs/usr/ports/mail/noattach/work/noattach-1.2/configure
configure: loading site script /usr/ports/Templates/config.site
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... (cached) /usr/bin/awk
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for gawk... (cached) /usr/bin/awk
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for pthread_detach in -lpthread... yes
checking for inet_aton in -lresolv... no
checking for socket in -lsocket... no
checking for inet_addr in -lnsl... no
checking how to run the C preprocessor... cpp
checking for egrep... grep -E
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 stdbool.h that conforms to C99... (cached) yes
checking for _Bool... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for unistd.h... (cached) yes
checking for vfork.h... (cached) no
checking for fork... (cached) yes
checking for vfork... (cached) yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for regcomp... yes
checking for strchr... yes
checking for strdup... (cached) yes
checking for strcasestr... yes
checking for strncasecmp... (cached) yes
checking for memset... (cached) yes
checking for gethostname... (cached) yes
checking for strerror... (cached) yes
checking for strrchr... yes
checking for PID_FILE... /var/run/noattach.pid
checking for PAT_FILE... /usr/local/etc/noattach.patterns
checking for SENDMAIL_INCLUDE... /usr/local/include
checking for SENDMAIL_LIB... /usr/local/lib
checking mfapi.h usability... no
checking mfapi.h presence... no
checking for mfapi.h... no
checking libmilter/mfapi.h usability... yes
checking libmilter/mfapi.h presence... yes
checking for libmilter/mfapi.h... yes
checking for smfi_main in -lmilter... yes
configure: creating ./config.status
Segmentation fault
config.status: creating Makefile
config.status: creating fedora/noattach.spec
config.status: creating config.h
config.status: executing depfiles commands
configure: creating ./config.status
Segmentation fault
config.status: creating Makefile
config.status: creating fedora/noattach.spec
config.status: creating fedora/noattach.sh
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===>  Building for noattach-1.2_1
/usr/bin/make  all-am
if cc -DHAVE_CONFIG_H  -I. -I. -I.    -I/usr/include -I/usr/local/include -I/usr/local/include  -O2 -pipe  -fno-strict-aliasing -MT noattach.o -MD -MP -MF ".deps/noattach.Tpo" -c -o noattach.o noattach.c;  then mv -f ".deps/noattach.Tpo" ".deps/noattach.Po"; else rm -f ".deps/noattach.Tpo"; exit 1; fi
noattach.c:397:22: error: use of undeclared identifier 'PAT_FILE'
    pat_file = fopen(PAT_FILE, "r");
                     ^
noattach.c:433:64: error: use of undeclared identifier 'PAT_FILE'
    syslog(LOG_INFO, "Read %d patterns from file %s\n", count, PAT_FILE);
                                                               ^
noattach.c:450:22: error: use of undeclared identifier 'PID_FILE'
    pid_file = fopen(PID_FILE, "w");
                     ^
noattach.c:525:12: warning: passing 'u_char [66560]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strcpy(priv->buffer, "");
           ^~~~~~~~~~~~
/usr/include/string.h:82:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
noattach.c:526:12: warning: passing 'u_char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strcpy(priv->overlap, "");
           ^~~~~~~~~~~~~
/usr/include/string.h:82:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
noattach.c:621:10: warning: passing 'u_char [66560]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strncpy(priv->buffer, priv->overlap, BUFFER_SIZE);
                ^~~~~~~~~~~~
/usr/include/string.h:101:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
noattach.c:621:24: warning: passing 'u_char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strncpy(priv->buffer, priv->overlap, BUFFER_SIZE);
                              ^~~~~~~~~~~~~
/usr/include/string.h:101:57: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                                           ^
noattach.c:622:10: warning: passing 'u_char [66560]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strncat(priv->buffer, bodyp, bodylen);
                ^~~~~~~~~~~~
/usr/include/string.h:99:32: note: passing argument to parameter here
char    *strncat(char * __restrict, const char * __restrict, size_t);
                                  ^
noattach.c:622:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strncat(priv->buffer, bodyp, bodylen);
                              ^~~~~
/usr/include/string.h:99:57: note: passing argument to parameter here
char    *strncat(char * __restrict, const char * __restrict, size_t);
                                                           ^
noattach.c:626:10: warning: passing 'u_char [66560]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strncpy(priv->buffer, bodyp, copy_size);
                ^~~~~~~~~~~~
/usr/include/string.h:101:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
noattach.c:626:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strncpy(priv->buffer, bodyp, copy_size);
                              ^~~~~
/usr/include/string.h:101:57: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                                           ^
noattach.c:644:37: warning: passing 'u_char [66560]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    for (line = (u_char *) strtok_r(priv->buffer, CRLF, &last);
                                    ^~~~~~~~~~~~
/usr/include/string.h:121:22: note: passing argument to parameter here
char    *strtok_r(char *, const char *, char **);
                        ^
noattach.c:667:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strncpy(lines[num_lines], line, MAX_LINE_LENGTH);
                ^~~~~~~~~~~~~~~~
/usr/include/string.h:101:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
noattach.c:667:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strncpy(lines[num_lines], line, MAX_LINE_LENGTH);
                                  ^~~~
/usr/include/string.h:101:57: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                                           ^
noattach.c:678:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            (strncasecmp(last_line, "Content-", 8) == 0)) {
                         ^~~~~~~~~
/usr/include/strings.h:61:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t) __pure;
                                 ^
noattach.c:683:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            line_len = ((strlen(last_line) + 1) + 1 + (strlen(line) + 1));
                                ^~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
noattach.c:683:56: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            line_len = ((strlen(last_line) + 1) + 1 + (strlen(line) + 1));
                                                              ^~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
noattach.c:692:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            sprintf(last_line, "%s %s", last_line, line);
                    ^~~~~~~~~
/usr/include/stdio.h:267:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
noattach.c:697:41: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if ((last_line != NULL) && (strlen(last_line) > 1)) {
                                               ^~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
noattach.c:699:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                cl_err = check_line(ctx, last_line);
                                         ^~~~~~~~~
noattach.c:732:10: warning: passing 'u_char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strncpy(priv->overlap, last_line, OVERLAP_SIZE);
                ^~~~~~~~~~~~~
/usr/include/string.h:101:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
noattach.c:732:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strncpy(priv->overlap, last_line, OVERLAP_SIZE);
                               ^~~~~~~~~
/usr/include/string.h:101:57: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                                           ^
noattach.c:736:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        cl_err = check_line(ctx, last_line);
                                 ^~~~~~~~~
noattach.c:943:13: error: use of undeclared identifier 'PID_FILE'
            unlink(PID_FILE);
                   ^
noattach.c:951:13: error: use of undeclared identifier 'PID_FILE'
            unlink(PID_FILE);
                   ^
noattach.c:958:9: error: use of undeclared identifier 'PID_FILE'
        unlink(PID_FILE);
               ^
20 warnings and 6 errors generated.
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/mail/noattach/work/noattach-1.2
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/mail/noattach/work/noattach-1.2
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/noattach
===>  Cleaning for noattach-1.2_1


More information about the freebsd-pkg-fallout mailing list