On Sun, Dec 10, 2017 at 12:25:18PM +0100, Antoine Jacoutot wrote:
> On Sat, Dec 09, 2017 at 11:04:51PM +0000, Stuart Henderson wrote:
> > CVSROOT:    /cvs
> > Module name:        ports
> > Changes by: st...@cvs.openbsd.org   2017/12/09 16:04:51
> > 
> > Modified files:
> >     lang/rust      : Makefile 
> > 
> > Log message:
> > Don't try to build on i386, no success after 6 attempts in a bulk build.
> > Even if it can be made to build eventually after multiple tries (we
> > occasionally got lucky with chromium before that was disabled, but it
> > was rare), this isn't sustainable.
> > 
> > In short: you'll need to use amd64 if you want to use one of the more
> > common web browsers on OpenBSD.
> 
> That somehow broke it on amd64.
> 
> >>> Running patch in lang/rust at 1512899624
> ===> lang/rust
> ===>  Checking files for rust-1.22.1
> `/exopi-cvs/ports/distfiles/rust/rustc-1.22.1-src.tar.gz' is up to date.
> `/exopi-cvs/ports/distfiles/rust/rustc-bootstrap-amd64-1.22.0-20171121.tar.gz'
>  is up to date.
> !!! Extra file 'rust/rustc-bootstrap-i386-1.22.1-20171125.tar.gz' in 
> /exopi-cvs/ports/lang/rust/distinfo
> !!! Read up on SUPDISTFILES in bsd.port.mk(5)
> *** Error 1 in lang/rust (/exopi-cvs/ports/infrastructure/mk/bsd.port.mk:2290 
> '_internal-checksum': @fgrep 2>/dev/null SIZE /exopi-cvs/ports...)
> *** Error 1 in lang/rust (/exopi-cvs/ports/infrastructure/mk/bsd.port.mk:2508 
> '/exopi-obj/pobj/rust-1.22.1/.extract_done')
> *** Error 1 in lang/rust (/exopi-cvs/ports/infrastructure/mk/bsd.port.mk:2419 
> 'patch')
> ===> Exiting lang/rust with an error
> *** Error 1 in /exopi-cvs/ports (infrastructure/mk/bsd.port.subdir.mk:147 
> 'patch')
> Error: job failed with 256 on exopi-3
> 

It should solve both issues:
- keep i386 in ONLY_FOR_ARCHS - as it is used for generating
  SUPDISTFILES

- but mark BROKEN-i386

Thanks.
-- 
Sebastien Marie


Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/rust/Makefile,v
retrieving revision 1.55
diff -u -p -r1.55 Makefile
--- Makefile    9 Dec 2017 23:04:51 -0000       1.55
+++ Makefile    10 Dec 2017 11:44:28 -0000
@@ -1,9 +1,9 @@
 # $OpenBSD: Makefile,v 1.55 2017/12/09 23:04:51 sthen Exp $
 
 # snapshots are only available for amd64 and i386, for now.
-# however, it uses too much memory to have a useful success rate
-# in i386 bulk builds, so disabled there now.
-ONLY_FOR_ARCHS =       amd64
+ONLY_FOR_ARCHS =       amd64 i386
+
+BROKEN-i386 =          too much memory to have a useful success rate in i386 
bulk builds
 
 DPB_PROPERTIES =       parallel
 

Reply via email to