[Gambas-user] spec file issue in gambas 0.97?

Rob sourceforge-raindog2 at ...94...
Mon Aug 16 21:31:18 CEST 2004


I just bombed out trying to build RPM's for gambas 0.97 under a 
fairly clean Mandrake 10 install.  The only changes I made to 
the spec file were to remove the Benoit-specific lines at the 
beginning that really belong in Benoit's ~/.rpmmacros file 
(naughty naughty ;) actually, I did the same thing originally 
and got dissed by the Mandrake contrib guys for it.)

It gets all the way through the compile and then dies while 
trying to generate the info files:

/bin/sh: line 1: Installing with 
ROOT=/home/schmoe/RPM/tmp/gambas-0.97-1rk-buildroot: No such 
file or directory

Creating the library info files...
/home/schmoe/RPM/tmp/gambas-0.97-1rk-buildroot/usr/bin/gbi: 
invalid option -- r
Cannot write  /usr/share/gambas/info/gb.info
make[2]: *** [install-exec-local] Error 1
make[2]: Leaving directory `/home/schmoe/RPM/BUILD/gambas-0.97'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/schmoe/RPM/BUILD/gambas-0.97'
make: *** [install-recursive] Error 1
error: Bad exit status from /home/schmoe/RPM/tmp/rpm-tmp.61842 
(%install)

RPM build errors:
    Bad exit status from /home/schmoe/RPM/tmp/rpm-tmp.61842 
(%install)
Command exited with non-zero status 1
635.42user 48.25system 12:20.03elapsed 92%CPU (0avgtext+0avgdata 
0maxresident)k
0inputs+0outputs (2126984major+3500128minor)pagefaults 0swaps



That error up at the top seems to be wrong somehow, as you can 
see:

[schmoe at ...572... SPECS]$ ls -al 
/home/schmoe/RPM/tmp/gambas-0.97-1rk-buildroot
total 12
drwxr-xr-x   3 schmoe schmoe 4096 Aug 16 15:17 ./
drwxr-xr-x  11 schmoe schmoe 4096 Aug 16 15:17 ../
drwxr-xr-x   6 schmoe schmoe 4096 Aug 16 15:17 usr/
[schmoe at ...572... SPECS]$

It looks to me like the install process is trying to write to 
/usr/share/gambas/info!  Benoit, did you make a spec file that 
requires the user to be root in order to build its packages? ;)

Rob






More information about the User mailing list