Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2017 01:40:12 GMT
From:      pkg-fallout@FreeBSD.org
To:        truckman@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 103i386-default][devel/protobuf-c] Failed for protobuf-c-1.2.1_3 in build
Message-ID:  <201708170140.v7H1eCQ1061318@beefy5.nyi.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:     truckman@FreeBSD.org
Last committer: sunpoet@FreeBSD.org
Ident:          $FreeBSD: head/devel/protobuf-c/Makefile 448041 2017-08-16 15:44:48Z sunpoet $
Log URL:        http://beefy5.nyi.freebsd.org/data/103i386-default/448073/logs/protobuf-c-1.2.1_3.log
Build URL:      http://beefy5.nyi.freebsd.org/build.html?mastername=103i386-default&build=448073
Log:

====>> Building devel/protobuf-c
build started at Thu Aug 17 01:38:06 UTC 2017
port directory: /usr/ports/devel/protobuf-c
building for: FreeBSD 103i386-default-job-06 10.3-RELEASE-p21 FreeBSD 10.3-RELEASE-p21 i386
maintained by: truckman@FreeBSD.org
Makefile ident:      $FreeBSD: head/devel/protobuf-c/Makefile 448041 2017-08-16 15:44:48Z sunpoet $
Poudriere version: 3.1.19-61-ga8829ba9
Host OSVERSION: 1200040
Jail OSVERSION: 1003000
Job Id: 06

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1003000
UNAME_v=FreeBSD 10.3-RELEASE-p21
UNAME_r=10.3-RELEASE-p21
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/103i386-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=protobuf-c-1.2.1_3
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/103i386-default/ref/.p/pool
MASTERNAME=103i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.19-61-ga8829ba9
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for protobuf-c-1.2.1_3:
     DOXYGEN=on: Build documentation with Doxygen
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/devel/protobuf-c/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/protobuf-c/work  HOME=/wrkdirs/usr/ports/devel/protobuf-c/work 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--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/protobuf-c/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/protobuf-c/work  HOME=/wrkdirs/usr/ports/devel/protobuf-c/work TMPDIR="/tmp" NO_PIE=yes WITHOUT_DEBUG_FILES=yes WITHOUT_KERNEL_SYMBOLS=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=10.3
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/protobuf-c"
EXAMPLESDIR="share/examples/protobuf-c"
DATADIR="share/protobuf-c"
WWWDIR="www/protobuf-c"
ETCDIR="etc/protobuf-c"
--End PLIST_SUB--

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=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 ####
ARCH=i386
CONFIGURE_MAX_CMD_LEN=262144
OPSYS=FreeBSD
OSREL=10.3
OSVERSION=1003000
PYTHONBASE=/usr/local
UID=0
_JAVA_OS_LIST_REGEXP=native|linux
_JAVA_VENDOR_LIST_REGEXP=openjdk|oracle|sun
_JAVA_VERSION_LIST_REGEXP=1.6|1.7|1.8|1.6\+|1.7\+|1.8\+
_OSRELEASE=10.3-RELEASE-p21
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---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
sbsize                   (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License BSD2CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   protobuf-c-1.2.1_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.1.txz
[103i386-default-job-06] Installing pkg-1.10.1...
[103i386-default-job-06] Extracting pkg-1.10.1: .......... done
===>   protobuf-c-1.2.1_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of protobuf-c-1.2.1_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by protobuf-c-1.2.1_3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by protobuf-c-1.2.1_3 for building
=> SHA256 Checksum OK for protobuf-c-protobuf-c-v1.2.1_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by protobuf-c-1.2.1_3 for building
===>  Extracting for protobuf-c-1.2.1_3
=> SHA256 Checksum OK for protobuf-c-protobuf-c-v1.2.1_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for protobuf-c-1.2.1_3
===========================================================================
=======================<phase: build-depends  >============================
===>   protobuf-c-1.2.1_3 depends on executable: doxygen - not found
===>   Installing existing package /packages/All/doxygen-1.8.13,2.txz
[103i386-default-job-06] Installing doxygen-1.8.13,2...
[103i386-default-job-06] `-- Installing graphviz-2.40.1_2...
[103i386-default-job-06] |   `-- Installing cairo-1.14.8_1,2...
[103i386-default-job-06] |   | `-- Installing dri2proto-2.8...
[103i386-default-job-06] |   | `-- Extracting dri2proto-2.8: .... done
[103i386-default-job-06] |   | `-- Installing fontconfig-2.12.1,1...
[103i386-default-job-06] |   |   `-- Installing expat-2.2.1...
[103i386-default-job-06] |   |   `-- Extracting expat-2.2.1: .......... done
[103i386-default-job-06] |   |   `-- Installing freetype2-2.8...
[103i386-default-job-06] |   |   `-- Extracting freetype2-2.8: .......... done
[103i386-default-job-06] |   | `-- Extracting fontconfig-2.12.1,1: .......... done
Running fc-cache to build fontconfig cache...
/usr/local/share/fonts: skipping, no such directory
/usr/local/lib/X11/fonts: skipping, no such directory
/var/db/fontconfig: cleaning cache directory
fc-cache: succeeded
[103i386-default-job-06] |   | `-- Installing gettext-runtime-0.19.8.1_1...
[103i386-default-job-06] |   |   `-- Installing indexinfo-0.2.6...
[103i386-default-job-06] |   |   `-- Extracting indexinfo-0.2.6: .... done
[103i386-default-job-06] |   | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[103i386-default-job-06] |   | `-- Installing glib-2.50.2_4,1...
[103i386-default-job-06] |   |   `-- Installing libffi-3.2.1...
[103i386-default-job-06] |   |   `-- Extracting libffi-3.2.1: .......... done
[103i386-default-job-06] |   |   `-- Installing libiconv-1.14_10...
<snip>
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
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 gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... yes
checking for style of include used by gmake... 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 whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking for cc option to accept ISO C99... none needed
checking for cc option to accept ISO Standard C... (cached) none needed
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking whether ln -s works... yes
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 for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether gmake supports nested variables... (cached) yes
checking build system type... i386-portbld-freebsd10.3
checking host system type... i386-portbld-freebsd10.3
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... (cached) 262144
checking how to convert i386-portbld-freebsd10.3 file names to i386-portbld-freebsd10.3 format... func_convert_file_noop
checking how to convert i386-portbld-freebsd10.3 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd10.3 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd10.3 ld.so
checking how to hardcode library paths into programs... immediate
checking for doxygen... doxygen
checking pkg-config is at least version 0.9.0... yes
checking for protobuf... yes
checking google/protobuf/compiler/command_line_interface.h usability... yes
checking google/protobuf/compiler/command_line_interface.h presence... yes
checking for google/protobuf/compiler/command_line_interface.h... yes
checking for protoc... /usr/local/bin/protoc
checking if LD -Wl,--version-script works... yes
checking whether self tests are run under valgrind... no
checking whether to build with code coverage support... no
checking whether byte ordering is bigendian... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating protobuf-c/libprotobuf-c.pc
config.status: creating Doxyfile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

    protobuf-c 1.2.1

        CC:                     cc
        CFLAGS:                 -O2 -pipe  -fstack-protector -fno-strict-aliasing
        CXX:                    c++
        CXXFLAGS:               -O2 -pipe -fstack-protector -fno-strict-aliasing 
        LDFLAGS:                 -L/usr/local/lib -fstack-protector
        LIBS:                   

        prefix:                 /usr/local
        sysconfdir:             ${prefix}/etc
        libdir:                 ${exec_prefix}/lib
        includedir:             ${prefix}/include
        pkgconfigdir:           ${prefix}/libdata/pkgconfig

        bigendian:              no
        protobuf version:       libprotoc 3.4.0

===========================================================================
=======================<phase: build          >============================
===>  Building for protobuf-c-1.2.1_3
gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/protobuf-c/work/protobuf-c-1.2.1'
c++ -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I. -I/usr/local/include  -I/usr/local/include -D_THREAD_SAFE -pthread  -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT protoc-c/protoc_c_protoc_c-c_bytes_field.o -MD -MP -MF protoc-c/.deps/protoc_c_protoc_c-c_bytes_field.Tpo -c -o protoc-c/protoc_c_protoc_c-c_bytes_field.o `test -f 'protoc-c/c_bytes_field.cc' || echo './'`protoc-c/c_bytes_field.cc
In file included from protoc-c/c_bytes_field.cc:63:
./protoc-c/c_bytes_field.h:89:3: error: unknown type name 'map'
  map<string, string> variables_;
  ^
./protoc-c/c_bytes_field.h:89:6: error: expected member name or ';' after declaration specifiers
  map<string, string> variables_;
  ~~~^
protoc-c/c_bytes_field.cc:77:25: error: unknown type name 'map'
                        map<string, string>* variables) {
                        ^
protoc-c/c_bytes_field.cc:77:28: error: expected ')'
                        map<string, string>* variables) {
                           ^
protoc-c/c_bytes_field.cc:76:23: note: to match this '('
void SetBytesVariables(const FieldDescriptor* descriptor,
                      ^
protoc-c/c_bytes_field.cc:78:5: error: use of undeclared identifier 'variables'
  (*variables)["name"] = FieldName(descriptor);
    ^
protoc-c/c_bytes_field.cc:79:5: error: use of undeclared identifier 'variables'
  (*variables)["default"] =
    ^
protoc-c/c_bytes_field.cc:81:5: error: use of undeclared identifier 'variables'
  (*variables)["deprecated"] = FieldDeprecated(descriptor);
    ^
protoc-c/c_bytes_field.cc:89:34: error: use of undeclared identifier 'variables_'
  SetBytesVariables(descriptor, &variables_);
                                 ^
protoc-c/c_bytes_field.cc:90:3: error: use of undeclared identifier 'variables_'
  variables_["default_value"] = descriptor->has_default_value()
  ^
protoc-c/c_bytes_field.cc:101:22: error: use of undeclared identifier 'variables_'
      printer->Print(variables_, "ProtobufCBinaryData $name$$deprecated$;\n");
                     ^
protoc-c/c_bytes_field.cc:105:24: error: use of undeclared identifier 'variables_'
        printer->Print(variables_, "protobuf_c_boolean has_$name$$deprecated$;\n");
                       ^
protoc-c/c_bytes_field.cc:106:22: error: use of undeclared identifier 'variables_'
      printer->Print(variables_, "ProtobufCBinaryData $name$$deprecated$;\n");
                     ^
protoc-c/c_bytes_field.cc:109:22: error: use of undeclared identifier 'variables_'
      printer->Print(variables_, "size_t n_$name$$deprecated$;\n");
                     ^
protoc-c/c_bytes_field.cc:110:22: error: use of undeclared identifier 'variables_'
      printer->Print(variables_, "ProtobufCBinaryData *$name$$deprecated$;\n");
                     ^
protoc-c/c_bytes_field.cc:142:22: error: use of undeclared identifier 'variables_'
      printer->Print(variables_, "$default_value$");
                     ^
protoc-c/c_bytes_field.cc:145:22: error: use of undeclared identifier 'variables_'
      printer->Print(variables_, "0,$default_value$");
                     ^
16 errors generated.
gmake[1]: *** [Makefile:1172: protoc-c/protoc_c_protoc_c-c_bytes_field.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/protobuf-c/work/protobuf-c-1.2.1'
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/protobuf-c



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