Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Sep 2020 07:29:33 GMT
From:      pkg-fallout@FreeBSD.org
To:        garga@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][www/squidguard] Failed for squidGuard-1.4_15 in build
Message-ID:  <202009280729.08S7TXZk072976@beefy17.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:     garga@FreeBSD.org
Last committer: garga@FreeBSD.org
Ident:          $FreeBSD: head/www/squidguard/Makefile 521961 2020-01-03 21:02:41Z garga $
Log URL:        http://beefy17.nyi.freebsd.org/data/head-i386-default/p550235_s366189/logs/squidGuard-1.4_15.log
Build URL:      http://beefy17.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p550235_s366189
Log:

=>> Building www/squidguard
build started at Mon Sep 28 07:29:21 UTC 2020
port directory: /usr/ports/www/squidguard
package name: squidGuard-1.4_15
building for: FreeBSD head-i386-default-job-13 13.0-CURRENT FreeBSD 13.0-CURRENT 1300117 i386
maintained by: garga@FreeBSD.org
Makefile ident:      $FreeBSD: head/www/squidguard/Makefile 521961 2020-01-03 21:02:41Z garga $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300100
Jail OSVERSION: 1300117
Job Id: 13




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



---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1300117
UNAME_v=FreeBSD 13.0-CURRENT 1300117
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-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-i386-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---
===> The following configuration options are available for squidGuard-1.4_15:
     DNS_BL=off: Enable DNS based blacklists
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Install sample blacklists
     LDAP=off: LDAP protocol support
     QUOTE_STRING=off: Add quoted string patch
     STRIP_NTDOMAIN=off: Add options to strip NT domain and krb realm
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
garga@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-db-inc=/usr/local/include/db5  --with-db-lib=/usr/local/lib/db5  --with-sg-config=/usr/local/etc/squid/squidGuard.conf  --with-sg-dbhome=/var/db/squidGuard  --with-sg-logdir=/var/log/squidGuard  --with-squiduser=squid  --exec-prefix=/usr/local --without-ldap --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/squidguard/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/squidguard/work  HOME=/wrkdirs/usr/ports/www/squidguard/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/squidguard/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=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/squidguard/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/squidguard/work  HOME=/wrkdirs/usr/ports/www/squidguard/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/squidguard/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  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include -I/usr/local/include"  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -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--
SQUID_UID='squid' SQUID_GID='squid' LOGDIR="/var/log/squidGuard" PORTDOCS="" PORTEXAMPLES="" DNS_BL="@comment " NO_DNS_BL="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " LDAP="@comment " NO_LDAP="" QUOTE_STRING="@comment " NO_QUOTE_STRING="" STRIP_NTDOMAIN="@comment " NO_STRIP_NTDOMAIN="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/squidGuard"  EXAMPLESDIR="share/examples/squidGuard"  DATADIR="/var/db/squidGuard"  WWWDIR="www/squidGuard"  ETCDIR="etc/squid"
--End PLIST_SUB--

--SUB_LIST--
PORTNAME=squidGuard DNS_BL="@comment " NO_DNS_BL="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " LDAP="@comment " NO_LDAP="" QUOTE_STRING="@comment " NO_QUOTE_STRING="" STRIP_NTDOMAIN="@comment " NO_STRIP_NTDOMAIN="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/var/db/squidGuard DOCSDIR=/usr/local/share/doc/squidGuard EXAMPLESDIR=/usr/local/share/examples/squidGuard  WWWDIR=/usr/local/www/squidGuard ETCDIR=/usr/local/etc/squid
--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
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 ####
_CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-91-g6e042866c30) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-91-g6e042866c30) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-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 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-91-g6e042866c30) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300117
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---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
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 GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   squidGuard-1.4_15 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.15.6.txz
[head-i386-default-job-13] Installing pkg-1.15.6...
[head-i386-default-job-13] Extracting pkg-1.15.6: .......... done
===>   squidGuard-1.4_15 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of squidGuard-1.4_15
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===>  SQUID_UID is set to "squid" and SQUID_GID is set to "squid".
      To change this specify them with your make arguments, e.g.
      make SQUID_UID=nobody SQUID_GID=nogroup
===> Fetching all distfiles required by squidGuard-1.4_15 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===>  SQUID_UID is set to "squid" and SQUID_GID is set to "squid".
      To change this specify them with your make arguments, e.g.
      make SQUID_UID=nobody SQUID_GID=nogroup
===> Fetching all distfiles required by squidGuard-1.4_15 for building
=> SHA256 Checksum OK for squidGuard-1.4.tar.gz.
=> SHA256 Checksum OK for squidGuard-1.4-quoted_string_support.diff.
=> SHA256 Checksum OK for squidGuard-1.4-dnsbl.patch.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===>  SQUID_UID is set to "squid" and SQUID_GID is set to "squid".
<snip>
checking for unistd.h... (cached) yes
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for unistd.h... (cached) yes
checking for db.h... (cached) yes
checking suppress runtime logging... no
checking squid runtime user ... squid
checking for ldap support... no
checking for mysql support... no
checking for pthread_create in -lpthread... yes
checking for an ANSI C-conforming const... yes
checking for size_t... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for regcomp... yes
checking for regerror... yes
checking for regexec... yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for vsprintf... (cached) yes
checking for sigaction... (cached) yes
checking for signal... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/sgDiv.c
config.status: creating src/sg.h
config.status: creating src/sg.y
config.status: creating test/Makefile
config.status: creating test/test1.conf
config.status: creating test/test2.conf
config.status: creating samples/Makefile
config.status: creating samples/sample.conf
config.status: creating samples/squidGuard.cgi
config.status: creating samples/squidGuard-simple.cgi
config.status: creating samples/squidGuard-simple-de.cgi
config.status: creating contrib/Makefile
config.status: creating contrib/squidGuardRobot/squidGuardRobot
config.status: creating contrib/sgclean/sgclean
config.status: creating contrib/hostbyname/hostbyname
config.status: creating src/config.h
===========================================================================
=======================<phase: build          >============================
===>  Building for squidGuard-1.4_15
--- all ---
--- all ---
--- all ---
making all in squidGuard-1.4
--- all ---
--- all ---
--- y.tab.h ---
--- all ---
making all in src
--- main.o ---
cc -I.. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include/db5 -DHAVE_CONFIG_H -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include/db5 -c main.c
--- sgLog.o ---
cc -I.. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include/db5 -DHAVE_CONFIG_H -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include/db5 -c sgLog.c
--- sgDb.o ---
cc -I.. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include/db5 -DHAVE_CONFIG_H -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include/db5 -c sgDb.c
--- HTParse.o ---
cc -I.. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include/db5 -DHAVE_CONFIG_H -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include/db5 -c HTParse.c
--- sgDiv.o ---
cc -I.. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include/db5 -DHAVE_CONFIG_H -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include/db5 -c sgDiv.c
sgDiv.c:104:3: warning: implicit declaration of function 'HTUnEscape' is invalid in C99 [-Wimplicit-function-declaration]
  HTUnEscape(field);
  ^
--- sgFree.o ---
cc -I.. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include/db5 -DHAVE_CONFIG_H -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include/db5 -c sgFree.c
--- lex.yy.c ---
--- sgDiv.o ---
1 warning generated.
--- y.tab.o ---
cc -I.. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include/db5 -DHAVE_CONFIG_H -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include/db5 -c y.tab.c
--- lex.yy.o ---
cc -I.. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include/db5 -DHAVE_CONFIG_H -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include/db5 -c lex.yy.c
--- y.tab.o ---
sg.y:593:41: warning: implicit declaration of function 'setuserinfo' is invalid in C99 [-Wimplicit-function-declaration]
  sgDbUpdate(sp->userDb, user, (char *) setuserinfo(),
                                        ^
sg.y:649:45: warning: implicit declaration of function 'setuserinfo' is invalid in C99 [-Wimplicit-function-declaration]
      sgDbUpdate(sp->userDb, line, (char *) setuserinfo(),
                                            ^
sg.y:657:43: warning: implicit declaration of function 'setuserinfo' is invalid in C99 [-Wimplicit-function-declaration]
       sgDbUpdate(sp->userDb, p, (char *) setuserinfo(),
                                          ^
sg.y:807:43: warning: implicit declaration of function 'setuserinfo' is invalid in C99 [-Wimplicit-function-declaration]
      sgDbUpdate(sp->userDb, sc, (char *) setuserinfo(),
                                          ^
sg.y:2027:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else
        ^
5 warnings generated.
--- squidGuard ---
cc -fstack-protector-strong  -L/usr/local/lib/db5 -o squidGuard main.o sgLog.o sgDb.o HTParse.o sgDiv.o sgFree.o y.tab.o lex.yy.o -lpthread  -ldb-5.3
ld: error: duplicate symbol: lineno
>>> defined at main.c
>>>            main.o:(lineno)
>>> defined at sgLog.c
>>>            sgLog.o:(.bss+0x3004)

ld: error: duplicate symbol: progname
>>> defined at main.c
>>>            main.o:(progname)
>>> defined at sgLog.c
>>>            sgLog.o:(.bss+0x3000)

ld: error: duplicate symbol: lineno
>>> defined at main.c
>>>            main.o:(lineno)
>>> defined at sgDb.c
>>>            sgDb.o:(.bss+0x3008)

ld: error: duplicate symbol: progname
>>> defined at main.c
>>>            main.o:(progname)
>>> defined at sgDb.c
>>>            sgDb.o:(.bss+0x3004)

ld: error: duplicate symbol: lineno
>>> defined at main.c
>>>            main.o:(lineno)
>>> defined at sgDiv.c
>>>            sgDiv.o:(.bss+0xC02C)

ld: error: duplicate symbol: progname
>>> defined at main.c
>>>            main.o:(progname)
>>> defined at sgDiv.c
>>>            sgDiv.o:(.bss+0x3000)

ld: error: duplicate symbol: lineno
>>> defined at main.c
>>>            main.o:(lineno)
>>> defined at sgFree.c
>>>            sgFree.o:(.bss+0x4)

ld: error: duplicate symbol: progname
>>> defined at main.c
>>>            main.o:(progname)
>>> defined at sgFree.c
>>>            sgFree.o:(.bss+0x0)

ld: error: duplicate symbol: lineno
>>> defined at main.c
>>>            main.o:(lineno)
>>> defined at y.tab.c
>>>            y.tab.o:(.bss+0x4)

ld: error: duplicate symbol: progname
>>> defined at main.c
>>>            main.o:(progname)
>>> defined at y.tab.c
>>>            y.tab.o:(.bss+0x10)

ld: error: duplicate symbol: lineno
>>> defined at main.c
>>>            main.o:(lineno)
>>> defined at lex.yy.c
>>>            lex.yy.o:(.bss+0x34)

ld: error: duplicate symbol: progname
>>> defined at main.c
>>>            main.o:(progname)
>>> defined at lex.yy.c
>>>            lex.yy.o:(.bss+0x40)

ld: error: duplicate symbol: yyin
>>> defined at y.tab.c
>>>            y.tab.o:(yyin)
>>> defined at lex.yy.c
>>>            lex.yy.o:(.bss+0x0)

ld: error: duplicate symbol: yyout
>>> defined at y.tab.c
>>>            y.tab.o:(yyout)
>>> defined at lex.yy.c
>>>            lex.yy.o:(.bss+0x4)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [squidGuard] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/www/squidguard/work/squidGuard-1.4/src
1 error

make[2]: stopped in /wrkdirs/usr/ports/www/squidguard/work/squidGuard-1.4/src
*** [all] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/www/squidguard/work/squidGuard-1.4
1 error

make[1]: stopped in /wrkdirs/usr/ports/www/squidguard/work/squidGuard-1.4
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/www/squidguard



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