FTBFS on armel, built for ARMv4, should be ARMv7

Bug #725763 reported by Jani Monoses
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libreoffice (Ubuntu)
Fix Released
High
Björn Michaelsen

Bug Description

Binary package hint: libreoffice

In debian/rules the arm favour is selected.
It should be armv7 on Ubuntu, unlike in Debian
# ARM target
ifeq "$(ARCH)" "armel"
        CONFIGURE_FLAGS += --with-arm-target=4
endif
ifeq "$(ARCH)" "armhf"
        CONFIGURE_FLAGS += --with-arm-target=7
endif

This was not present in 3.3.0 so it built successfully past where it fails now.

Tags: armel
Jani Monoses (jani)
Changed in libreoffice (Ubuntu):
assignee: nobody → Björn Michaelsen (bjoern-michaelsen)
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :
Changed in libreoffice (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libreoffice - 1:3.3.1-1ubuntu4

---------------
libreoffice (1:3.3.1-1ubuntu4) natty; urgency=low

  * reenable verbose build on ubuntu buildd (LP: #726333)
  * remove duplicate code in control file generation
  * selcting right arm target (LP: #725763)
 -- Bjoern Michaelsen <email address hidden> Mon, 28 Feb 2011 09:57:28 +0100

Changed in libreoffice (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Matthias Klose (doko) wrote : Re: [Bug 725763] [NEW] FTBFS on armel, built for ARMv4, should be ARMv7

On 26.02.2011 22:09, Jani Monoses wrote:
> In debian/rules the arm favour is selected.
> It should be armv7 on Ubuntu

only for natty and newer. best thing is to use the compiler defaults and not
messing around with explicit settings if possible

Revision history for this message
Jani Monoses (jani) wrote :

I agree with using compiler defaults so I filed
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/726529

although I did not know all series were built from the same packaging. I only meant natty for armv7

Revision history for this message
Steve Langasek (vorlon) wrote :

The fix for this was wrong; package now fails to build with this error on armel:

debian/rules:1270: *** Recursive variable `CONFIGURE_FLAGS' references itself (eventually). Stop.

http://launchpadlibrarian.net/65277930/buildlog_ubuntu-natty-armel.libreoffice_1%3A3.3.1-1ubuntu4_FAILEDTOBUILD.txt.gz

Instead of setting the arg and then filtering it (with the wrong type of makefile assignment), a better fix would be:

# ARM target
ifeq "$(ARCH)" "armel"
  ifeq "$(DIST)" "Ubuntu"
        CONFIGURE_FLAGS += --with-arm-target=7
  else
        CONFIGURE_FLAGS += --with-arm-target=4
  endif
endif
ifeq "$(ARCH)" "armhf"
        CONFIGURE_FLAGS += --with-arm-target=7
endif

But if bug #726529 is progressing, maybe this will all be obsolete soon anyway?

Regardless, the package still fails to build right now, so reopening this bug.

Changed in libreoffice (Ubuntu):
status: Fix Released → Triaged
importance: Undecided → High
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

@Steve: Yes, this should be obsolete with bug #726529 being solved, sorry about the missing update.

tags: added: armel
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

doko finished a build with the current fixes (1ubuntu5) but we will go directly to 3.3.2rc1 with that.

Jani Monoses (jani)
Changed in libreoffice (Ubuntu):
status: Triaged → Fix Released
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.