NetBSD Problem Report #51787
From www@NetBSD.org Fri Jan 6 12:30:13 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id BE3117A16E
for <gnats-bugs@gnats.NetBSD.org>; Fri, 6 Jan 2017 12:30:13 +0000 (UTC)
Message-Id: <20170106123012.D72547A2A2@mollari.NetBSD.org>
Date: Fri, 6 Jan 2017 12:30:12 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: compiling lang/php71 fails on Solaris 11/sparc
X-Send-Pr-Version: www-1.0
>Number: 51787
>Category: pkg
>Synopsis: compiling lang/php71 fails on Solaris 11/sparc
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: maya
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 06 12:35:00 +0000 2017
>Closed-Date: Wed Jan 25 16:54:19 +0000 2017
>Last-Modified: Sun Feb 12 21:40:01 +0000 2017
>Originator: Joern Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
>Description:
Building lang/php71 on Solaris 11.2/sparc using GCC 4.8.5 fails in the step "Generating phar.phar". Details can be found in the upstream bug report at
https://bugs.php.net/bug.php?id=73880
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: =?ISO-8859-15?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/51787: compiling lang/php71 fails on Solaris 11/sparc
Date: Mon, 09 Jan 2017 09:10:02 +0100
The workaround upstream was to compile with
--without-pcre-jit
This results in a successful package build. Given the history of "JIT"
features in other packages, a permanent package option is maybe a good idea.
--
Jörn Clausen
Plattformen & Serverdienste
Hochschulrechenzentrum
Universität Bielefeld
Universitätsstraße 25
33615 Bielefeld
Telefon: +49 521 106-12601
E-Mail: joern.clausen@uni-bielefeld.de
http://www.uni-bielefeld.de/hrz
From: coypu@SDF.ORG
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/51787: compiling lang/php71 fails on Solaris 11/sparc
Date: Tue, 10 Jan 2017 11:16:57 +0000
I think that the PHP package is still using its
bundled PCRE at this point, and strangely, devel/pcre
in pkgsrc has the jit disabled (it is off by default,
and nobody enabled it).
(see pkg/50236 for instructions how to switch to
pkgsrc pcre, likely still valid for php7)
From: =?ISO-8859-15?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: coypu@SDF.ORG, pkg-manager@NetBSD.org, gnats-admin@NetBSD.org,
pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/51787: compiling lang/php71 fails on Solaris 11/sparc
Date: Tue, 10 Jan 2017 13:16:23 +0100
> (see pkg/50236 for instructions how to switch to
> pkgsrc pcre, likely still valid for php7)
According to upstream, the bundled version is 8.38 on purpose, because
there are problems with 8.39, which is the unbundled version in pkgsrc.
--
Jörn Clausen
Plattformen & Serverdienste
Hochschulrechenzentrum
Universität Bielefeld
Universitätsstraße 25
33615 Bielefeld
Telefon: +49 521 106-12601
E-Mail: joern.clausen@uni-bielefeld.de
http://www.uni-bielefeld.de/hrz
From: coypu@SDF.ORG
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/51787: compiling lang/php71 fails on Solaris 11/sparc
Date: Sun, 15 Jan 2017 13:03:12 +0000
It's dying on the netbsd-7 *i386* builds.
http://nyftp.netbsd.org/pub/pkgsrc/packages/reports/2016Q4/NetBSD-7.0-i386/20161231.0911/php-7.0.14/build.log
x86 should be idiot-proof, so something must be seriously wrong.
From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/51787 CVS commit: pkgsrc/lang/php70
Date: Sun, 22 Jan 2017 11:37:29 +0000
Module Name: pkgsrc
Committed By: maya
Date: Sun Jan 22 11:37:29 UTC 2017
Modified Files:
pkgsrc/lang/php70: Makefile
Log Message:
php70: add workaround requested in PR pkg/51787, pcre-jit segfaults on
non-amd64 (i386, SPARC - at least). disable it until PHP, add note that
it's mostly relevant for PCRE1 8.38, so if PHP updates to PCRE2 as they
plan, it will be irrelevant.
From Joern Clausen / cmb@php
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/php70/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Responsible-Changed-From-To: pkg-manager->maya
Responsible-Changed-By: maya@NetBSD.org
Responsible-Changed-When: Sun, 22 Jan 2017 11:43:05 +0000
Responsible-Changed-Why:
I'm not sure I disabled pcre-jit correctly - does it work now?
State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 22 Jan 2017 11:43:05 +0000
State-Changed-Why:
From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/51787 CVS commit: pkgsrc/lang/php71
Date: Sun, 22 Jan 2017 11:42:22 +0000
Module Name: pkgsrc
Committed By: maya
Date: Sun Jan 22 11:42:22 UTC 2017
Modified Files:
pkgsrc/lang/php71: Makefile
Log Message:
php71: add workaround requested in PR pkg/51787, pcre-jit segfaults on
non-amd64 (i386, SPARC - at least). disable it until PHP, add note that
it's mostly relevant for PCRE1 8.38, so if PHP updates to PCRE2 as they
plan, it will be irrelevant.
From Joern Clausen / cmb@php
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/php71/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: =?ISO-8859-15?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: maya@NetBSD.org, pkg-manager@NetBSD.org, pkgsrc-bugs@NetBSD.org,
gnats-admin@NetBSD.org
Subject: Re: pkg/51787 (compiling lang/php71 fails on Solaris 11/sparc)
Date: Mon, 23 Jan 2017 12:20:07 +0100
I haven't had the time to actually test it (should probably work), but
is Makefile the correct spot if all other configure flags are set in
Makefile.php? Not that it really matters, just to minimize the amount of
surprise...
The pkgsrc guide speaks about Makefile.common, but I can't find an
explanation for other Makefiles.
--
Jörn Clausen
Plattformen & Serverdienste
Hochschulrechenzentrum
Universität Bielefeld
Universitätsstraße 25
33615 Bielefeld
Telefon: +49 521 106-12601
E-Mail: joern.clausen@uni-bielefeld.de
http://www.uni-bielefeld.de/hrz
From: =?ISO-8859-15?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: maya@NetBSD.org, pkg-manager@NetBSD.org, pkgsrc-bugs@NetBSD.org,
gnats-admin@NetBSD.org
Subject: Re: pkg/51787 (compiling lang/php71 fails on Solaris 11/sparc)
Date: Mon, 23 Jan 2017 15:35:12 +0100
> I'm not sure I disabled pcre-jit correctly - does it work now?
The package now compiles on sparc.
--
Jörn Clausen
Plattformen & Serverdienste
Hochschulrechenzentrum
Universität Bielefeld
Universitätsstraße 25
33615 Bielefeld
Telefon: +49 521 106-12601
E-Mail: joern.clausen@uni-bielefeld.de
http://www.uni-bielefeld.de/hrz
From: coypu@SDF.ORG
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/51787 (compiling lang/php71 fails on Solaris 11/sparc)
Date: Tue, 24 Jan 2017 20:02:11 +0000
Maybe... I'm not sure
I'd like to make it use pkgsrc PCRE1, that would be
the most appropriate thing. then offload this logic
to the PCRE package.
certainly don't take my commits as rules about how to
pkgsrc -- I just want to unbreak stuff.
stuff in Makefile.common and such tends to be forgotten,
and I'd like this to be checked later - disabling pcre-jit
seems very undesirable.
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Wed, 25 Jan 2017 16:54:19 +0000
State-Changed-Why:
confirmed fixed
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/51787 (compiling lang/php71 fails on Solaris 11/sparc)
Date: Wed, 25 Jan 2017 16:53:44 +0000
On Mon, Jan 23, 2017 at 11:25:01AM +0000, J?rn Clausen wrote:
> I haven't had the time to actually test it (should probably work), but
> is Makefile the correct spot if all other configure flags are set in
> Makefile.php? Not that it really matters, just to minimize the amount of
> surprise...
>
> The pkgsrc guide speaks about Makefile.common, but I can't find an
> explanation for other Makefiles.
Makefile.php is a one-off thing for php modules that come with the php
distribution (AFAICR, anyway) so it has its own rules.
It might be better to have the flag there, just in case it changes the
module ABI (this is php, after all) but it probably doesn't matter.
--
David A. Holland
dholland@netbsd.org
From: "S.P.Zeidler" <spz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/51787 CVS commit: [pkgsrc-2016Q4] pkgsrc/lang
Date: Sun, 12 Feb 2017 21:38:25 +0000
Module Name: pkgsrc
Committed By: spz
Date: Sun Feb 12 21:38:25 UTC 2017
Modified Files:
pkgsrc/lang/php70 [pkgsrc-2016Q4]: Makefile
pkgsrc/lang/php71 [pkgsrc-2016Q4]: Makefile
Log Message:
Pullup ticket #5203 - requested by maya
lang/php70: build fix
lang/php71: build fix
Revisions pulled up:
- lang/php70/Makefile 1.5
- lang/php71/Makefile 1.6
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: maya
Date: Sun Jan 22 11:37:29 UTC 2017
Modified Files:
pkgsrc/lang/php70: Makefile
Log Message:
php70: add workaround requested in PR pkg/51787, pcre-jit segfaults on
non-amd64 (i386, SPARC - at least). disable it until PHP, add note that
it's mostly relevant for PCRE1 8.38, so if PHP updates to PCRE2 as they
plan, it will be irrelevant.
>From Joern Clausen / cmb@php
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/php70/Makefile
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: maya
Date: Sun Jan 22 11:42:22 UTC 2017
Modified Files:
pkgsrc/lang/php71: Makefile
Log Message:
php71: add workaround requested in PR pkg/51787, pcre-jit segfaults on
non-amd64 (i386, SPARC - at least). disable it until PHP, add note that
it's mostly relevant for PCRE1 8.38, so if PHP updates to PCRE2 as they
plan, it will be irrelevant.
>From Joern Clausen / cmb@php
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/php71/Makefile
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.6.1 pkgsrc/lang/php70/Makefile
cvs rdiff -u -r1.5 -r1.5.2.1 pkgsrc/lang/php71/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.