pkgsrc-Bulk archive

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

(post-build problem) pkgsrc Darwin 8.0.0/powerpc bulk build results 2005-05-11



Hi, I am trying to get bulk build run on Dawin 8.0.0.

I got the result as following,
   ftp://ftp.ki.nu/pub/NetBSD/pkgstat/Darwin/20050511.2311/broken.html
----------------------------------------
pkgsrc bulk build results
Darwin 8.0.0/Power Macintosh
Summary
Build started:  Fri Apr 29 13:47:49 2005 UTC
Build ended:    Wed May 11 14:11:19 2005 UTC
         
Successfully packaged:          2510
Packages really broken:         949
Packages broken due to them:    1658
Total broken:                   2607
Not packaged:                   346
Total:                          2953
----------------------------------------
But I am getting some errors at post-build, and did not get the
report mail yet.

The message I've got first was:
  can't read leftovers-Power Macintosh.txt: No such file or directory at 
mk/bulk/post-build line 169.

I have changed post-build little bit to dig into the problem, 
but I did not figure out how to pass it.

Is anybody there who knows what is wrong ?
---
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.

Index: post-build
===================================================================
RCS file: /export/cvsync/pkgsrc/mk/bulk/post-build,v
retrieving revision 1.51
diff -u -r1.51 post-build
--- post-build  15 Jan 2005 01:53:00 -0000      1.51
+++ post-build  13 May 2005 02:44:27 -0000
@@ -12,7 +12,7 @@
 use warnings;
 
 my %vars;
-my $verbose = 1; # set to 2 to see more command execution detail
+my $verbose = 2; # set to 2 to see more command execution detail
 
 sub my_system (@) {
        print STDERR '> '.join(' ', @_)."\n" if ($verbose >= 2);
@@ -145,12 +145,15 @@
 #
 {
        chdir($vars{FTP});
-       my_system("mkdir -p leftovers-$vars{arch}");
+       my $leftovers_dir = "leftovers-$vars{arch}";
+           $leftovers_dir =~ s/ /-/g;
+       my_system("mkdir -p $leftovers_dir");
 
        # Find files since last build:
        my $leftovers_txt = "leftovers-$vars{arch}.txt";
+          $leftovers_txt =~ s/ /-/g;
        my $leftovers_html = "leftovers-$vars{arch}.html";
-
+          $leftovers_html = s/ /-/g;
        my_system("$vars{FIND} $vars{LOCALBASE}/ -newer $vars{STARTFILE} -type 
f -print >>$leftovers_txt");
        my_system("$vars{FIND} $vars{X11BASE}/ -newer $vars{STARTFILE} -type f 
-print >>$leftovers_txt");
 
@@ -182,7 +185,7 @@
 
        if (scalar(@leftovers)) {
                # Store leftovers, for easier identification:
-               my_system("$vars{GTAR} -T $leftovers_txt -plcf - | (cd 
leftovers-$vars{arch}; $vars{GTAR} -plxf -)");
+               my_system("$vars{GTAR} -T $leftovers_txt -plcf - | (cd 
$leftovers_dir}; $vars{GTAR} -plxf -)");
        }
 
        # Add links to leftover list:



Home | Main Index | Thread Index | Old Index