Ralf S. Engelschall wrote: > On Sat, Aug 03, 2002, T.J. Yang wrote: > > >>I am getting lucky(based on your guys hard work) >>on solaris 8 Intel but the dependcy among the pkgs >>is annonying. There should be a way to say >>"make world" and have all the srpms be compiled. > > > The script is http://cvs.openpkg.org/openpkg-re/src2make.pl >
Thanks for the pointer. I got solaris 2.6/2.8 sparc and 2.8 Intel to work and thinking of building the whole suit of RPMS on these platforms. I will give this script a spin for sure. Will you take a look at my attached tar.gz file contain compiling work log on hpux11.11 ? bash and tar were downgrated to bypass the compiling problem. It is so close yet so far away. I got the compiling to work but failed at last few stages of openpkg.boot when creating binary-bootstrap file. <snip> local/man/cat1 local/man/cat2 local/man/cat3 local/man/cat4 local/man/cat5 local/man/cat6 local/man/cat7 local/man/cat8 local/man/cat9 local/sbin RPM/DB/Basenames RPM/DB/Conflictname RPM/DB/Group RPM/DB/Name RPM/DB/Packages RPM/DB/Providename RPM/DB/Requirename RPM/DB/T riggername + cd /home/openpkg/tmp/openpkg-20020718-root/cw + /home/openpkg/tmp/openpkg-20020718-root/cw/lib/openpkg/tar --no-recursion -cf - README .bashrc .bash_login RPM RPM/SRC RPM/PKG RPM/DB RPM/TMP cgi bin bin/rpm2cpio bin/rpm etc etc/rc etc/rc.conf etc/rc.func etc/rc.d etc/rc.d/rc.openpkg etc/openpkg etc/openpkg/rpmmacros etc/openpkg/rpmrc etc/openpkg/openpkg.pgp include include/rpm include/rpm/popt.h include/rpm/header.h include/rpm/misc.h include/rpm/r pmbuild.h include/rpm/rpmerr.h include/rpm/rpmio.h include/rpm/rpmlib.h include/rpm/rpmlog.h include/rpm/rpmmacro.h include/rpm/rpmmess ages.h include/rpm/rpmspec.h include/rpm/rpmurl.h include/rpm/stringbuf.h include/rpm/ugid.h include/rpm/db.h include/rpm/zlib.h info l ib lib/openpkg lib/openpkg/bash lib/openpkg/bzip2 lib/openpkg/curl lib/openpkg/find-provides lib/openpkg/find-requires lib/openpkg/gzip lib/openpkg/macros lib/openpkg/mkproxyrpm.pl lib/openpkg/patch lib/openpkg/rpm lib/openpkg/rpmb lib/openpkg/rpmdb lib/openpkg/rpme lib /openpkg/rpmi lib/openpkg/rpmk lib/openpkg/rpmpopt-4.0.2 lib/openpkg/rpmq lib/openpkg/rpmt lib/openpkg/rpmtool lib/openpkg/rpmu lib/ope npkg/rpmv lib/openpkg/rpmx.pl lib/openpkg/rpmx.sh lib/openpkg/shtool lib/openpkg/tar lib/librpmpopt.a lib/librpm.a lib/librpmbuild.a li b/librpmio.a lib/librpmz.a lib/librpmdb.a libexec man man/man1 man/man2 man/man3 man/man4 man/man5 man/man6 man/man7 man/man8 man/man9 man/cat1 man/cat2 man/cat3 man/cat4 man/cat5 man/cat6 man/cat7 man/cat8 man/cat9 man/man8/rpm.8 man/man8/rpm2cpio.8 man/man8/lsync.8 sb in pub share var sbin/lsync local local/README local/.lsyncrc local/PKG local/bin local/etc local/include local/info local/lib local/ma n local/man/man1 local/man/man2 local/man/man3 local/man/man4 local/man/man5 local/man/man6 local/man/man7 local/man/man8 local/man/man 9 local/man/cat1 local/man/cat2 local/man/cat3 local/man/cat4 local/man/cat5 local/man/cat6 local/man/cat7 local/man/cat8 local/man/cat 9 local/sbin RPM/DB/Basenames RPM/DB/Conflictname RPM/DB/Group RPM/DB/Name RPM/DB/Packages RPM/DB/Providename RPM/DB/Requirename RPM/DB /Triggername + compress + uuencode openpkg-20020718-20020718.9000/780-hp-ux11.11-cw.tar.Z + openpkg.boot[479]: ../openpkg-20020718-20020718.9000/780-hp-ux11.11-cw.sh: Cannot create the specified file. + echo ++ no cleaning up ++ no cleaning up ++ resulting files (placed into ..): openpkg-20020718-20020718.9000/780-hp-ux11.11-cw.sh not found openpkg-20020718-20020718.9000/780-hp-ux11.11-cw.rpm not found -rw-r--r-- 1 root sys 10520744 Aug 4 03:58 openpkg-20020718-20020718.src.rpm > >>May I see the script for generating this report ? >>Looks like this Version tracking report is doing >>some sort of auto-bulid. > > > No, it does no building, it just checks the vendor locations on the > Internet and reports the differences. The stuff you can find under > http://cvs.openpkg.org/openpkg-re/vcheck/ > > >>Right now I am doing it the KISS way like this for two times >> >>cd /cw/RPM/SRC # >>for i in `ls` >>do >>rpm -ba $i/$i.spec >>rpm -ivh /cw/RPM/PKG/*-cw.rpm >>done >>#walk away to enjoy my weekend ;) > > > This will not work for all packages because of dependencies between > them. Lots of packagesa require others to be build _AND_ installed > before they can be built itself. That's why you need the src2make.pl > stuff. > > >>Also why there are different version of same >>pakage in current/SRC ? I have to manually >>pick the new version. is is not good for >>back build. > > > There are usually not multiple versions of a package in current/SRC/. > This happens only temporarily between the time we uploaded an updated > package (new version) and the time when the cron-job removes out-dated > versions (old version). The cron-job runs hourly, so if there are > multiple versions they will be gone at last after 1 hour. > > Ralf S. Engelschall > [EMAIL PROTECTED] > www.engelschall.com > ______________________________________________________________________ > The OpenPKG Project www.openpkg.org > Developer Communication List [EMAIL PROTECTED]
openpkg-hpux11.11-tjyang-test.tar.gz
Description: GNU Zip compressed data
