Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2013 05:06:32 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [REL - head-amd64-default][lang/p2c] Failed for p2c-1.21a_2 in build
Message-ID:  <201309260506.r8Q56W35003236@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:     ports@FreeBSD.org
Last committer: bapt@FreeBSD.org
Ident:          $FreeBSD: head/lang/p2c/Makefile 327741 2013-09-20 19:53:09Z bapt $
Log URL:        http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-26_00h44m15s/logs/p2c-1.21a_2.log
Build URL:      http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-26_00h44m15s
Log:

====>> Building lang/p2c
build started at Thu Sep 26 05:06:29 UTC 2013
port directory: /usr/ports/lang/p2c
building for: FreeBSD head-amd64-default-job-09 10.0-CURRENT FreeBSD 10.0-CURRENT amd64
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/lang/p2c/Makefile 327741 2013-09-20 19:53:09Z bapt $
Poudriere version: 3.1-pre

---Begin Environment---
OSVERSION=1000055
UNAME_v=FreeBSD 10.0-CURRENT
UNAME_r=10.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-amd64-default/ref
PKG_EXT=txz
tpid=1120
POUDRIERE_BUILD_TYPE=bulk
NBPARALLEL=24
PKGNG=1
PKGNAME=p2c-1.21a_2
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
---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 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/p2c
DOCSDIR=/usr/local/share/doc/p2c
EXAMPLESDIR=/usr/local/share/examples/p2c
WWWDIR=/usr/local/www/p2c
ETCDIR=/usr/local/etc/p2c
--End SUB_LIST--

---Begin make.conf---
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 p2c-1.21a_2
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   p2c-1.21a_2 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_5.txz
Installing pkg-1.1.4_5... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of p2c-1.21a_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by p2c-1.21a_2 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by p2c-1.21a_2 for building
=> SHA256 Checksum OK for p2c-1.21alpha2.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by p2c-1.21a_2 for building
===>  Extracting for p2c-1.21a_2
=> SHA256 Checksum OK for p2c-1.21alpha2.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for p2c-1.21a_2
===>  Applying FreeBSD patches for p2c-1.21a_2
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for p2c-1.21a_2
===========================================================================
=======================<phase: build          >============================
===>  Building for p2c-1.21a_2
cd src; make OPT=-O
cc -O    makeproto.c -o makeproto
makeproto.c:137:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
    exit(1);
    ^
makeproto.c:137:5: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
makeproto.c:171:23: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
            typetab = atoi(argv[1] + 2);
                      ^
2 warnings generated.
./makeproto -n -m -h -t16 -a35 -s1 -i trans.c stuff.c out.c comment.c lex.c parse.c decl.c  expr.c pexpr.c funcs.c dir.c hpmods.c citmods.c -o p2c.proto
./makeproto -n -m -h -t16 -a35 -s0 -x trans.c stuff.c out.c comment.c lex.c parse.c decl.c  expr.c pexpr.c funcs.c dir.c hpmods.c citmods.c -o p2c.hdrs
cc -c -O   -DHASDUMPS -DP2C_HOME=\"/usr/local/lib/p2c\" trans.c
In file included from trans.c:23:
./trans.h:1776:42: error: redefinition of 'logf' as different kind of symbol
extern FILE *inf, *outf, *codef, *hdrf, *logf;
                                         ^
./trans.h:1776:42: note: previous definition is here
trans.c:591:10: error: non-object type 'float (float)' is not assignable
    logf = fopen(name, "w");
    ~~~~ ^
trans.c:593:10: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct __sFILE *') [-Wincompatible-pointer-types]
        fprintf(logf, "\nTranslation of %s to %s by p2c %s\n",
                ^~~~
/usr/include/stdio.h:243:31: note: passing argument to parameter here
int      fprintf(FILE * __restrict, const char * __restrict, ...);
                                  ^
trans.c:595:10: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct __sFILE *') [-Wincompatible-pointer-types]
        fprintf(logf, "Translated");
                ^~~~
/usr/include/stdio.h:243:31: note: passing argument to parameter here
int      fprintf(FILE * __restrict, const char * __restrict, ...);
                                  ^
trans.c:598:14: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct __sFILE *') [-Wincompatible-pointer-types]
            fprintf(logf, " by %s", uname);
                    ^~~~
/usr/include/stdio.h:243:31: note: passing argument to parameter here
int      fprintf(FILE * __restrict, const char * __restrict, ...);
                                  ^
trans.c:600:10: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct __sFILE *') [-Wincompatible-pointer-types]
        fprintf(logf, " on %s", ctime(&starting_time));
                ^~~~
/usr/include/stdio.h:243:31: note: passing argument to parameter here
int      fprintf(FILE * __restrict, const char * __restrict, ...);
                                  ^
trans.c:601:10: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct __sFILE *') [-Wincompatible-pointer-types]
        fprintf(logf, "\n\n");
                ^~~~
/usr/include/stdio.h:243:31: note: passing argument to parameter here
int      fprintf(FILE * __restrict, const char * __restrict, ...);
                                  ^
trans.c:614:10: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct __sFILE *') [-Wincompatible-pointer-types]
        fprintf(logf, "\n\n");
                ^~~~
/usr/include/stdio.h:243:31: note: passing argument to parameter here
int      fprintf(FILE * __restrict, const char * __restrict, ...);
                                  ^
trans.c:616:57: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration]
        fprintf(logf, "Total memory used: %ld bytes.\n", (long)sbrk(0));
                                                               ^
trans.c:616:10: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct __sFILE *') [-Wincompatible-pointer-types]
        fprintf(logf, "Total memory used: %ld bytes.\n", (long)sbrk(0));
                ^~~~
/usr/include/stdio.h:243:31: note: passing argument to parameter here
int      fprintf(FILE * __restrict, const char * __restrict, ...);
                                  ^
trans.c:619:10: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct __sFILE *') [-Wincompatible-pointer-types]
        fprintf(logf, "Processed %d source lines in %ld:%ld seconds.\n",
                ^~~~
/usr/include/stdio.h:243:31: note: passing argument to parameter here
int      fprintf(FILE * __restrict, const char * __restrict, ...);
                                  ^
trans.c:623:10: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct __sFILE *') [-Wincompatible-pointer-types]
        fprintf(logf, "\n\nTranslation completed on %s", ctime(&ending_time));
                ^~~~
/usr/include/stdio.h:243:31: note: passing argument to parameter here
int      fprintf(FILE * __restrict, const char * __restrict, ...);
                                  ^
trans.c:624:9: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct __sFILE *') [-Wincompatible-pointer-types]
        fclose(logf);
               ^~~~
/usr/include/stdio.h:235:19: note: passing argument to parameter here
int      fclose(FILE *);
                      ^
trans.c:782:10: warning: implicit truncation from 'int' to bitfield changes value from 65535 to -1 [-Wbitfield-constant-conversion]
                bft.f1 = 0xffff;
                       ^ ~~~~~~
trans.c:952:10: error: non-object type 'float (float)' is not assignable
    logf = NULL;
    ~~~~ ^
12 warnings and 3 errors generated.
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/lang/p2c/work/p2c-1.21alpha-07.Dec.93/src
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/lang/p2c/work/p2c-1.21alpha-07.Dec.93
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/p2c
===>  Cleaning for p2c-1.21a_2



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