From: Agus <ag...@do...> - 2003-11-15 00:38:38
|
Thanks for the help. I have been able to move forward. I am only = building on RedHat 8.0 now. My latest errors are as follows: During XFree86 build, at the time the patches (4.2.0-4.2.1.diff.gz, = 4.2.1-mit-shm-security.patch, and 4.2.1-rogerb-fonterror.patch) are = applied, there are 2 files that the script thinks are missing. For each = of those 2 files, I hit the Enter key twice to skip it. Here are the = traces from the two files: ************************************************************************ + tar xfz = /home/agus/wrk/dws/prj/uml_fs_scripts/make_uml_rpm/rpm/SOURCES/X420src-1.= tgz + cd xc + gzip -d + patch -p1 patching file config/cf/FreeBSD.cf patching file config/cf/Imake.tmpl patching file config/cf/Imakefile patching file config/cf/NetBSD.cf patching file config/cf/OpenBSD.cf patching file config/cf/X11.tmpl patching file config/cf/cygwin.cf patching file config/cf/darwin.cf patching file config/cf/darwinLib.rules patching file config/cf/darwinLib.tmpl patching file config/cf/linux.cf patching file config/cf/sun.cf can't find file to patch at input line 403 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: xc/doc/specs/Xaw/TextSource |diff -u xc/doc/specs/Xaw/TextSource:1.1.1.3 = xc/doc/specs/Xaw/TextSource:1.1.1.3.6.1 |--- xc/doc/specs/Xaw/TextSource:1.1.1.3 Tue Jan 16 17:02:55 2001 |+++ xc/doc/specs/Xaw/TextSource Thu Jul 4 13:07:09 2002 -------------------------- File to patch:=20 Skip this patch? [y]=20 Skipping patch. 1 out of 1 hunk ignored :::::: :::::: :::::: + patch -p1 patching file config/cf/FreeBSD.cf patching file config/cf/Imake.tmpl patching file config/cf/OpenBSD.cf can't find file to patch at input line 62 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: xc/doc/specs/Xext/mit-shm.ms |=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/x-cvs/xc/doc/specs/Xext/mit-shm.ms,v |retrieving revision 1.1.1.1 |diff -u -r1.1.1.1 mit-shm.ms |--- xc/doc/specs/Xext/mit-shm.ms 1994/04/27 07:25:28 1.1.1.1 |+++ xc/doc/specs/Xext/mit-shm.ms 2002/09/12 20:51:18 -------------------------- File to patch:=20 Skip this patch? [y]=20 Skipping patch. 1 out of 1 hunk ignored ************************************************************************ The build then continue until it hits the following error: ************************************************************************ Wrote: = /home/agus/wrk/dws/prj/uml_fs_scripts/make_uml_rpm/rpm/SRPMS/Xnest-static= -4.2.1pl1-4umlbuilder.src.rpm Wrote: = /home/agus/wrk/dws/prj/uml_fs_scripts/umlbuilder/src_UMLBUILDER_1_40/umlb= uilder/i386/Xnest-static-4.2.1pl1-4umlbuilder.i386.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.53917 + umask 022 + cd /home/agus/wrk/dws/prj/uml_fs_scripts/make_uml_rpm/rpm/BUILD + rm -rf /var/tmp/Xnest-static-buildroot + exit 0 cd miniroot ; make make[1]: Entering directory = `/home/agus/wrk/dws/prj/uml_fs_scripts/umlbuilder/src_UMLBUILDER_1_40/uml= builder/miniroot' rm -f miniroot mr mr-stage python makeminiroot.py rh90-mr.p /space/distros/RPMS-rh90 busybox.rpm Populating installfs Traceback (most recent call last): File "makeminiroot.py", line 45, in ? File = "/home/agus/wrk/dws/prj/uml_fs_scripts/umlbuilder/src_UMLBUILDER_1_40/uml= builder/pkg_collection.py", line 377, in getalldeps for i in packages: p.append(self.getrpmname(i)) File = "/home/agus/wrk/dws/prj/uml_fs_scripts/umlbuilder/src_UMLBUILDER_1_40/uml= builder/pkg_collection.py", line 290, in getrpmname raise ValueError, "No rpm matching "+package ValueError: No rpm matching glibc make[1]: *** [miniroot] Error 1 make[1]: Leaving directory = `/home/agus/wrk/dws/prj/uml_fs_scripts/umlbuilder/src_UMLBUILDER_1_40/uml= builder/miniroot' make: *** [mrmake] Error 2 ************************************************************************ You mentioned about the rpms for Redhat 9 in your previous reply. I = don't quite understand. Can you please elaborate. Do I need to create = /space/distros/RPMS-rh90 and copy all Redhat 9 rpms into that directory? Thanks for all the help. Agus -----Original Message----- From: Roger Binns [mailto:ro...@ro...] Sent: Thu 11/13/2003 23:47 To: uml...@li... Cc:=09 Subject: Re: [umlbuilder-devel] RE: Building umlbuilder from source > Which source tag > (UMLBUILDER_1_40=20 That is a branch tag and includes all the 1.4 and 1.5 releases. I did = do some work on the head for what would become UML Builder 2.0 but have = abandoned it since I have had better ideas since then (although no time to = implement them yet). > error: Failed to rename /usr/src/redhat/SPECS/rpm-spec.KK1VEF to = /usr/src/redhat/SPECS/rpm-spec.KK1VEF: No such file or > directory: No such file or directory=20 You need to setup directories you have permissions to write to. Follow in the instructions on the site for building your own UML rpms. There is a fair bit of other software and sources you will need. These include XFree86 (for the Xnest server), busybox (for the miniroot = filesystem image) and rpms for Redhat 9 (for the miniroot, eg mkfs commands for the various filesystem types). Let us know where you next fall over. Roger ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ umlbuilder-devel mailing list uml...@li... https://lists.sourceforge.net/lists/listinfo/umlbuilder-devel |