[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: autobuilder...



On Tue, Aug 27, 2002 at 10:42:55AM +0200, Robert Jordens wrote:
> 1. building dpkg:
>    checking GCC warning flag(s) -Wsign-compare... no
>    /dev/fd/4: /usr/games/sed: No such file or directory
>    /dev/fd/4: /usr/bin/cat: (ipc/mig) wrong reply message ID

Do you use fakeroot?  It's broken.

> 2. md5sum gives strange answers
>    buildd@hurd:~/cpio-2.5$ md5sum < ../cpio_2.5-1_hurd-i386.deb 
>    0245ed715d221dfe766d6175452ecf59  -
>    and under linux:
>    rj@schuh:~/work/deb/build/ex/ardour/ardour-release$ md5sum < ../libpbd0-dev_0.0.0.20020807.01_i386.deb 
>    7cee5169a9567d8a3f5a4221c498b793
>    Note the missing (or additional) dash. That confuses dpkg-genchanges
>    
>    I could work around that though...

This has nothing to do with GNU/Hurd or GNU/Linux, but with the version of
dpkg you are using.  Maybe file this as a bug against dpkg.

> 3. I cannot unpack packages in my chroot:
>    dpkg sometimes quits while replacing some random file with "Resource
>    temporarily not availible". I cannot reproduce this at the moment
>    though. Yesterday it was giving me headaches.

No idea, sorry.
 
> 4. building dpkg:
>    buildd@hurd:~/chroot-unstable/build/buildd/dpkg-1.10.4$ fakeroot debian/rules binary
>    test -f include/dpkg.h.in
>    install -d /chroots/unstable/build/buildd/dpkg-1.10.4/build

s/chroot-unstable/chroots/ ?

>    install: cannot create directory `/chroots': Permission denied
>    
>    it simply kicks away the first two components of the path! The real
>    path should have been
>    /mnt/work/chroots/unstable/build/buildd/dpkg-1.10.4

Interesting. :)  fakeroot is still pretty much experimental, as you can see.

> 5. The andrea-files (source-dependencies) are all empty. 

I have no idea about andrea or any other buildd specifics.

> 6. After a build, sbuild simply sits there and does nothing:
> 
>    buildd    4659  -  0 SNo   0:01.34 /usr/bin/perl /usr/bin/sbuild --batch --auto
>    buildd    4732  -  0 S     0:00.06 /hurd/fakeroot
>    buildd    5242  -  0 S     0:00.81 /hurd/fakeroot

Note that one bug in fakeroot is that you will accumulate a lot of fakeroot
server processes.

Dunno about the hang.  Maybe fakeroot bugs, too.
    
> 7. I can reproduce Gratuitous errors!

Congratulations :)

>    hurd:/mnt/work/chroots# dpkg --root=unstable -i /array/deb/debian/pool/main/g/glibc/libc0.3-dev_2.2.5-13_hurd-i386.deb 
>    (Reading database ... 13207 files and directories currently installed.)
>    Preparing to replace libc0.3-dev 2.2.5-13 (using .../libc0.3-dev_2.2.5-13_hurd-i386.deb) ...
>    shell-init: could not get current directory: getcwd: cannot access parent directories: Gratuitous error
>    shell-init: could not get current directory: getcwd: cannot access parent directories: Gratuitous error
>    Unpacking replacement libc0.3-dev ...

Is this fakeroot, too?

If you want to build with real root, notice 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=144571&repeatmerged=yes
please.

Thanks,
Marcus



-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus@gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/



Reply to: