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

Re: debian-cd broken?



Quoting Jan Kesten:
> I had problems building sarge cd images from my local mirror
> yesterday and today. I didn't change anything and used the latest
> cvs version of debian-cd.

Can you show the CONF.sh file that you're using ?

It looks like there's a problem with your EXCLUDE variable ... in the
target $(BDIR)/rawlist-exclude the test doesn't fail and the perl command is
launched without a parameter when it needs one and so stays blocked
waiting on standard input :

> if [ -n  ]; then \
>         perl -npe 's/\@ARCH\@/i386/g'  | \
>                 cpp -nostdinc -nostdinc++ -P -undef -D ARCH=i386 -D ARCH_i386 \
>                         -U i386 -U i386 -U linux -U unix \
>                         -DFORCENONUSONCD1=0 \
>                         -I /mirror2/debian-cd/tasks -I /mirror2/tmp/sarge-i386 - - >> /mirror2/tmp/sarge-i386/rawlist-exclude; \
> fi
> make: *** Deleting file `/mirror2/tmp/sarge-i386/rawlist-exclude'
> make: *** [/mirror2/tmp/sarge-i386/rawlist-exclude] Interrupt

otavio is responsible for that change, maybe he can sort it out ? :)
I bet that we could replace -n with -e and have a better test. Or we
should at least add quotes around $(EXCLUDE) in the test itself.

Cheers,
-- 
Raphaël Hertzog -+- http://www.ouaza.com
Formation Linux et logiciel libre : http://www.logidee.com
Earn money with free software: http://www.geniustrader.org



Reply to: