ltib
[Top][All Lists]
Advanced

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

FC12 install problem (was Re: [Ltib] LTIB installation problem)


From: Stuart Hughes
Subject: FC12 install problem (was Re: [Ltib] LTIB installation problem)
Date: Tue, 06 Apr 2010 19:39:03 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Shila,

I looked into this a bit more and I think the problem is with SELINUX
(or a violation by rpm in LTIB).  Did you get any alerts about
librpmio-4.0.4.so?

Can you try this as root:

For an Savannah (public) LTIB:
# execstack -c /opt/ltib/usr/lib/librpmio-4.0.4.so

For Freescale BSPs (please verify the library path):
# execstack -c /opt/freescale/ltib/usr/lib/librpmio-4.0.4.so

After that go back to your normal user and re-try running LTIB.

Regards, Stuart


Shila Haque wrote:
> Hi Stuart,
> 
> I really appreciated your help. I checked the host_config.log (I sent
> this in my earlier email) and got the following: 
> 
> Processing platform: Host support packages
> ============================================
> using
> /home/hwtesting/ltib-p2020ds-20091119/config/platform/host/ltib.preconfi
> g
> 
> Processing: fake-provides
> ===========================
> Build path taken because: no prebuilt rpm,
> 
> rpmbuild --dbpath ///opt/freescale/ltib/var/lib/rpm --target i686
> --define '_unpackaged_files_terminate_build 0' --define '_target_cpu
> i686' --define '__strip strip' --define '_topdir
> /opt/freescale/ltib/usr/src/rpm' --define '_prefix
> /opt/freescale/ltib/usr' --define '_tmppath
> /home/hwtesting/ltib-p2020ds-20091119/tmp' --define '_rpmdir
> /opt/freescale/ltib/usr/src/rpm/RPMS'  --define '_mandir
> /opt/freescale/ltib/usr/share/man' --define '_sysconfdir
> /opt/freescale/ltib/etc' --define '_localstatedir /var' -bb --clean
> --rmsource
> /home/hwtesting/ltib-p2020ds-20091119/dist/lfs-5.1/fake-provides/fake-pr
> ovides.spec
> 
> Failed building fake-provides
> Died at ./ltib line 1380.
> traceback:
>  main::build_host_rpms:1380
>   main::host_checks:1435
>    main:542
> 
> 
> Started: Tue Apr  6 09:10:15 2010
> Ended:   Tue Apr  6 09:10:16 2010
> Elapsed: 1 seconds
> 
> These packages failed to build:
> fake-provides
> 
> Build Failed
> 
> 
> 
> Thanks,
> 
> Shila
> 
> -----Original Message-----
> From: Stuart Hughes [mailto:address@hidden 
> Sent: Tuesday, April 06, 2010 9:57 AM
> To: Shila Haque
> Cc: address@hidden
> Subject: Re: [Ltib] LTIB installation problem
> 
> Hi Shila,
> 
> I can't tell from your output what is wrong.  I've not tried FC12 with
> the latest LTIB and I don't have the version you are using.
> 
> Is that all the output? can you send me the actual host_config.log off
> the list.  I'm not sure I can help though as the version you have is not
> the one I maintain.
> 
> Regards, Stuart
> 
> 
> Shila Haque wrote:
>> Hi Stuart,
>>
>> Thanks a lot for your reply. 
>>
>> I checked again the bin/Ltibutils.pm and found it looks like the same
> as
>> mention.
>>
>> Then I did the following:
>> First, I removed the 2>/dev/null from the 'rpm-build' line and then
> run.
>> But I got the same error as rpm-build 0 failed.
>> Then I commented out the line " rpm-build 0" at line 94 in ltib and
> run
>> and got the following error:
>>
>> address@hidden ltib-p2020ds-20091119]$ ./ltib
>>
>> Installing host support packages.
>>
>> This only needs to be done once per host, but may take up to
>> an hour to complete ...
>>
>> If an error occurs, a log file with the full output may be found in:
>> /home/hwtesting/ltib-p2020ds-20091119/host_config.log
>>
>> Exiting on error or interrupt
>> Please see >> /home/hwtesting/ltib-p2020ds-20091119/host_config.log
> for
>> details
>> address@hidden ltib-p2020ds-20091119]$
>>
>>
>>
>> I checked the host_config.log and got the following:
>>
>>
>>
>> Processing platform: Host support packages
>> ============================================
>> using
>>
> /home/hwtesting/ltib-p2020ds-20091119/config/platform/host/ltib.preconfi
>> g
>>
>> Processing: fake-provides
>> ===========================
>> Build path taken because: no prebuilt rpm,
>>
>> rpmbuild --dbpath ///opt/freescale/ltib/var/lib/rpm --target i686
>> --define '_unpackaged_files_terminate_build 0' --define '_target_cpu
>> i686' --define '__strip strip' --define '_topdir
>> /opt/freescale/ltib/usr/src/rpm' --define '_prefix
>> /opt/freescale/ltib/usr' --define '_tmppath
>> /home/hwtesting/ltib-p2020ds-20091119/tmp' --define '_rpmdir
>> /opt/freescale/ltib/usr/src/rpm/RPMS'  --define '_mandir
>> /opt/freescale/ltib/usr/share/man' --define '_sysconfdir
>> /opt/freescale/ltib/etc' --define '_localstatedir /var' -bb --clean
>> --rmsource
>>
> /home/hwtesting/ltib-p2020ds-20091119/dist/lfs-5.1/fake-provides/fake-pr
>> ovides.spec
>>
>> Failed building fake-provides
>> Died at ./ltib line 1380.
>> traceback:
>>  main::build_host_rpms:1380
>>   main::host_checks:1435
>>    main:542
>>
>>
>> Started: Tue Apr  6 09:10:15 2010
>> Ended:   Tue Apr  6 09:10:16 2010
>> Elapsed: 1 seconds
>>
>> These packages failed to build:
>> fake-provides
>>
>> Build Failed
>>
>>
>> I really appreciated your help.
>>
>> Thanks,
>>
>> Shila
>>
>>
>>
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]