Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2019 06:30:14 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-arm64-default][graphics/xsvg] Failed for xsvg-0.2.1_7 in build
Message-ID:  <201904050630.x356UEcd067962@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:     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://thunderx1.nyi.freebsd.org/data/head-arm64-default/p497373_s345741/logs/xsvg-0.2.1_7.log
Build URL:      http://thunderx1.nyi.freebsd.org/build.html?mastername=head-arm64-default&build=p497373_s345741
Log:

=>> Building graphics/xsvg
build started at Fri Apr  5 06:29:48 UTC 2019
port directory: /usr/ports/graphics/xsvg
package name: xsvg-0.2.1_7
building for: FreeBSD head-arm64-default-job-23 13.0-CURRENT FreeBSD 13.0-CURRENT 1300017 arm64
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: 1300002
Jail OSVERSION: 1300017
Job Id: 23




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



---Begin Environment---
SHELL=/bin/csh
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
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-3-g02cc9753
MASTERMNT=/usr/local/poudriere/data/.m/head-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-arm64-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="cc" CFLAGS="-O2 -pipe  -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/local/lib -lX11 -lXrender " LIBS=""  CXX="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---
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

# 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_921dbbb2=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: aarch64-unknown-freebsd13.0 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-freebsd13.0 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-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
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---
--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   >============================
===========================================================================
=======================<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-arm64-default-job-23] Installing pkg-1.10.5_5...
[head-arm64-default-job-23] 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
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by xsvg-0.2.1_7 for building
=> SHA256 Checksum OK for xsvg-0.2.1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by xsvg-0.2.1_7 for building
===>  Extracting for xsvg-0.2.1_7
=> SHA256 Checksum OK for xsvg-0.2.1.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for xsvg-0.2.1_7
===========================================================================
=======================<phase: build-depends  >============================
===>   xsvg-0.2.1_7 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.6.0,1.txz
[head-arm64-default-job-23] Installing pkgconf-1.6.0,1...
[head-arm64-default-job-23] Extracting pkgconf-1.6.0,1: .......... done
===>   xsvg-0.2.1_7 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of xsvg-0.2.1_7
===>   xsvg-0.2.1_7 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found
===>   Installing existing package /packages/All/libX11-1.6.7,1.txz
[head-arm64-default-job-23] Installing libX11-1.6.7,1...
<snip>
[head-arm64-default-job-23] `-- Installing cairo-1.16.0,2...
[head-arm64-default-job-23] |   `-- Installing fontconfig-2.12.6,1...
[head-arm64-default-job-23] |   | `-- Installing expat-2.2.6_1...
[head-arm64-default-job-23] |   | `-- Extracting expat-2.2.6_1: .......... done
[head-arm64-default-job-23] |   | `-- Installing freetype2-2.9.1...
[head-arm64-default-job-23] |   | `-- Extracting freetype2-2.9.1: .......... done
[head-arm64-default-job-23] |   `-- 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-arm64-default-job-23] |   `-- Installing gettext-runtime-0.19.8.1_2...
[head-arm64-default-job-23] |   | `-- Installing indexinfo-0.3.1...
[head-arm64-default-job-23] |   | `-- Extracting indexinfo-0.3.1: .... done
[head-arm64-default-job-23] |   `-- Extracting gettext-runtime-0.19.8.1_2: .......... done
[head-arm64-default-job-23] |   `-- Installing glib-2.56.3_3,1...
[head-arm64-default-job-23] |   | `-- Installing libffi-3.2.1_3...
[head-arm64-default-job-23] |   | `-- Extracting libffi-3.2.1_3: .......... done
[head-arm64-default-job-23] |   | `-- Installing libiconv-1.14_11...
[head-arm64-default-job-23] |   | `-- Extracting libiconv-1.14_11: .......... done
[head-arm64-default-job-23] |   | `-- Installing pcre-8.43...
[head-arm64-default-job-23] |   | `-- Extracting pcre-8.43: .......... done
[head-arm64-default-job-23] |   | `-- Installing python27-2.7.16...
[head-arm64-default-job-23] |   |   `-- Installing readline-7.0.5...
[head-arm64-default-job-23] |   |   `-- Extracting readline-7.0.5: .......... done
[head-arm64-default-job-23] |   | `-- Extracting python27-2.7.16: .......... done
[head-arm64-default-job-23] |   `-- Extracting glib-2.56.3_3,1: .......... done
No schema files found: doing nothing.
[head-arm64-default-job-23] |   `-- Installing libXext-1.3.3_3,1...
[head-arm64-default-job-23] |   `-- Extracting libXext-1.3.3_3,1: .......... done
[head-arm64-default-job-23] |   `-- Installing mesa-libs-18.3.2...
[head-arm64-default-job-23] |   | `-- Installing libXdamage-1.1.4_5...
[head-arm64-default-job-23] |   |   `-- Installing libXfixes-5.0.3_2...
[head-arm64-default-job-23] |   |   `-- Extracting libXfixes-5.0.3_2: .......... done
[head-arm64-default-job-23] |   | `-- Extracting libXdamage-1.1.4_5: ......... done
[head-arm64-default-job-23] |   | `-- Installing libXxf86vm-1.1.4_3...
[head-arm64-default-job-23] |   | `-- Extracting libXxf86vm-1.1.4_3: .......... done
[head-arm64-default-job-23] |   | `-- Installing libdrm-2.4.96,1...
[head-arm64-default-job-23] |   |   `-- Installing libpciaccess-0.13.5...
[head-arm64-default-job-23] |   |   | `-- Installing pciids-20190213...
[head-arm64-default-job-23] |   |   | `-- Extracting pciids-20190213: ..... done
[head-arm64-default-job-23] |   |   `-- Extracting libpciaccess-0.13.5: ......... done
[head-arm64-default-job-23] |   | `-- Extracting libdrm-2.4.96,1: .......... done
[head-arm64-default-job-23] |   | `-- Installing libxshmfence-1.2_4...
[head-arm64-default-job-23] |   | `-- Extracting libxshmfence-1.2_4: ......... done
[head-arm64-default-job-23] |   | `-- Installing wayland-1.16.0_1...
[head-arm64-default-job-23] |   |   `-- Installing libepoll-shim-0.0.20181229...
[head-arm64-default-job-23] |   |   `-- Extracting libepoll-shim-0.0.20181229: ......... done
[head-arm64-default-job-23] |   | `-- Extracting wayland-1.16.0_1: .......... done
[head-arm64-default-job-23] |   `-- Extracting mesa-libs-18.3.2: .......... done
[head-arm64-default-job-23] |   `-- Installing pixman-0.34.0_1...
[head-arm64-default-job-23] |   `-- Extracting pixman-0.34.0_1: .......... done
[head-arm64-default-job-23] |   `-- Installing png-1.6.36...
[head-arm64-default-job-23] |   `-- Extracting png-1.6.36: .......... done
[head-arm64-default-job-23] `-- Extracting cairo-1.16.0,2: .......... done
[head-arm64-default-job-23] `-- Installing jpeg-turbo-2.0.2...
[head-arm64-default-job-23] `-- Extracting jpeg-turbo-2.0.2: .......... done
[head-arm64-default-job-23] `-- Installing libsvg-0.1.4_8...
[head-arm64-default-job-23] `-- Extracting libsvg-0.1.4_8: ...... done
[head-arm64-default-job-23] 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... 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 cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking dependency style of cc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking how to run the C preprocessor... 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
/usr/bin/make  all-recursive
Making all in .
Making all in src
if 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 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 long (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.
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 cos
ld: error: /usr/local/lib/libsvg-cairo.so: undefined reference to sin
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?201904050630.x356UEcd067962>