Debian Bug report logs - #832500
Can't create directory 'git-php/mysql_db/' (Errcode: 17 - File exists)

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

Reported by: jean-christophe manciot <actionmystique@gmail.com>

Date: Tue, 26 Jul 2016 07:12:02 UTC

Severity: minor

Tags: moreinfo

Merged with 832963

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#832500; Package php7.0. (Tue, 26 Jul 2016 07:12:05 GMT) (full text, mbox, link).


Acknowledgement sent to jean-christophe manciot <actionmystique@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Tue, 26 Jul 2016 07:12:06 GMT) (full text, mbox, link).


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

From: jean-christophe manciot <actionmystique@gmail.com>
To: submit@bugs.debian.org
Subject: Can't create directory 'git-php/mysql_db/' (Errcode: 17 - File exists)
Date: Tue, 26 Jul 2016 09:09:32 +0200
[Message part 1 (text/plain, inline)]
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@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
[Message part 2 (text/html, inline)]

Bug reassigned from package 'php7.0' to 'src:php7.0'. Request was from Ondřej Surý <ondrej@sury.org> to 832963-submit@bugs.debian.org. (Sun, 31 Jul 2016 19:15:04 GMT) (full text, mbox, link).


Severity set to 'minor' from 'normal' Request was from Ondřej Surý <ondrej@sury.org> to 832963-submit@bugs.debian.org. (Sun, 31 Jul 2016 19:15:05 GMT) (full text, mbox, link).


Merged 832500 832963 Request was from Ondřej Surý <ondrej@sury.org> to 832963-submit@bugs.debian.org. (Sun, 31 Jul 2016 19:15:07 GMT) (full text, mbox, link).


Added tag(s) moreinfo. Request was from Ondřej Surý <ondrej@sury.org> to 832963-submit@bugs.debian.org. (Sun, 31 Jul 2016 19:15:10 GMT) (full text, mbox, link).


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

From: Ondřej Surý <ondrej@sury.org>
To: 832963-done@bugs.debian.org
Subject: Re: [php-maint] Bug#832963: Bug#832963: Can't create directory 'git-php/mysql_db/' (Errcode: 17 - File exists)
Date: Tue, 13 Dec 2016 16:26:52 +0100
No additional info received, closing the bug.

-- 
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) – Mouky ze mlýna a potřeby pro
pečení chleba všeho druhu

On Mon, Aug 1, 2016, at 10:47, Ondřej Surý wrote:
> On Mon, Aug 1, 2016, at 11:09, jean-christophe manciot wrote:
> > >
> > > First of all, don't fill duplicate bug reports. You already reported
> > > this as #832500.
> > 
> > They point to different release numbers.
> 
> That's why we have "found <bugno> <pkg_version>"
> 
> >  And third - the package builds just fine, including the tests:
> > 
> > Not on my environment, and I don't rely on a bot.
> 
> And how is this relevant to the Debian packaging? The packages build
> fine everywhere, except your setup. Thus there's a high probability that
> your setup is broken or non-standard.
> 
> > I used to be able to build previous versions with the same script,
> > including 7.0.7-2.
> 
> 7.0.8-3 has re-enabled the test suite as part of the build process.
> 
> php7.0 (7.0.8-3) unstable; urgency=medium
> 
>   [ Ondřej Surý ]
>   * Improve libapache2-mod-php script to switch MPM only on fresh
>   installs
>   * libapache2-mod-phpX.Y now recommends apache2 package (as this is
>   what
>     most people want anyway)
> 
>   [ Marc Deslauriers ]
>   * Re-enable test suite
> 
>   [ Ondřej Surý ]
>   * Update d/setup-mysql.sh to support MySQL 5.5, 5.6 and 5.7 and
>     build-depend on libnss-myhostname so mysql_install_db --force option
>     is not needed
> 
>  -- Ondřej Surý <ondrej@debian.org>  Wed, 29 Jun 2016 11:11:39 +0200
> 
> > Something has changed in the sources that causes the bug.
> 
> As I said, you are free to find the bug, provide a fix, and I'll include
> it in the packaging. But I am not going to debug some weird setup you
> might have on your local system that might prevent mysqld writing to the
> directory.
> 
> > If it is not solved, I will stop building it and including it in my PPA.
> 
> And how is this relevant to the Debian packaging?
> 
> > 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.
> > 
> > dpkg-buildpackage is the common way to build debian packages from
> > sources.
> > I build a lot of packages apart from php, and I have no issue with that
> > way of doing things.
> 
> That doesn't mean you are doing it correctly.
> 
> Cheers,
> Ondřej



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 11 Jan 2017 07:25:08 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 00:26:57 2023; Machine Name: buxtehude

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.