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

Benoit Minisini gambas at ...1...
Mon Aug 16 22:04:36 CEST 2004


On Monday 16 August 2004 21:31, Rob wrote:
> 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
>

I didn't. I will make the packages tomorrow at my job on a fresh installed 
Mandrake 10.0, with the spec file included in the source, and I will tell you 
the result. I made the 0.96 ones with the same spec file, and I had no 
problems.

You got the error '/home/schmoe/RPM/tmp/gambas-0.97-1rk-buildroot/usr/bin/gbi: 
invalid option -- r', which is a valid option for the gbi program that is 
provided with gambas-0.97. This option was added to gbi in gambas-0.96. A bit 
strange...

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list