Bug#422497: [php-maint] Bug#422497: FTBFS: permission denied

2007-05-09 Thread Ondřej Surý
tags 422497 +moreinfo
thank you

Hi Mathias,

since php5 were successfully build on all debian archs (attempted), I
guess problem could lie in the fact you are not using original
debian .orig.tar.gz and patch: php5_5.2.2-1~highlightbg.diff.gz 

Could you double check if this error is present in .orig.tar.gz/diff.gz
from debian archives?

Ondrej.

Mathias Brodala píše v Ne 06. 05. 2007 v 14:40 +0200: 
 Package: php5
 Version: 5.2.2-1
 Severity: important
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Building the package fails:
 
  dpkg-source -b php5-5.2.2
  dpkg-source: building php5 using existing php5_5.2.2.orig.tar.gz
  dpkg-source: building php5 in php5_5.2.2-1~highlightbg.diff.gz
  diff: ./php5-5.2.2/.pc/019-z_off_t_as_long.patch/ext/zlib/zconf.h: 
  Permission
  denied
  dpkg-source: failure: diff on
  ./php5-5.2.2/.pc/019-z_off_t_as_long.patch/ext/zlib/zconf.h gave error exit
  status 2
 
 The permissions for files in this and the 029-php.ini_paranoid.patch directory
 are indeed set to 000.
 
 - -- System Information:
 Debian Release: lenny/sid
   APT prefers unstable
   APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
 Architecture: i386 (i686)
 
 Kernel: Linux 2.6.20-1-k7 (SMP w/1 CPU core)
 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: 
 LC_ALL set to de_DE.UTF-8)
 Shell: /bin/sh linked to /bin/bash
 
 Versions of packages php5 depends on:
 ii  libapache2-mod-php5 5.2.0-11~highlightbg server-side, HTML-embedded 
 scripti
 ii  php5-common 5.2.0-11~highlightbg Common files for packages built 
 fr

-- 
Ondřej Surý [EMAIL PROTECTED]  ***  http://blog.rfc1925.org/
Kulturní občasník  ***  http://www.obcasnik.cz/





Bug#422497: [php-maint] Bug#422497: FTBFS: permission denied

2007-05-09 Thread Mathias Brodala
Hi Ondřej.

Ondřej Surý, 09.05.2007 09:06:
 since php5 were successfully build on all debian archs (attempted), I
 guess problem could lie in the fact you are not using original
 debian .orig.tar.gz and patch: php5_5.2.2-1~highlightbg.diff.gz 
 
 Could you double check if this error is present in .orig.tar.gz/diff.gz
 from debian archives?

Indeed, it builds that way. But how can this be when my patch only touches three
files (zend_highlight.h, zend_highlight.c and basic_functions.c), where none of
them is related to the files which cause the error?


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Bug#422497: [php-maint] Bug#422497: FTBFS: permission denied

2007-05-09 Thread Ondřej Surý
Mathias Brodala píše v St 09. 05. 2007 v 14:09 +0200:
 Hi Ondřej.
 
 Ondřej Surý, 09.05.2007 09:06:
  since php5 were successfully build on all debian archs (attempted), I
  guess problem could lie in the fact you are not using original
  debian .orig.tar.gz and patch: php5_5.2.2-1~highlightbg.diff.gz 
  
  Could you double check if this error is present in .orig.tar.gz/diff.gz
  from debian archives?
 
 Indeed, it builds that way. But how can this be when my patch only touches 
 three
 files (zend_highlight.h, zend_highlight.c and basic_functions.c), where none 
 of
 them is related to the files which cause the error?

Do you use original .orig.tar.gz or you did repack it?  Do you use same
build method?

Then try to diff debian .diff.gz and your .diff.gz, maybe there will be
some hint.

And can we agree that this bug can be closed since it doesn't apply to
debian packages?  (That doesn't mean we won't help you...)

Ondrej.
-- 
Ondřej Surý [EMAIL PROTECTED]  ***  http://blog.rfc1925.org/
Kulturní občasník  ***  http://www.obcasnik.cz/