Bug 81327 - net/boinc-client: fix for ia64 and amd64 build failure in "sea" subdir
Summary: net/boinc-client: fix for ia64 and amd64 build failure in "sea" subdir
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-21 02:30 UTC by J.R. Oldroyd
Modified: 2005-05-22 01:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description J.R. Oldroyd 2005-05-21 02:30:02 UTC
Builds on pointyhat for ia64 and amd64 archs have been failing in the
"sea" subdir.  This subdir is not needed anyway, so this patch removes
it from the Makefile.

How-To-Repeat: Fix:
diff -ruN /usr/ports/net/boinc-client/Makefile net/boinc-client/Makefile
--- /usr/ports/net/boinc-client/Makefile	Fri May 20 21:14:10 2005
+++ net/boinc-client/Makefile	Fri May 20 21:23:11 2005
@@ -7,6 +7,7 @@
 
 PORTNAME=	boinc-client
 PORTVERSION=	4.67.20050320
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://boinc.berkeley.edu/source/nightly/ \
 		${MASTER_SITE_LOCAL}
@@ -128,10 +129,10 @@
 	${MKDIR} ${PREFIX}/etc/rc.d
 	${INSTALL_SCRIPT} ${WRKDIR}/rc-boinc.sh ${PREFIX}/etc/rc.d/boinc.sh
 	${REINPLACE_CMD} \
-	    -e "s:%%BOINC_BINARY%%:${BOINC_BINARY}:g" \
-	    -e "s:%%BOINC_HOME%%:${BOINC_HOME}:g" \
-	    -e "s:%%BOINC_USER%%:${BOINC_USER}:g" \
-	    ${TMPPLIST}
+		-e "s:%%BOINC_BINARY%%:${BOINC_BINARY}:g" \
+		-e "s:%%BOINC_HOME%%:${BOINC_HOME}:g" \
+		-e "s:%%BOINC_USER%%:${BOINC_USER}:g" \
+		${TMPPLIST}
 	${CAT} ${PKGMESSAGE}
 	@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
 
diff -ruN /usr/ports/net/boinc-client/files/patch-Makefile.am net/boinc-client/files/patch-Makefile.am
--- /usr/ports/net/boinc-client/files/patch-Makefile.am	Wed Dec 31 19:00:00 1969
+++ net/boinc-client/files/patch-Makefile.am	Fri May 20 12:37:53 2005
@@ -0,0 +1,11 @@
+--- Makefile.am.orig	Thu Feb  3 01:44:31 2005
++++ Makefile.am	Fri May 20 12:37:31 2005
+@@ -17,7 +17,7 @@
+ endif
+ 
+ if BUILD_CLIENTGUI
+-   CLIENTGUI_SUBDIRS = clientgui sea
++   CLIENTGUI_SUBDIRS = clientgui
+ endif
+ 
+ # ORDER MATTERS below.  One must build dependencies FIRST, then things
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-05-21 11:08:22 UTC
State Changed
From-To: open->feedback

Are you sure this is correct? It still wants to install boincmgr binary. 


Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2005-05-21 11:08:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Track
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2005-05-21 14:54:37 UTC
J.R. Oldroyd p=ED=B9e v so 21. 05. 2005 v 09:50 -0400:

Then explain this error log:

=3D=3D=3D>  Checking if net/boinc-client already installed
/bin/mkdir -p /usr/local/lib/boinc
install  -s -o root -g wheel -m 555 /work/a/ports/net/boinc-client/work/boi=
nc/client/`(cd /work/a/ports/net/boinc-client/work/boinc/client; make -V CL=
IENT_BIN_FILENAME)` /usr/local/lib/boinc/boinc-client
install  -s -o root -g wheel -m 555 /work/a/ports/net/boinc-client/work/boi=
nc/clientgui/`(cd /work/a/ports/net/boinc-client/work/boinc/client; make -V=
 CLIENT_GUI_BIN_FILENAME)` /usr/local/bin
install: /work/a/ports/net/boinc-client/work/boinc/clientgui/boincmgr: No s=
uch file or directory
*** Error code 71

> Yes, this is correct.
>=20
> boincmgr is built in and installed from the "clientgui" subdir which I ha=
ve
> left in.  The "sea" subdir appears to build a self-extracting archive con=
taining
> the boinc client and the boincmgr.  We do not need this self-extracting a=
rchive
> on FreeBSD.
>=20
> 	-jr
>=20
> On May 21, 10:09, Pav Lucistnik wrote:
> > Synopsis: net/boinc-client: fix for ia64 and amd64 build failure in "se=
a" subdir
> >=20
> > State-Changed-From-To: open->feedback
> > State-Changed-By: pav
> > State-Changed-When: Sat May 21 10:08:22 GMT 2005
> > State-Changed-Why:=20
> > Are you sure this is correct? It still wants to install boincmgr binary=
.
> >=20
> >=20
> > Responsible-Changed-From-To: freebsd-ports-bugs->pav
> > Responsible-Changed-By: pav
> > Responsible-Changed-When: Sat May 21 10:08:22 GMT 2005
> > Responsible-Changed-Why:=20
> > Track
> >=20
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D81327
>=20
--=20
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

Eat when you are hungry, sleep when you are tired.
Chase butterflies when you want some fun.
Comment 4 J.R. Oldroyd 2005-05-21 15:34:38 UTC
Hmm.  On my system it works fine.  It goes into "clientgui" and builds
boincmgr there.  The install works fine and boincmgr installs and works
fine.  It's almost as if your build didn't go into the "clientgui"
dir.  Could you email me the build log, please.

	-jr


On May 21, 15:54, Pav Lucistnik wrote:
> J.R. Oldroyd pí?e v so 21. 05. 2005 v 09:50 -0400:
> 
> Then explain this error log:
> 
> ===>  Checking if net/boinc-client already installed
> /bin/mkdir -p /usr/local/lib/boinc
> install  -s -o root -g wheel -m 555 /work/a/ports/net/boinc-client/work/boinc/client/`(cd /work/a/ports/net/boinc-client/work/boinc/client; make -V CLIENT_BIN_FILENAME)` /usr/local/lib/boinc/boinc-client
> install  -s -o root -g wheel -m 555 /work/a/ports/net/boinc-client/work/boinc/clientgui/`(cd /work/a/ports/net/boinc-client/work/boinc/client; make -V CLIENT_GUI_BIN_FILENAME)` /usr/local/bin
> install: /work/a/ports/net/boinc-client/work/boinc/clientgui/boincmgr: No such file or directory
> *** Error code 71
> 
> > Yes, this is correct.
> > 
> > boincmgr is built in and installed from the "clientgui" subdir which I have
> > left in.  The "sea" subdir appears to build a self-extracting archive containing
> > the boinc client and the boincmgr.  We do not need this self-extracting archive
> > on FreeBSD.
> > 
> > 	-jr
> > 
> > On May 21, 10:09, Pav Lucistnik wrote:
> > > Synopsis: net/boinc-client: fix for ia64 and amd64 build failure in "sea" subdir
> > > 
> > > State-Changed-From-To: open->feedback
> > > State-Changed-By: pav
> > > State-Changed-When: Sat May 21 10:08:22 GMT 2005
> > > State-Changed-Why: 
> > > Are you sure this is correct? It still wants to install boincmgr binary.
> > > 
> > > 
> > > Responsible-Changed-From-To: freebsd-ports-bugs->pav
> > > Responsible-Changed-By: pav
> > > Responsible-Changed-When: Sat May 21 10:08:22 GMT 2005
> > > Responsible-Changed-Why: 
> > > Track
> > > 
> > > http://www.freebsd.org/cgi/query-pr.cgi?pr=81327
> > 
> -- 
> Pav Lucistnik <pav@oook.cz>
>               <pav@FreeBSD.org>
> 
> Eat when you are hungry, sleep when you are tired.
> Chase butterflies when you want some fun.
Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2005-05-21 15:34:48 UTC
J.R. Oldroyd p=ED=B9e v so 21. 05. 2005 v 10:34 -0400:

http://hood.oook.cz/tb/errors/4-STABLE-FreeBSD/boinc-client-4.67.20050320_1=
.log
http://hood.oook.cz/tb/errors/5-amd64-FreeBSD/boinc-client-4.67.20050320_1.=
log

> Hmm.  On my system it works fine.  It goes into "clientgui" and builds
> boincmgr there.  The install works fine and boincmgr installs and works
> fine.  It's almost as if your build didn't go into the "clientgui"
> dir.  Could you email me the build log, please.
>=20
> 	-jr
>=20
>=20
> On May 21, 15:54, Pav Lucistnik wrote:
> > J.R. Oldroyd p=ED?e v so 21. 05. 2005 v 09:50 -0400:
> >=20
> > Then explain this error log:
> >=20
> > =3D=3D=3D>  Checking if net/boinc-client already installed
> > /bin/mkdir -p /usr/local/lib/boinc
> > install  -s -o root -g wheel -m 555 /work/a/ports/net/boinc-client/work=
/boinc/client/`(cd /work/a/ports/net/boinc-client/work/boinc/client; make -=
V CLIENT_BIN_FILENAME)` /usr/local/lib/boinc/boinc-client
> > install  -s -o root -g wheel -m 555 /work/a/ports/net/boinc-client/work=
/boinc/clientgui/`(cd /work/a/ports/net/boinc-client/work/boinc/client; mak=
e -V CLIENT_GUI_BIN_FILENAME)` /usr/local/bin
> > install: /work/a/ports/net/boinc-client/work/boinc/clientgui/boincmgr: =
No such file or directory
> > *** Error code 71
> >=20
> > > Yes, this is correct.
> > >=20
> > > boincmgr is built in and installed from the "clientgui" subdir which =
I have
> > > left in.  The "sea" subdir appears to build a self-extracting archive=
 containing
> > > the boinc client and the boincmgr.  We do not need this self-extracti=
ng archive
> > > on FreeBSD.
> > >=20
> > > 	-jr
> > >=20
> > > On May 21, 10:09, Pav Lucistnik wrote:
> > > > Synopsis: net/boinc-client: fix for ia64 and amd64 build failure in=
 "sea" subdir
> > > >=20
> > > > State-Changed-From-To: open->feedback
> > > > State-Changed-By: pav
> > > > State-Changed-When: Sat May 21 10:08:22 GMT 2005
> > > > State-Changed-Why:=20
> > > > Are you sure this is correct? It still wants to install boincmgr bi=
nary.
> > > >=20
> > > >=20
> > > > Responsible-Changed-From-To: freebsd-ports-bugs->pav
> > > > Responsible-Changed-By: pav
> > > > Responsible-Changed-When: Sat May 21 10:08:22 GMT 2005
> > > > Responsible-Changed-Why:=20
> > > > Track
> > > >=20
> > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D81327
> > >=20
> > --=20
> > Pav Lucistnik <pav@oook.cz>
> >               <pav@FreeBSD.org>
> >=20
> > Eat when you are hungry, sleep when you are tired.
> > Chase butterflies when you want some fun.
>=20
--=20
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

... the obese drugged penguin used by Linux.
  -- Scott Long
Comment 6 J.R. Oldroyd 2005-05-21 16:01:36 UTC
The problem is that wx-config was not found so the build of the boincmgr
program was suppressed.

wx-config should be installed in /usr/X11R6/bin.  Is your path correct?

Also, the wxgtk port was recently renamed from x11-toolkits/wxgtk to
x11-toolkits/wxgtk24.  The CVS version of the boinc-client port was
changed by krion to reflect this change.  You may need to also add that
diff to the Makefile if you didn't get that update:

 # and the wxgtk2 toolkit and jpeg graphics lib.
 
 .if !defined(WITHOUT_X11)
 LIB_DEPENDS=	iconv:${PORTSDIR}/converters/libiconv \
-		wx_gtk2:${PORTSDIR}/x11-toolkits/wxgtk2 \
+		wx_gtk2:${PORTSDIR}/x11-toolkits/wxgtk24 \
 		jpeg:${PORTSDIR}/graphics/jpeg \
 		glut:${PORTSDIR}/graphics/libglut

	-jr





On May 21, 16:34, Pav Lucistnik wrote:
> J.R. Oldroyd pí?e v so 21. 05. 2005 v 10:34 -0400:
> 
> http://hood.oook.cz/tb/errors/4-STABLE-FreeBSD/boinc-client-4.67.20050320_1.log
> http://hood.oook.cz/tb/errors/5-amd64-FreeBSD/boinc-client-4.67.20050320_1.log
> 
> > Hmm.  On my system it works fine.  It goes into "clientgui" and builds
> > boincmgr there.  The install works fine and boincmgr installs and works
> > fine.  It's almost as if your build didn't go into the "clientgui"
> > dir.  Could you email me the build log, please.
> > 
> > 	-jr
> > 
> > 
> > On May 21, 15:54, Pav Lucistnik wrote:
> > > J.R. Oldroyd pí?e v so 21. 05. 2005 v 09:50 -0400:
> > > 
> > > Then explain this error log:
> > > 
> > > ===>  Checking if net/boinc-client already installed
> > > /bin/mkdir -p /usr/local/lib/boinc
> > > install  -s -o root -g wheel -m 555 /work/a/ports/net/boinc-client/work/boinc/client/`(cd /work/a/ports/net/boinc-client/work/boinc/client; make -V CLIENT_BIN_FILENAME)` /usr/local/lib/boinc/boinc-client
> > > install  -s -o root -g wheel -m 555 /work/a/ports/net/boinc-client/work/boinc/clientgui/`(cd /work/a/ports/net/boinc-client/work/boinc/client; make -V CLIENT_GUI_BIN_FILENAME)` /usr/local/bin
> > > install: /work/a/ports/net/boinc-client/work/boinc/clientgui/boincmgr: No such file or directory
> > > *** Error code 71
> > > 
> > > > Yes, this is correct.
> > > > 
> > > > boincmgr is built in and installed from the "clientgui" subdir which I have
> > > > left in.  The "sea" subdir appears to build a self-extracting archive containing
> > > > the boinc client and the boincmgr.  We do not need this self-extracting archive
> > > > on FreeBSD.
> > > > 
> > > > 	-jr
> > > > 
> > > > On May 21, 10:09, Pav Lucistnik wrote:
> > > > > Synopsis: net/boinc-client: fix for ia64 and amd64 build failure in "sea" subdir
> > > > > 
> > > > > State-Changed-From-To: open->feedback
> > > > > State-Changed-By: pav
> > > > > State-Changed-When: Sat May 21 10:08:22 GMT 2005
> > > > > State-Changed-Why: 
> > > > > Are you sure this is correct? It still wants to install boincmgr binary.
> > > > > 
> > > > > 
> > > > > Responsible-Changed-From-To: freebsd-ports-bugs->pav
> > > > > Responsible-Changed-By: pav
> > > > > Responsible-Changed-When: Sat May 21 10:08:22 GMT 2005
> > > > > Responsible-Changed-Why: 
> > > > > Track
> > > > > 
> > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=81327
> > > > 
> > > -- 
> > > Pav Lucistnik <pav@oook.cz>
> > >               <pav@FreeBSD.org>
> > > 
> > > Eat when you are hungry, sleep when you are tired.
> > > Chase butterflies when you want some fun.
> > 
> -- 
> Pav Lucistnik <pav@oook.cz>
>               <pav@FreeBSD.org>
> 
> ... the obese drugged penguin used by Linux.
>   -- Scott Long
Comment 7 J.R. Oldroyd 2005-05-21 16:08:21 UTC
Actually, the wxgtk->wxgtk24 patch may be incomplete.

Looks like the renamed port no longer installs the link from
wxgtk2-2.4-config to wx-config.

This helps:

--- Makefile.orig       Fri May 20 21:23:11 2005
+++ Makefile    Sat May 21 11:05:42 2005
@@ -42,7 +42,9 @@
 USE_REINPLACE= yes
 GNU_CONFIGURE= yes
 CONFIGURE_ARGS=        --disable-server
-.if defined(WITHOUT_X11)
+.if !defined(WITHOUT_X11)
+CONFIGURE_ARGS+=       --with-wx-config=wxgtk2-2.4-config
+.else
 CONFIGURE_ARGS+=       --with-wx-config=false
 .endif
 CONFIGURE_ENV= CPPFLAGS=-I${X11BASE}/include CXXFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include"

	-jr





On May 21, 16:34, Pav Lucistnik wrote:
> J.R. Oldroyd pí?e v so 21. 05. 2005 v 10:34 -0400:
> 
> http://hood.oook.cz/tb/errors/4-STABLE-FreeBSD/boinc-client-4.67.20050320_1.log
> http://hood.oook.cz/tb/errors/5-amd64-FreeBSD/boinc-client-4.67.20050320_1.log
> 
> > Hmm.  On my system it works fine.  It goes into "clientgui" and builds
> > boincmgr there.  The install works fine and boincmgr installs and works
> > fine.  It's almost as if your build didn't go into the "clientgui"
> > dir.  Could you email me the build log, please.
> > 
> > 	-jr
> > 
> > 
> > On May 21, 15:54, Pav Lucistnik wrote:
> > > J.R. Oldroyd pí?e v so 21. 05. 2005 v 09:50 -0400:
> > > 
> > > Then explain this error log:
> > > 
> > > ===>  Checking if net/boinc-client already installed
> > > /bin/mkdir -p /usr/local/lib/boinc
> > > install  -s -o root -g wheel -m 555 /work/a/ports/net/boinc-client/work/boinc/client/`(cd /work/a/ports/net/boinc-client/work/boinc/client; make -V CLIENT_BIN_FILENAME)` /usr/local/lib/boinc/boinc-client
> > > install  -s -o root -g wheel -m 555 /work/a/ports/net/boinc-client/work/boinc/clientgui/`(cd /work/a/ports/net/boinc-client/work/boinc/client; make -V CLIENT_GUI_BIN_FILENAME)` /usr/local/bin
> > > install: /work/a/ports/net/boinc-client/work/boinc/clientgui/boincmgr: No such file or directory
> > > *** Error code 71
> > > 
> > > > Yes, this is correct.
> > > > 
> > > > boincmgr is built in and installed from the "clientgui" subdir which I have
> > > > left in.  The "sea" subdir appears to build a self-extracting archive containing
> > > > the boinc client and the boincmgr.  We do not need this self-extracting archive
> > > > on FreeBSD.
> > > > 
> > > > 	-jr
> > > > 
> > > > On May 21, 10:09, Pav Lucistnik wrote:
> > > > > Synopsis: net/boinc-client: fix for ia64 and amd64 build failure in "sea" subdir
> > > > > 
> > > > > State-Changed-From-To: open->feedback
> > > > > State-Changed-By: pav
> > > > > State-Changed-When: Sat May 21 10:08:22 GMT 2005
> > > > > State-Changed-Why: 
> > > > > Are you sure this is correct? It still wants to install boincmgr binary.
> > > > > 
> > > > > 
> > > > > Responsible-Changed-From-To: freebsd-ports-bugs->pav
> > > > > Responsible-Changed-By: pav
> > > > > Responsible-Changed-When: Sat May 21 10:08:22 GMT 2005
> > > > > Responsible-Changed-Why: 
> > > > > Track
> > > > > 
> > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=81327
> > > > 
> > > -- 
> > > Pav Lucistnik <pav@oook.cz>
> > >               <pav@FreeBSD.org>
> > > 
> > > Eat when you are hungry, sleep when you are tired.
> > > Chase butterflies when you want some fun.
> > 
> -- 
> Pav Lucistnik <pav@oook.cz>
>               <pav@FreeBSD.org>
> 
> ... the obese drugged penguin used by Linux.
>   -- Scott Long
Comment 8 Pav Lucistnik freebsd_committer freebsd_triage 2005-05-21 16:13:52 UTC
J.R. Oldroyd p=ED=B9e v so 21. 05. 2005 v 11:08 -0400:
> Actually, the wxgtk->wxgtk24 patch may be incomplete.
>=20
> Looks like the renamed port no longer installs the link from
> wxgtk2-2.4-config to wx-config.
>=20
> This helps:
>=20
> --- Makefile.orig       Fri May 20 21:23:11 2005
> +++ Makefile    Sat May 21 11:05:42 2005
> @@ -42,7 +42,9 @@
>  USE_REINPLACE=3D yes
>  GNU_CONFIGURE=3D yes
>  CONFIGURE_ARGS=3D        --disable-server
> -.if defined(WITHOUT_X11)
> +.if !defined(WITHOUT_X11)
> +CONFIGURE_ARGS+=3D       --with-wx-config=3Dwxgtk2-2.4-config
> +.else
>  CONFIGURE_ARGS+=3D       --with-wx-config=3Dfalse
>  .endif
>  CONFIGURE_ENV=3D CPPFLAGS=3D-I${X11BASE}/include CXXFLAGS=3D"-I${X11BASE=
}/include -I${LOCALBASE}/include"

Yes this looks promising. I'll test and commit.

--=20
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

Autumn changed into Winter ... Winter changed into Spring ...  Spring
changed back into Autumn and Autumn gave Winter and Spring a miss and went
straight on into Summer
Comment 9 Pav Lucistnik freebsd_committer freebsd_triage 2005-05-22 01:03:23 UTC
State Changed
From-To: feedback->closed

Committed, thanks!