Bug 252404 - devel/pear: does not build with php80 in 2021Q1
Summary: devel/pear: does not build with php80 in 2021Q1
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dima Panov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-04 08:37 UTC by rainer
Modified: 2021-01-04 11:45 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (fluffy)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rainer 2021-01-04 08:37:13 UTC
Hi,

I get this:


=======================<phase: build-depends  >============================
===>   php80-pear-1.10.12 depends on file: /usr/local/lib/php/20200930-zts/xml.so - not found
===>   Installing existing package /packages/All/php80-xml-8.0.0_1.txz
[12_2-amd64-2021Q1-unified-job-15] Installing php80-xml-8.0.0_1...
[12_2-amd64-2021Q1-unified-job-15] `-- Installing libxml2-2.9.10_2...
[12_2-amd64-2021Q1-unified-job-15] `-- Extracting libxml2-2.9.10_2: .......... done
[12_2-amd64-2021Q1-unified-job-15] `-- Installing php80-8.0.0_1...
[12_2-amd64-2021Q1-unified-job-15] |   `-- Installing libargon2-20190702...
[12_2-amd64-2021Q1-unified-job-15] |   `-- Extracting libargon2-20190702: ....... done
[12_2-amd64-2021Q1-unified-job-15] |   `-- Installing pcre2-10.36...
[12_2-amd64-2021Q1-unified-job-15] |   `-- Extracting pcre2-10.36: .......... done
[12_2-amd64-2021Q1-unified-job-15] `-- Extracting php80-8.0.0_1: .......... done
[12_2-amd64-2021Q1-unified-job-15] Extracting php80-xml-8.0.0_1: ...... done
=====
Message from php80-xml-8.0.0_1:

--
This file has been added to automatically load the installed extension:
/usr/local/etc/php/ext-20-xml.ini
===>   php80-pear-1.10.12 depends on file: /usr/local/lib/php/20200930-zts/xml.so - not found
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/pear
=>> Cleaning up wrkdir
===>  Cleaning for php80-pear-1.10.12
build of devel/pear@php80 | php80-pear-1.10.12 ended at Mon Jan  4 01:17:37 CET 2021
build time: 00:00:06
!!! build failure encountered !!!



(FreeBSD 12.2-AMD64).
Comment 1 Dima Panov freebsd_committer freebsd_triage 2021-01-04 11:22:39 UTC
Hello!

This is not a PEAR error but php/zts setup itself.


cat ports/lang/php80/pkg-message.mod:
******************************************************************************

If you are building PHP-based ports in poudriere(8) or Synth with ZTS enabled,
add WITH_MPM=event to /etc/make.conf to prevent build failures.
Comment 2 rainer 2021-01-04 11:34:49 UTC
Oh, I have that setting.
Comment 3 rainer 2021-01-04 11:35:53 UTC
---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/12_2-amd64-2021Q1-unified-make.conf ####
WITH_PKGNG=yes
INSTALL_NODEBUG="yes"
A4=yes
WITH_UTF8=yes
WITHOUT_X11=yes
WITHOUT_X=yes
OPTIONS_UNSET="X11 DOCS"

NO_PROFILE=true
WITH_MPM=event 
WANT_OPENLDAP_SASL=YES
WITH_GSSAPI=YES


#APACHE_PORT=www/apache24
DEFAULT_VERSIONS+=mysql=10.4m apache=2.4 ruby=2.5 pgsql=12 perl5=5.28 
#PARALLEL_JOBS=8
PREPARE_PARALLEL_JOBS=48
ALLOW_MAKE_JOBS_PACKAGES="pkg ccache py*"

#BUILD_ALL_PYTHON_FLAVORS=yes

# deprecated:
#OPTIONS_UNSET=DOCS

#SUEXEC_DOCROOT=/home
#SUEXEC_UIDMIN=80
#SUEXEC_GIDMIN=80

DISABLE_LICENSES=yes
Comment 4 Dima Panov freebsd_committer freebsd_triage 2021-01-04 11:39:25 UTC
(In reply to rainer from comment #2)
Aha, you have it.
But seems like php80 packages was builded WITHOUT it, and mixed ZTS/non-ZTS

Please recheck options set for lang/php80 and rebuild all php80 packages first.
Comment 5 rainer 2021-01-04 11:45:19 UTC
Ah, yes.

That might be it - thanks a lot. I hadn't prepared the options for 8.0, yet.

The build is still underway (poor HP Gen8 server), I don't want to stop it now. I will only be able to check this later today or tomorrow.



Best Regards
Rainer