incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Constenla-Haile <>
Subject Re: [CODE]: 118605 remove epm?
Date Tue, 22 Nov 2011 22:18:12 GMT
On Tue, Nov 22, 2011 at 10:25:43PM +0100, Michael Stahl wrote:
> On 22.11.2011 11:57, J├╝rgen Schmidt wrote:
> > I stumbled over problems using a downloaded epm 4.2 
> > (, build and install it on a Fedora 16 system 
> > (rpm based).
> > 
> > The epm call failed to build the rpm packages. It seems that epm 
> > triggers /bin/rpm with some parameters that are not accepted. I don't 
> > understand why at the moment.
> /bin/rpm on a recent Fedora can not build packages, it can only do the
> things necessary on a running system: install etc.; there is an extra
> package "rpm-build" with a /usr/bin/rpmbuild program that is used to build
> packages.

epm executes rpmbuild here (Fedora 16):

--output-dir RPMS -v9  2>&1 |
Building target platforms: x86_64
Building for target x86_64
Processing files: ooobasis3.4-images-3.4.0-9584.x86_64
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TNTmTG
+ umask 022
+ cd
/var/tmp/rpm-tmp.TNTmTG: line 27: cd:
No such file or directory
PROBLEM: Bad exit status from /var/tmp/rpm-tmp.TNTmTG (%clean)

The error is clear: when trying to clean, it cds into a 
non-existent directory and thus aborts.
/var/tmp/rpm-tmp.TNTmTG is also clear about it.

Looking at RPMS folder while generating the first package, there is no BUILD 
folder inside.
With the patched epm 3.7 the BUILD folder is there, and removed after
the package is built.

I'm not sure where the issue is here, the whole thing does not look very
rpmbuild standard.
In a standard rpmbuild you have a root folder, usually ~/rpmbuild with
the following content:


and packages are built inside ~/rpmbuild/BUILD, that's why rpmbuild
tries to cd there and clean.

Ariel Constenla-Haile
La Plata, Argentina

View raw message