openoffice in hardy doesn't build on powerpc

Bug #205923 reported by fuoco
20
Affects Status Importance Assigned to Milestone
openoffice.org (Ubuntu)
Fix Released
Critical
Chris Cheney
Hardy
Fix Released
Critical
Chris Cheney
pkgbinarymangler (Ubuntu)
Fix Released
Undecided
Martin Pitt
Hardy
Fix Released
Undecided
Martin Pitt

Bug Description

Binary package hint: openoffice.org

In hardy openoffice release candidate of 2.4 is in the repositories, but it didn't build correctly on powerpc. And so only some of the packages are available in version in 2.4 and others are still 2.3 - this results in openoffice being uninstallable because of dependency conflicts.

Revision history for this message
Chris Cheney (ccheney) wrote :

This built fine on every arch other than powerpc, and failed on powerpc in pkgstriptranslations so I am not sure what to do to try to fix this if it doesn't just automatically work on the next upload.

Changed in openoffice.org:
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

pkgmaintainermangler: Error: Unable to locate DEBIAN/control
dh_builddeb: command returned error code 256

Ugh, OO.o creates a package directory which does not have a control file? That's bad...

Changed in pkgstriptranslations:
assignee: nobody → pitti
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

OK, I removed the fatalness from the check, so that OO.o should build now.

Changed in pkgstriptranslations:
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

pkgbinarymangler (49) hardy; urgency=low

  * pkgmaintainermangler: Do not fail the build if DEBIAN/control does not
    exist. This apparently happens under some conditions, like for
    openoffice.org on powerpc. (LP: #205923)

 -- Martin Pitt <email address hidden> Wed, 26 Mar 2008 16:46:13 +0100

Changed in pkgstriptranslations:
status: Fix Committed → Fix Released
Chris Cheney (ccheney)
Changed in openoffice.org:
status: In Progress → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

it would be nice to have this fixed upstream as well

Revision history for this message
Aurelien Naldi (aurelien.naldi) wrote :

It seems that the new OOo upload still didn't build on PPC (binaries for x86 and AMD64 are available). According to http://launchpadlibrarian.net/13083788/buildlog_ubuntu-hardy-powerpc.openoffice.org_1%3A2.4.0-3ubuntu1_FAILEDTOBUILD.txt.gz the problem is still the same:

pkgmaintainermangler: Error: Unable to locate DEBIAN/control
dpkg-deb: failed to open package info file `debian/openoffice.org-report-builder/DEBIAN/control' for reading: No such file or directory
dh_builddeb: command returned error code 512
make: *** [debian/stampdir/binary-arch] Error 1

sam tygier (samtygier)
Changed in openoffice.org:
status: Fix Released → Confirmed
Revision history for this message
Chris Cheney (ccheney) wrote :

Yep, the same error but now it tells me enough to know where to fix it. I hope to have it fixed in the next upload.

Changed in openoffice.org:
importance: Low → Critical
status: Confirmed → In Progress
Revision history for this message
Chris Cheney (ccheney) wrote :

I am now waiting to hear back from someone who is building OOo with java enabled on powerpc to see if I can just enable it, which will fix the problem. If java still breaks on powerpc I know how to correct the problem as well, so regardless powerpc will have a build of OOo, hopefully later Monday (today).

Chris Cheney (ccheney)
Changed in openoffice.org:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openoffice.org - 1:2.4.0-3ubuntu2

---------------
openoffice.org (1:2.4.0-3ubuntu2) hardy; urgency=low

  * debian/rules:
    - Reenable java on powerpc. Closes LP: #205923
  * ubuntu/ooo87965.execute.sh:
    - Added to work around bug executing launchpad-integration script.
  * Resynchronise with ooo-build (r12125).
    - ooo-build/patches/src680/human-icons-add.diff:
      . Fallback properly to human icon theme.
        Closes LP: #106186, #138360, #153598, #178455
    - ooo-build/patches/src680/ooo85931.inconsistent.getentrypos.diff:
      . Added to correct add templates issue on amd64. Closes LP: #62591
    - ooo-build/patches/src680/ubuntu-lpi.diff:
      . Changed to use launchpad-integration script. Closes LP: #46546

 -- Chris Cheney <email address hidden> Mon, 07 Apr 2008 20:05:52 -0500

Changed in openoffice.org:
status: Fix Committed → Fix Released
Revision history for this message
Aurelien Naldi (aurelien.naldi) wrote :

Once again the build failed. At least the cause looks different this time!

Changed in openoffice.org:
status: Fix Released → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

Should be fixed with this upload, although of course we'll find out for sure when the build has finished. See the other reports.

openoffice.org (1:2.4.0-3ubuntu3) hardy; urgency=low

  [ Chris Cheney ]
  * Resynchronise with Debian (r1062).
    - debian/control.ubuntu-feisty.in:
      . Removed. Closes LP: #213786
    - debian/rules:
      . Properly disable java on powerpc. Closes LP: #214042, #214217
  * Resynchronise with ooo-build (r12162).
    - ooo-build/patches/src680/spellcheck-fix.diff:
      . Corrects bug with manual spellchecking. Closes LP: #213323
  * ubuntu/desktop-templates.diff:
    ubuntu/desktop-translations.diff:
    - Actually apply these patches to ooo-build. Closes LP: #214060

  [ Matthias Klose ]
  * Add openintro_ubuntu_sun.bmp and openabout_ubuntu_sun.bmp; add legalise
    to debian/copyright.

 -- Chris Cheney <email address hidden> Mon, 14 Apr 2008 18:32:50 -0500

Changed in openoffice.org:
status: Confirmed → Fix Released
assignee: nobody → ccheney
Revision history for this message
Aurelien Naldi (aurelien.naldi) wrote :

It failed again. It looks to be caused by the mozilla plugin this time (and it failed for the same reason on i386, I bet the plugin is disabled on the arch that succedeed)

mkdir -p -m755 debian/mozilla-openoffice.org/usr/lib/openoffice/program
for f in libnpsoplugin.so nsplugin; do \
  mv debian/openoffice.org-core/usr/lib/openoffice/program/$f debian/mozilla-openoffice.org/usr/lib/openoffice/program; \
 done
mv: cannot stat `debian/openoffice.org-core/usr/lib/openoffice/program/libnpsoplugin.so': No such file or directory
mv: cannot stat `debian/openoffice.org-core/usr/lib/openoffice/program/nsplugin': No such file or directory
make: *** [debian/stampdir/install-arch] Error 1
dpkg-buildpackage: failure: /usr/bin/fakeroot debian/rules binary-arch gave error exit status 2
******************************************************************************
Build finished at 20080415-2122
FAILED [dpkg-buildpackage died]

Revision history for this message
Chris Cheney (ccheney) wrote :

It built properly in 3ubuntu4, but had mozilla-openoffice.org disabled by accident, due to how the debian/control file is generated. This should be finally fixed in 3ubuntu5 barring any new bugs, argh.

Chris

Revision history for this message
Chris Cheney (ccheney) wrote :
Revision history for this message
Herbert V. Riedel (hvr) wrote :

jfyi, currently:

# apt-get install openoffice.org
...
The following packages have unmet dependencies:
  openoffice.org: Depends: openoffice.org-officebean but it is not installable
E: Broken packages

# apt-cache policy openoffice.org
openoffice.org:
  Installed: (none)
  Candidate: 1:2.4.0-3ubuntu5
  Version table:
     1:2.4.0-3ubuntu5 0
        500 http://ports.ubuntu.com hardy/main Packages

Revision history for this message
Chris Cheney (ccheney) wrote :

Yes, already known and reported on the other powerpc doesn't build bug report and has been fixed in OOo revision control system. The fix will be released in an upload later this week after the RC release.

Chris

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.