Hi,
I retrieve the latest version of systemimager from svn with the gcc43
patches. Trying to compile systemimager as root I end-up with the
following error :
...
cc -c -pipe -O2 -mtune=i486 -fomit-frame-pointer -I../lib -Wall
-Wmissing-prototypes -Wstrict-prototypes -I/usr/include/ncurses -DNCH=0
-D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\"
-DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale
\" -O2 mkfs.minix.c -o mkfs.minix.o
cc -s mkfs.minix.o -o mkfs.minix
cc -pipe -O2 -mtune=i486 -fomit-frame-pointer -I../lib -Wall
-Wmissing-prototypes -Wstrict-prototypes -I/usr/include/ncurses -DNCH=0
-D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\"
-DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale
\" -O2 -s mkfs.bfs.c -o mkfs.bfs
cc -c -pipe -O2 -mtune=i486 -fomit-frame-pointer -I../lib -Wall
-Wmissing-prototypes -Wstrict-prototypes -I/usr/include/ncurses -DNCH=0
-D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\"
-DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale
\" -O2 fsck.cramfs.c -o fsck.cramfs.o
fsck.cramfs.c:79:22: error: asm/page.h: No such file or directory
make[2]: *** [fsck.cramfs.o] Error 1
make[2]: Leaving directory
`/usr/src/redhat/BUILD/systemimager/src/util-linux-2.12r/disk-utils'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/usr/src/redhat/BUILD/systemimager/src/util-linux-2.12r'
make: ***
[/usr/src/redhat/BUILD/systemimager/src/util-linux-2.12r.build] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.81454 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.81454 (%build)
I also wish to be able to rebuild the rpm as a "non-root" user.
For this I have tried to apply a patch to the autoconf tools :
diff -up systemimager/autoconf/configure.ac.fc9
systemimager-4.1.6/autoconf/configure.ac
--- systemimager/autoconf/configure.ac.fc9 2008-04-14 17:57:34.000000000
+0200
+++ systemimager/autoconf/configure.ac 2008-04-14 18:06:06.000000000
+0200
@@ -28,9 +28,9 @@ if test -z "$RSYNC" ; then
[*** 'rsync' missing, please install or fix your PATH ***])
fi
-AC_PATH_PROG(MKCRAMFS, mkcramfs)
+AC_PATH_PROG(MKCRAMFS, mkcramfs,,/sbin)
if test -z "$MKCRAMFS"; then
- AC_PATH_PROG(MKCRAMFS, mkfs.cramfs)
+ AC_PATH_PROG(MKCRAMFS, mkfs.cramfs,,/sbin)
if test -z "$MKCRAMFS"; then
SI_CHECK_FAIL(mkcramfs,,,
[*** 'mkcramfs' or 'mkfs.cramfs' not found, please install
cramfs tools or fix your PATH ***])
diff -up systemimager-4.1.6/configure.fc9 systemimager-4.1.6/configure
When rebuilding the rpms I have error when trying to mknod tty*
...
cd /home/trophime/rpmbuild/BUILD/systemimager/initrd_source/build_dir/dev &&
mknod -m 660 tty1 c 4 1
mknod: `tty1': Operation not permitted
make: ***
[/home/trophime/rpmbuild/BUILD/systemimager/initrd_source/build_dir.prep] Error
1
erreur: Mauvais status de sortie
pour /home/trophime/rpmbuild/tmp/rpm-tmp.33956 (%build)
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users