[Bug 2006501] Re: FTBFS on armhf with ‘-mfloat-abi=hard’: selected architecture lacks an FPU

Launchpad Bug Tracker 2006501 at bugs.launchpad.net
Sat Feb 18 15:11:41 UTC 2023


This bug was fixed in the package openlibm - 0.8.1+dfsg-2maysync1

---------------
openlibm (0.8.1+dfsg-2maysync1) lunar; urgency=medium

  * debian/rules: unset MARCH on build and test. Thanks Andrian Bunk.
    (LP: #2006501)

 -- Nick Rosbrook <nick.rosbrook at canonical.com>  Tue, 07 Feb 2023
12:14:27 -0500

** Changed in: openlibm (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2006501

Title:
  FTBFS on armhf with ‘-mfloat-abi=hard’: selected architecture lacks an
  FPU

Status in openlibm package in Ubuntu:
  Fix Released

Bug description:
  Build log:https://launchpadlibrarian.net/648312859/buildlog_ubuntu-
  lunar-armhf.openlibm_0.8.1+dfsg-2_BUILDING.txt.gz

  The relevant part is this:

  make[1]: Entering directory '/<<PKGBUILDDIR>>'
  cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/openlibm-0.8.1+dfsg-2 -fno-gnu89-inline -fno-builtin -mhard-float -fPIC -march=armv7-a -std=c99 -Wall -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/arm -I/<<PKGBUILDDIR>>/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration -c src/common.c -o src/common.c.o
  cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/openlibm-0.8.1+dfsg-2 -fno-gnu89-inline -fno-builtin -mhard-float -fPIC -march=armv7-a -std=c99 -Wall -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/arm -I/<<PKGBUILDDIR>>/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration -c src/e_acos.c -o src/e_acos.c.o
  cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/openlibm-0.8.1+dfsg-2 -fno-gnu89-inline -fno-builtin -mhard-float -fPIC -march=armv7-a -std=c99 -Wall -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/arm -I/<<PKGBUILDDIR>>/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration -c src/e_acosf.c -o src/e_acosf.c.o
  cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/openlibm-0.8.1+dfsg-2 -fno-gnu89-inline -fno-builtin -mhard-float -fPIC -march=armv7-a -std=c99 -Wall -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/arm -I/<<PKGBUILDDIR>>/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration -c src/e_acosh.c -o src/e_acosh.c.o
  cc1: error: ‘-mfloat-abi=hard’: selected architecture lacks an FPU
  cc1: error: ‘-mfloat-abi=hard’: selected architecture lacks an FPU
  cc1: error: ‘-mfloat-abi=hard’: selected architecture lacks an FPU
  cc1: error: ‘-mfloat-abi=hard’: selected architecture lacks an FPU
  make[1]: *** [Make.inc:163: src/e_acosf.c.o] Error 1
  make[1]: *** Waiting for unfinished jobs....
  make[1]: *** [Make.inc:163: src/common.c.o] Error 1
  make[1]: *** [Make.inc:163: src/e_acos.c.o] Error 1
  make[1]: *** [Make.inc:163: src/e_acosh.c.o] Error 1
  make[1]: Leaving directory '/<<PKGBUILDDIR>>'
  dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" returned exit code 2
  make: *** [debian/rules:7: binary-arch] Error 25
  dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2

  A fix is already committed to salsa[1], but has not been uploaded yet.

  [1] https://salsa.debian.org/julia-
  team/openlibm/-/commit/ab1ac62c3d6a108d824abdd4e7e4c443ed887a03

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openlibm/+bug/2006501/+subscriptions




More information about the Ubuntu-sponsors mailing list