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

Re: Problem with debian/rules



On Tue, Sep 8, 2009 at 3:49 PM, Mathieu
Malaterre<mathieu.malaterre@gmail.com> wrote:
> On Tue, Sep 8, 2009 at 1:10 PM, Jakub Wilk<ubanus@users.sf.net> wrote:
>> * Mathieu Malaterre <mathieu.malaterre@gmail.com>, 2009-09-08, 11:38:
>>>
>>> Hi there,
>>>
>>>  There is a problem with the following rules file (in dicom3tools), I
>>> wrote:
>>>
>>>        for file in ancp andiff antodc.all binpatch bmpdump dcanon dcburn
>>> dccmp dccomb dcdecmpr dcdiff dclutburn \
>>>                                                        dclutmix
>>> dcmvhier.8only dcmvhier.all dcortho dcostosr dcpost
>>> dcproj dcrmsfx.all dcsrdump \
>>>                                                        dcsrmrg dcsub
>>> dcswab dctopgm8 dcunjpeg.all dumptiff dumpwhat
>>> gentodc.dat.all jpegdump \
>>>                                                        jpegsplit pbmswbit
>>> pgmtobmp pnmpred pnmtoraw pqsplit rawarith
>>> rawdiff rawmask rawnjl; do \
>>>                find $(CURDIR)/debian/dicom3tools -type f -name $$file\*
>>> -print | xargs rm; \
>>>        done
>>
>> `find | xargs rm` complains if no files were found. A more robust way to
>> find-and-delete files is to use the -delete option for find.
>>
>> Of course, you should investigate why some files you are trying to delete
>> are missing
>
> Looking at the log, I can find:
>
> nawk -f ../../.././libsrc/support/strval.awk \
>                role=declare outname=strvalc <../../.././libsrc/standard/strval.tpl >strvalc.h
> nawk: cannot open "/dev/tty" for output (No such device or address)
Wild guess: if you run build from chroot, then probably your /dev
(under chroot) is not populated, thus awk can not access /dev/tty (I
do not know why it tries).

> make[5]: *** [strvalc.h] Error 2
>
>
> I cannot find any result in google.
>
> Does anyone know what this means ?
>
> Thanks,
> --
> Mathieu
>
>
> --
> To UNSUBSCRIBE, email to debian-mentors-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>



-- 
Zaar


Reply to: