To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97715
                 Issue #|97715
                 Summary|RPM >= 4.6.0 breaks OOo build in instsetoo_native
               Component|tools
                 Version|DEV300m37
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|solenv
             Assigned to|hjs
             Reported by|arielch





------- Additional comments from [email protected] Sat Jan  3 07:51:59 
+0000 2009 -------
Since RPM 4.6.0, BuildRoot tag in spec files is ignored.
See http://www.rpm.org/wiki/Releases/4.6.0

This breaks OOo build in instsetoo_native, when the package format is
(obviously) rpm :
the command in solenv/bin/modules/installer/epmfile.pm
(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 ).

Thus OOo build breaks in systems with RPM >= 4.6.0, like the latest Fedora
vwersion (Fedora 10).

See report in [email protected] from 30/Dec./2008 [sorry for the missing link
to
http://www.openoffice.org/servlets/BrowseList?listName=dev&by=date&from=2008-12-01&to=2008-12-31&first=1&count=159,
but with the new year messages don't seem to be tracked on the site]:



*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
*........................................

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to