Debian Bug report logs - #828869
src:php7.0: run tests during build

version graph

Package: php7.0; Maintainer for php7.0 is (unknown);

Reported by: Nishanth Aravamudan <nish.aravamudan@canonical.com>

Date: Tue, 28 Jun 2016 17:21:01 UTC

Severity: wishlist

Tags: patch

Found in version php7.0/7.0.8-2

Fixed in version 7.0.8-3

Done: Ondřej Surý <ondrej@sury.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#828869; Package php7.0. (Tue, 28 Jun 2016 17:21:05 GMT) (full text, mbox, link).


Acknowledgement sent to Nishanth Aravamudan <nish.aravamudan@canonical.com>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Tue, 28 Jun 2016 17:21:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Nishanth Aravamudan <nish.aravamudan@canonical.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: src:php7.0: run tests during build
Date: Tue, 28 Jun 2016 10:19:40 -0700
Package: php7.0
Version: 7.0.8-2
Severity: wishlist
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu yakkety ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * Re-enable test suite, thanks to Marc Deslauriers
    <marc.deslauriers@ubuntu.com>
    - debian/rules, debian/setup-mysql.sh: updated for new MySQL version
      and new layout.

Thanks for considering the patch.

*** /tmp/tmpTBf45P/php7.0_7.0.8-2ubuntu1.debdiff
diff -Nru php7.0-7.0.8/debian/rules php7.0-7.0.8/debian/rules
--- php7.0-7.0.8/debian/rules	2016-06-24 04:42:02.000000000 -0700
+++ php7.0-7.0.8/debian/rules	2016-06-28 08:54:49.000000000 -0700
@@ -90,7 +90,7 @@
 LIBTOOL_VERSION := $(shell dpkg-query -f'$${Version}' -W libtool)
 
 # Disable the test now
-RUN_TESTS := no
+RUN_TESTS := yes
 ifeq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
   $(warning Disabling checks due DEB_BUILD_OPTIONS)
   RUN_TESTS := no
@@ -101,12 +101,12 @@
 endif
 
 ifeq (yes,$(RUN_TESTS))
-  MYSQL_PORT ?= $(shell for i in $$(seq 1025 3600 | sort -R); do nc -z localhost $$i || { echo $$i; exit; } ; done)
-  MYSQL_DATA_DIR ?= $(shell readlink -f mysql_db)
+  MYSQL_PORT := $(shell for i in $$(seq 1025 3600 | sort -R); do nc -z localhost $$i || { echo $$i; exit; } ; done)
+  MYSQL_DATA_DIR := $(shell readlink -f mysql_db)
   ifeq (,$(MYSQL_PORT))
       $(error Could not find available port for mysql server)
   endif
-  MYSQL_SOCKET ?= $(MYSQL_DATA_DIR)/mysql.sock
+  MYSQL_SOCKET := $(MYSQL_DATA_DIR)/mysql.sock
 endif
 
 ifeq (linux,$(DEB_HOST_ARCH_OS))
@@ -343,7 +343,7 @@
 	# start our own mysql server for the tests
 	$(SHELL) -x debian/setup-mysql.sh $(MYSQL_PORT) $(MYSQL_DATA_DIR)
 	extensions=""; \
-	for f in $(CURDIR)/apache2-build/modules/*.so; do \
+	for f in $(CURDIR)/ext-build/modules/*.so; do \
 	    ext=`basename "$$f"`; \
 	    test -d "$(CURDIR)/ext/$${ext%.so}/tests" || continue; \
 	    test "$$ext" != "imap.so" || continue; \
@@ -357,11 +357,15 @@
 	    test "$$ext" != "pdo_pgsql.so" || continue; \
 	    test "$$ext" != "snmp.so" || continue; \
 	    test "$$ext" != "opcache.so" || continue; \
+	    test "$$ext" != "mysqlnd.so" || continue; \
+	    test "$$ext" != "mysqli.so" || continue; \
+	    test "$$ext" != "pdo_mysql.so" || continue; \
+	    test "$$ext" != "wddx.so" || continue; \
 	    extensions="$$extensions -d extension=$$ext"; \
 	done; \
 	[ "$$extensions" ] || { echo "extensions list is empty"; exit 1; }; \
-	env MYSQL_TEST_HOST=127.0.0.1 MYSQL_TEST_PORT=$(MYSQL_PORT) MYSQL_TEST_SOCKET=$(MYSQL_SOCKET) PDO_MYSQL_TEST_HOST=127.0.0.1 PDO_MYSQL_TEST_PORT=$(MYSQL_PORT) PDO_MYSQL_TEST_SOCKET=$(MYSQL_SOCKET) NO_INTERACTION=1 TEST_PHP_CGI_EXECUTABLE=$(CURDIR)/cgi-build/sapi/cgi/cgi-bin.php$(PHP_NAME_VERSION) TEST_PHP_EXECUTABLE=$(CURDIR)/cli-build/sapi/cli/php \
-	$(CURDIR)/cli-build/sapi/cli/php run-tests.php -n -d mysql.default_host=127.0.0.1 -d mysql.default_socket=$(MYSQL_SOCKET) -d mysqli.default_socket=$(MYSQL_SOCKET) -d extension_dir=$(CURDIR)/apache2-build/modules/ $$extensions| tee test-results.txt
+	env MYSQL_TEST_HOST=127.0.0.1 MYSQL_TEST_PORT=$(MYSQL_PORT) MYSQL_TEST_SOCKET=$(MYSQL_SOCKET) PDO_MYSQL_TEST_HOST=127.0.0.1 PDO_MYSQL_TEST_PORT=$(MYSQL_PORT) PDO_MYSQL_TEST_SOCKET=$(MYSQL_SOCKET) NO_INTERACTION=1 TEST_PHP_CGI_EXECUTABLE=$(CURDIR)/cgi-build/sapi/php-cgi TEST_PHP_EXECUTABLE=$(CURDIR)/cli-build/sapi/cli/php \
+	$(CURDIR)/cli-build/sapi/cli/php run-tests.php -n -d mysql.default_host=127.0.0.1 -d mysql.default_socket=$(MYSQL_SOCKET) -d mysqli.default_socket=$(MYSQL_SOCKET) -d extension_dir=$(CURDIR)/ext-build/modules/ $$extensions| tee test-results.txt
 	rm -rf temp_session_store
 	@for test in `find . -name '*.log' -a '!' -name 'config.log' -a '!' -name 'bootstrap.log' -a '!' -name 'run.log'`; do \
 	    echo; \
diff -Nru php7.0-7.0.8/debian/setup-mysql.sh php7.0-7.0.8/debian/setup-mysql.sh
--- php7.0-7.0.8/debian/setup-mysql.sh	2016-06-24 04:42:02.000000000 -0700
+++ php7.0-7.0.8/debian/setup-mysql.sh	2016-06-28 08:57:39.000000000 -0700
@@ -36,12 +36,12 @@
 chmod go-rx $datadir
 chown $user: $datadir
 
-mysql_install_db --no-defaults --user=$user --datadir=$datadir --rpm --force
+mysql_install_db --no-defaults --user=$user --datadir=$datadir --mysqld-file=/usr/sbin/mysqld --random-password-file=$datadir/.mysql_secret
 
 tmpf=$(mktemp)
 cat > "$tmpf" <<EOF
 USE mysql;
-UPDATE user SET password=PASSWORD('') WHERE user='root';
+UPDATE user SET authentication_string=PASSWORD(''), password_expired = 'N' WHERE user='root';
 FLUSH PRIVILEGES;
 EOF
 


-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-24-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
Nishanth Aravamudan
Ubuntu Server
Canonical Ltd



Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#828869; Package php7.0. (Tue, 28 Jun 2016 20:57:07 GMT) (full text, mbox, link).


Acknowledgement sent to Ondřej Surý <ondrej@sury.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Tue, 28 Jun 2016 20:57:07 GMT) (full text, mbox, link).


Message #10 received at 828869@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@sury.org>
To: Nishanth Aravamudan <nish.aravamudan@canonical.com>, Debian Bug Tracking System <828869@bugs.debian.org>
Subject: Re: [php-maint] Bug#828869: src:php7.0: run tests during build
Date: Tue, 28 Jun 2016 22:53:06 +0200
Cool stuff, I was actually preparing to enable the test suite myself.
Nish, you still don't have an alioth account? I could give you direct
access to commit such important stuff. Or you can submit PRs over at the
github mirror: github.com/pkg-php/php

It would be easier for me than to pick it up from the email ;).

Cheers,
-- 
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
fast DNS(SEC) resolver
Vše pro chleba (https://vseprochleba.cz) – Potřeby pro pečení chleba
všeho druhu

On Tue, Jun 28, 2016, at 19:19, Nishanth Aravamudan wrote:
> Package: php7.0
> Version: 7.0.8-2
> Severity: wishlist
> Tags: patch
> User: ubuntu-devel@lists.ubuntu.com
> Usertags: origin-ubuntu yakkety ubuntu-patch
> 
> Dear Maintainer,
> 
> In Ubuntu, the attached patch was applied to achieve the following:
> 
>   * Re-enable test suite, thanks to Marc Deslauriers
>     <marc.deslauriers@ubuntu.com>
>     - debian/rules, debian/setup-mysql.sh: updated for new MySQL version
>       and new layout.
> 
> Thanks for considering the patch.
> 
> *** /tmp/tmpTBf45P/php7.0_7.0.8-2ubuntu1.debdiff
> diff -Nru php7.0-7.0.8/debian/rules php7.0-7.0.8/debian/rules
> --- php7.0-7.0.8/debian/rules   2016-06-24 04:42:02.000000000 -0700
> +++ php7.0-7.0.8/debian/rules   2016-06-28 08:54:49.000000000 -0700
> @@ -90,7 +90,7 @@
>  LIBTOOL_VERSION := $(shell dpkg-query -f'$${Version}' -W libtool)
>  
>  # Disable the test now
> -RUN_TESTS := no
> +RUN_TESTS := yes
>  ifeq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
>    $(warning Disabling checks due DEB_BUILD_OPTIONS)
>    RUN_TESTS := no
> @@ -101,12 +101,12 @@
>  endif
>  
>  ifeq (yes,$(RUN_TESTS))
> -  MYSQL_PORT ?= $(shell for i in $$(seq 1025 3600 | sort -R); do nc -z
> localhost $$i || { echo $$i; exit; } ; done)
> -  MYSQL_DATA_DIR ?= $(shell readlink -f mysql_db)
> +  MYSQL_PORT := $(shell for i in $$(seq 1025 3600 | sort -R); do nc -z
> localhost $$i || { echo $$i; exit; } ; done)
> +  MYSQL_DATA_DIR := $(shell readlink -f mysql_db)
>    ifeq (,$(MYSQL_PORT))
>        $(error Could not find available port for mysql server)
>    endif
> -  MYSQL_SOCKET ?= $(MYSQL_DATA_DIR)/mysql.sock
> +  MYSQL_SOCKET := $(MYSQL_DATA_DIR)/mysql.sock
>  endif
>  
>  ifeq (linux,$(DEB_HOST_ARCH_OS))
> @@ -343,7 +343,7 @@
>  	# start our own mysql server for the tests
>  	$(SHELL) -x debian/setup-mysql.sh $(MYSQL_PORT) $(MYSQL_DATA_DIR)
>  	extensions=""; \
> -       for f in $(CURDIR)/apache2-build/modules/*.so; do \
> +       for f in $(CURDIR)/ext-build/modules/*.so; do \
>  	    ext=`basename "$$f"`; \
>  	    test -d "$(CURDIR)/ext/$${ext%.so}/tests" || continue; \
>  	    test "$$ext" != "imap.so" || continue; \
> @@ -357,11 +357,15 @@
>  	    test "$$ext" != "pdo_pgsql.so" || continue; \
>  	    test "$$ext" != "snmp.so" || continue; \
>  	    test "$$ext" != "opcache.so" || continue; \
> +           test "$$ext" != "mysqlnd.so" || continue; \
> +           test "$$ext" != "mysqli.so" || continue; \
> +           test "$$ext" != "pdo_mysql.so" || continue; \
> +           test "$$ext" != "wddx.so" || continue; \
>  	    extensions="$$extensions -d extension=$$ext"; \
>  	done; \
>  	[ "$$extensions" ] || { echo "extensions list is empty"; exit 1; }; \
> -       env MYSQL_TEST_HOST=127.0.0.1 MYSQL_TEST_PORT=$(MYSQL_PORT)
> MYSQL_TEST_SOCKET=$(MYSQL_SOCKET) PDO_MYSQL_TEST_HOST=127.0.0.1
> PDO_MYSQL_TEST_PORT=$(MYSQL_PORT) PDO_MYSQL_TEST_SOCKET=$(MYSQL_SOCKET)
> NO_INTERACTION=1
> TEST_PHP_CGI_EXECUTABLE=$(CURDIR)/cgi-build/sapi/cgi/cgi-bin.php$(PHP_NAME_VERSION)
> TEST_PHP_EXECUTABLE=$(CURDIR)/cli-build/sapi/cli/php \
> -       $(CURDIR)/cli-build/sapi/cli/php run-tests.php -n -d
> mysql.default_host=127.0.0.1 -d mysql.default_socket=$(MYSQL_SOCKET) -d
> mysqli.default_socket=$(MYSQL_SOCKET) -d
> extension_dir=$(CURDIR)/apache2-build/modules/ $$extensions| tee
> test-results.txt
> +       env MYSQL_TEST_HOST=127.0.0.1 MYSQL_TEST_PORT=$(MYSQL_PORT)
> MYSQL_TEST_SOCKET=$(MYSQL_SOCKET) PDO_MYSQL_TEST_HOST=127.0.0.1
> PDO_MYSQL_TEST_PORT=$(MYSQL_PORT) PDO_MYSQL_TEST_SOCKET=$(MYSQL_SOCKET)
> NO_INTERACTION=1 TEST_PHP_CGI_EXECUTABLE=$(CURDIR)/cgi-build/sapi/php-cgi
> TEST_PHP_EXECUTABLE=$(CURDIR)/cli-build/sapi/cli/php \
> +       $(CURDIR)/cli-build/sapi/cli/php run-tests.php -n -d
> mysql.default_host=127.0.0.1 -d mysql.default_socket=$(MYSQL_SOCKET) -d
> mysqli.default_socket=$(MYSQL_SOCKET) -d
> extension_dir=$(CURDIR)/ext-build/modules/ $$extensions| tee
> test-results.txt
>  	rm -rf temp_session_store
>  	@for test in `find . -name '*.log' -a '!' -name 'config.log' -a '!' -name 'bootstrap.log' -a '!' -name 'run.log'`; do \
>  	    echo; \
> diff -Nru php7.0-7.0.8/debian/setup-mysql.sh
> php7.0-7.0.8/debian/setup-mysql.sh
> --- php7.0-7.0.8/debian/setup-mysql.sh  2016-06-24 04:42:02.000000000
> -0700
> +++ php7.0-7.0.8/debian/setup-mysql.sh  2016-06-28 08:57:39.000000000
> -0700
> @@ -36,12 +36,12 @@
>  chmod go-rx $datadir
>  chown $user: $datadir
>  
> -mysql_install_db --no-defaults --user=$user --datadir=$datadir --rpm
> --force
> +mysql_install_db --no-defaults --user=$user --datadir=$datadir
> --mysqld-file=/usr/sbin/mysqld
> --random-password-file=$datadir/.mysql_secret
>  
>  tmpf=$(mktemp)
>  cat > "$tmpf" <<EOF
>  USE mysql;
> -UPDATE user SET password=PASSWORD('') WHERE user='root';
> +UPDATE user SET authentication_string=PASSWORD(''), password_expired =
> 'N' WHERE user='root';
>  FLUSH PRIVILEGES;
>  EOF
>  
> 
> 
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers xenial-updates
>   APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500,
>   'xenial'), (100, 'xenial-backports')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 4.4.0-24-generic (SMP w/4 CPU cores)
> Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> -- 
> Nishanth Aravamudan
> Ubuntu Server
> Canonical Ltd
> 
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



Reply sent to Ondřej Surý <ondrej@sury.org>:
You have taken responsibility. (Wed, 29 Jun 2016 10:39:04 GMT) (full text, mbox, link).


Notification sent to Nishanth Aravamudan <nish.aravamudan@canonical.com>:
Bug acknowledged by developer. (Wed, 29 Jun 2016 10:39:05 GMT) (full text, mbox, link).


Message #15 received at 828869-done@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@sury.org>
To: Nishanth Aravamudan <nish.aravamudan@canonical.com>, Debian Bug Tracking System <828869-done@bugs.debian.org>
Subject: Re: [php-maint] Bug#828869: Bug#828869: src:php7.0: run tests during build
Date: Wed, 29 Jun 2016 12:35:48 +0200
Version: 7.0.8-3

I had to modify setup-mysql.sh to support MySQL 5.5/5.6 in addition to
MySQL 5.7 (and changed the setup for MySQL 5.7 to mysqld
--initialize-insecure), but it has been merged.

Now it just seem to me that there are too many failed tests, so I'll
have to investigate the cause.

Cheers,
-- 
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
fast DNS(SEC) resolver
Vše pro chleba (https://vseprochleba.cz) – Potřeby pro pečení chleba
všeho druhu

On Tue, Jun 28, 2016, at 22:53, Ondřej Surý wrote:
> Cool stuff, I was actually preparing to enable the test suite myself.
> Nish, you still don't have an alioth account? I could give you direct
> access to commit such important stuff. Or you can submit PRs over at the
> github mirror: github.com/pkg-php/php
> 
> It would be easier for me than to pick it up from the email ;).
> 
> Cheers,
> -- 
> Ondřej Surý <ondrej@sury.org>
> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
> Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
> fast DNS(SEC) resolver
> Vše pro chleba (https://vseprochleba.cz) – Potřeby pro pečení chleba
> všeho druhu
> 
> On Tue, Jun 28, 2016, at 19:19, Nishanth Aravamudan wrote:
> > Package: php7.0
> > Version: 7.0.8-2
> > Severity: wishlist
> > Tags: patch
> > User: ubuntu-devel@lists.ubuntu.com
> > Usertags: origin-ubuntu yakkety ubuntu-patch
> > 
> > Dear Maintainer,
> > 
> > In Ubuntu, the attached patch was applied to achieve the following:
> > 
> >   * Re-enable test suite, thanks to Marc Deslauriers
> >     <marc.deslauriers@ubuntu.com>
> >     - debian/rules, debian/setup-mysql.sh: updated for new MySQL version
> >       and new layout.
> > 
> > Thanks for considering the patch.
> > 
> > *** /tmp/tmpTBf45P/php7.0_7.0.8-2ubuntu1.debdiff
> > diff -Nru php7.0-7.0.8/debian/rules php7.0-7.0.8/debian/rules
> > --- php7.0-7.0.8/debian/rules   2016-06-24 04:42:02.000000000 -0700
> > +++ php7.0-7.0.8/debian/rules   2016-06-28 08:54:49.000000000 -0700
> > @@ -90,7 +90,7 @@
> >  LIBTOOL_VERSION := $(shell dpkg-query -f'$${Version}' -W libtool)
> >  
> >  # Disable the test now
> > -RUN_TESTS := no
> > +RUN_TESTS := yes
> >  ifeq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
> >    $(warning Disabling checks due DEB_BUILD_OPTIONS)
> >    RUN_TESTS := no
> > @@ -101,12 +101,12 @@
> >  endif
> >  
> >  ifeq (yes,$(RUN_TESTS))
> > -  MYSQL_PORT ?= $(shell for i in $$(seq 1025 3600 | sort -R); do nc -z
> > localhost $$i || { echo $$i; exit; } ; done)
> > -  MYSQL_DATA_DIR ?= $(shell readlink -f mysql_db)
> > +  MYSQL_PORT := $(shell for i in $$(seq 1025 3600 | sort -R); do nc -z
> > localhost $$i || { echo $$i; exit; } ; done)
> > +  MYSQL_DATA_DIR := $(shell readlink -f mysql_db)
> >    ifeq (,$(MYSQL_PORT))
> >        $(error Could not find available port for mysql server)
> >    endif
> > -  MYSQL_SOCKET ?= $(MYSQL_DATA_DIR)/mysql.sock
> > +  MYSQL_SOCKET := $(MYSQL_DATA_DIR)/mysql.sock
> >  endif
> >  
> >  ifeq (linux,$(DEB_HOST_ARCH_OS))
> > @@ -343,7 +343,7 @@
> >  	# start our own mysql server for the tests
> >  	$(SHELL) -x debian/setup-mysql.sh $(MYSQL_PORT) $(MYSQL_DATA_DIR)
> >  	extensions=""; \
> > -       for f in $(CURDIR)/apache2-build/modules/*.so; do \
> > +       for f in $(CURDIR)/ext-build/modules/*.so; do \
> >  	    ext=`basename "$$f"`; \
> >  	    test -d "$(CURDIR)/ext/$${ext%.so}/tests" || continue; \
> >  	    test "$$ext" != "imap.so" || continue; \
> > @@ -357,11 +357,15 @@
> >  	    test "$$ext" != "pdo_pgsql.so" || continue; \
> >  	    test "$$ext" != "snmp.so" || continue; \
> >  	    test "$$ext" != "opcache.so" || continue; \
> > +           test "$$ext" != "mysqlnd.so" || continue; \
> > +           test "$$ext" != "mysqli.so" || continue; \
> > +           test "$$ext" != "pdo_mysql.so" || continue; \
> > +           test "$$ext" != "wddx.so" || continue; \
> >  	    extensions="$$extensions -d extension=$$ext"; \
> >  	done; \
> >  	[ "$$extensions" ] || { echo "extensions list is empty"; exit 1; }; \
> > -       env MYSQL_TEST_HOST=127.0.0.1 MYSQL_TEST_PORT=$(MYSQL_PORT)
> > MYSQL_TEST_SOCKET=$(MYSQL_SOCKET) PDO_MYSQL_TEST_HOST=127.0.0.1
> > PDO_MYSQL_TEST_PORT=$(MYSQL_PORT) PDO_MYSQL_TEST_SOCKET=$(MYSQL_SOCKET)
> > NO_INTERACTION=1
> > TEST_PHP_CGI_EXECUTABLE=$(CURDIR)/cgi-build/sapi/cgi/cgi-bin.php$(PHP_NAME_VERSION)
> > TEST_PHP_EXECUTABLE=$(CURDIR)/cli-build/sapi/cli/php \
> > -       $(CURDIR)/cli-build/sapi/cli/php run-tests.php -n -d
> > mysql.default_host=127.0.0.1 -d mysql.default_socket=$(MYSQL_SOCKET) -d
> > mysqli.default_socket=$(MYSQL_SOCKET) -d
> > extension_dir=$(CURDIR)/apache2-build/modules/ $$extensions| tee
> > test-results.txt
> > +       env MYSQL_TEST_HOST=127.0.0.1 MYSQL_TEST_PORT=$(MYSQL_PORT)
> > MYSQL_TEST_SOCKET=$(MYSQL_SOCKET) PDO_MYSQL_TEST_HOST=127.0.0.1
> > PDO_MYSQL_TEST_PORT=$(MYSQL_PORT) PDO_MYSQL_TEST_SOCKET=$(MYSQL_SOCKET)
> > NO_INTERACTION=1 TEST_PHP_CGI_EXECUTABLE=$(CURDIR)/cgi-build/sapi/php-cgi
> > TEST_PHP_EXECUTABLE=$(CURDIR)/cli-build/sapi/cli/php \
> > +       $(CURDIR)/cli-build/sapi/cli/php run-tests.php -n -d
> > mysql.default_host=127.0.0.1 -d mysql.default_socket=$(MYSQL_SOCKET) -d
> > mysqli.default_socket=$(MYSQL_SOCKET) -d
> > extension_dir=$(CURDIR)/ext-build/modules/ $$extensions| tee
> > test-results.txt
> >  	rm -rf temp_session_store
> >  	@for test in `find . -name '*.log' -a '!' -name 'config.log' -a '!' -name 'bootstrap.log' -a '!' -name 'run.log'`; do \
> >  	    echo; \
> > diff -Nru php7.0-7.0.8/debian/setup-mysql.sh
> > php7.0-7.0.8/debian/setup-mysql.sh
> > --- php7.0-7.0.8/debian/setup-mysql.sh  2016-06-24 04:42:02.000000000
> > -0700
> > +++ php7.0-7.0.8/debian/setup-mysql.sh  2016-06-28 08:57:39.000000000
> > -0700
> > @@ -36,12 +36,12 @@
> >  chmod go-rx $datadir
> >  chown $user: $datadir
> >  
> > -mysql_install_db --no-defaults --user=$user --datadir=$datadir --rpm
> > --force
> > +mysql_install_db --no-defaults --user=$user --datadir=$datadir
> > --mysqld-file=/usr/sbin/mysqld
> > --random-password-file=$datadir/.mysql_secret
> >  
> >  tmpf=$(mktemp)
> >  cat > "$tmpf" <<EOF
> >  USE mysql;
> > -UPDATE user SET password=PASSWORD('') WHERE user='root';
> > +UPDATE user SET authentication_string=PASSWORD(''), password_expired =
> > 'N' WHERE user='root';
> >  FLUSH PRIVILEGES;
> >  EOF
> >  
> > 
> > 
> > -- System Information:
> > Debian Release: stretch/sid
> >   APT prefers xenial-updates
> >   APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500,
> >   'xenial'), (100, 'xenial-backports')
> > Architecture: amd64 (x86_64)
> > Foreign Architectures: i386
> > 
> > Kernel: Linux 4.4.0-24-generic (SMP w/4 CPU cores)
> > Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
> > Shell: /bin/sh linked to /bin/dash
> > Init: systemd (via /run/systemd/system)
> > 
> > -- 
> > Nishanth Aravamudan
> > Ubuntu Server
> > Canonical Ltd
> > 
> > _______________________________________________
> > pkg-php-maint mailing list
> > pkg-php-maint@lists.alioth.debian.org
> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
> 
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#828869; Package php7.0. (Wed, 29 Jun 2016 18:00:16 GMT) (full text, mbox, link).


Acknowledgement sent to Nish Aravamudan <nish.aravamudan@canonical.com>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Wed, 29 Jun 2016 18:00:16 GMT) (full text, mbox, link).


Message #20 received at 828869@bugs.debian.org (full text, mbox, reply):

From: Nish Aravamudan <nish.aravamudan@canonical.com>
To: Ondřej Surý <ondrej@sury.org>
Cc: Debian Bug Tracking System <828869@bugs.debian.org>
Subject: Re: [php-maint] Bug#828869: src:php7.0: run tests during build
Date: Wed, 29 Jun 2016 10:59:53 -0700
On 28.06.2016 [22:53:06 +0200], Ondřej Surý wrote:
> Cool stuff, I was actually preparing to enable the test suite myself.
> Nish, you still don't have an alioth account? I could give you direct
> access to commit such important stuff. Or you can submit PRs over at the
> github mirror: github.com/pkg-php/php

I do, I've just been afraid to make my own changes directly without
review :)

> It would be easier for me than to pick it up from the email ;).

Duly noted, I'll be braver next time!



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 10 Aug 2016 07:38:18 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 03:40:57 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.