dpb parallel for lang/gcc/4.8

2013-12-03 Thread Stuart Henderson
Since the build randomly breaks (xtreeprs) even without parallel,
any objection to marking this parallel?

Index: Makefile
===
RCS file: /cvs/ports/lang/gcc/4.8/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile25 Nov 2013 14:16:23 -  1.22
+++ Makefile3 Dec 2013 10:02:57 -
@@ -1,6 +1,7 @@
 # $OpenBSD: Makefile,v 1.22 2013/11/25 14:16:23 sthen Exp $
 
 ONLY_FOR_ARCHS = alpha amd64 i386 powerpc sparc64
+DPB_PROPERTIES = parallel
 
 V = 4.8.1
 FULL_VERSION = $V



/usr/obj/gcc-4.8.1/bin/egcc -c -g  -gnatpg -gnatwns -gnata -W -Wall -nostdinc -I
- -I. -Iada -I/usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada -I/usr/obj/gcc-4.8.1/gcc-4.8.
1/gcc/ada/gcc-interface /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/tbuild.adb -o ada/t
build.o
/usr/obj/gcc-4.8.1/bin/egcc -c -g  -gnatpg -gnatwns -gnata -W -Wall -nostdinc -I
- -I. -Iada -I/usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada -I/usr/obj/gcc-4.8.1/gcc-4.8.
1/gcc/ada/gcc-interface /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/tree_gen.adb -o ada
/tree_gen.o
/usr/obj/gcc-4.8.1/bin/egcc -c -g  -gnatpg -gnatwns -gnata -W -Wall -nostdinc -I
- -I. -Iada -I/usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada -I/usr/obj/gcc-4.8.1/gcc-4.8.
1/gcc/ada/gcc-interface /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/tree_in.adb -o ada/
tree_in.o
/usr/obj/gcc-4.8.1/bin/egcc -c -g  -gnatpg -gnatwns -gnata -W -Wall -nostdinc -I
- -I. -Iada -I/usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada -I/usr/obj/gcc-4.8.1/gcc-4.8.
1/gcc/ada/gcc-interface /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/tree_io.adb -o ada/
tree_io.o
mkdir -p ada/bldtools/treeprs
rm -f ada/bldtools/treeprs/treeprs.adt ada/bldtools/treeprs/sinfo.ads 
ada/bldtools/treeprs/xtreeprs.adb
cp -p /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/treeprs.adt 
/usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/sinfo.ads 
/usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/xtreeprs.adb ada/bldtools/treeprs
(cd ada/bldtools/treeprs; ls -la; gnatmake -c xtreeprs; ls -la; gnatmake 
xtreeprs; ls -la; ./xtreeprs treeprs.ads )
total 1036
drwxrwxr-x  2 sthen  wsrc 512 Dec  2 17:14 .
drwxrwxr-x  7 sthen  wsrc 512 Dec  2 17:14 ..
-rw-rw-r--  1 sthen  wsrc  482065 Jan 29  2013 sinfo.ads
-rw-rw-r--  1 sthen  wsrc5564 Sep 10  2007 treeprs.adt
-rw-rw-r--  1 sthen  wsrc   12180 Oct 11  2010 xtreeprs.adb
egcc -c xtreeprs.adb
total 1200
drwxrwxr-x  2 sthen  wsrc 512 Dec  2 17:14 .
drwxrwxr-x  7 sthen  wsrc 512 Dec  2 17:14 ..
-rw-rw-r--  1 sthen  wsrc  482065 Jan 29  2013 sinfo.ads
-rw-rw-r--  1 sthen  wsrc5564 Sep 10  2007 treeprs.adt
-rw-rw-r--  1 sthen  wsrc   12180 Oct 11  2010 xtreeprs.adb
-rw-rw-r--  1 sthen  wsrc   10154 Dec  2 17:14 xtreeprs.ali
-rw-rw-r--  1 sthen  wsrc   72044 Dec  2 17:14 xtreeprs.o
egnatbind -x xtreeprs.ali
egnatlink xtreeprs.ali
egcc: error: ./xtreeprs.o: No such file or directory
egnatlink: error when calling /usr/obj/gcc-4.8.1/bootstrap/bin/egcc
egnatmake: *** link failed.
total 1172
drwxrwxr-x  2 sthen  wsrc 512 Dec  2 17:14 .
drwxrwxr-x  7 sthen  wsrc 512 Dec  2 17:14 ..
-rw-rw-r--  1 sthen  wsrc   10771 Dec  2 17:14 b~xtreeprs.adb
-rw-rw-r--  1 sthen  wsrc   20412 Dec  2 17:14 b~xtreeprs.ads
-rw-rw-r--  1 sthen  wsrc   10345 Dec  2 17:14 b~xtreeprs.ali
-rw-rw-r--  1 sthen  wsrc   13916 Dec  2 17:14 b~xtreeprs.o
-rw-rw-r--  1 sthen  wsrc  482065 Jan 29  2013 sinfo.ads
-rw-rw-r--  1 sthen  wsrc5564 Sep 10  2007 treeprs.adt
-rw-rw-r--  1 sthen  wsrc   12180 Oct 11  2010 xtreeprs.adb
-rw-rw-r--  1 sthen  wsrc   10154 Dec  2 17:14 xtreeprs.ali
/bin/sh: ./xtreeprs: not found
/usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/Make-generated.in:28: recipe for target 
'ada/treeprs.ads' failed
gmake[3]: *** [ada/treeprs.ads] Error 127



Re: dpb parallel for lang/gcc/4.8

2013-12-03 Thread Pascal Stumpf
On Tue, 3 Dec 2013 10:05:54 +, Stuart Henderson wrote:
 Since the build randomly breaks (xtreeprs) even without parallel,
 any objection to marking this parallel?

ok.

IIRC, the random failures were related to machine load; tobiasu@, any
news on this?

 Index: Makefile
 ===
 RCS file: /cvs/ports/lang/gcc/4.8/Makefile,v
 retrieving revision 1.22
 diff -u -p -r1.22 Makefile
 --- Makefile  25 Nov 2013 14:16:23 -  1.22
 +++ Makefile  3 Dec 2013 10:02:57 -
 @@ -1,6 +1,7 @@
  # $OpenBSD: Makefile,v 1.22 2013/11/25 14:16:23 sthen Exp $
  
  ONLY_FOR_ARCHS = alpha amd64 i386 powerpc sparc64
 +DPB_PROPERTIES = parallel
  
  V = 4.8.1
  FULL_VERSION = $V
 
 
 
 /usr/obj/gcc-4.8.1/bin/egcc -c -g  -gnatpg -gnatwns -gnata -W -Wall -nostdinc 
 -I
 - -I. -Iada -I/usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada 
 -I/usr/obj/gcc-4.8.1/gcc-4.8.
 1/gcc/ada/gcc-interface /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/tbuild.adb -o 
 ada/t
 build.o
 /usr/obj/gcc-4.8.1/bin/egcc -c -g  -gnatpg -gnatwns -gnata -W -Wall -nostdinc 
 -I
 - -I. -Iada -I/usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada 
 -I/usr/obj/gcc-4.8.1/gcc-4.8.
 1/gcc/ada/gcc-interface /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/tree_gen.adb -o 
 ada
 /tree_gen.o
 /usr/obj/gcc-4.8.1/bin/egcc -c -g  -gnatpg -gnatwns -gnata -W -Wall -nostdinc 
 -I
 - -I. -Iada -I/usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada 
 -I/usr/obj/gcc-4.8.1/gcc-4.8.
 1/gcc/ada/gcc-interface /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/tree_in.adb -o 
 ada/
 tree_in.o
 /usr/obj/gcc-4.8.1/bin/egcc -c -g  -gnatpg -gnatwns -gnata -W -Wall -nostdinc 
 -I
 - -I. -Iada -I/usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada 
 -I/usr/obj/gcc-4.8.1/gcc-4.8.
 1/gcc/ada/gcc-interface /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/tree_io.adb -o 
 ada/
 tree_io.o
 mkdir -p ada/bldtools/treeprs
 rm -f ada/bldtools/treeprs/treeprs.adt ada/bldtools/treeprs/sinfo.ads 
 ada/bldtools/treeprs/xtreeprs.adb
 cp -p /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/treeprs.adt 
 /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/sinfo.ads 
 /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/xtreeprs.adb ada/bldtools/treeprs
 (cd ada/bldtools/treeprs; ls -la; gnatmake -c xtreeprs; ls -la; gnatmake 
 xtreeprs; ls -la; ./xtreeprs treeprs.ads )
 total 1036
 drwxrwxr-x  2 sthen  wsrc 512 Dec  2 17:14 .
 drwxrwxr-x  7 sthen  wsrc 512 Dec  2 17:14 ..
 -rw-rw-r--  1 sthen  wsrc  482065 Jan 29  2013 sinfo.ads
 -rw-rw-r--  1 sthen  wsrc5564 Sep 10  2007 treeprs.adt
 -rw-rw-r--  1 sthen  wsrc   12180 Oct 11  2010 xtreeprs.adb
 egcc -c xtreeprs.adb
 total 1200
 drwxrwxr-x  2 sthen  wsrc 512 Dec  2 17:14 .
 drwxrwxr-x  7 sthen  wsrc 512 Dec  2 17:14 ..
 -rw-rw-r--  1 sthen  wsrc  482065 Jan 29  2013 sinfo.ads
 -rw-rw-r--  1 sthen  wsrc5564 Sep 10  2007 treeprs.adt
 -rw-rw-r--  1 sthen  wsrc   12180 Oct 11  2010 xtreeprs.adb
 -rw-rw-r--  1 sthen  wsrc   10154 Dec  2 17:14 xtreeprs.ali
 -rw-rw-r--  1 sthen  wsrc   72044 Dec  2 17:14 xtreeprs.o
 egnatbind -x xtreeprs.ali
 egnatlink xtreeprs.ali
 egcc: error: ./xtreeprs.o: No such file or directory
 egnatlink: error when calling /usr/obj/gcc-4.8.1/bootstrap/bin/egcc
 egnatmake: *** link failed.
 total 1172
 drwxrwxr-x  2 sthen  wsrc 512 Dec  2 17:14 .
 drwxrwxr-x  7 sthen  wsrc 512 Dec  2 17:14 ..
 -rw-rw-r--  1 sthen  wsrc   10771 Dec  2 17:14 b~xtreeprs.adb
 -rw-rw-r--  1 sthen  wsrc   20412 Dec  2 17:14 b~xtreeprs.ads
 -rw-rw-r--  1 sthen  wsrc   10345 Dec  2 17:14 b~xtreeprs.ali
 -rw-rw-r--  1 sthen  wsrc   13916 Dec  2 17:14 b~xtreeprs.o
 -rw-rw-r--  1 sthen  wsrc  482065 Jan 29  2013 sinfo.ads
 -rw-rw-r--  1 sthen  wsrc5564 Sep 10  2007 treeprs.adt
 -rw-rw-r--  1 sthen  wsrc   12180 Oct 11  2010 xtreeprs.adb
 -rw-rw-r--  1 sthen  wsrc   10154 Dec  2 17:14 xtreeprs.ali
 /bin/sh: ./xtreeprs: not found
 /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/Make-generated.in:28: recipe for target 
 'ada/treeprs.ads' failed
 gmake[3]: *** [ada/treeprs.ads] Error 127
 
 



Re: dpb parallel for lang/gcc/4.8

2013-12-03 Thread Landry Breuil
On Tue, Dec 03, 2013 at 11:12:37AM +0100, Pascal Stumpf wrote:
 On Tue, 3 Dec 2013 10:05:54 +, Stuart Henderson wrote:
  Since the build randomly breaks (xtreeprs) even without parallel,
  any objection to marking this parallel?
 
 ok.
 
 IIRC, the random failures were related to machine load; tobiasu@, any
 news on this?

I think i've also hit that one randomly on alpha or macppc or sparc64 :)

Landry



Re: dpb parallel for lang/gcc/4.8

2013-12-03 Thread Tobias Ulmer
On Tue, Dec 03, 2013 at 11:12:37AM +0100, Pascal Stumpf wrote:
 On Tue, 3 Dec 2013 10:05:54 +, Stuart Henderson wrote:
  Since the build randomly breaks (xtreeprs) even without parallel,
  any objection to marking this parallel?
 
 ok.
 
 IIRC, the random failures were related to machine load; tobiasu@, any
 news on this?

No, it's still a total mystery to me - I was guessing it's exceptions,
but that turned out to be false. Gnatbind/link occasionally eating
the object file, as observed many times, is not related to parallel
make. Feel free to enable it.

 
  Index: Makefile
  ===
  RCS file: /cvs/ports/lang/gcc/4.8/Makefile,v
  retrieving revision 1.22
  diff -u -p -r1.22 Makefile
  --- Makefile25 Nov 2013 14:16:23 -  1.22
  +++ Makefile3 Dec 2013 10:02:57 -
  @@ -1,6 +1,7 @@
   # $OpenBSD: Makefile,v 1.22 2013/11/25 14:16:23 sthen Exp $
   
   ONLY_FOR_ARCHS = alpha amd64 i386 powerpc sparc64
  +DPB_PROPERTIES = parallel
   
   V = 4.8.1
   FULL_VERSION = $V
  
  
  
  /usr/obj/gcc-4.8.1/bin/egcc -c -g  -gnatpg -gnatwns -gnata -W -Wall 
  -nostdinc -I
  - -I. -Iada -I/usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada 
  -I/usr/obj/gcc-4.8.1/gcc-4.8.
  1/gcc/ada/gcc-interface /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/tbuild.adb -o 
  ada/t
  build.o
  /usr/obj/gcc-4.8.1/bin/egcc -c -g  -gnatpg -gnatwns -gnata -W -Wall 
  -nostdinc -I
  - -I. -Iada -I/usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada 
  -I/usr/obj/gcc-4.8.1/gcc-4.8.
  1/gcc/ada/gcc-interface /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/tree_gen.adb 
  -o ada
  /tree_gen.o
  /usr/obj/gcc-4.8.1/bin/egcc -c -g  -gnatpg -gnatwns -gnata -W -Wall 
  -nostdinc -I
  - -I. -Iada -I/usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada 
  -I/usr/obj/gcc-4.8.1/gcc-4.8.
  1/gcc/ada/gcc-interface /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/tree_in.adb -o 
  ada/
  tree_in.o
  /usr/obj/gcc-4.8.1/bin/egcc -c -g  -gnatpg -gnatwns -gnata -W -Wall 
  -nostdinc -I
  - -I. -Iada -I/usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada 
  -I/usr/obj/gcc-4.8.1/gcc-4.8.
  1/gcc/ada/gcc-interface /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/tree_io.adb -o 
  ada/
  tree_io.o
  mkdir -p ada/bldtools/treeprs
  rm -f ada/bldtools/treeprs/treeprs.adt ada/bldtools/treeprs/sinfo.ads 
  ada/bldtools/treeprs/xtreeprs.adb
  cp -p /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/treeprs.adt 
  /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/sinfo.ads 
  /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/xtreeprs.adb ada/bldtools/treeprs
  (cd ada/bldtools/treeprs; ls -la; gnatmake -c xtreeprs; ls -la; gnatmake 
  xtreeprs; ls -la; ./xtreeprs treeprs.ads )
  total 1036
  drwxrwxr-x  2 sthen  wsrc 512 Dec  2 17:14 .
  drwxrwxr-x  7 sthen  wsrc 512 Dec  2 17:14 ..
  -rw-rw-r--  1 sthen  wsrc  482065 Jan 29  2013 sinfo.ads
  -rw-rw-r--  1 sthen  wsrc5564 Sep 10  2007 treeprs.adt
  -rw-rw-r--  1 sthen  wsrc   12180 Oct 11  2010 xtreeprs.adb
  egcc -c xtreeprs.adb
  total 1200
  drwxrwxr-x  2 sthen  wsrc 512 Dec  2 17:14 .
  drwxrwxr-x  7 sthen  wsrc 512 Dec  2 17:14 ..
  -rw-rw-r--  1 sthen  wsrc  482065 Jan 29  2013 sinfo.ads
  -rw-rw-r--  1 sthen  wsrc5564 Sep 10  2007 treeprs.adt
  -rw-rw-r--  1 sthen  wsrc   12180 Oct 11  2010 xtreeprs.adb
  -rw-rw-r--  1 sthen  wsrc   10154 Dec  2 17:14 xtreeprs.ali
  -rw-rw-r--  1 sthen  wsrc   72044 Dec  2 17:14 xtreeprs.o
  egnatbind -x xtreeprs.ali
  egnatlink xtreeprs.ali
  egcc: error: ./xtreeprs.o: No such file or directory
  egnatlink: error when calling /usr/obj/gcc-4.8.1/bootstrap/bin/egcc
  egnatmake: *** link failed.
  total 1172
  drwxrwxr-x  2 sthen  wsrc 512 Dec  2 17:14 .
  drwxrwxr-x  7 sthen  wsrc 512 Dec  2 17:14 ..
  -rw-rw-r--  1 sthen  wsrc   10771 Dec  2 17:14 b~xtreeprs.adb
  -rw-rw-r--  1 sthen  wsrc   20412 Dec  2 17:14 b~xtreeprs.ads
  -rw-rw-r--  1 sthen  wsrc   10345 Dec  2 17:14 b~xtreeprs.ali
  -rw-rw-r--  1 sthen  wsrc   13916 Dec  2 17:14 b~xtreeprs.o
  -rw-rw-r--  1 sthen  wsrc  482065 Jan 29  2013 sinfo.ads
  -rw-rw-r--  1 sthen  wsrc5564 Sep 10  2007 treeprs.adt
  -rw-rw-r--  1 sthen  wsrc   12180 Oct 11  2010 xtreeprs.adb
  -rw-rw-r--  1 sthen  wsrc   10154 Dec  2 17:14 xtreeprs.ali
  /bin/sh: ./xtreeprs: not found
  /usr/obj/gcc-4.8.1/gcc-4.8.1/gcc/ada/Make-generated.in:28: recipe for 
  target 'ada/treeprs.ads' failed
  gmake[3]: *** [ada/treeprs.ads] Error 127