[Pkg-julia-devel] Bug#852441: openlibm FTBFS on mips, mipsel and mips64el: missing support for mips architectures

Radovan Birdic Radovan.Birdic at imgtec.com
Tue Jan 24 14:10:52 UTC 2017


Package: openlibm
Version: 0.5.4+dfsg-2
Severity: important
Tags: sid + patch
Justification: FTBFS
User: debian-mips at lists.debian.org
Usertags: mips-patch


Package openlibm_0.5.4+dfsg-2 FTBFS on mips, mipsel, mips64el with following error:

> make[1]: Entering directory '/«BUILDDIR»/openlibm-0.5.4+dfsg'
> Makefile:20: mips/Make.files: No such file or directory
> make[1]: *** No rule to make target 'mips/Make.files'.  Stop.
> make[1]: Leaving directory '/«BUILDDIR»/openlibm-0.5.4+dfsg'
> dh_auto_clean: make -j2 distclean returned exit code 2
> debian/rules:6: recipe for target 'clean' failed
> make: *** [clean] Error 2
> dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2

Full build log:
https://buildd.debian.org/status/fetch.php?pkg=openlibm&arch=mips&ver=0.5.4%2Bdfsg-2&stamp=1484767295&raw=0

Build fails because there is no support for mips architectures.

I added all the necessary changes that are needed.
Code for files openlibm_fenv_mips.h, mips_fpmath.h and fenv.c was taken from https://github.com/freebsd/freebsd
It was also necessary to change libopenlibm2.symbols file, to update the missing symbols for mips arches.

I have created and attached patches that include these changes and resolve these issues.
Patch add-mips-support.patch adds support for mips architectures.
Patch update-mips-symbols.patch update symbols for mips architectures.

With these patches package builds successfully on mips, mipsel, mips64el.


Regards,
Radovan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-mips-symbols.patch
Type: text/x-patch
Size: 20756 bytes
Desc: fix-mips-symbols.patch
URL: <http://lists.alioth.debian.org/pipermail/pkg-julia-devel/attachments/20170124/9d1343ca/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-mips-support.patch
Type: text/x-patch
Size: 13186 bytes
Desc: add-mips-support.patch
URL: <http://lists.alioth.debian.org/pipermail/pkg-julia-devel/attachments/20170124/9d1343ca/attachment-0003.bin>


More information about the Pkg-julia-devel mailing list