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

Ondřej Surý ondrej at sury.org
Mon Aug 1 09:47:08 UTC 2016


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 at 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



More information about the pkg-php-maint mailing list