incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Schmidt <jogischm...@googlemail.com>
Subject Re: [CODE]: 118605 remove epm?
Date Wed, 23 Nov 2011 13:10:38 GMT
the hint with rpmbuild was good, it seems that my built epm (no special 
configure switches) haven't found rpmbuild during the configure step and 
switched back to rpm. I will check this but i assume i will run in the 
same problems as Ariel then.

Juergen


On 11/23/11 1:58 PM, Jürgen Schmidt wrote:
> and of course rpmbuild would understand the parameters --bb --buildroot=
>
> mmh, strange i will check it ones more and will try to understand why
> rpm is called instead of rpmbuild.
>
> Any hints are welcome.
>
> Juergen
>
> On 11/23/11 1:54 PM, Jürgen Schmidt wrote:
>> On 11/22/11 11:18 PM, Ariel Constenla-Haile wrote:
>>> 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
>>>>> (http://www.epmhome.org), 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):
>>>
>>> /mnt/build/openoffice/apache/trunk/main/instsetoo_native/unxlngx6/OpenOffice/rpm/listfile/en-US/epm_gid_Module_Root_Files_Images.lst
>>>
>>>
>>> --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
>>> /mnt/build/openoffice/apache/trunk/main/instsetoo_native/unxlngx6/OpenOffice/rpm/install/en-US_inprogress/RPMS/buildroot
>>>
>>>
>>> Wrote:
>>> /mnt/build/openoffice/apache/trunk/main/instsetoo_native/unxlngx6/OpenOffice/rpm/install/en-US_inprogress/RPMS/RPMS/x86_64/ooobasis3.4-images-3.4.0-9584.x86_64.rpm
>>>
>>>
>>> Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TNTmTG
>>> + umask 022
>>> + cd
>>> /mnt/build/openoffice/apache/trunk/main/instsetoo_native/unxlngx6/OpenOffice/rpm/install/en-US_inprogress/RPMS/BUILD
>>>
>>>
>>> /var/tmp/rpm-tmp.TNTmTG: line 27: cd:
>>> /mnt/build/openoffice/apache/trunk/main/instsetoo_native/unxlngx6/OpenOffice/rpm/install/en-US_inprogress/RPMS/BUILD:
>>>
>>>
>>> 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:
>>>
>>> RPMS
>>> BUILD
>>> SOURCES
>>> SPECS
>>> SRPMS
>>>
>>> and packages are built inside ~/rpmbuild/BUILD, that's why rpmbuild
>>> tries to cd there and clean.
>>>
>> i am now confused where you see that rpmbuild is used?
>>
>> When i try to use a fresh downloaded unpatched version of epm 4.2 and
>> check the output and the log file i can only see that epm is called with
>>
>> /usr/bin/epm -f rpm ooobasis3.4-gnome-integration
>> /home/jsc/dev/git/currentwork/main/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/listfile/en-US/epm_gid_Module_Optional_Gnome.lst
>>
>> --output-dir RPMS -v2 2>&1 |
>>
>> and in the log file i can see that epm triggers rpm (well it looks that
>> epm trigger this)
>> ....
>> Building RPM binary distribution...
>> /bin/rpm -bb --buildroot
>> "/home/jsc/dev/git/currentwork/main/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/install/en-US_inprogress/RPMS/buildroot"
>>
>> --target x86_64 RPMS/ooobasis3.4-gnome-integration.spec
>>
>> I haven't noticed any call of rpmbuild.
>>
>>
>> Juergen
>>
>>
>>
>


Mime
View raw message