X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 7E863DC04DD for ; Tue, 23 Feb 2016 07:26:59 +0000 (UTC) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id DD262DC012C for ; Tue, 23 Feb 2016 07:26:58 +0000 (UTC) Received: by mail-lf0-f53.google.com with SMTP id j78so109354254lfb.1 for ; Mon, 22 Feb 2016 23:26:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8Egv+lbAZq5tzuiV/AeTO5diXLcWEC12I87+VxT85sk=; b=jVkeBdOyjawov/fQRrjuCyQ63w0bavuN/BbHQxk2Sp5Elq0MZipO1MDxqHGdnSa2v+ D8iLpOe4HlIPMZqSPsn/rFZ1n1ko4xEz9duVrI9xIPmoH9G7u2I94zFEog0pnOeq03Ni 6ibO+f3GFM/39dGkAEHOwhNEjM7AN6V76X6Id4R1WiUudHYZ5v5/MPZtwHLOEyxOep1x qxQp48pFzDYjEVUe6XG9HTfIJMorI8CTH7P8jugEo2Kb+32w6TG00FbaFBXp6ppDyJsj SigqVPd8pLK9zDJf/DHuiMj4Z+CCFqZIicpmEZtHTtWQCxulqUGG2bTzxW+sZr8YjXN6 R65w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=8Egv+lbAZq5tzuiV/AeTO5diXLcWEC12I87+VxT85sk=; b=bxfTlhPpsQQQfiEKCFo8kYGnQd9wmQVaYQEqOMyt6CuK7tL9wJL74M23cv8IgjXvjX V71RgPRN+TOLLhcvOo44M288osTIxPW0cBLpIRc3hGeDLrEVfyqQiHuENVo3j9o6rgJ8 7YfpKWaP5aooyS4P4zaLwpJZ4IB1Ux81j002SHGaFFwGW/FZb8KJj1Kcei//NWJRJ+O9 75anjr6bD8IvZCflJDdTJ8Nz2AHjNxBcJCk5UFCsM8Q1Im8vGOgO3I2df3IOl2faul7t iOm9996ILuGrdepcstQ2t+hoDxen2D70zSK5TwjHrhEhhiiP+0iLa02VioPGp88vbbNk gtWg== X-Gm-Message-State: AG10YOSOqtUx+yNVfUVJ3micLk/YG7P0pnzTEsf+88sRcerpoi4Q6ro1s99UyYZQKSdyaxfNsFFlxc7iQf5zwA== X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 X-Received: by 10.25.79.14 with SMTP id d14mr11665297lfb.98.1456212416686; Mon, 22 Feb 2016 23:26:56 -0800 (PST) Received: by 10.25.196.1 with HTTP; Mon, 22 Feb 2016 23:26:56 -0800 (PST) In-Reply-To: <20160223091121.133f6b7d@vostro.util.wtbts.net> References: <1456138588-28811-1-git-send-email-valery.kartel@gmail.com> <20160223091121.133f6b7d@vostro.util.wtbts.net> Date: Tue, 23 Feb 2016 09:26:56 +0200 Message-ID: Subject: Re: [alpine-aports] [PATCH] testing/php7: fix mysqli, mysqlnd and pdo_mysql extensions From: Valery Kartel To: Timo Teras Cc: alpine-aports@lists.alpinelinux.org Content-Type: multipart/alternative; boundary=001a1141ef5ad06f5d052c6adfa4 X-Virus-Scanned: ClamAV using ClamSMTP --001a1141ef5ad06f5d052c6adfa4 Content-Type: text/plain; charset=UTF-8 2016-02-23 9:11 GMT+02:00 Timo Teras : > On Mon, 22 Feb 2016 12:56:28 +0200 > Valery Kartel wrote: > > > - mysqli and pdo_mysql now uses system libmysqlclient library > > - mysqlnd now has mysqli as a backend > > does this fix #5111 also? > Yes, it fixes this x86 build still failed with: > > ... > Installing PEAR > environment: /home/tteras/aports/testing/php7/pkg/php7/usr/share/php7/ > PHP Warning: PHP Startup: Unable to load dynamic library > '/home/tteras/aports/testing/php7/src/php-7.0.3/modules/xml.so' - Error > loading shared > library /home/tteras/aports/testing/php7/src/php-7.0.3/modules/xml.so: > Permission denied in Unknown on line 0 [PEAR] xml extension is > required /home/tteras/aports/testing/php7/src/php-7.0.3/build/shtool > Just have no idea, why it's done well on my system and fails on your ... What kind of virtualization and kernel flavour do you use for your development ? install -c > ext/phar/phar.phar /home/tteras/aports/testing/php7/pkg/php7/usr/bin ln > -s -f phar.phar /home/tteras/aports/testing/php7/pkg/php7/usr/bin/phar > Installing PDO > headers: > /home/tteras/aports/testing/php7/pkg/php7/usr/include/php7/ext/pdo/ > sed: /home/tteras/aports/testing/php7/pkg/php7/usr/bin/pear: No such > file or directory > sed: /home/tteras/aports/testing/php7/pkg/php7/usr/bin/peardev: No such > file or directory > sed: /home/tteras/aports/testing/php7/pkg/php7/usr/bin/pecl: No such > file or directory > >>> php7*: Running split function dev... > mv: can't rename > '/home/tteras/aports/testing/php7/pkg/php7/usr/bin/peardev': No such > file or directory > > ... > > >>> php7*: Running postcheck for php7-fpm > >>> php7*: Running split function pear... > mv: can't rename > '/home/tteras/aports/testing/php7/pkg/php7/usr/bin/pecl': No such file > or directory mv: can't rename > '/home/tteras/aports/testing/php7/pkg/php7/usr/bin/pear': No such file > or directory mv: can't rename > '/home/tteras/aports/testing/php7/pkg/php7/etc/php7/pear.conf': No such > file or directory > >>> ERROR: php7-pear*: pear failed > >>> ERROR: php7*: prepare_subpackages failed > >>> ERROR: php7: all failed > >>> php7: Uninstalling dependencies... > > > Additional diagnostics: > > $ file ./src/php-7.0.3/ext/xml/.libs/xml.so > ./src/php-7.0.3/ext/xml/.libs/xml.so: ELF 32-bit LSB shared object, > Intel 80386, version 1 (SYSV), dynamically linked, not stripped > > $ ldd ./src/php-7.0.3/ext/xml/.libs/xml.so > ldd: ./src/php-7.0.3/ext/xml/.libs/xml.so: Not a valid dynamic program > > readelf and other utils display valid data there. So I'm not sure if > this is something in php build, in the toolchain or in musl dynamic > linker. > > /Timo > --001a1141ef5ad06f5d052c6adfa4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2016-02-23 9:11 GMT+02:00 Timo Teras <timo.teras@iki.fi>= :
On Mon, 22 Feb 2016 12= :56:28 +0200
Valery Kartel <valery.kartel@= gmail.com> wrote:

> - mysqli and pdo_mysql now uses system libmysqlclient library
> - mysqlnd now has mysqli as a backend

does this fix #5111 also?

Yes, i= t fixes this
=C2=A0

x86 build still failed with:

...
Installing PEAR
environment:=C2=A0 =C2=A0 =C2=A0 /home/tteras/aports/testing/php7/pkg/php7/= usr/share/php7/
PHP Warning:=C2=A0 PHP Startup: Unable to load dynamic library
'/home/tteras/aports/testing/php7/src/php-7.0.3/modules/xml.so' - E= rror
loading shared
library /home/tteras/aports/testing/php7/src/php-7.0.3/modules/xml.so:
Permission denied in Unknown on line 0 [PEAR] xml extension is
required /home/tteras/aports/testing/php7/src/php-7.0.3/build/shtool

Just have no idea, why it's done well on my syste= m and fails on your ...

What kind of virtualization and k= ernel flavour do you use for your development ?

install -c
ext/phar/phar.phar /home/tteras/aports/testing/php7/pkg/php7/usr/bin ln
-s -f phar.phar /home/tteras/aports/testing/php7/pkg/php7/usr/bin/phar
Installing PDO
headers:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 /home/tteras/aports/testing/php7= /pkg/php7/usr/include/php7/ext/pdo/
sed: /home/tteras/aports/testing/php7/pkg/php7/usr/bin/pear: No such
file or directory
sed: /home/tteras/aports/testing/php7/pkg/php7/usr/bin/peardev: No such
file or directory
sed: /home/tteras/aports/testing/php7/pkg/php7/usr/bin/pecl: No such
file or directory
>>> php7*: Running split function dev...
mv: can't rename
'/home/tteras/aports/testing/php7/pkg/php7/usr/bin/peardev': No suc= h
file or directory

...

>>> php7*: Running postcheck for php7-fpm
>>> php7*: Running split function pear...
mv: can't rename
'/home/tteras/aports/testing/php7/pkg/php7/usr/bin/pecl': No such f= ile
or directory mv: can't rename
'/home/tteras/aports/testing/php7/pkg/php7/usr/bin/pear': No such f= ile
or directory mv: can't rename
'/home/tteras/aports/testing/php7/pkg/php7/etc/php7/pear.conf': No = such
file or directory
>>> ERROR: php7-pear*: pear failed
>>> ERROR: php7*: prepare_subpackages failed
>>> ERROR: php7: all failed
>>> php7: Uninstalling dependencies...


Additional diagnostics:

$ file ./src/php-7.0.3/ext/xml/.libs/xml.so
./src/php-7.0.3/ext/xml/.libs/xml.so: ELF 32-bit LSB shared object,
Intel 80386, version 1 (SYSV), dynamically linked, not stripped

$ ldd ./src/php-7.0.3/ext/xml/.libs/xml.so
ldd: ./src/php-7.0.3/ext/xml/.libs/xml.so: Not a valid dynamic program

readelf and other utils display valid data there. So I'm not sure if this is something in php build, in the toolchain or in musl dynamic
linker.

/Timo

--001a1141ef5ad06f5d052c6adfa4-- --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---