Minimyth gar build system

Announce/Discuss projects you are working on for MiniMyth

Moderator: Pablo

zzo
Member
Posts: 15
Joined: Thu Jan 29, 2004 4:45 am

Get gar to use passive ftp when downloading??

Post by zzo »

Anyone know how to do this? Guess I can just hand-download them & use GARARCHIVEDIR to get
going.
thanks,
Mark
zzo
Member
Posts: 15
Joined: Thu Jan 29, 2004 4:45 am

GAR build problems

Post by zzo »

This is from CVS 1/30/04:
Note I have downloaded qt-x11-free-3.2.1.tar.bz2 & get GARCHIVEDIR to /data/distro/beta/src
Even if I move the QT tar to qt/download same error.
Everything up until this point worked fine.
This line:
/bin/sh: line 1: make: command not found
sorta scares me - running 'make -d install' give a lotta output but not a lotta help.
Any Ideas?
thanks! Mark


make[1]: Entering directory `/data/distro/beta/cvs/minimyth/meta/minimyth-contents'
[===== NOW BUILDING: minimyth-contents-none =====]
[fetch] complete for minimyth-contents.
[checksum] complete for minimyth-contents.
[extract] complete for minimyth-contents.
[patch] complete for minimyth-contents.
==> Building lib/qt as a dependency
make[2]: Entering directory `/data/distro/beta/cvs/minimyth/lib/qt'
[===== NOW BUILDING: qt-x11-free-3.2.1 =====]
==> Grabbing download/qt-x11-free-3.2.1.tar.bz2
==> Trying file//files/qt-x11-free-3.2.1.tar.bz2
/bin/sh: line 1: make: command not found
==> Trying file///data/distro/beta/src/qt-x11-free-3.2.1.tar.bz2
/bin/sh: line 1: make: command not found
==> Trying ftp//ftp.trolltech.com/qt/source/qt-x11-free-3.2.1.tar.bz2
/bin/sh: line 1: make: command not found
*** GAR GAR GAR! Failed to download download/qt-x11-free-3.2.1.tar.bz2! GAR GAR GAR! ***
make[2]: *** [download/qt-x11-free-3.2.1.tar.bz2] Error 1
make[2]: Leaving directory `/data/distro/beta/cvs/minimyth/lib/qt'
make[1]: *** [../../lib/qt/cookies//install] Error 2
lmatter
Contributor
Posts: 632
Joined: Sat Aug 23, 2003 5:13 pm
Location: California, USA

Post by lmatter »

As far as downloading goes, it's supposed to handle that automatically. You can set GARCHIVEDIR and copy what it downloads (in each packages download dir) if you build a lot and you don't want to avoid constantly redownloading.

As far as the error goes, I have not seen that one. I believe you use gentoo, and I think dna does too, maybe he can provide some insight.

Larry
zzo
Member
Posts: 15
Joined: Thu Jan 29, 2004 4:45 am

gar problems

Post by zzo »

Yes I'm using gentoo - & I did set GARCHIVEDIR & do have that qt bz2 file in my GARCHIVEDIR -
it was working great up until qt - it pulled the xfree86 files out of my GARCHIVEDIR - dunno why
it's now decided not to work anymore...
It looks to be a PATH-type problem - after copying the qt bz2 & 'gar-diff' file to qt/download I get:
make[3]: Entering directory `/data/distro/beta/cvs/minimyth/lib/qt'
[===== NOW BUILDING: qt-x11-free-3.2.1 =====]
[fetch] complete for qt-x11-free.
[checksum] complete for qt-x11-free.
[extract] complete for qt-x11-free.
==> Applying patch download/gar-base.diff
/bin/sh: line 1: patch: command not found
make[3]: *** [normal-patch-gar-base.diff] Error 127
make[3]: Leaving directory `/data/distro/beta/cvs/minimyth/lib/qt'
make[2]: *** [../../lib/qt/cookies//install] Error 2
make[2]: Leaving directory `/data/distro/beta/cvs/minimyth/meta/minimyth-contents'
make[1]: *** [../../meta/minimyth-contents/cookies//install] Error 2
make[1]: Leaving directory `/data/distro/beta/cvs/minimyth/meta/minimyth'
make: *** [install] Error 2
& 'patch' is in /usr/bin - as is 'make' for that matter.

thanks,
Mark
zzo
Member
Posts: 15
Joined: Thu Jan 29, 2004 4:45 am

my solution....

Post by zzo »

For some reason I had to make this GAR patch to the Makefile in qt:

Code: Select all

Index: lib/qt/Makefile
===================================================================
RCS file: /usr/local/cvs/minimyth/lib/qt/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- lib/qt/Makefile     18 Jan 2004 08:00:01 -0000      1.5
+++ lib/qt/Makefile     30 Jan 2004 23:18:15 -0000
@@ -12,7 +12,7 @@ endef
  
 #QTDIR = $(shell pwd)/$(WORKSRC)
 #LD_LIBRARY_PATH += $(shell pwd)/$(WORKSRC)/lib:
-PATH += $(shell pwd)/$(WORKSRC)/bin:
+PATH += /bin:/usr/bin:/usr/local/bin:$(shell pwd)/$(WORKSRC)/bin:
  
  
 DEPENDS = X11/XFree86 utils/mysql-client #lib/libjpeg lib/libmng 

Have no idea why the '+=' thing didn't work correctly for the PATH but it totally blows the entire PATH out - at least on my gentoo system it did....
Mark[/code]
hagan
Member
Posts: 29
Joined: Mon Feb 16, 2004 10:35 pm
Contact:

Post by hagan »

Hi,
I am trying to build the gar system. I got stuck wit QT. Is this supposed to be working now? It seems to be QT not finding some libraries it needs.

Regards
Marcus

PS: Thanks a lot for this great project. In the moment I am running the prebuilt betas and its working great.
lmatter
Contributor
Posts: 632
Joined: Sat Aug 23, 2003 5:13 pm
Location: California, USA

Post by lmatter »

I'm not really sure what state GAR is in at the moment. I haven't looked at it in about a month. I took a break to (I thought) quickly get a release out with Myth-0.14, but even that is taking long time. After minimyth-0.4 is out, we will be working in GAR again, but it will be redone, more or less, to be an NFS booted system, and it may be based on LNX-BBC (not sure yet).

Still, it's a good idea to get familiar with GAR and the dependencies.

Larry
dna
Member
Posts: 16
Joined: Tue Nov 04, 2003 2:13 pm
Location: Phoenix, AZ

Post by dna »

Well, the gar cvs (and mail) server is down for some odd reason. It'll be a couple days before I can get up there to check it out but there doesn't seem to be much activity on gar lately :) Almost 60 days uptime isn't that bad I guess...
Post Reply