Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Sep 2016 15:02:58 +0200
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        <freebsd-ports@freebsd.org>, <mm@freebsd.org>
Subject:   Re: Fwd: [package - head-amd64-default][databases/postgis-jdbc] Failed for postgis-jdbc-2.1.7 in extract
Message-ID:  <798ef65f-a3dd-2853-ba77-e24745bca3ef@gwdg.de>
In-Reply-To: <20160901102951.GH83214@kib.kiev.ua>
References:  <201609010911.u819BBh5034497@beefy4.nyi.freebsd.org> <714d712f-c2c8-e4a5-71bb-ffed15efe9be@gwdg.de> <20160901102951.GH83214@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 01.09.2016 um 12:29 schrieb Konstantin Belousov:
> On Thu, Sep 01, 2016 at 11:47:33AM +0200, Rainer Hurling wrote:
>> I am the maintainer of databases/postgis-jdbc. For some days now I get
>> mails like to one further down, for HEAD i386 and HEAD amd64.
>>
>> The FreeBSD package build server complains about a problem with untaring
>> the jar distfile.
>>
>> This worked fine before, and as far as I can see, the distfile is ok. On
>> Windows, I am also able to open the jar distfile and use it.
>>
>> I think, the port and the distfile are ok, and there is something odd
>> with base tar, used by the port system.
>>
>> Any idea, what's going on here?
>>
>> Thanks for any help in advance.
> Probably related to the libarchive updates, in particular r304869,
> r304988, r304989.
> 
> But I am not sure which version of the userspace the poudriere jail runs.
> I see mention of r305036, which might be userspace, but also might be
> just the kernel version.

Thanks for the answer, really appreciated!

I investigated a little bit more on the ports side and it turns out,
that adding USES=zip:infozip should do the trick :)

Now I am testing in poudriere, if there would be any side effects with
my patch to databases/postgis-jdbc ...

Nevertheless, it is likely that we found an edge condition for the
libarchive updates in r304989.

BTW: I did not understand, why r305036 is relevant here?

> 
>>
>> Regards,
>> Rainer Hurling
>>
>>
>> -------- Weitergeleitete Nachricht --------
>> Betreff: [package - head-amd64-default][databases/postgis-jdbc] Failed
>> for postgis-jdbc-2.1.7 in extract
>> Datum: Thu, 1 Sep 2016 09:11:11 +0000
>> Von: pkg-fallout@FreeBSD.org
>> An: rhurlin@gwdg.de
>> Kopie (CC): pkg-fallout@FreeBSD.org
>>
>> 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:     rhurlin@gwdg.de
>> Last committer: mat@FreeBSD.org
>> Ident:          $FreeBSD: head/databases/postgis-jdbc/Makefile 412346
>> 2016-04-01 14:00:51Z mat $
>> Log URL:
>> http://beefy4.nyi.freebsd.org/data/head-amd64-default/p421100_s305036/logs/postgis-jdbc-2.1.7.log
>> Build URL:
>> http://beefy4.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p421100_s305036
>> Log:
>>
>> ====>> Building databases/postgis-jdbc
>> build started at Thu Sep  1 09:11:08 UTC 2016
>> port directory: /usr/ports/databases/postgis-jdbc
>> building for: FreeBSD head-amd64-default-job-22 12.0-CURRENT FreeBSD
>> 12.0-CURRENT r305036 amd64
>> maintained by: rhurlin@gwdg.de
>> Makefile ident:      $FreeBSD: head/databases/postgis-jdbc/Makefile
>> 412346 2016-04-01 14:00:51Z mat $
>> Poudriere version: 3.1.14
>> Host OSVERSION: 1200005
>> Jail OSVERSION: 1200005
>>
>> ---Begin Environment---
>> SHELL=/bin/csh
>> UNAME_v=FreeBSD 12.0-CURRENT r305036
>> UNAME_r=12.0-CURRENT
>> BLOCKSIZE=K
>> MAIL=/var/mail/root
>> STATUS=1
>> OPSYS=FreeBSD
>> ARCH=amd64
>> SAVED_TERM=
>> MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
>> UID=0
>> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
>> _JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
>> POUDRIERE_BUILD_TYPE=bulk
>> PKGNAME=postgis-jdbc-2.1.7
>> OSREL=12.0
>> _OSRELEASE=12.0-CURRENT
>> PYTHONBASE=/usr/local
>> OLDPWD=/
>> _SMP_CPUS=24
>> PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
>> HAVE_COMPAT_IA32_KERN=YES LINUX_OSRELEASE=2.6.32
>> MASTERNAME=head-amd64-default
>> SCRIPTPREFIX=/usr/local/share/poudriere
>> _JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
>> USER=root
>> HOME=/root
>> POUDRIERE_VERSION=3.1.14
>> SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
>> CONFIGURE_MAX_CMD_LEN=262144
>> LIBEXECPREFIX=/usr/local/libexec/poudriere
>> LOCALBASE=/usr/local
>> PACKAGE_BUILDING=yes
>> _JAVA_OS_LIST_REGEXP=native\|linux
>> OSVERSION=1200005
>> ---End Environment---
>>
>> ---Begin OPTIONS List---
>> ---End OPTIONS List---
>>
>> --CONFIGURE_ARGS--
>>
>> --End CONFIGURE_ARGS--
>>
>> --CONFIGURE_ENV--
>> XDG_DATA_HOME=/wrkdirs/usr/ports/databases/postgis-jdbc/work
>> XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgis-jdbc/work
>> HOME=/wrkdirs/usr/ports/databases/postgis-jdbc/work TMPDIR="/tmp"
>> SHELL=/bin/sh CONFIG_SHELL=/bin/sh
>> --End CONFIGURE_ENV--
>>
>> --MAKE_ENV--
>> XDG_DATA_HOME=/wrkdirs/usr/ports/databases/postgis-jdbc/work
>> XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgis-jdbc/work
>> HOME=/wrkdirs/usr/ports/databases/postgis-jdbc/work TMPDIR="/tmp"
>> NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh
>> NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"
>> CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"
>> CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++"
>> CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing "
>> MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"
>> BSD_INSTALL_LIB="install  -s -m 444"  BSD_INSTALL_SCRIPT="install  -m
>> 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
>> --End MAKE_ENV--
>>
>> --PLIST_SUB--
>> JAVASHAREDIR="share/java"
>> JAVAJARDIR="share/java/classes"
>> OSREL=12.0
>> PREFIX=%D
>> LOCALBASE=/usr/local
>> RESETPREFIX=/usr/local
>> PORTDOCS=""
>> PORTEXAMPLES=""
>> LIB32DIR=lib
>> DOCSDIR="share/doc/postgis-jdbc"
>> EXAMPLESDIR="share/examples/postgis-jdbc"
>> DATADIR="share/postgis-jdbc"
>> WWWDIR="www/postgis-jdbc"
>> ETCDIR="etc/postgis-jdbc"
>> --End PLIST_SUB--
>>
>> --SUB_LIST--
>> JAVASHAREDIR="/usr/local/share/java"
>> JAVAJARDIR="/usr/local/share/java/classes"
>> JAVALIBDIR="/usr/local/share/java/classes"
>> JAVA_VERSION="1.6+"
>> PREFIX=/usr/local
>> LOCALBASE=/usr/local
>> DATADIR=/usr/local/share/postgis-jdbc
>> DOCSDIR=/usr/local/share/doc/postgis-jdbc
>> EXAMPLESDIR=/usr/local/share/examples/postgis-jdbc
>> WWWDIR=/usr/local/www/postgis-jdbc
>> ETCDIR=/usr/local/etc/postgis-jdbc
>> --End SUB_LIST--
>>
>> ---Begin make.conf---
>> USE_PACKAGE_DEPENDS=yes
>> BATCH=yes
>> WRKDIRPREFIX=/wrkdirs
>> PORTSDIR=/usr/ports
>> PACKAGES=/packages
>> DISTDIR=/distfiles
>> #### /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
>> DISABLE_MAKE_JOBS=poudriere
>> ---End make.conf---
>> =======================<phase: check-sanity   >============================
>> ===>  License GPLv2 LGPL21 accepted by the user
>> ===========================================================================
>> =======================<phase: pkg-depends    >============================
>> ===>   postgis-jdbc-2.1.7 depends on file: /usr/local/sbin/pkg - not found
>> ===>   Installing existing package /packages/All/pkg-1.8.7_1.txz
>> [head-amd64-default-job-22] Installing pkg-1.8.7_1...
>> [head-amd64-default-job-22] Extracting pkg-1.8.7_1: .......... done
>> ===>   postgis-jdbc-2.1.7 depends on file: /usr/local/sbin/pkg - found
>> ===>   Returning to build of postgis-jdbc-2.1.7
>> ===========================================================================
>> =======================<phase: fetch-depends  >============================
>> ===========================================================================
>> =======================<phase: fetch          >============================
>> ===>  License GPLv2 LGPL21 accepted by the user
>> ===> Fetching all distfiles required by postgis-jdbc-2.1.7 for building
>> ===========================================================================
>> =======================<phase: checksum       >============================
>> ===>  License GPLv2 LGPL21 accepted by the user
>> ===> Fetching all distfiles required by postgis-jdbc-2.1.7 for building
>> => SHA256 Checksum OK for postgis-jdbc-2.1.7.jar.
>> ===========================================================================
>> =======================<phase: extract-depends>============================
>> ===========================================================================
>> =======================<phase: extract        >============================
>> ===>  License GPLv2 LGPL21 accepted by the user
>> ===> Fetching all distfiles required by postgis-jdbc-2.1.7 for building
>> ===>  Extracting for postgis-jdbc-2.1.7
>> => SHA256 Checksum OK for postgis-jdbc-2.1.7.jar.
>> META-INF/maven/org.postgis/: (null)
>> META-INF/maven/org.postgis/postgis-jdbc/: (null)
>> META-INF/maven/org.postgis/postgis-jdbc/pom.xml: (null)
>> META-INF/maven/org.postgis/postgis-jdbc/pom.properties: (null)
>> tar: Error exit delayed from previous errors.
>> *** Error code 1
>>
>> Stop.
>> make: stopped in /usr/ports/databases/postgis-jdbc




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?798ef65f-a3dd-2853-ba77-e24745bca3ef>