[php-maint] Bug#832963: Bug#832963: Can't create directory 'git-php/mysql_db/' (Errcode: 17 - File exists)

Ondřej Surý ondrej at sury.org
Sun Jul 31 19:12:12 UTC 2016


Control: reassign 832500 src:php7.0
Control: severity 832500 minor
Control: reassign -1 src:php7.0
Control: forcemerge 832500 -1
Control: tags -1 +moreinfo

First of all, don't fill duplicate bug reports. You already reported
this as #832500.

Second, please, read about bug severities:

https://www.debian.org/Bugs/Developer#severities

The fact that *you* cannot build the package is not a "critical"
severity.

> critical
>    makes unrelated software on the system (or the whole system) break, or causes serious data loss, or introduces a security hole on systems where you install the package.

Please make sure you understand what the bug severities mean next time
you fill a bug. Or just pick 'normal' next time and let the package
maintainer decide.

And third - the package builds just fine, including the tests:

https://buildd.debian.org/status/package.php?p=php7.0
https://buildd.debian.org/status/fetch.php?pkg=php7.0&arch=amd64&ver=7.0.9-1&stamp=1469520991

So, I am quite sure that the problem is somewhere in the way you build
the package. I quite don't understand why you use git to checkout
source, but you don't use git-buildpackage (`gbp buildpackage`) to build
the package.

I would be happy to fix even your use case, but you need to debug it
yourself and provide more information.

Cheers,
-- 
Ondřej Surý <ondrej at 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 Sat, Jul 30, 2016, at 08:22, jean-christophe manciot wrote:
> Package: php7.0
> 
> Version: 7.0.9-1
> 
> Severity: critical
> 
> git sources pulled from https://anonscm.debian.org/cgit/pkg-php/php.git
> 
> 	git reset --hard
> 	git clean -fxd :/
>         git checkout master-7.0
> 	git pull -v --progress --rebase
> 	git checkout debian/7.0.9-1
> 
> 	echo --------
> 	echo Building
> 	echo --------
> 	dpkg-buildpackage -b -m"Jean-Christophe Manciot
> <manciot.jeanchristophe at gmail.com>"
> 
> + user=mysql
> +
> socket=/home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db/mysql.sock
> + mysql=mysql --no-defaults --user root
> --socket=/home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db/mysql.sock
> --no-beep
> + mysqladmin=mysqladmin --no-defaults --user root --port 1903 --host
> 127.0.0.1
> --socket=/home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db/mysql.sock
> --no-beep
> + mysqld=/usr/sbin/mysqld --no-defaults --user=mysql
> --bind-address=127.0.0.1 --port=1903
> --socket=/home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db/mysql.sock
> --datadir=/home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db
> + /usr/sbin/mysqld --no-defaults --user=mysql --bind-address=127.0.0.1
> --port=1903
> --socket=/home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db/mysql.sock
> --datadir=/home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db
> -V
> + sed -ne s/.*Ver \([0-9]\+\.[0-9]\+\).*/\1/p
> + mysqld_version=5.7
> + [ start = stop ]
> + rm -rf /home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db
> + mkdir -p /home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db
> + chmod go-rx
> /home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db
> + chown mysql:
> /home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db
> + /usr/sbin/mysqld --no-defaults --user=mysql --bind-address=127.0.0.1
> --port=1903
> --socket=/home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db/mysql.sock
> --datadir=/home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db
> --initialize-insecure
> mysqld: Can't create directory
> '/home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db/'
> (Errcode:
> 17 - File exists)
> 2016-07-30T06:13:27.350192Z 0 [Warning] TIMESTAMP with implicit DEFAULT
> value is deprecated. Please use --explicit_defaults_for_timestamp server
> option (see documentation for more details).
> 2016-07-30T06:13:27.358128Z 0 [ERROR] Aborting
> 
> 
> On Tue, Jul 26, 2016 at 9:09 AM, jean-christophe manciot <
> actionmystique at gmail.com> wrote:
> 
> > Package: php7.0
> >
> > Version: 7.0.8-5
> >
> > git sources pulled from https://anonscm.debian.org/cgit/pkg-php/php.git
> >
> > 	git reset --hard
> > 	git clean -fxd :/
> >         git checkout master-7.0
> > 	git pull -v --progress --rebase
> > 	git checkout debian/7.0.8-3
> >
> > 	echo --------
> > 	echo Building
> > 	echo --------
> > 	dpkg-buildpackage -b -m"Jean-Christophe Manciot <manciot.jeanchristophe at gmail.com>"
> >
> > ...
> > + mysqld_version=5.7
> > + [ start = stop ]
> > + rm -rf /home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db
> > + mkdir -p /home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db
> > + chmod go-rx /home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db
> > + chown mysql: /home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db
> > + /usr/sbin/mysqld --no-defaults --user=mysql --bind-address=127.0.0.1 --port=1980 --socket=/home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db/mysql.sock --datadir=/home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db --initialize-insecure
> > mysqld: Can't create directory '/home/actionmystique/Program-Files/Ubuntu/PHP/git-php/mysql_db/' (Errcode: 17 - File exists)
> > 2016-07-20T08:36:04.458793Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
> > 2016-07-20T08:36:04.460120Z 0 [ERROR] Aborting
> >
> >
> > --
> > Jean-Christophe
> >
> 
> 
> 
> -- 
> Jean-Christophe
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



More information about the pkg-php-maint mailing list