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

Re: anjuta build failure on kbsd-*



Aka the "$(srcdir)/$(prefs_keyfile)" is passed as "./"
I would say that there is a problem in build rules of anjuta.

Any idea why only the kbsd-* buildds fail?

On Linux:

$ od -ax /tmp/
od: /tmp/: read error: Is a directory
0000000

On GNU/kFreeBSD

$ od -ax /tmp/ | head
0000000 ack can sub nul  ff nul eot soh   . nul nul nul   R  ff bel nul
           9806    001a    000c    0104    002e    0000    8cd2    0007
0000020   4 nul eot stx   .   . nul nul del   + sub nul dc4 nul  bs  nl
           0034    0204    2e2e    0000    abff    001a    0014    0a08
0000040   c   c   j   k   a   l   b   u   .   c nul dc4 nul   , sub nul
           6363    6b6a    6c61    7562    632e    9400    ac00    001a
0000060 dc4 nul  bs  nl   c   c   4   f   7   q   y   I   .   o nul dc4
           0014    0a08    6363    6634    7137    4979    6f2e    9400
0000100   $ sub sub nul  fs nul  bs  nl   c   c   X   3   O   e   J   R
           9a24    001a    001c    0a08    6363    3358    654f    524a

On both:

$ od -ax /tmp/doesnotexist
od: /tmp/doesnotexist: No such file or directory

In anjuta/scripts/builder2schema.pl:

*******
if ($#ARGV == 2) {
        open FILE, "<", $ARGV[2] or die $!;
        while (<FILE>) { print "\t\t$_"; }
}
*******

Under GNU/kFreeBSD it opens and inserts garbage into output,
but under Linux it opens, but does not read any bytes,
so no garbage in output.

Petr


Reply to: