[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Updating GCC



On Mon, Feb 14, 2011 at 6:30 AM, Thomas Jürges <thomas@senmut.net> wrote:
> On 2011-02-13 11:45, Peter Slegg wrote:
>> On Sun, 13 Feb 2011 19:36:39 , m0n0 <ole@monochrom.net> wrote:
>>> On 13.02.2011 19:19, m0n0 wrote:
>>>> deinstallation of gcc-4.4.3 RPM is a mess - it even tried to delete
>>>> the / directory.
>>> this also happens with the -U flag - it wipes the /usr/ directory :/ But
>>> I see - this is just a symlink, so /d/usr still has contents...
>>> It requires a reboot to re-setup the symlinks established in the mint.cnf.
>>>
>> I think I saw the same attempt to delete / when updating from 4.5.1
>> So if you discover anything vital missing it might help me fix my gcc
>> set-up.
>
> Woah.  This is not good.
>
> This sounds like a broken specs file for the rpm.  I might be able to
> help a little bit with them, since I dealt with those for some time when
> I ported software to RHEL and Mandriva.  So if somebody would just drop
> the .spec files in my email-inbox, I could have a closer look and try to
> find the bug[s].
>
> Cheers,
>        T.

did anyone have any luck with this yet?

I see an issue here:

%install
[ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT}

I would suggest having a quick look at:
2.95 spec (in sparemint rpm)
4.x.xx spec from any other rpm package

also does this issue/s affect the use of the gcc2

Paul