Summary: | net/unison-devel not suitable for parallel build | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Matthias Andree <mandree> |
Component: | Individual Port(s) | Assignee: | Matthias Andree <mandree> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | daniel+unison |
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Matthias Andree
![]() ![]() State Changed From-To: open->closed Adding MAKE_JOBS_UNSAFE=yes addressed the problem reported in this PR. State Changed From-To: closed->open reopening - we have sidestepped the problem, not solved it Responsible Changed From-To: freebsd-ports-bugs->mandree reopening - we have sidestepped the problem, not solved it Hi Daniel, is there a chance that you might look into <http://www.freebsd.org/cgi/query-pr.cgi?pr=151785> or take this to the upstream maintainers? I guess that some dependency information might be missing, or some error in the parallel build concealed, so that we end up with an incomplete build -- this shows then later during install phase. Thank you. Best regards Matthias State Changed From-To: open->feedback waiting for maintainer's view Hi Daniel, please let me know if you approve of the attached patch to allow for parallel builds on FreeBSD. It also removes the MD5 checksums from distinfo to track recent ports architecture changes. Thanks. Best regards Matthias Andree (ports committer) --- unison-devel-2.32.52_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/unison-devel/Makefile,v retrieving revision 1.25 diff -u -u -r1.25 Makefile --- Makefile 27 Oct 2010 18:52:00 -0000 1.25 +++ Makefile 29 Nov 2010 12:38:20 -0000 @@ -23,7 +23,8 @@ MAKE_ARGS= CFLAGS="" CONFLICTS= unison-[0-9]* unison-nox11-[0-9]* -MAKE_JOBS_UNSAFE=yes +MAKE_JOBS_SAFE=yes +ALL_TARGET= unison all .include <bsd.port.pre.mk> Index: distinfo =================================================================== RCS file: /home/ncvs/ports/net/unison-devel/distinfo,v retrieving revision 1.12 diff -u -u -r1.12 distinfo --- distinfo 13 Aug 2009 16:57:10 -0000 1.12 +++ distinfo 29 Nov 2010 12:39:27 -0000 @@ -1,12 +1,8 @@ -MD5 (unison-2.32.52/unison-2.32.52.tar.gz) = 0701f095c1721776a0454b94607eda48 SHA256 (unison-2.32.52/unison-2.32.52.tar.gz) = 1542e5d4ad03e928260e061a8ff9d5e0bca3282481ed8bec5552de17a0270485 SIZE (unison-2.32.52/unison-2.32.52.tar.gz) = 697866 -MD5 (unison-2.32.52/unison-2.32.52-manual.html) = 68379a1c5a5ab3d068726badc7d1135c SHA256 (unison-2.32.52/unison-2.32.52-manual.html) = c898239d8139d8405b96d87e12c06c7f41fd3629cac0c83bc338aad50fed7f81 SIZE (unison-2.32.52/unison-2.32.52-manual.html) = 249124 -MD5 (unison-2.32.52/unison-2.32.52-manual.pdf) = 6d3f0e61ab69591759f18e4f103a0020 SHA256 (unison-2.32.52/unison-2.32.52-manual.pdf) = b3fee7ac99907f3b1ed02c6ac901678e82ea1eed936acb45e9735b95d55cc4eb SIZE (unison-2.32.52/unison-2.32.52-manual.pdf) = 478388 -MD5 (unison-2.32.52/unison-2.32.52-manual.ps) = 208157edde7f37e79c6eb1cf9192d350 SHA256 (unison-2.32.52/unison-2.32.52-manual.ps) = 779924e2a89ab2592c512e808cfcdf302c1a691fb1f2a6a02cc415fdc87770e5 SIZE (unison-2.32.52/unison-2.32.52-manual.ps) = 572128 --- unison-devel-2.32.52_2.patch ends here --- I approve, assuming you tested this. I've no ability to test. On Nov 29, 2010, at 2:45 PM, Matthias Andree wrote: > Hi Daniel, >=20 > please let me know if you approve of the attached patch to allow > for parallel builds on FreeBSD. It also removes the MD5 checksums = from > distinfo to track recent ports architecture changes. >=20 > Thanks. >=20 > Best regards > Matthias Andree (ports committer) >=20 >=20 > --- unison-devel-2.32.52_2.patch begins here --- > Index: Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/ncvs/ports/net/unison-devel/Makefile,v > retrieving revision 1.25 > diff -u -u -r1.25 Makefile > --- Makefile 27 Oct 2010 18:52:00 -0000 1.25 > +++ Makefile 29 Nov 2010 12:38:20 -0000 > @@ -23,7 +23,8 @@ > MAKE_ARGS=3D CFLAGS=3D"" > CONFLICTS=3D unison-[0-9]* unison-nox11-[0-9]* >=20 > -MAKE_JOBS_UNSAFE=3Dyes > +MAKE_JOBS_SAFE=3Dyes > +ALL_TARGET=3D unison all >=20 > .include <bsd.port.pre.mk> >=20 > Index: distinfo > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/ncvs/ports/net/unison-devel/distinfo,v > retrieving revision 1.12 > diff -u -u -r1.12 distinfo > --- distinfo 13 Aug 2009 16:57:10 -0000 1.12 > +++ distinfo 29 Nov 2010 12:39:27 -0000 > @@ -1,12 +1,8 @@ > -MD5 (unison-2.32.52/unison-2.32.52.tar.gz) =3D = 0701f095c1721776a0454b94607eda48 > SHA256 (unison-2.32.52/unison-2.32.52.tar.gz) =3D = 1542e5d4ad03e928260e061a8ff9d5e0bca3282481ed8bec5552de17a0270485 > SIZE (unison-2.32.52/unison-2.32.52.tar.gz) =3D 697866 > -MD5 (unison-2.32.52/unison-2.32.52-manual.html) =3D = 68379a1c5a5ab3d068726badc7d1135c > SHA256 (unison-2.32.52/unison-2.32.52-manual.html) =3D = c898239d8139d8405b96d87e12c06c7f41fd3629cac0c83bc338aad50fed7f81 > SIZE (unison-2.32.52/unison-2.32.52-manual.html) =3D 249124 > -MD5 (unison-2.32.52/unison-2.32.52-manual.pdf) =3D = 6d3f0e61ab69591759f18e4f103a0020 > SHA256 (unison-2.32.52/unison-2.32.52-manual.pdf) =3D = b3fee7ac99907f3b1ed02c6ac901678e82ea1eed936acb45e9735b95d55cc4eb > SIZE (unison-2.32.52/unison-2.32.52-manual.pdf) =3D 478388 > -MD5 (unison-2.32.52/unison-2.32.52-manual.ps) =3D = 208157edde7f37e79c6eb1cf9192d350 > SHA256 (unison-2.32.52/unison-2.32.52-manual.ps) =3D = 779924e2a89ab2592c512e808cfcdf302c1a691fb1f2a6a02cc415fdc87770e5 > SIZE (unison-2.32.52/unison-2.32.52-manual.ps) =3D 572128 > --- unison-devel-2.32.52_2.patch ends here --- >=20 Am 29.11.2010 20:10, schrieb Dan Pelleg:
> I approve, assuming you tested this. I've no ability to test.
Hi Dan,
Works on my Phenom II X4 FWIW -- but you can also test that on a singlecore
computer, these will - through time-sharing - usually exhibit the same problems
in different places, set FORCE_MAKE_JOBS=yes and MAKE_JOBS_NUMBER=3 in
/etc/make.conf. Depending on disk speed, this actually speed things up even on
a singlecore computer because the compilation process of 1 - 2 other files masks
the I/O wait time of the first process.
Thanks.
mandree 2010-11-29 20:44:34 UTC FreeBSD ports repository Modified files: net/unison-devel Makefile distinfo Log: Fix parallel build. Submitted by: mandree (myself) Approved by: Dan Pelleg (maintainer) PR: ports/151785 Revision Changes Path 1.26 +2 -1 ports/net/unison-devel/Makefile 1.13 +0 -4 ports/net/unison-devel/distinfo _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" State Changed From-To: feedback->closed Committed. Thanks! |