[Fedora-livecd-list] Help with a problem I am seeing when trying to build a liveCD for FC13

Jim Galarowicz jeg at krellinst.org
Fri Sep 17 22:34:06 UTC 2010


  Hi Larry, Bruno,

I'm back trying to create a liveCD after failing to succeed in July.   
I've taken out all my OpenSpeedShop related rpms and I'm just trying to 
build with the existing FC13 rpms.

I've tried this on x86 and now on x86_64 with the same results:

   Installing: zlib                         ##################### [ 27/995]
   Installing: libxml2                      ##################### [ 28/995]
   Installing: libstdc++                    ##################### [ 29/995]
   Installing: libICE                       ##################### [ 30/995]
   Installing: info                         ##################### [ 31/995]
sh: uname: command not found
   Installing: popt                         ##################### [ 32/995]
   Installing: chkconfig                    ##################### [ 33/995]
   Installing: libcom_err                   ##################### [ 34/995]

I know the suggestion was to fix the offending rpms so that they install 
coreutils prior to using one of the coreutils  commands (uname).  
However, I've looked at both the info and popt spec files that I believe 
fedora is using and there is no references to uname.

I've spent more time than I should admit trying to get a liveCD built.

As a sanity check I took these kickstart files:

    fedora-live-desktop.ks
    fedora-livecd-desktop.ks
    fedora-live-base.ks
    fedora-live-minimization.ks

from the spin-kickstarts directory ( /usr/share/spin-kickstarts/) and 
tried to build the desktop liveCD version:

I get the same uname command not found message.    I was  building fine 
prior to the similar problem that started occurring sometime in July.   
I don't remember upgrading the liveCD tools, but I may have.  Currently 
(with this attempt) I'm using livecd-tools-033-3.fc13.x86_64.

I have the "script" output for the desktop liveCD build, if anyone has 
time to look at or comment on this problem/issue.


    4 -rw-r--r--. 1 jeg  jeg     1810 Sep 16 17:48 fedora-live-desktop.ks
    4 -rw-r--r--. 1 jeg  jeg     1138 Sep 16 17:49 fedora-livecd-desktop.ks
   12 -rw-r--r--. 1 jeg  jeg    12267 Sep 16 17:49 fedora-live-base.ks
    4 -rw-r--r--. 1 jeg  jeg      433 Sep 16 17:49 
fedora-live-minimization.ks
    4 -rwxr-xr-x. 1 jeg  jeg      316 Sep 16 17:51 buildlivecddesktop.sh
1004 -rw-r--r--. 1 root root 1023277 Sep 17 11:17 buildoutput.txt
    4 drwxr-xr-x. 3 jeg  jeg     4096 Sep 17 11:17 .
[jeg at localhost kickstart-files]$ rpmq live
livecd-tools-033-3.fc13.x86_64
[jeg at localhost kickstart-files]$ diff 
/usr/share/spin-kickstarts/fedora-live-desktop.ks .
[jeg at localhost kickstart-files]$ diff 
/usr/share/spin-kickstarts/fedora-livecd-desktop.ks fedora-livecd-desktop.ks
[jeg at localhost kickstart-files]$ diff 
/usr/share/spin-kickstarts/fedora-live-base.ks fedora-live-base.ks
[jeg at localhost kickstart-files]$ diff 
/usr/share/spin-kickstarts/fedora-live-minimization.ks 
fedora-live-minimization.ks
[jeg at localhost kickstart-files]$ cat buildlivecddesktop.sh
#!/bin/sh

livecd_label=OpenSpeedShop-Live
livecd_kickstart_file=fedora-livecd-desktop.ks

#You must run livecd-creator as root...
if [ `whoami` != "root" ]; then
     echo "remember: you must be root to run livecd-creator..."
fi

su -c "livecd-creator --config=$livecd_kickstart_file \
--fslabel=$livecd_label" root


Thanks,
Jim G

On 07/14/2010 12:37 PM, Larry Brigman wrote:
> On Wed, Jul 14, 2010 at 10:13 AM, Jim Galarowicz<jeg at krellinst.org>  wrote:
>> Hi Bruno,
>>
>> Thanks for the reply.  I will try to use your suggestions and start
>> fixing packages locally and see if I can get farther.
>>
>> Thanks much!
>>
>> Jim G
>>
>> On 07/14/2010 10:50 AM, Bruno Wolff III wrote:
>>> On Wed, Jul 14, 2010 at 09:33:21 -0500,
>>>     Jim Galarowicz<jeg at krellinst.org>    wrote:
>>>> So, what you are saying might have happened, is that the order of
>>>> the packages to be installed may have changed and now I'm hitting
>>>> packages that don't have the requirement specified for coreutils and
>>>> that is the cause of the initial failures I'm seeing?
>>> Yes.
>>>
>>>> Is there a workaround to use while the packages are being (bug)
>>>> reported on?   Is there a way to force coreutils to the top of the
>>>> install list?
>>> Probably there is some package you could add that would cause this to happen,
>>> but I don't know a good way to determine one.
>>>
>>> It might be easier to start fixing the packages locally and build using
>>> the local repo in addition to the normal ones. There is a reasonable chance
>>> that fixing one of the packages will make things work.
>>>
>>> The fix is pretty easy, so it shouldn't be hard to do (compared to making
>>> custom spins).
>>>
>>>> /home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/
>>>> there are no rpm-tmp.nnnnn files being created there.   Not sure
>>>> why.  I see older tmp files there from previous runs that worked a
>>>> few days ago.
>>> This might be a cascading error. Try fixing the other stuff first and then
>>> worry about it if it is still present.
> Probably the easiest way to fix this is to ensure that your rpm has
> the correct pre-reqs and post-requires.
> --
> livecd mailing list
> livecd at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/livecd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/livecd/attachments/20100917/14d958d7/attachment-0001.html 


More information about the livecd mailing list