Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Apr 2019 18:47:51 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv7-default][graphics/xsvg] Failed for xsvg-0.2.1_7 in build
Message-ID:  <201904041847.x34Ilp9x062992@beefy16.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:     gnome@FreeBSD.org
Last committer: tijl@FreeBSD.org
Ident:          $FreeBSD: head/graphics/xsvg/Makefile 428135 2016-12-08 16:39:11Z tijl $
Log URL:        http://beefy16.nyi.freebsd.org/data/head-armv7-default/p497543_s345783/logs/xsvg-0.2.1_7.log
Build URL:      http://beefy16.nyi.freebsd.org/build.html?mastername=head-armv7-default&build=p497543_s345783
Log:

=>> Building graphics/xsvg
build started at Thu Apr  4 18:47:28 UTC 2019
port directory: /usr/ports/graphics/xsvg
package name: xsvg-0.2.1_7
building for: FreeBSD head-armv7-default-job-11 13.0-CURRENT FreeBSD 13.0-CURRENT 1300017 arm
maintained by: gnome@FreeBSD.org
Makefile ident:      $FreeBSD: head/graphics/xsvg/Makefile 428135 2016-12-08 16:39:11Z tijl $
Poudriere version: 3.2.8-3-g02cc9753
Host OSVERSION: 1300009
Jail OSVERSION: 1300017
Job Id: 11




!!! Jail is newer than host. (Jail: 1300017, Host: 1300009) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv7
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1300017
UNAME_v=FreeBSD 13.0-CURRENT 1300017
UNAME_r=13.0-CURRENT
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-3-g02cc9753
MASTERMNT=/usr/local/poudriere/data/.m/head-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-armv7-default/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---
---End OPTIONS List---

--MAINTAINER--
gnome@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/xsvg/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/xsvg/work  HOME=/wrkdirs/usr/ports/graphics/xsvg/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/xsvg/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin 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/graphics/xsvg/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/xsvg/work  HOME=/wrkdirs/usr/ports/graphics/xsvg/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/xsvg/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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/local/lib -lX11 -lXrender " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -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=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xsvg"  EXAMPLESDIR="share/examples/xsvg"  DATADIR="share/xsvg"  WWWDIR="www/xsvg"  ETCDIR="etc/xsvg"
--End PLIST_SUB--

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

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv7
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

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--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_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300017
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---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
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   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   xsvg-0.2.1_7 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[head-armv7-default-job-11] Installing pkg-1.10.5_5...
[head-armv7-default-job-11] Extracting pkg-1.10.5_5: .......... done
===>   xsvg-0.2.1_7 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of xsvg-0.2.1_7
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by xsvg-0.2.1_7 for building
===========================================================================
<snip>
[head-armv7-default-job-11] |   `-- Installing fontconfig-2.12.6,1...
[head-armv7-default-job-11] |   | `-- Installing expat-2.2.6_1...
[head-armv7-default-job-11] |   | `-- Extracting expat-2.2.6_1: .......... done
[head-armv7-default-job-11] |   | `-- Installing freetype2-2.9.1...
[head-armv7-default-job-11] |   | `-- Extracting freetype2-2.9.1: .......... done
[head-armv7-default-job-11] |   `-- Extracting fontconfig-2.12.6,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
[head-armv7-default-job-11] |   `-- Installing gettext-runtime-0.19.8.1_2...
[head-armv7-default-job-11] |   | `-- Installing indexinfo-0.3.1...
[head-armv7-default-job-11] |   | `-- Extracting indexinfo-0.3.1: .... done
[head-armv7-default-job-11] |   `-- Extracting gettext-runtime-0.19.8.1_2: .......... done
[head-armv7-default-job-11] |   `-- Installing glib-2.56.3_3,1...
[head-armv7-default-job-11] |   | `-- Installing libffi-3.2.1_3...
[head-armv7-default-job-11] |   | `-- Extracting libffi-3.2.1_3: .......... done
[head-armv7-default-job-11] |   | `-- Installing libiconv-1.14_11...
[head-armv7-default-job-11] |   | `-- Extracting libiconv-1.14_11: .......... done
[head-armv7-default-job-11] |   | `-- Installing pcre-8.43...
[head-armv7-default-job-11] |   | `-- Extracting pcre-8.43: .......... done
[head-armv7-default-job-11] |   | `-- Installing python27-2.7.16...
[head-armv7-default-job-11] |   |   `-- Installing readline-7.0.5...
[head-armv7-default-job-11] |   |   `-- Extracting readline-7.0.5: .......... done
[head-armv7-default-job-11] |   | `-- Extracting python27-2.7.16: .......... done
[head-armv7-default-job-11] |   `-- Extracting glib-2.56.3_3,1: .......... done
No schema files found: doing nothing.
[head-armv7-default-job-11] |   `-- Installing libXext-1.3.3_3,1...
[head-armv7-default-job-11] |   `-- Extracting libXext-1.3.3_3,1: .......... done
[head-armv7-default-job-11] |   `-- Installing mesa-libs-18.3.2...
[head-armv7-default-job-11] |   | `-- Installing libXdamage-1.1.4_5...
[head-armv7-default-job-11] |   |   `-- Installing libXfixes-5.0.3_2...
[head-armv7-default-job-11] |   |   `-- Extracting libXfixes-5.0.3_2: .......... done
[head-armv7-default-job-11] |   | `-- Extracting libXdamage-1.1.4_5: ......... done
[head-armv7-default-job-11] |   | `-- Installing libXxf86vm-1.1.4_3...
[head-armv7-default-job-11] |   | `-- Extracting libXxf86vm-1.1.4_3: .......... done
[head-armv7-default-job-11] |   | `-- Installing libdrm-2.4.96,1...
[head-armv7-default-job-11] |   |   `-- Installing libpciaccess-0.13.5...
[head-armv7-default-job-11] |   |   | `-- Installing pciids-20190326...
[head-armv7-default-job-11] |   |   | `-- Extracting pciids-20190326: ..... done
[head-armv7-default-job-11] |   |   `-- Extracting libpciaccess-0.13.5: ......... done
[head-armv7-default-job-11] |   | `-- Extracting libdrm-2.4.96,1: .......... done
[head-armv7-default-job-11] |   | `-- Installing libxshmfence-1.2_4...
[head-armv7-default-job-11] |   | `-- Extracting libxshmfence-1.2_4: ......... done
[head-armv7-default-job-11] |   | `-- Installing wayland-1.16.0_1...
[head-armv7-default-job-11] |   |   `-- Installing libepoll-shim-0.0.20181229...
[head-armv7-default-job-11] |   |   `-- Extracting libepoll-shim-0.0.20181229: ......... done
[head-armv7-default-job-11] |   | `-- Extracting wayland-1.16.0_1: .......... done
[head-armv7-default-job-11] |   `-- Extracting mesa-libs-18.3.2: .......... done
[head-armv7-default-job-11] |   `-- Installing pixman-0.34.0_1...
[head-armv7-default-job-11] |   `-- Extracting pixman-0.34.0_1: .......... done
[head-armv7-default-job-11] |   `-- Installing png-1.6.36...
[head-armv7-default-job-11] |   `-- Extracting png-1.6.36: .......... done
[head-armv7-default-job-11] `-- Extracting cairo-1.16.0,2: .......... done
[head-armv7-default-job-11] `-- Installing jpeg-turbo-2.0.2...
[head-armv7-default-job-11] `-- Extracting jpeg-turbo-2.0.2: .......... done
[head-armv7-default-job-11] `-- Installing libsvg-0.1.4_8...
[head-armv7-default-job-11] `-- Extracting libsvg-0.1.4_8: ...... done
[head-armv7-default-job-11] Extracting libsvg-cairo-0.1.6_9: ...... done
Message from freetype2-2.9.1:

The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/ft2-toc.html, if documentation was installed).
Message from python27-2.7.16:

===========================================================================

Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

bsddb           databases/py-bsddb
gdbm            databases/py-gdbm
sqlite3         databases/py-sqlite3
tkinter         x11-toolkits/py-tkinter

===========================================================================
===>   xsvg-0.2.1_7 depends on shared library: libsvg-cairo.so - found (/usr/local/lib/libsvg-cairo.so)
===>   Returning to build of xsvg-0.2.1_7
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for xsvg-0.2.1_7
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 gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... /nxb-bin/usr/bin/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 /nxb-bin/usr/bin/cc accepts -g... yes
checking for /nxb-bin/usr/bin/cc option to accept ANSI C... none needed
checking dependency style of /nxb-bin/usr/bin/cc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) /nxb-bin/usr/bin/cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /nxb-bin/usr/bin/cc accepts -g... (cached) yes
checking for /nxb-bin/usr/bin/cc option to accept ANSI C... (cached) none needed
checking dependency style of /nxb-bin/usr/bin/cc... (cached) gcc3
checking how to run the C preprocessor... /nxb-bin/usr/bin/cpp
checking for gawk... (cached) /usr/bin/awk
checking for egrep... grep -E
checking for ANSI C header files... (cached) yes
checking for X... libraries /usr/local/lib, headers /usr/local/include
checking for gethostbyname... (cached) yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for libsvg-cairo >= 0.1.6... yes
checking XSVG_CFLAGS... -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread 
checking XSVG_LIBS... -L/usr/local/lib -lsvg-cairo -lsvg -lpng -ljpeg -lz -lxml2 -lcairo -lpthread 
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===>  Building for xsvg-0.2.1_7
/nxb-bin/usr/bin/make  all-recursive
Making all in .
Making all in src
if /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread  -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing -O2 -pipe  -fno-strict-aliasing -MT args.o -MD -MP -MF ".deps/args.Tpo" -c -o args.o args.c;  then mv -f ".deps/args.Tpo" ".deps/args.Po"; else rm -f ".deps/args.Tpo"; exit 1; fi
args.c:42:19: warning: unused variable 'ARGS_PROGRAM_BUG_ADDRESS' [-Wunused-const-variable]
static const char ARGS_PROGRAM_BUG_ADDRESS[] = "<cworth@cworth.org>";
                  ^
1 warning generated.
if /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread  -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing -O2 -pipe  -fno-strict-aliasing -MT xsvg.o -MD -MP -MF ".deps/xsvg.Tpo" -c -o xsvg.o xsvg.c;  then mv -f ".deps/xsvg.Tpo" ".deps/xsvg.Po"; else rm -f ".deps/xsvg.Tpo"; exit 1; fi
xsvg.c:315:9: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
    if (strcmp(svg_file,"-") == 0)
        ^
xsvg.c:315:9: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
xsvg.c:336:20: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' [-Wimplicit-function-declaration]
    name = malloc (strlen ("xsvg: ") + strlen (svg_file) + 1);
                   ^
xsvg.c:336:20: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
xsvg.c:337:5: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
    strcpy (name, "xsvg: ");
    ^
xsvg.c:337:5: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
xsvg.c:338:5: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
    strcat (name, svg_file);
    ^
xsvg.c:338:5: note: include the header <string.h> or explicitly provide a declaration for 'strcat'
xsvg.c:339:12: warning: implicitly declaring library function 'strrchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration]
    base = strrchr (svg_file, '/');
           ^
xsvg.c:339:12: note: include the header <string.h> or explicitly provide a declaration for 'strrchr'
xsvg.c:179:29: warning: unused variable 'callback_doc' [-Wunused-const-variable]
static const callback_doc_t callback_doc[] = {
                            ^
6 warnings generated.
/nxb-bin/usr/bin/cc -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread  -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing -O2 -pipe  -fno-strict-aliasing  -L/usr/local/lib -lX11 -lXrender -o xsvg -L/usr/local/lib -L/usr/local/lib -lsvg-cairo -lsvg -lpng -ljpeg -lz -lxml2 -lcairo -lpthread args.o xsvg.o  
ld: error: /usr/local/lib/libsvg-cairo.so: undefined reference to atan2
ld: error: /usr/local/lib/libsvg-cairo.so: undefined reference to ceil
ld: error: /usr/local/lib/libsvg-cairo.so: undefined reference to sin
ld: error: /usr/local/lib/libsvg-cairo.so: undefined reference to sincos
ld: error: /usr/local/lib/libsvg.so: undefined reference to tan
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/graphics/xsvg/work/xsvg-0.2.1/src
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/graphics/xsvg/work/xsvg-0.2.1
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/graphics/xsvg/work/xsvg-0.2.1
*** Error code 1

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



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