Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2014 23:19:04 GMT
From:      pkg-fallout@FreeBSD.org
To:        joerg@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [REL - head-amd64-default][emulators/cpmtools] Failed for cpmtools-1.1 in build
Message-ID:  <201401292319.s0TNJ4X9052754@beefy2.isc.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:     joerg@FreeBSD.org
Last committer: bapt@FreeBSD.org
Ident:          $FreeBSD: head/emulators/cpmtools/Makefile 327721 2013-09-20 16:43:52Z bapt $
Log URL:        http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-01-29_19h07m40s/logs/cpmtools-1.1.log
Build URL:      http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-01-29_19h07m40s
Log:

====>> Building emulators/cpmtools
build started at Wed Jan 29 23:18:46 UTC 2014
port directory: /usr/ports/emulators/cpmtools
building for: FreeBSD head-amd64-default-job-18 11.0-CURRENT FreeBSD 11.0-CURRENT r260904 amd64
maintained by: joerg@FreeBSD.org
Makefile ident:      $FreeBSD: head/emulators/cpmtools/Makefile 327721 2013-09-20 16:43:52Z bapt $
Poudriere version: 3.1-pre

---Begin Environment---
OSVERSION=1100005
UNAME_v=FreeBSD 11.0-CURRENT r260904
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-amd64-default/ref
PKG_EXT=txz
tpid=37038
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=cpmtools-1.1
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/root
MASTERNAME=head-amd64-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/poudriere/pkg-static version
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---

---Begin OPTIONS List---
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="gcc46" CFLAGS="-O2 -pipe -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing"  CPP="cpp46" CPPFLAGS=""  LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc46 -L/usr/local/lib/gcc46"  CXX="g++46" CXXFLAGS="-O2 -pipe -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc46"  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/cpmtools
DOCSDIR=/usr/local/share/doc/cpmtools
EXAMPLESDIR=/usr/local/share/examples/cpmtools
WWWDIR=/usr/local/www/cpmtools
ETCDIR=/usr/local/etc/cpmtools
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for cpmtools-1.1
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   cpmtools-1.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.2.5.txz
Installing pkg-1.2.5... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of cpmtools-1.1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by cpmtools-1.1 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by cpmtools-1.1 for building
=> SHA256 Checksum OK for cpm-1.1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by cpmtools-1.1 for building
===>  Extracting for cpmtools-1.1
=> SHA256 Checksum OK for cpm-1.1.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for cpmtools-1.1
===>  Applying FreeBSD patches for cpmtools-1.1
===========================================================================
=======================<phase: build-depends  >============================
===>   cpmtools-1.1 depends on executable: gcc46 - not found
===>    Verifying install for gcc46 in /usr/ports/lang/gcc
===>   Installing existing package /packages/All/gcc-4.6.4.txz
Installing gcc-4.6.4...Installing binutils-2.24...Installing gettext-0.18.3.1... done
 done
Installing gcc-ecj-4.5... done
Installing gmp-5.1.3... done
Installing mpc-1.0.2...Installing mpfr-3.1.2... done
 done
 done
===>   Returning to build of cpmtools-1.1
===>   cpmtools-1.1 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for cpmtools-1.1
===========================================================================
=======================<phase: build          >============================
===>  Building for cpmtools-1.1
===> src (all)
Warning: Object directory not changed from original /wrkdirs/usr/ports/emulators/cpmtools/work/cpm/src
cc -O2 -pipe  -DHELPFILE=\"/usr/local/lib/cpm.hlp\" -std=gnu99 -Qunused-arguments  -fstack-protector  -c bitmap.c
bitmap.c:31:7: warning: implicit declaration of function 'ffc' is invalid in C99 [-Wimplicit-function-declaration]
                j = ffc(0, INTSIZE, *(bitmap+i));
                    ^
bitmap.c:50:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dbmap(str)
^~~~~
bitmap.c:61:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
bitmap.c:68:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
blks_used()
^~~~~~~~~
bitmap.c:92:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
build_bmap()
^~~~~~~~~~
bitmap.c:95:13: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
        int     i, j, *malloc(), offset, block;
                       ^
bitmap.c:95:13: note: 'malloc' is a builtin with type 'void *(unsigned long)'
bitmap.c:102:4: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
                        exit(1);
                        ^
bitmap.c:102:4: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
bitmap.c:158:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
8 warnings generated.
cc -O2 -pipe  -DHELPFILE=\"/usr/local/lib/cpm.hlp\" -std=gnu99 -Qunused-arguments  -fstack-protector  -c blockio.c
blockio.c:12:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getblock(blockno, buffer, nsect)
^~~~~~~~
blockio.c:29:7: warning: implicit declaration of function 'getpsect' is invalid in C99 [-Wimplicit-function-declaration]
                if (getpsect(track, skewtab[sect++ -1], buffer+(seclth*counter))
                    ^
blockio.c:45:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
putblock(blockno, buffer, nsect)
^~~~~~~~
blockio.c:59:7: warning: implicit declaration of function 'putpsect' is invalid in C99 [-Wimplicit-function-declaration]
                if (putpsect(track, skewtab[sect++ -1],buffer+(seclth*counter))
                    ^
4 warnings generated.
cc -O2 -pipe  -DHELPFILE=\"/usr/local/lib/cpm.hlp\" -std=gnu99 -Qunused-arguments  -fstack-protector  -c cclose.c
cclose.c:12:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
c_close(fptr)
^~~~~~~
cclose.c:42:7: warning: implicit declaration of function 'putblock' is invalid in C99 [-Wimplicit-function-declaration]
                if (putblock(blockno(fptr->c_blk), fptr->c_base, scts) == EOF)
                    ^
cclose.c:44:3: warning: implicit declaration of function 'savedir' is invalid in C99 [-Wimplicit-function-declaration]
                savedir();
                ^
cclose.c:49:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
        free(fptr->c_base);
        ^
cclose.c:50:9: warning: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion]
        return (NULL);
               ^~~~~~
5 warnings generated.
cc -O2 -pipe  -DHELPFILE=\"/usr/local/lib/cpm.hlp\" -std=gnu99 -Qunused-arguments  -fstack-protector  -c ccreat.c
ccreat.c:19:8: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
        char *malloc();
              ^
ccreat.c:19:8: note: 'malloc' is a builtin with type 'void *(unsigned long)'
ccreat.c:22:6: warning: implicit declaration of function 'searchdir' is invalid in C99 [-Wimplicit-function-declaration]
        if (searchdir(name, ext) != -1) {
            ^
ccreat.c:26:15: warning: implicit declaration of function 'creext' is invalid in C99 [-Wimplicit-function-declaration]
        if ((index = creext(-1)) < NULL) {
                     ^
ccreat.c:26:27: warning: ordered comparison between pointer and integer ('int' and 'void *')
        if ((index = creext(-1)) < NULL) {
            ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
ccreat.c:66:2: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'
        strncpy(fptr->c_dirp->name, name, 8);
        ^
ccreat.c:66:2: note: please include the header <string.h> or explicitly provide a declaration for 'strncpy'
5 warnings generated.
cc -O2 -pipe  -DHELPFILE=\"/usr/local/lib/cpm.hlp\" -std=gnu99 -Qunused-arguments  -fstack-protector  -c cfillbuf.c
cfillbuf.c:7:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
c_fillbuf(fptr)
^~~~~~~~~
cfillbuf.c:16:22: warning: comparison between pointer and integer ('int' and 'void *')
                        if (getnext(fptr) == NULL)
                            ~~~~~~~~~~~~~ ^  ~~~~
cfillbuf.c:19:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else 
        ^
cfillbuf.c:25:6: warning: implicit declaration of function 'getblock' is invalid in C99 [-Wimplicit-function-declaration]
        if (getblock(blockno(fptr->c_blk), fptr->c_base, nsect) == EOF)
            ^
4 warnings generated.
cc -O2 -pipe  -DHELPFILE=\"/usr/local/lib/cpm.hlp\" -std=gnu99 -Qunused-arguments  -fstack-protector  -c cflsbuf.c
cflsbuf.c:14:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
c_flush(fptr)
^~~~~~~
cflsbuf.c:27:6: warning: implicit declaration of function 'putblock' is invalid in C99 [-Wimplicit-function-declaration]
        if (putblock(blockno(fptr->c_blk), fptr->c_base, -1) == EOF)
            ^
cflsbuf.c:32:3: warning: implicit declaration of function 'savedir' is invalid in C99 [-Wimplicit-function-declaration]
                savedir();
                ^
cflsbuf.c:34:13: warning: implicit declaration of function 'creext' is invalid in C99 [-Wimplicit-function-declaration]
                if ((it = creext(fptr->c_ext)) == NULL) {
                          ^
cflsbuf.c:34:34: warning: comparison between pointer and integer ('int' and 'void *')
                if ((it = creext(fptr->c_ext)) == NULL) {
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
cflsbuf.c:60:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
c_flsbuf(c, fptr)
^~~~~~~~
cflsbuf.c:75:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
c_write(fptr, buf, cnt)
^~~~~~~
7 warnings generated.
cc -O2 -pipe  -DHELPFILE=\"/usr/local/lib/cpm.hlp\" -std=gnu99 -Qunused-arguments  -fstack-protector  -c cmdhdl.c
cmdhdl.c:17:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
cmdinp(cmd)
^~~~~~
cmdhdl.c:28:4: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
                        exit(0);
                        ^
cmdhdl.c:28:4: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
cmdhdl.c:61:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
chkcmd(cmd)
^~~~~~
cmdhdl.c:67:8: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'
        len = strlen(cmd);
              ^
cmdhdl.c:67:8: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
cmdhdl.c:70:8: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'
                        if (strncmp(defcmd[index].cmd, cmd, 3) == 0)
                            ^
cmdhdl.c:70:8: note: please include the header <string.h> or explicitly provide a declaration for 'strncmp'
cmdhdl.c:87:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
help()
^~~~
cmdhdl.c:98:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
cmdhdl.c:106:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
namesep(fname, name, ext)
^~~~~~~
cmdhdl.c:112:2: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'
        strncpy(name, "         ", 9);
        ^
cmdhdl.c:112:2: note: please include the header <string.h> or explicitly provide a declaration for 'strncpy'
cmdhdl.c:121:2: warning: implicit declaration of function 'clean' is invalid in C99 [-Wimplicit-function-declaration]
        clean(name, 8);
        ^
cmdhdl.c:128:11: warning: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion]
                        return (NULL);
                               ^~~~~~
cmdhdl.c:136:9: warning: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion]
                return(NULL);
                      ^~~~~~
cmdhdl.c:141:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
clean(str, len)
^~~~~
cmdhdl.c:154:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
14 warnings generated.
cc -O2 -pipe  -DHELPFILE=\"/usr/local/lib/cpm.hlp\" -std=gnu99 -Qunused-arguments  -fstack-protector  -c copen.c
copen.c:21:8: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
        char *malloc();
              ^
copen.c:21:8: note: 'malloc' is a builtin with type 'void *(unsigned long)'
copen.c:23:15: warning: implicit declaration of function 'searchdir' is invalid in C99 [-Wimplicit-function-declaration]
        if ((index = searchdir(name, ext)) == -1) {
                     ^
copen.c:24:3: warning: implicit declaration of function 'fnfound' is invalid in C99 [-Wimplicit-function-declaration]
                fnfound(name, ext);
                ^
copen.c:64:6: warning: implicit declaration of function 'getblock' is invalid in C99 [-Wimplicit-function-declaration]
        if (getblock(blockno(0), fptr->c_buf, scnt) == EOF)
            ^
copen.c:71:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fnfound(name, ext)
^~~~~~~
copen.c:79:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
6 warnings generated.
cc -O2 -pipe  -DHELPFILE=\"/usr/local/lib/cpm.hlp\" -std=gnu99 -Qunused-arguments  -fstack-protector  -c copy.c
copy.c:13:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
copyc(cmdline, bin)
^~~~~
copy.c:21:3: error: non-void function 'copyc' should return a value [-Wreturn-type]
                return;
                ^
copy.c:24:2: warning: implicit declaration of function 'copy' is invalid in C99 [-Wimplicit-function-declaration]
        copy(cmdline, i+1, bin);
        ^
copy.c:27:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
copy(cpmfile, unixfile, bin)
^~~~
copy.c:36:8: warning: implicit declaration of function 'namesep' is invalid in C99 [-Wimplicit-function-declaration]
        if (!(namesep(cpmfile, name, ext))) 
              ^
copy.c:37:3: error: non-void function 'copy' should return a value [-Wreturn-type]
                return;
                ^
copy.c:39:3: error: non-void function 'copy' should return a value [-Wreturn-type]
                return;
                ^
copy.c:50:7: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration]
                if (access(unixfile,0) == 0) {
                    ^
copy.c:52:4: error: non-void function 'copy' should return a value [-Wreturn-type]
                        return;
                        ^
copy.c:56:4: error: non-void function 'copy' should return a value [-Wreturn-type]
                        return;
                        ^
copy.c:60:3: warning: implicit declaration of function 'copybin' is invalid in C99 [-Wimplicit-function-declaration]
                copybin(cid, ufid);
                ^
copy.c:62:3: warning: implicit declaration of function 'copytext' is invalid in C99 [-Wimplicit-function-declaration]
                copytext(cid, ufid);
                ^
copy.c:63:2: warning: implicit declaration of function 'c_close' is invalid in C99 [-Wimplicit-function-declaration]
        c_close(cid);
        ^
copy.c:68:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
copytext(cid, ufid)
^~~~~~~~
copy.c:74:15: warning: implicit declaration of function 'c_fillbuf' is invalid in C99 [-Wimplicit-function-declaration]
        while (((c = c_getc(cid)) != EOF) && (c != CTRL_Z)) {
                     ^
./cpmfio.h:21:59: note: expanded from macro 'c_getc'
#define c_getc(p)       (--(p)->c_cnt>=0 ? *(p)->c_buf++&0377 : c_fillbuf(p))
                                                                ^
copy.c:78:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
        if (isatty(fileno(ufid))) 
            ^
copy.c:84:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
copybin(cid, ufid)
^~~~~~~
12 warnings and 5 errors generated.
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/emulators/cpmtools/work/cpm/src
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/emulators/cpmtools/work/cpm
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/cpmtools
===>  Cleaning for cpmtools-1.1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401292319.s0TNJ4X9052754>