Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2019 00:29:36 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 113arm64-quarterly][graphics/graphviz] Failed for graphviz-2.42.2_2 in build
Message-ID:  <201911150029.xAF0Ta7e015362@thunderx1.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:     dinoex@FreeBSD.org
Last committer: dinoex@FreeBSD.org
Ident:          $FreeBSD: branches/2019Q4/graphics/graphviz/Makefile 513126 2019-09-28 12:59:42Z dinoex $
Log URL:        http://thunderx1.nyi.freebsd.org/data/113arm64-quarterly/517398/logs/graphviz-2.42.2_2.log
Build URL:      http://thunderx1.nyi.freebsd.org/build.html?mastername=113arm64-quarterly&build=517398
Log:

=>> Building graphics/graphviz
build started at Fri Nov 15 00:12:34 UTC 2019
port directory: /usr/ports/graphics/graphviz
package name: graphviz-2.42.2_2
building for: FreeBSD 113arm64-quarterly-job-20 11.3-RELEASE-p5 FreeBSD 11.3-RELEASE-p5 1103000 arm64
maintained by: dinoex@FreeBSD.org
Makefile ident:      $FreeBSD: branches/2019Q4/graphics/graphviz/Makefile 513126 2019-09-28 12:59:42Z dinoex $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300002
Jail OSVERSION: 1103000
Job Id: 20

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1103000
UNAME_v=FreeBSD 11.3-RELEASE-p5 1103000
UNAME_r=11.3-RELEASE-p5
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/113arm64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/113arm64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=113arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/113arm64-quarterly/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for graphviz-2.42.2_2:
     XPM=on: XPM pixmap image format support
     DIGCOLA=on: neato layout engine with DIGCOLA features
     IPSEPCOLA=on: neato layout engine with IPSEPCOLA features
     ICONV=on: Encoding conversion support via iconv
     NLS=on: Native Language Support
     PANGOCAIRO=on: pangocairo support
     POPPLER=off: PDF and PS file support via poppler
     ANN=off: ANN edge bundling support
     GTS=off: GNU Triangulated Surface Library support
     GTK2=off: gtk2 plugin (requires PANGOCAIRO)
     GDK=off: gdk library support (requires GTK2)
     GDK_PIXBUF=off: gdk pixbuf support (requires GDK)
     GNOMEUI=off: libgnomeui support
     SMYRNA=off: SMYRNA graph viewer (requires GTK2)
     DEVIL=off: devil plugin
     GHOSTSCRIPT=off: ghostscript plugin (requires PANGOCAIRO)
     PERL=off: Perl bindings (swig)
     PHP=off: PHP bindings (swig)
     PYTHON=off: Python bindings (swig)
     RUBY=off: Ruby bindings (swig)
     LUA=off: Lua bindings (swig)
     TCL=off: TCL bindings (swig)
     TK=off: TK toolkit support
     GUILE=off: Guile bindings (swig)
     NVTHREADS=on: Link with threads (needed for nvidia)
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
dinoex@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--without-ann --without-devil --with-digcola --without-gdk --without-gdk-pixbuf --with-ghostscript=no --without-gnomeui --without-gtk --without-gts --disable-guile --with-ipsepcola --disable-lua --enable-nls --with-pangocairo --disable-perl --disable-php --without-poppler --disable-python --disable-ruby --without-smyrna --without-glade --without-gtkgl --without-gtkglext --with-glut=no --disable-tcl --with-x --program-transform-name="s/x/x/"  --enable-dependency-tracking  --enable-r=no  --with-freetype2=yes  --with-libgd  --with-webp  --with-fontconfigincludedir=/usr/local/include  --with-fontconfiglibdir=/usr/local/lib  --with-tclsh=/usr/local/bin/tclsh8.6  --without-rsvg  --with-qt=no  --disable-io --disable-ocaml --disable-java  --disable-sharp --with-iconvlibdir=/usr/lib --with-iconvincludedir=/usr/include --disable-swig --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
SWIG="/nonexistent" MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/graphviz/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/graphviz/work  HOME=/wrkdirs/usr/ports/graphics/graphviz/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/graphviz/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
EXPR_COMPAT=yes XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/graphviz/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/graphviz/work  HOME=/wrkdirs/usr/ports/graphics/graphviz/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/graphviz/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG -isystem /usr/local/include"  LDFLAGS=" -lpthread -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include "  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--
PORTVERSION="2.42.2" PORTDOCS="" PORTEXAMPLES="" ANN="@comment " NO_ANN="" DEVIL="@comment " NO_DEVIL="" DIGCOLA="" NO_DIGCOLA="@comment " DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " GDK="@comment " NO_GDK="" GDK_PIXBUF="@comment " NO_GDK_PIXBUF="" GHOSTSCRIPT="@comment " NO_GHOSTSCRIPT="" GNOMEUI="@comment " NO_GNOMEUI="" GTK2="@comment " NO_GTK2="" GTS="@comment " NO_GTS="" GUILE="@comment " NO_GUILE="" ICONV="" NO_ICONV="@comment " IPSEPCOLA="" NO_IPSEPCOLA="@comment " LUA="@comment " NO_LUA="" NLS="" NO_NLS="@comment " NVTHREADS="" NO_NVTHREADS="@comment " PANGOCAIRO="" NO_PANGOCAIRO="@comment " PERL="@comment " NO_PERL="" PHP="@comment " NO_PHP="" POPPLER="@comment " NO_POPPLER="" PYTHON="@comment " NO_PYTHON="" RUBY="@comment " NO_RUBY="" SMYRNA="@comment " NO_SMYRNA="" TCL="@comment " NO_TCL="" TK="@comment " NO_TK="" XPM="" NO_XPM="@comment " GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0" OSREL=11.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32
 DIR=lib DOCSDIR="share/doc/graphviz"  EXAMPLESDIR="share/examples/graphviz"  DATADIR="share/graphviz"  WWWDIR="www/graphviz"  ETCDIR="etc/graphviz"
--End PLIST_SUB--

--SUB_LIST--
ANN="@comment " NO_ANN="" DEVIL="@comment " NO_DEVIL="" DIGCOLA="" NO_DIGCOLA="@comment " DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " GDK="@comment " NO_GDK="" GDK_PIXBUF="@comment " NO_GDK_PIXBUF="" GHOSTSCRIPT="@comment " NO_GHOSTSCRIPT="" GNOMEUI="@comment " NO_GNOMEUI="" GTK2="@comment " NO_GTK2="" GTS="@comment " NO_GTS="" GUILE="@comment " NO_GUILE="" ICONV="" NO_ICONV="@comment " IPSEPCOLA="" NO_IPSEPCOLA="@comment " LUA="@comment " NO_LUA="" NLS="" NO_NLS="@comment " NVTHREADS="" NO_NVTHREADS="@comment " PANGOCAIRO="" NO_PANGOCAIRO="@comment " PERL="@comment " NO_PERL="" PHP="@comment " NO_PHP="" POPPLER="@comment " NO_POPPLER="" PYTHON="@comment " NO_PYTHON="" RUBY="@comment " NO_RUBY="" SMYRNA="@comment " NO_SMYRNA="" TCL="@comment " NO_TCL="" TK="@comment " NO_TK="" XPM="" NO_XPM="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/graphviz DOCSDIR=/usr/local/share/doc/graphviz EXAMPLESDIR=/usr/local/share/examples/graphviz  WWWD
 IR=/usr/local/www/graphviz ETCDIR=/usr/local/etc/graphviz
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /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 ####
_CCVERSION_921dbbb2=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: aarch64-unknown-freebsd11.3 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: aarch64-unknown-freebsd11.3 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: aarch64-unknown-freebsd11.3 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=11.3-RELEASE-p5
OSREL=11.3
OSVERSION=1103000
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=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)  1048576
stack size              (kbytes, -s)  1048576
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
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License EPL accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   graphviz-2.42.2_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.12.0.txz
[113arm64-quarterly-job-20] Installing pkg-1.12.0...
[113arm64-quarterly-job-20] Extracting pkg-1.12.0: .......... done
===>   graphviz-2.42.2_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of graphviz-2.42.2_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License EPL accepted by the user
===> Fetching all distfiles required by graphviz-2.42.2_2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License EPL accepted by the user
===> Fetching all distfiles required by graphviz-2.42.2_2 for building
=> SHA256 Checksum OK for graphviz-2.42.2.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License EPL accepted by the user
===> Fetching all distfiles required by graphviz-2.42.2_2 for building
===>  Extracting for graphviz-2.42.2_2
<snip>
gv2gml.c:33:14: note: previous declaration is here
static FILE *outFile;
             ^
gv2gml.c:425:43: warning: declaration shadows a variable in the global scope [-Wshadow]
emitNode (Agraph_t* G, Agnode_t* n, FILE* outFile)
                                          ^
gv2gml.c:33:14: note: previous declaration is here
static FILE *outFile;
             ^
gv2gml.c:441:49: warning: declaration shadows a variable in the global scope [-Wshadow]
emitEdgeAttrs (Agraph_t* G, Agedge_t* ep, FILE* outFile, int ix)
                                                ^
gv2gml.c:33:14: note: previous declaration is here
static FILE *outFile;
             ^
gv2gml.c:605:43: warning: declaration shadows a variable in the global scope [-Wshadow]
emitEdge (Agraph_t* G, Agedge_t* e, FILE* outFile)
                                          ^
gv2gml.c:33:14: note: previous declaration is here
static FILE *outFile;
             ^
gv2gml.c:615:36: warning: declaration shadows a variable in the global scope [-Wshadow]
emitGraphAttrs (Agraph_t* G, FILE* outFile)
                                   ^
gv2gml.c:33:14: note: previous declaration is here
static FILE *outFile;
             ^
gv2gml.c:628:30: warning: declaration shadows a variable in the global scope [-Wshadow]
gv_to_gml(Agraph_t* G, FILE* outFile)
                             ^
gv2gml.c:33:14: note: previous declaration is here
static FILE *outFile;
             ^
12 warnings generated.
/bin/sh ../../libtool  --tag=CC   --mode=link cc  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math  -lpthread -fstack-protector-strong -L/usr/local/lib  -L/usr/local/lib -o gv2gml gv2gml.o ../../lib/ingraphs/libingraphs_C.la ../../lib/cgraph/libcgraph.la 
libtool: link: cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -fstack-protector-strong -o .libs/gv2gml gv2gml.o  -L/usr/local/lib ../../lib/ingraphs/.libs/libingraphs_C.a ../../lib/cgraph/.libs/libcgraph.so /wrkdirs/usr/ports/graphics/graphviz/work/graphviz-2.42.2/lib/cdt/.libs/libcdt.so -lpthread -Wl,-rpath -Wl,/usr/local/lib
depbase=`echo graphml2gv.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../lib/cgraph -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -I../../lib/pack -I../../lib/neatogen -I../../lib/sparse -I../../lib/gvc -I../../lib/common -I../../lib/ingraphs  -DLIBICONV_PLUG -isystem /usr/local/include -I/usr/local/include  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT graphml2gv.o -MD -MP -MF $depbase.Tpo -c -o graphml2gv.o graphml2gv.c &&\
mv -f $depbase.Tpo $depbase.Po
graphml2gv.c:66:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    slist *sp = (slist *) N_NEW(sz, char);
                          ~~~~~~^~~~~~~~~
graphml2gv.c:59:33: note: expanded from macro 'N_NEW'
#define N_NEW(n,t)  (t*)malloc((n)*sizeof(t))
                                ^ ~
graphml2gv.c:65:14: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
    int sz = ROUND2(sizeof(slist) + strlen(s), sizeof(void *));
        ~~   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
graphml2gv.c:61:38: note: expanded from macro 'ROUND2'
#define ROUND2(x,y) (((x) + ((y)-1)) & ~((y)-1))
                     ~~~~~~~~~~~~~~~~^~~~~~~~~~
graphml2gv.c:132:35: warning: unused parameter 'd' [-Wunused-parameter]
static namev_t *make_nitem(Dt_t * d, namev_t * objp, Dtdisc_t * disc)
                                  ^
graphml2gv.c:132:65: warning: unused parameter 'disc' [-Wunused-parameter]
static namev_t *make_nitem(Dt_t * d, namev_t * objp, Dtdisc_t * disc)
                                                                ^
graphml2gv.c:140:31: warning: unused parameter 'd' [-Wunused-parameter]
static void free_nitem(Dt_t * d, namev_t * np, Dtdisc_t * disc)
                              ^
graphml2gv.c:140:59: warning: unused parameter 'disc' [-Wunused-parameter]
static void free_nitem(Dt_t * d, namev_t * np, Dtdisc_t * disc)
                                                          ^
graphml2gv.c:240:28: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
    N = agnode(G, (char *) name, 1);
                           ^
graphml2gv.c:249:35: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
    tailNode = agnode(G, (char *) tail, 1);
                                  ^
graphml2gv.c:250:35: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
    headNode = agnode(G, (char *) head, 1);
                                  ^
graphml2gv.c:306:71: warning: unused parameter 'ud' [-Wunused-parameter]
setGlobalNodeAttr(Agraph_t * g, char *name, char *value, userdata_t * ud)
                                                                      ^
graphml2gv.c:356:71: warning: unused parameter 'ud' [-Wunused-parameter]
setGlobalEdgeAttr(Agraph_t * g, char *name, char *value, userdata_t * ud)
                                                                      ^
graphml2gv.c:451:26: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
            g = agopen((char *) id, dir, &AgDefaultDisc);
                                ^
graphml2gv.c:455:31: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
            if (isAnonGraph((char *) id)) {
                                     ^
graphml2gv.c:460:32: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
            subg = agsubg(G, (char *) id, 1);
                                      ^
graphml2gv.c:492:42: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
        tname = mapLookup(ud->nameMap, (char *) tail);
                                                ^
graphml2gv.c:496:42: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
        tname = mapLookup(ud->nameMap, (char *) head);
                                                ^
graphml2gv.c:501:87: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
            fprintf(stderr,"edge source %s target %s outside graph, ignored\n",(char*)tail,(char*)head);
                                                                                      ^
graphml2gv.c:501:99: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
            fprintf(stderr,"edge source %s target %s outside graph, ignored\n",(char*)tail,(char*)head);
                                                                                                  ^
graphml2gv.c:516:46: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
                setEdgeAttr(E, GRAPHML_ID, (char *) atts[pos], ud);
                                                    ^
graphml2gv.c:551:8: warning: declaration shadows a local variable [-Wshadow]
        char *name;
              ^
graphml2gv.c:527:59: note: previous declaration is here
static void endElementHandler(void *userData, const char *name)
                                                          ^
graphml2gv.c:558:39: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
            int len = sizeof(GRAPHML_COMP) + agxblen(&ud->xml_attr_name);
                                           ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./../lib/cgraph/agxbuf.h:95:31: note: expanded from macro 'agxblen'
#define agxblen(X) (((X)->ptr)-((X)->buf))
                    ~~~~~~~~~~^~~~~~~~~~~
graphml2gv.c:562:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
                name = dynbuf = N_NEW(len, char);
                                ~~~~~~^~~~~~~~~~
graphml2gv.c:59:33: note: expanded from macro 'N_NEW'
#define N_NEW(n,t)  (t*)malloc((n)*sizeof(t))
                                ^ ~
graphml2gv.c:558:37: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
            int len = sizeof(GRAPHML_COMP) + agxblen(&ud->xml_attr_name);
                ~~~   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
graphml2gv.c:603:44: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
        agxbput_n(&ud->composite_buffer, (char *) s, length);
                                                  ^
graphml2gv.c:603:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        agxbput_n(&ud->composite_buffer, (char *) s, length);
        ~~~~~~~~~                                    ^~~~~~
graphml2gv.c:607:45: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
    agxbput_n(&ud->xml_attr_value, (char *) s, length);
                                            ^
graphml2gv.c:607:48: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    agxbput_n(&ud->xml_attr_value, (char *) s, length);
    ~~~~~~~~~                                  ^~~~~~
graphml2gv.c:610:31: warning: declaration shadows a variable in the global scope [-Wshadow]
Agraph_t *graphml_to_gv(char* gname, FILE * graphmlFile, int* rv)
                              ^
graphml2gv.c:50:14: note: previous declaration is here
static char* gname = "";
             ^
graphml2gv.c:610:11: warning: no previous prototype for function 'graphml_to_gv' [-Wmissing-prototypes]
Agraph_t *graphml_to_gv(char* gname, FILE * graphmlFile, int* rv)
          ^
graphml2gv.c:629:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        if (XML_Parse(parser, buf, len, done) == XML_STATUS_ERROR) {
            ~~~~~~~~~              ^~~
graphml2gv.c:773:15: warning: declaration shadows a variable in the global scope [-Wshadow]
    Agraph_t *G;
              ^
graphml2gv.c:119:18: note: previous declaration is here
static Agraph_t *G;             /* Current graph */
                 ^
31 warnings generated.
/bin/sh ../../libtool  --tag=CC   --mode=link cc  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math  -lpthread -fstack-protector-strong -L/usr/local/lib  -L/usr/local/lib -o graphml2gv graphml2gv.o ../../lib/ingraphs/libingraphs_C.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la  -lexpat  
libtool: link: cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -fstack-protector-strong -o .libs/graphml2gv graphml2gv.o  -L/usr/local/lib ../../lib/ingraphs/.libs/libingraphs_C.a ../../lib/cgraph/.libs/libcgraph.so /wrkdirs/usr/ports/graphics/graphviz/work/graphviz-2.42.2/lib/cdt/.libs/libcdt.so ../../lib/cdt/.libs/libcdt.so -lexpat -lpthread -Wl,-rpath -Wl,/usr/local/lib
groff -Tps -man ./gc.1 | ps2pdf - - >gc.1.pdf
groff -Tps -man ./gvcolor.1 | ps2pdf - - >gvcolor.1.pdf
groff -Tps -man ./gxl2gv.1 | ps2pdf - - >gxl2gv.1.pdf
groff -Tps -man ./acyclic.1 | ps2pdf - - >acyclic.1.pdf
groff -Tps -man ./nop.1 | ps2pdf - - >nop.1.pdf
groff -Tps -man ./ccomps.1 | ps2pdf - - >ccomps.1.pdf
groff -Tps -man ./sccmap.1 | ps2pdf - - >sccmap.1.pdf
groff -Tps -man ./tred.1 | ps2pdf - - >tred.1.pdf
groff -Tps -man ./unflatten.1 | ps2pdf - - >unflatten.1.pdf
groff -Tps -man ./gvpack.1 | ps2pdf - - >gvpack.1.pdf
groff -Tps -man ./dijkstra.1 | ps2pdf - - >dijkstra.1.pdf
groff -Tps -man ./bcomps.1 | ps2pdf - - >bcomps.1.pdf
groff -Tps -man -e -t mm2gv.1 | ps2pdf - - >mm2gv.1.pdf
groff -Tps -man ./gvgen.1 | ps2pdf - - >gvgen.1.pdf
groff -Tps -man gml2gv.1 | ps2pdf - - >gml2gv.1.pdf
groff -Tps -man ./graphml2gv.1 | ps2pdf - - >graphml2gv.1.pdf
gmake[4]: Leaving directory '/wrkdirs/usr/ports/graphics/graphviz/work/graphviz-2.42.2/cmd/tools'
Making all in gvpr
gmake[4]: Entering directory '/wrkdirs/usr/ports/graphics/graphviz/work/graphviz-2.42.2/cmd/gvpr'
Making all in lib
gmake[5]: Entering directory '/wrkdirs/usr/ports/graphics/graphviz/work/graphviz-2.42.2/cmd/gvpr/lib'
gmake[5]: Nothing to be done for 'all'.
gmake[5]: Leaving directory '/wrkdirs/usr/ports/graphics/graphviz/work/graphviz-2.42.2/cmd/gvpr/lib'
gmake[5]: Entering directory '/wrkdirs/usr/ports/graphics/graphviz/work/graphviz-2.42.2/cmd/gvpr'
cc -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/gvpr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/cgraph -I../../lib/cdt -DLIBICONV_PLUG -isystem /usr/local/include -I/usr/local/include  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT gvpr-gvprmain.o -MD -MP -MF .deps/gvpr-gvprmain.Tpo -c -o gvpr-gvprmain.o `test -f 'gvprmain.c' || echo './'`gvprmain.c
mv -f .deps/gvpr-gvprmain.Tpo .deps/gvpr-gvprmain.Po
/bin/sh ../../libtool  --tag=CC   --mode=link cc  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math  -lpthread -fstack-protector-strong -L/usr/local/lib  -L/usr/local/lib -o gvpr gvpr-gvprmain.o ../../lib/gvpr/libgvpr.la 
libtool: link: cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -fstack-protector-strong -o .libs/gvpr gvpr-gvprmain.o  -L/usr/local/lib ../../lib/gvpr/.libs/libgvpr.so /wrkdirs/usr/ports/graphics/graphviz/work/graphviz-2.42.2/lib/cgraph/.libs/libcgraph.so /wrkdirs/usr/ports/graphics/graphviz/work/graphviz-2.42.2/lib/cdt/.libs/libcdt.so -lm -lpthread -Wl,-rpath -Wl,/usr/local/lib
ld: error: ../../lib/gvpr/.libs/libgvpr.so: undefined reference to sbrk
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[5]: *** [Makefile:728: gvpr] Error 1
gmake[5]: Leaving directory '/wrkdirs/usr/ports/graphics/graphviz/work/graphviz-2.42.2/cmd/gvpr'
gmake[4]: *** [Makefile:878: all-recursive] Error 1
gmake[4]: Leaving directory '/wrkdirs/usr/ports/graphics/graphviz/work/graphviz-2.42.2/cmd/gvpr'
gmake[3]: *** [Makefile:577: all-recursive] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/graphics/graphviz/work/graphviz-2.42.2/cmd'
gmake[2]: *** [Makefile:826: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/graphviz/work/graphviz-2.42.2'
gmake[1]: *** [Makefile:634: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/graphviz/work/graphviz-2.42.2'
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/graphviz



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