Hi yanmin,

yanmin escribió:
Hi,

I built OOo3 on fedora 10. The following error occured. any suggestion would
be welcome.

*ERROR: ERROR: "rpmbuild -bb RPMS/ooobasis3.0-core01.spec --target i586 2>&1
|"!
in function: create_packages_without_epm
***************************************************

***************************************************
ERROR: Saved logfile: /home/yanmin/data/OOo3/OOO300_m9/instsetoo_native/
unxlngi6.pro/OpenOffice/rpm/logging/en-US/log_OOO300_en-US.log
**************************************************
Tue Dec 23 18:26:24 2008 (00:45 min.)
dmake:  Error code 255, while making 'openoffice_en-US.rpm'*

*ERROR: Error 65280 occurred while making
/home/yanmin/data/OOo3/OOO300_m9/instsetoo_native/util
rmdir /tmp/3383
dmake:  Error code 1, while making 'build_instsetoo_native'*

The log file gives the below error:

*Systemcall (Try 1): rpmbuild -bb RPMS/ooobasis3.0-core01.spec --target i586
2>&1 |
Building target platforms: i586
Building for target i586
Processing files: ooobasis3.0-core01-3.0.0-9358
PROBLEM: File not found:
/home/yanmin/rpmbuild/BUILDROOT/ooobasis3.0-core01-3.0.0-9358.i386/opt/
openoffice.org
PROBLEM: File not found:
/home/yanmin/rpmbuild/BUILDROOT/ooobasis3.0-core01-3.0.0-9358.i386/opt/
openoffice.org/basis3.0
PROBLEM: File not found:
/home/yanmin/rpmbuild/BUILDROOT/ooobasis3.0-core01-3.0.0-9358.i386/opt/
openoffice.org/basis3.0/presets
*........................................

I don't know why *rpmbuid* find file from my user diretory.
Thanks in advance.

Best regards,


I think that in your rpm version, the buildroot in the spec is ignored
(as said in http://www.rpm.org/wiki/Releases/4.6.0 "BuildRoot tag in
spec files is ignored. ") *but* the command in OOo
(http://svn.services.openoffice.org/opengrok/xref/DEV300_m37/solenv/bin/modules/installer/epmfile.pm#2475)
does not specify the buildroot explicitly with an absolute path (no
--buildroot=DIRECTORY), it assumes it's read from the spec file (-bb
$specfilename ).

Try 'rpmbuild --version', in my Fedora is 4.6.0-rc1, so it has this
"feature"; but I can't test this issue because I'm building on SuSe
(where rpm version is 4.4.2.3, so it builds fine).

As workaround, you may try hacking the perl script to pass the
--buildroot=DIR.

Regards
Ariel

--
Ariel Constenla-Haile
La Plata, Argentina


"Aus der Kriegsschule des Lebens
                - Was mich nicht umbringt,
        macht mich härter."
                Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

Reply via email to