Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2016 09:26:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 214775] [poudriere] textproc/php56-xml: wrong installation path when ZTS is enabled in lang/php56
Message-ID:  <bug-214775-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214775

            Bug ID: 214775
           Summary: [poudriere] textproc/php56-xml: wrong installation
                    path when ZTS is enabled in lang/php56
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale@FreeBSD.org
          Reporter: ohartmann@walstatt.org
             Flags: maintainer-feedback?(ale@FreeBSD.org)
          Assignee: ale@FreeBSD.org

Using poudriere compiling ports relying on lang/php56 and www/apache24 with
threading enabled in Apache 2.4 and therefore ZTS enabled in PHP 5.6 makes
poudriere building ports incorrectly.

Symptoms:

Running "poudriere options" on all over the repository I'm about to build (a
subset of the ports collection), enabling threading in www/apache24 require=
s,
as far as I know, also enabling ZTS in lang/php56 (and devel/apr1).
Subsequently, ZTS is enbaled as option and configured to related ports.

Now, building the repo fails on certain ports since a couple of weeks now a=
fter
an update of the ports tree. In my case, just for instance, these are:

devel/pear
textproc/php56-wddx
textproc/php56-xmlreader
databases/php56-pdo_pgsql(*)
databases/php56-pdo_sqlite(*)

[... and further]

(*): see below, not XML related, but similar issue!

It seems, that these ports rely all PHP module installations located in

 /usr/local/lib/php/20131226-zts/XXX.so=20

but the error states (here as pars pro toto php56-wddx-5.6.27):

=3D=3D>   php56-wddx-5.6.27 depends on file: /usr/local/lib/php/20131226/xm=
l.so -
not found
*** Error code 1

It seems some ports do get the path wrong for ZTS enabled PHP modules, which
should be /usr/local/lib/php/20131226-zts, but is indeed under poudriere
/usr/local/lib/php/20131226/

The errors marked with (*) have same error, but they do miss not XML related
modules, but "pdo.so", so I guess this indicates that there is a major prob=
lem
with ZTS enabled and installing packages into the correct path.

By the way, I'm using PostGreSQL 9.6 and therefore, I have on ALL systems (=
also
poudriere) in /etc/make.conf

DEFAULT_OPTIONS+=3Dpgsql=3D9.6

Just for the record. The problem occured synchronously on three different
poudriere building systems.

I just switched recently on my hosts from PostgreSQL 9.5 to 9.6, therefore,=
 I
recompiled all related (or not related) ports, including Apache 2.4 (with
threads), lang/php, devel/apr1 and so forth with ZTS enabled and all
php-related installations - but I did this the traditional FreeBSD way with=
 the
make/portmaster system. I did not detect any problems so far, the php modul=
es
get installed in the correct place.

I can not exclude a misconfiguration of my own, but then, I must have done =
this
on three different poudriere system the same way.

The problem is serious. i prevents the installation of any php-based port on
all of our jails!

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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