Bug#402669: cowdancer: cannot build gnustep-base with cowbuilder

2006-12-31 Thread Junichi Uekawa
> Yup.  It seems to be a problem chowning that file.  Just before 
> dh_fixperms, I add:
>set
>chown --no-dereference 0:0 
> debian/gnustep-base-common/usr/share/GNUstep/Libraries/gnustep-base/NSTimeZones/localtime
> 

I uploaded a fix for this problem.  Cowdancer inside of chroot needs
to be updated to the new version.  Please do cowbuilder --update after
the mirrors are up-to-date.

regards,
junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#402669: cowdancer: cannot build gnustep-base with cowbuilder

2006-12-24 Thread Hubert Chan
On 2006-12-21 11:06:17 -0500 Junichi Uekawa <[EMAIL PROTECTED]> 
wrote:



I could reproduce the build with the current package in sid.
adding -v option to dh_fixperms, I got this:


find debian/gnustep-base-common  -print0 2>/dev/null | xargs 
-0r chown 
--no-dereference 0:0

cowdancer: mkstemp: Bad file descriptor
chown: changing ownership of 
`debian/gnustep-base-common/usr/share/GNUstep/Libraries/gnustep-base/NSTimeZones/localtime': 
Cannot allocate memory

dh_fixperms: command returned error code
make: *** [binary-indep] Error 1


Yup.  It seems to be a problem chowning that file.  Just before 
dh_fixperms, I add:

  set
  chown --no-dereference 0:0 
debian/gnustep-base-common/usr/share/GNUstep/Libraries/gnustep-base/NSTimeZones/localtime


Here's the output of the build, starting from the "set" command (might 
be mangled due to cut-and-paste):


set
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_EXECUTION_STRING=set
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="1" [2]="17" [3]="1" [4]="release" 
[5]="i486-pc-linux-gnu")

BASH_VERSION='3.1.17(1)-release'
COWDANCER_ILISTFILE=/.ilist
COWDANCER_REUSE=yes
DEBIAN_FRONTEND=noninteractive
DEB_BUILD_ARCH=i386
DEB_BUILD_ARCH_CPU=i386
DEB_BUILD_ARCH_OS=linux
DEB_BUILD_GNU_CPU=i486
DEB_BUILD_GNU_SYSTEM=linux-gnu
DEB_BUILD_GNU_TYPE=i486-linux-gnu
DEB_HOST_ARCH=i386
DEB_HOST_ARCH_CPU=i386
DEB_HOST_ARCH_OS=linux
DEB_HOST_GNU_CPU=i486
DEB_HOST_GNU_SYSTEM=linux-gnu
DEB_HOST_GNU_TYPE=i486-linux-gnu
DIRSTACK=()
DISPLAY=:0.0
EUID=0
FAKED_MODE=unknown-is-root
FAKEROOTKEY=1963848544
GROUPS=()
HOME=/tmp/buildd
HOSTNAME=evinrude
HOSTTYPE=i486
IFS=$' \t\n'
LANG=C
LC_ALL=C
LD_LIBRARY_PATH=/usr/lib/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot
LD_PRELOAD='libfakeroot-sysv.so /usr/lib/cowdancer/libcowdancer.so'
MACHTYPE=i486-pc-linux-gnu
MAKEFLAGS=
MAKELEVEL=1
MFLAGS=
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
PBCURRENTCOMMANDLINEOPERATION=build
PPID=4281
PS4='+ '
PWD=/tmp/buildd/gnustep-base-1.13.0
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=6
SUDO_COMMAND='/usr/sbin/cowbuilder --build --basepath 
/var/cache/pbuilder/cow/sid/ gnustep-base_1.13.0-7.0~.dsc'

SUDO_GID=1000
SUDO_UID=1000
SUDO_USER=hubert
TERM=linux
UID=0
USER=root
_=debian/rules
chown --no-dereference 0:0 
debian/gnustep-base-common/usr/share/GNUstep/Libraries/gnustep-base/NSTimeZones/localtime

cowdancer: mkstemp: Bad file descriptor
chown: changing ownership of 
`debian/gnustep-base-common/usr/share/GNUstep/Libraries/gnustep-base/NSTimeZones/localtime': 
Cannot allocate memory

make: *** [binary-indep] Error 1
pbuilder: Failed autobuilding of package
 -> Aborting with an error
 -> unmounting proc filesystem
 -> unmounting /dev filesystem
 -> Cleaning COW directory


There doesn't seem to be anything strange in the environment, at least 
not that I can see.  But it definitely fails when trying to chown that 
file.


--
Hubert Chan <[EMAIL PROTECTED]> -- Jabber: [EMAIL PROTECTED]
PGP/GnuPG key: 1024D/124B61FA http://www.uhoreg.ca/
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#402669: cowdancer: cannot build gnustep-base with cowbuilder

2006-12-21 Thread Junichi Uekawa
Hi,

> 
> 
> 
> './usr/share/GNUstep/Libraries/gnustep-base/NSTimeZones/localtime'
> looks like a symbollic link, and apparently, that is probably the
> problem. My guess is that cowbuilder is not handling chown of a
> symbollic link correctly. 
> 
> 

[07:46:20]dancer64:cow> ls -li
13370682 -rwxr-xr-x 2 dancer dancer 0 2006-12-22 07:44 a
13370679 lrwxrwxrwx 1 dancer dancer 1 2006-12-22 07:44 b -> a
13370682 -rwxr-xr-x 2 dancer dancer 0 2006-12-22 07:44 e
[07:46:22]dancer64:cow> sudo cow-shell chown --no-dereference root:root b
[07:46:27]dancer64:cow> ls -li
13370683 -rwxr-xr-x 1 dancer dancer 0 2006-12-22 07:44 a
13370679 lrwxrwxrwx 1 root   root   1 2006-12-22 07:44 b -> a
13370682 -rwxr-xr-x 1 dancer dancer 0 2006-12-22 07:44 e


I've reduced it down to a test case.


regards,
junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#402669: cowdancer: cannot build gnustep-base with cowbuilder

2006-12-21 Thread Junichi Uekawa
At Tue, 19 Dec 2006 17:56:58 -0500,
Hubert Chan wrote:
> 
> On 2006-12-19 17:28:06 -0500 Junichi Uekawa <[EMAIL PROTECTED]> 
> wrote:
> 
> >>> This usually sounds like a genuine cowdancer bug.
> >>> > However, it might be a bit difficult to track it down.
> >>> > Could you put some probes in, such as what's the env var 
> >>> (especially
> >>> LD_PRELOAD and LD_LIBRARY_PATH values) at the point of error, so 
> >>> that
> >>> I can see what's wrong?
> >>> > That way we may be able to narrow down the problem to a small 
> >>> testcase
> >>> which makes debugging so much easier.
> >> 
> >> On another thought, it could be yet another of 'libacl' breakage.
> >> Does it still happen after recreating the chroot with latest sid ?
> > 
> > 
> > On yet another thought, libacl breakage was 17 Dec - 18 Dec, so
> > probably it doesn't apply. Humph.
> > 
> 
> It happened several months ago -- I just got around to reporting the 
> bug just now.  So it's probably not that.
> 
> Also, the pbuilder and cowbuilder setups should be exactly the same -- 
> I build the pbuilder tarball by just tar-ing up the cowbuilder 
> directory.  So everything should be exactly the same.
> 
> 
> I'll add stuff to print out the environment when I get a chance, and 
> I'll let you know what happens.

I could reproduce the build with the current package in sid.
adding -v option to dh_fixperms, I got this:


find debian/gnustep-base-common  -print0 2>/dev/null | xargs -0r chown 
--no-dereference 0:0
cowdancer: mkstemp: Bad file descriptor
chown: changing ownership of 
`debian/gnustep-base-common/usr/share/GNUstep/Libraries/gnustep-base/NSTimeZones/localtime':
 Cannot allocate memory
dh_fixperms: command returned error code
make: *** [binary-indep] Error 1



'./usr/share/GNUstep/Libraries/gnustep-base/NSTimeZones/localtime'
looks like a symbollic link, and apparently, that is probably the
problem. My guess is that cowbuilder is not handling chown of a
symbollic link correctly. 


regards,
junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#402669: cowdancer: cannot build gnustep-base with cowbuilder

2006-12-19 Thread Hubert Chan
On 2006-12-19 17:28:06 -0500 Junichi Uekawa <[EMAIL PROTECTED]> 
wrote:



This usually sounds like a genuine cowdancer bug.
> However, it might be a bit difficult to track it down.
> Could you put some probes in, such as what's the env var 
(especially
LD_PRELOAD and LD_LIBRARY_PATH values) at the point of error, so 
that

I can see what's wrong?
> That way we may be able to narrow down the problem to a small 
testcase

which makes debugging so much easier.


On another thought, it could be yet another of 'libacl' breakage.
Does it still happen after recreating the chroot with latest sid ?



On yet another thought, libacl breakage was 17 Dec - 18 Dec, so
probably it doesn't apply. Humph.



It happened several months ago -- I just got around to reporting the 
bug just now.  So it's probably not that.


Also, the pbuilder and cowbuilder setups should be exactly the same -- 
I build the pbuilder tarball by just tar-ing up the cowbuilder 
directory.  So everything should be exactly the same.



I'll add stuff to print out the environment when I get a chance, and 
I'll let you know what happens.


--
Hubert Chan <[EMAIL PROTECTED]> -- Jabber: [EMAIL PROTECTED]
PGP/GnuPG key: 1024D/124B61FA http://www.uhoreg.ca/
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#402669: cowdancer: cannot build gnustep-base with cowbuilder

2006-12-19 Thread Junichi Uekawa
> > This usually sounds like a genuine cowdancer bug.
> > 
> > However, it might be a bit difficult to track it down.
> > 
> > Could you put some probes in, such as what's the env var (especially
> > LD_PRELOAD and LD_LIBRARY_PATH values) at the point of error, so that
> > I can see what's wrong?
> > 
> > That way we may be able to narrow down the problem to a small testcase
> > which makes debugging so much easier.
> 
> On another thought, it could be yet another of 'libacl' breakage.
> Does it still happen after recreating the chroot with latest sid ?


On yet another thought, libacl breakage was 17 Dec - 18 Dec, so
probably it doesn't apply. Humph.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#402669: cowdancer: cannot build gnustep-base with cowbuilder

2006-12-19 Thread Junichi Uekawa
> > find /tmp/buildd/gnustep-base-1.13.0/debian/gnustep-base-examples -name 
> > '*.m' !
> > -perm 644 -exec chmod 644 \{\} \;
> > dh_compress -i -X.m -XGNUmakefile
> > dh_fixperms -i
> > cowdancer: mkstemp: Bad file descriptor
> > chown: changing ownership of 
> > `debian/gnustep-base-common/usr/share/GNUstep/Libraries/gnustep-base/NSTimeZones/localtime':
> >  Cannot allocate memory
> > dh_fixperms: command returned error code
> > make: *** [binary-indep] Error 1
> > pbuilder: Failed autobuilding of package
> >  -> Aborting with an error
> >  -> unmounting proc filesystem
> >  -> unmounting /dev filesystem
> >  -> Cleaning COW directory
> 
> This usually sounds like a genuine cowdancer bug.
> 
> However, it might be a bit difficult to track it down.
> 
> Could you put some probes in, such as what's the env var (especially
> LD_PRELOAD and LD_LIBRARY_PATH values) at the point of error, so that
> I can see what's wrong?
> 
> That way we may be able to narrow down the problem to a small testcase
> which makes debugging so much easier.

On another thought, it could be yet another of 'libacl' breakage.
Does it still happen after recreating the chroot with latest sid ?


regards,
junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#402669: cowdancer: cannot build gnustep-base with cowbuilder

2006-12-19 Thread Hubert Chan
On 2006-12-17 08:57:21 -0500 Junichi Uekawa <[EMAIL PROTECTED]> 
wrote:


[...]


Could you put some probes in, such as what's the env var (especially
LD_PRELOAD and LD_LIBRARY_PATH values) at the point of error, so that
I can see what's wrong?


I won't be able to do much for the next couple of days, but I'll try 
that as soon as I can.


--
Hubert Chan <[EMAIL PROTECTED]> -- Jabber: [EMAIL PROTECTED]
PGP/GnuPG key: 1024D/124B61FA http://www.uhoreg.ca/
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#402669: cowdancer: cannot build gnustep-base with cowbuilder

2006-12-17 Thread Junichi Uekawa
Hi,

> I'm not sure where the build failure is coming from, but when I try to
> build gnustep-base with cowbuilder, it fails.  Here's the last few lines
> from the build process:
> 
> find /tmp/buildd/gnustep-base-1.13.0/debian/gnustep-base-examples -name '*.m' 
> !
> -perm 644 -exec chmod 644 \{\} \;
> dh_compress -i -X.m -XGNUmakefile
> dh_fixperms -i
> cowdancer: mkstemp: Bad file descriptor
> chown: changing ownership of 
> `debian/gnustep-base-common/usr/share/GNUstep/Libraries/gnustep-base/NSTimeZones/localtime':
>  Cannot allocate memory
> dh_fixperms: command returned error code
> make: *** [binary-indep] Error 1
> pbuilder: Failed autobuilding of package
>  -> Aborting with an error
>  -> unmounting proc filesystem
>  -> unmounting /dev filesystem
>  -> Cleaning COW directory

This usually sounds like a genuine cowdancer bug.

However, it might be a bit difficult to track it down.

Could you put some probes in, such as what's the env var (especially
LD_PRELOAD and LD_LIBRARY_PATH values) at the point of error, so that
I can see what's wrong?

That way we may be able to narrow down the problem to a small testcase
which makes debugging so much easier.


regards,
junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#402669: cowdancer: cannot build gnustep-base with cowbuilder

2006-12-11 Thread Hubert Chan
Package: cowdancer
Version: 0.24
Severity: normal

Hi Junichi,

I'm not sure where the build failure is coming from, but when I try to
build gnustep-base with cowbuilder, it fails.  Here's the last few lines
from the build process:

find /tmp/buildd/gnustep-base-1.13.0/debian/gnustep-base-examples -name '*.m' !
-perm 644 -exec chmod 644 \{\} \;
dh_compress -i -X.m -XGNUmakefile
dh_fixperms -i
cowdancer: mkstemp: Bad file descriptor
chown: changing ownership of 
`debian/gnustep-base-common/usr/share/GNUstep/Libraries/gnustep-base/NSTimeZones/localtime':
 Cannot allocate memory
dh_fixperms: command returned error code
make: *** [binary-indep] Error 1
pbuilder: Failed autobuilding of package
 -> Aborting with an error
 -> unmounting proc filesystem
 -> unmounting /dev filesystem
 -> Cleaning COW directory


gnustep-base builds without errors using pbuilder, and other packages
that I've tried have built fine using cowbuilder.  There just seems to
be something going on with gnustep-base and cowbuilder.  If you want to
try it out for yourself, you should be able to just fetch the
gnustep-base source from sid or etch.

Let me know if you want me to try anything out.

Thanks

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (101, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16.9
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages cowdancer depends on:
ii  libc62.3.6.ds1-7 GNU C Library: Shared libraries

Versions of packages cowdancer recommends:
ii  pbuilder  0.159  personal package builder for Debia

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]