From owner-freebsd-ports@freebsd.org Sat Nov 19 16:54:44 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00A55C4A38A for ; Sat, 19 Nov 2016 16:54:44 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 64D3818D6; Sat, 19 Nov 2016 16:54:43 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from thor.walstatt.dynvpn.de ([85.179.133.213]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MIuzJ-1cAcoU12CX-002WAm; Sat, 19 Nov 2016 17:54:35 +0100 Date: Sat, 19 Nov 2016 17:54:34 +0100 From: "O. Hartmann" To: Dima Panov Cc: freebsd-ports Subject: Re: [poudriere]: lang/php56 is unwilling to build with ZTS Message-ID: <20161119175421.26cff397@thor.walstatt.dynvpn.de> In-Reply-To: References: <20161101114926.40642a3c@freyja.zeit4.iv.bundesimmobilien.de> Organization: WALSTATT X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.29; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:HAeZtoxS0bLScDSVP9MUC1EicVD46ypChkFWzbmDdTKVcrdzweS YcOfxcK/mbG47LHqNB8LbMpTe5BUKcKXKfztqjt5ONIc44BTg+DJrD8I2wntXNX465ub69T 1FYVysMFSj24Ljt270ZNEW0iyhdFBzYoVsvdHzCnyimMm86LtZ9Mv7przqMzPVCybGFmSMa auXNT/Lic9d8pXUKEQ7Iw== X-UI-Out-Filterresults: notjunk:1;V01:K0:y3fCNuuerOA=:Mh9zzVqz23xS2Vf2/nm1S/ g98rYRwCq5wC09RPRsxuA6KnwzriBQd2U+5MiBkqSOCSYp+S3l1f8S4++Tzyjk6J9LkMxFECS NVH+ueb4ABBg1QlR994+PzSzrXLxcNz+xs2i5hNoLTYoqQncGQ8+Qe8tEVrtwbt/LFK7KEIre B84l4be++JvWnqDNk1mgB0wzJtNbEm7EtlScp2ouOyErkTj+VTrHwdALUI9B64UV5W86/S1st GPGopbkH3UwfgxKLpfY+MDOSp7tjUlvTO+R4bwFa6fJBrf73wSE67p4VCN6+69Uzbn9n3OSf2 yGmQFuHqKQFC0p4sbqiqMl9Ww0gEFoBKAUegaEtSgcIvoNxm3V3HtX6fcD9xEvVLu3Vk4Kev/ 1sznmbgKtsIHfejuDU3cgXb5viwqxcqKWouBlq7WQ93LD1HhBSco2Ig+TGf1Mj4+SJOCu4GI5 0NZFwSseMJEcaYCsFRWzL1niAYKAUTGV+o05eBHNCgq9ukJWgEkDm782Jj6Pip2P/WQHyGGno oFfPQfLMGXiq0AQoYZZtDpuBEnRa4Y7ybuiqGoMV2hdHvQvqL+zvxTPWW3CER2kl7lJTuG6mb uJD3hkVP6yBCnJxLEAysYuVc08zJUqxEajZuYfHy55UOjY2c1e73/he4QmQJ3EVCCFgWGCm32 37wkBhOU0Hot3JRdyl05i2wj/rKnz5YfhfM1jQ9gF93y95CO+g5zmFiVyc69q9Sm85Yh5+dt7 F9vy+yLuwv9QdnACC98lj5/BQ6sGjnAZpxu4bMk7b7LLc8fh6eVB+PTg4nnLoqN39RyPLxBBo +SYN/l7 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2016 16:54:44 -0000 Am Thu, 3 Nov 2016 12:03:55 +1000 Dima Panov schrieb: > 01.11.16 20:49, O. Hartmann =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > Obviously I ran into a problem with recent poudriere on CURRENT buildin= g ports > > in a CURRENT jail. > >=20 > > Building threaded www/apache24 requires lang/php56 having option ZTS se= t. I did > > so. I tried to rebuild all depending ports, but I run into rpoblems the= n with > > php56: for instance, textproc/php56-xmlreader fails to build, the poudr= iere log > > gives the reason: > > =20 > > =3D=3D=3D> php56-xmlreader-5.6.27 depends on =20 > > file: /usr/local/lib/php/20131226/dom.so - not found > >=20 > > On systems with properly set ZTS, the expected folder for PHP modules w= ould be > >=20 > > /usr/local/lib/php/20131226-zts/ > >=20 > > When I first discovered this, I tried to delete and rebuild lang/php56 = from > > packages - definitely with option ZTS set - but the error is persistant. > >=20 > > I'm unwilling to rebuild ALL thousands of packages, so I need some advi= ce how > > to solve this problem. > >=20 > > Please CC me, I do not subscribe the list. Thanks. > >=20 > > Thank you very much in advance, > > =20 >=20 > Some tweaks with poudriere build environment requred to suport ZTS build: >=20 > cat /usr/local/poudriere.d/make.conf >=20 > # www/apache24 > WITH_MPM=3Devent >=20 >=20 > Meanwhile, I've got today another problem with poudriere.=20 >=20 > 'poudriere options' with non-default portstree uses options subdir from d= efault tree,=20 > but 'poudriere bulk' hooks up the right options tree, without configured = options, at > all.=20 >=20 >=20 >=20 >=20 I have not come far since then, the problem still persists. I figured out t= hat even if issuing the command: poudriere bulk -p head -z default -j head-amd64 -C lang/php56 which is supposed to delete the package lang/php56 and rebuild it, the pack= age is rebuilt, but it does not respect the option WITH ZTS. The jail's sources ar= e most recent 12-CURRENT, the build system is residing on a ZFS volume for convenience. I= keep three instances of old packages, so in my case the location /pool/poudriere/data/packages/head-amd64-head-default/.latest=20 which is a symbolic link to the most recent and last built, still holds a p= ackage lang/php56 which ist several days old, although I changed the option ZTS tw= ice AND issuing the above command forcing a rebuild! Obviously poudriere does not r= espect this and seems to be ignoring or confusing the directories - I do not know. By n= ow, I manually deleted several packages in the lates ".latest" folder, selected by date an= d tried to restart building my packages. poudriere then came up with more than 600 pac= kages to be rebuild. But it still fails on some key packages: textproc/php56-wddx: [...] =3D=3D=3D> php56-wddx-5.6.27 depends on file: /usr/local/lib/php/20131226= /xml.so - not found =3D=3D=3D> Installing existing package /packages/All/php56-xml-5.6.27.txz devel/pear: =3D=3D=3D> pear-1.10.1 depends on file: /usr/local/lib/php/20131226/xml.s= o - not found =3D=3D=3D> Installing existing package /packages/All/php56-xml-5.6.27.txz and additionally: textproc/php56-xmlreader textproc/php56-xsl databases/php56-pdo_pgsql They all seem to have their problems sourced in php56-xml-5.6.27.txz. I als= o tried to rebuild exactly this package php56-xml-5.6.27.txz - but without success, I = also deleted it and all(!) php56-xxx ports and jumping into the very same problem of a h= uge amount of rebuilds. So, I suspect some problems regarding ZTS build in XML-related ports, or a = general problem of poudriere. By deleting all php56-xxx packages and proper configu= ring the options for lang/php56 as well as www/apache24 and devel/apr1, I would expe= ct that=20 /usr/local/lib/php/20131226-zts/xml.so would appear instead of /usr/local/lib/php/20131226/xml.so. I'm lost here! My resources are limited, builds take a whole day on my box = and I'm no expert in the abyss of poudriere, so to answere the question, what my=20 usr/local/etc/php.conf (in poudriere) look like, I need help. /usr/local/etc/php.conf on my systems which use custom build via portmaster= looks correct: PHP_VER=3D56 PHP_VERSION=3D5.6.27 PHP_SAPI=3Dcli cgi fpm PHP_EXT_INC=3Dpcre spl PHP_EXT_DIR=3D20131226-zts But this is not poudriere's environment. Kind regards, Oliver --=20 O. Hartmann Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.= 4 BDSG).