ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] Fedora 11 / Issues to build LTIB / rpm-fs build fails / %pfx


From: Stuart Hughes
Subject: Re: [Ltib] Fedora 11 / Issues to build LTIB / rpm-fs build fails / %pfx macro
Date: Fri, 16 Oct 2009 19:39:44 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Franz,

It looks like rpm-fs.spec may actually be an empty file.
Can you take a look at /tmp/rpm-franz/SPECS/rpm-fs.spec and see if it
exists and has any content.

Also can you make sure that
/home/franz/ltib/dist/lfs-5.1/rpm/rpm-fs.spec looks okay (can you post
to this list).

The point of rpm-fs is to install a known copy of rpm onto the build
machine.  rpm has changed over the year with breaks in compatibility.
For that reason LTIB cannot rely on the build platform's distro provided
rpm.

Also was this the first run, or a re-try after a failure?

Regards, Stuart

Franz TRIERWEILER wrote:
Good evening,

I have been using LTIB for several weeks on a Debian 5.0 distro. This morning, I started to install LTIB on a Fedora 11 freshly new distro. I have been facing issues with rpm-fs build (this is built upon first LTIB launch).

In fact, the script does not seem to be able to build rpm-fs because a macro (%pfx) is missing. I have added to this request the tail of my host_config.log

I remember that, when installing LTIB on the Debian 5.0 a few weeks ago, I had faced the same issue but after several tries, this had been successfully worked (at this time I had not understood why but I was happy enough to go on).

Did someone meet the same issue? Until now, I have been stuck for several hours with that issue. I tried to unsinstall/install rpm-build once again but this does not have any effect. More globally, I would like to understand what rpm-fs is used for.

Note: I am using the LTIB install provided by my iMX25 Freescale CD/ROM.

Thanks for you help.

Regards,
Franz

Processing: rpm-fs
====================
Build path taken because: build key set, no prebuilt rpm,

/usr/bin/rpmbuild --dbpath ///tmp/rpm-franz/rpmdb --target i686 --define '_unpackaged_files_terminate_ build 0' --define '_target_cpu i686' --define '__strip strip' --define '_topdir /tmp/rpm-franz' --define '_prefix /opt/freescale/ltib/usr' --define '_tmppath /home/franz/ltib/tmp' --define '_rpmdir /tmp/rpm-franz/RPMS' --define '_mandir /opt/freescale/ltib/usr/share/man' --define '_sysconfdir /opt/freescale/ltib/etc' --define '_localstatedir /var' -bb --clean --rmsource /tmp/rpm-franz/SPECS/rpm-fs.spec
error: Macro %pfx has empty body
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /home/franz/ltib/tmp/rpm-tmp.h3e6vF
+ umask 022
+ cd /tmp/rpm-franz/BUILD
+ exit 0
Executing(%build): /bin/sh -e /home/franz/ltib/tmp/rpm-tmp.UwkWiC
+ umask 022
+ cd /tmp/rpm-franz/BUILD
+ exit 0
Executing(%install): /bin/sh -e /home/franz/ltib/tmp/rpm-tmp.Hkr07y
+ umask 022
+ cd /tmp/rpm-franz/BUILD
+ '[' /tmp/rpm-franz/BUILDROOT/rpm-fs-4.0.4-1.i386 '!=' / ']'
+ rm -rf /tmp/rpm-franz/BUILDROOT/rpm-fs-4.0.4-1.i386
++ dirname /tmp/rpm-franz/BUILDROOT/rpm-fs-4.0.4-1.i386
+ mkdir -p /tmp/rpm-franz/BUILDROOT
+ mkdir /tmp/rpm-franz/BUILDROOT/rpm-fs-4.0.4-1.i386
+ /usr/lib/rpm/check-buildroot
Processing files: rpm-fs-4.0.4-1.i686
error: File not found by glob: /tmp/rpm-franz/BUILDROOT/rpm-fs-4.0.4-1.i386/opt/freescale/*


RPM build errors:
    Macro %pfx has empty body
File not found by glob: /tmp/rpm-franz/BUILDROOT/rpm-fs-4.0.4-1.i386/opt/freescale/*
Build time for rpm-fs: 0 seconds

Failed building rpm-fs
could not glob rpm in: /tmp/rpm-franz/RPMS/i686/rpm-fs-* at ./ltib line 2393.
traceback:
 main::check_rpm_setup:2393
  main::host_checks:1422
   main:539


Started: Fri Oct 16 19:20:52 2009
Ended:   Fri Oct 16 19:24:06 2009
Elapsed: 194 seconds

These packages failed to build:
rpm-fs

Build Failed


------------------------------------------------------------------------

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib





reply via email to

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