Your message dated Fri, 06 Jun 2014 06:04:33 +0000
with message-id <[email protected]>
and subject line Bug#749909: fixed in freefoam 0.1.0+dfsg-1.1
has caused the Debian Bug report #749909,
regarding package freefoam_0.1.0+dfsg-1 FTBFS mips(el)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
749909: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749909
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: freefoam
Version: 0.1.0+dfsg-1
Severity: important
Tags: sid patch
Justification: FTBFS
User: [email protected]
Usertags: mips-patch
After the bug number 735248
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735248) has been resolved,
following errors were found while building package freefoam on mips(el):
--------------------------------
cd
/build/freefoam-5sB8KW/najnoviji-original/freefoam-0.1.0+dfsg/obj-mips-linux-gnu/doc/Doxygen
&& /usr/bin/python
/build/freefoam-5sB8KW/najnoviji-original/freefoam-0.1.0+dfsg/obj-mips-linux-gnu/doc/Doxygen/fixupDoxygen.py
Fixing up Doxygen generated API documentation
- Parsing *_source.html
- Computing mangled file names
- Fixing #include linkes in the *_source.html files
- Fixing remaining #include links and expanding placeholders
make[3]: Leaving directory
'/build/freefoam-5sB8KW/najnoviji-original/freefoam-0.1.0+dfsg/obj-mips-linux-gnu'
/usr/bin/cmake -E cmake_progress_report
/build/freefoam-5sB8KW/najnoviji-original/freefoam-0.1.0+dfsg/obj-mips-linux-gnu/CMakeFiles
[ 47%] Built target apidoc-all
make[2]: Leaving directory
'/build/freefoam-5sB8KW/najnoviji-original/freefoam-0.1.0+dfsg/obj-mips-linux-gnu'
Makefile:119: recipe for target 'all' failed
make[1]: *** [all] Error 2
--------------------------------
[ 92%] Building CXX object
applications/utilities/mesh/manipulation/setSet/CMakeFiles/setSet.dir/writeFuns.C.o
cd
/build/freefoam-5sB8KW/najnoviji-original/freefoam-0.1.0+dfsg/obj-mips-linux-gnu/applications/utilities/mesh/manipulation/setSet
&& /usr/bin/g++ -DDP -DNoRepository -DREADLINE=1 -DSiCortex64 -g -O2
-Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fpermissive
-D_FORTIFY_SOURCE=2
-I/build/freefoam-5sB8KW/najnoviji-original/freefoam-0.1.0+dfsg/obj-mips-linux-gnu/include
-o CMakeFiles/setSet.dir/writeFuns.C.o -c
/build/freefoam-5sB8KW/najnoviji-original/freefoam-0.1.0+dfsg/applications/utilities/mesh/manipulation/setSet/writeFuns.C
/build/freefoam-5sB8KW/najnoviji-original/freefoam-0.1.0+dfsg/applications/utilities/mesh/manipulation/setSet/writeFuns.C:29:23:
fatal error: standards.h: No such file or directory
#include <standards.h>
^
compilation terminated.
applications/utilities/mesh/manipulation/setSet/CMakeFiles/setSet.dir/build.make:106:
recipe for target
'applications/utilities/mesh/manipulation/setSet/CMakeFiles/setSet.dir/writeFuns.C.o'
failed
make[3]: ***
[applications/utilities/mesh/manipulation/setSet/CMakeFiles/setSet.dir/writeFuns.C.o]
Error 1
make[3]: Leaving directory
'/build/freefoam-5sB8KW/najnoviji-original/freefoam-0.1.0+dfsg/obj-mips-linux-gnu'
CMakeFiles/Makefile2:12815: recipe for target
'applications/utilities/mesh/manipulation/setSet/CMakeFiles/setSet.dir/all'
failed
make[2]: ***
[applications/utilities/mesh/manipulation/setSet/CMakeFiles/setSet.dir/all]
Error 2
make[2]: Leaving directory
'/build/freefoam-5sB8KW/najnoviji-original/freefoam-0.1.0+dfsg/obj-mips-linux-gnu'
Makefile:119: recipe for target 'all' failed
make[1]: *** [all] Error 2
--------------------------------
I have attached a patch resolving these issues.
Patch freefoam-doc-and-mips.diff is attached.
Most of this patch is taken from upstream.
With it, freefoam package builds without an error on mips and mipsel.
libxml2-utils is added as dependency (for package asciidoc) to a
Build-Depends-Indep group in order to override issue 692274
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692274)
Regards,
Jurica
diff -upNr freefoam-0.1.0+dfsg-orig/debian/control freefoam-0.1.0+dfsg/debian/control
--- freefoam-0.1.0+dfsg-orig/debian/control 2012-07-30 05:28:49.000000000 +0000
+++ freefoam-0.1.0+dfsg/debian/control 2014-05-23 13:01:12.000000000 +0000
@@ -9,11 +9,12 @@ Vcs-Git: git://git.debian.org/git/debian
Vcs-Browser: http://git.debian.org/?p=debian-science/packages/freefoam.git
DM-Upload-Allowed: yes
Homepage: http://freefoam.wiki.sourceforge.net/
-Build-Depends: cdbs, debhelper (>= 5.0.24), python-support, cmake, flex,
- gawk, python, libreadline6-dev, zlib1g-dev, libscotch-dev,
- mpi-default-dev, mpi-default-bin, paraview (>= 3.8), doxygen,
- libjs-jquery, asciidoc, xmlto, docbook-utils, dvipng, asymptote,
- texlive-science, dblatex, dpkg-dev (>= 1.16.1~), graphviz
+Build-Depends: cdbs, debhelper (>= 5.0.24), python-support, cmake, flex, gawk,
+ python, libreadline6-dev, zlib1g-dev, libscotch-dev, mpi-default-dev,
+ mpi-default-bin, paraview (>= 3.8), dpkg-dev (>= 1.16.1~)
+Build-Depends-Indep: doxygen,
+ libjs-jquery, asciidoc, docbook-utils, dvipng, asymptote, texlive-science,
+ dblatex, graphviz, libxml2-utils
Standards-Version: 3.9.3
Package: libfreefoam1
diff -upNr freefoam-0.1.0+dfsg-orig/debian/freefoam-dev-doc.install freefoam-0.1.0+dfsg/debian/freefoam-dev-doc.install
--- freefoam-0.1.0+dfsg-orig/debian/freefoam-dev-doc.install 2012-07-31 13:24:02.000000000 +0000
+++ freefoam-0.1.0+dfsg/debian/freefoam-dev-doc.install 2014-05-23 13:01:12.000000000 +0000
@@ -1,3 +1,3 @@
debian/tmp/usr/share/doc/freefoam/API/* /usr/share/doc/freefoam-dev-doc/api
debian/tmp/usr/share/doc/freefoam/css debian/tmp/usr/share/doc/freefoam/img /usr/share/doc/freefoam-dev-doc
-debian/tmp/usr/share/freefoam/DoxyDocIndex /usr/share/freefoam
+*/InstallFiles/data/DoxyDocIndex /usr/share/freefoam
diff -upNr freefoam-0.1.0+dfsg-orig/debian/patches/mips-patch.diff freefoam-0.1.0+dfsg/debian/patches/mips-patch.diff
--- freefoam-0.1.0+dfsg-orig/debian/patches/mips-patch.diff 1970-01-01 00:00:00.000000000 +0000
+++ freefoam-0.1.0+dfsg/debian/patches/mips-patch.diff 2014-05-23 12:59:57.000000000 +0000
@@ -0,0 +1,24 @@
+--- freefoam-0.1.0+dfsg.orig/applications/utilities/mesh/manipulation/setSet/writeFuns.C
++++ freefoam-0.1.0+dfsg/applications/utilities/mesh/manipulation/setSet/writeFuns.C
+@@ -26,8 +26,7 @@ License
+ #include "writeFuns.H"
+
+ #if defined(__mips) && !defined(__SICORTEX__)
+-#include <standards.h>
+-#include <sys/endian.h>
++#include <endian.h>
+ #endif
+
+ #if defined(LITTLE_ENDIAN) \
+--- freefoam-0.1.0+dfsg.orig/applications/utilities/postProcessing/dataConversion/foamToVTK/writeFuns.C
++++ freefoam-0.1.0+dfsg/applications/utilities/postProcessing/dataConversion/foamToVTK/writeFuns.C
+@@ -27,8 +27,7 @@ License
+ #include "vtkTopo.H"
+
+ #if defined(__mips) && !defined(__SICORTEX__)
+-#include <standards.h>
+-#include <sys/endian.h>
++#include <endian.h>
+ #endif
+
+ // MacOSX
diff -upNr freefoam-0.1.0+dfsg-orig/debian/patches/series freefoam-0.1.0+dfsg/debian/patches/series
--- freefoam-0.1.0+dfsg-orig/debian/patches/series 2012-07-31 13:18:15.000000000 +0000
+++ freefoam-0.1.0+dfsg/debian/patches/series 2014-05-23 12:59:57.000000000 +0000
@@ -9,3 +9,4 @@ correct-output-directory-for-freefoam-lo
escape-meta-chars-for-doxygen-filter.diff
fix-installation-dirs-for-template-files.diff
update-doxygen-foamheader.diff
+mips-patch.diff
diff -upNr freefoam-0.1.0+dfsg-orig/debian/rules freefoam-0.1.0+dfsg/debian/rules
--- freefoam-0.1.0+dfsg-orig/debian/rules 2012-07-30 05:28:49.000000000 +0000
+++ freefoam-0.1.0+dfsg/debian/rules 2014-05-23 13:01:12.000000000 +0000
@@ -36,11 +36,11 @@ FF_CONFIG_PACK= \
-DCPACK_SOURCE_ZIP=OFF \
FF_DOC= \
- -DFOAM_ENABLE_PDF_GUIDES=ON \
+ -DFOAM_ENABLE_PDF_GUIDES=OFF \
-DFOAM_ENABLE_XHTML_GUIDES=OFF \
-DFOAM_ENABLE_XHTML_HELP=OFF \
-DFOAM_ENABLE_MATHJAX=OFF \
- -DFOAM_ENABLE_DOXYGEN_DOCS=ON \
+ -DFOAM_ENABLE_DOXYGEN_DOCS=OFF \
-DFOAM_ENABLE_MANPAGE_HELP=OFF \
-DFOAM_DOCS_FOR_SF=OFF \
@@ -74,10 +74,24 @@ DEB_CMAKE_EXTRA_FLAGS= \
$(FF_DOC) \
$(FF_INSTALL)
+DEB_DH_MAKESHLIBDEPS_ARGS_libfreefoam1=-X/usr/lib/$(FF_SUBDIR)
+TOP_BUILDDIR := $(DEB_BUILDDIR)
-DEB_DH_MAKESHLIBDEPS_ARGS_libfreefoam1=-X/usr/lib/$(FF_SUBDIR)
+# Re-configure for doc packages
+configure/freefoam-user-doc configure/freefoam-dev-doc:: debian/freefoam-enable-docs.stamp
+
+debian/freefoam-enable-docs.stamp:
+ cd $(TOP_BUILDDIR); \
+ cmake \
+ -DFOAM_ENABLE_PDF_GUIDES=ON \
+ -DFOAM_ENABLE_DOXYGEN_DOCS=ON \
+ $(CURDIR)
+ touch $@
+build/freefoam-user-doc:: DEB_MAKE_BUILD_TARGET := UserGuide-pdf
+
+build/freefoam-dev-doc:: DEB_MAKE_BUILD_TARGET := apidoc-all
install/libfreefoam1::
install -d $(CURDIR)/debian/libfreefoam1/usr/lib/$(FF_SUBDIR)
@@ -94,14 +108,22 @@ install/freefoam::
install -d $(CURDIR)/debian/freefoam/etc/bash_completion.d
cp $(CURDIR)/data/shellFunctions/bashCompletion/freefoam $(CURDIR)/debian/freefoam/etc/bash_completion.d/
-install/freefoam-user-doc::
+install/freefoam-user-doc:: DEB_BUILDDIR_freefoam-user-doc := $(TOP_BUILDDIR)/doc/UserGuide
+install/freefoam-user-doc:: install-tutorials
+ +$(DEB_MAKE_INVOKE) $(DEB_MAKE_INSTALL_TARGET)
+
+install-tutorials: DEB_BUILDDIR_freefoam-user-doc := $(TOP_BUILDDIR)/tutorials
+install-tutorials: build/freefoam-user-doc
+ +$(DEB_MAKE_INVOKE) $(DEB_MAKE_INSTALL_TARGET)
install -d $(CURDIR)/debian/freefoam-user-doc/usr/share/doc/freefoam-user-doc/tutorials
- rm $(CURDIR)/debian/tmp/usr/share/doc/freefoam/tutorials/multiphase/interFoam/les/nozzleFlow2D/0/data/Ubulk
- rm $(CURDIR)/debian/tmp/usr/share/doc/freefoam/tutorials/multiphase/interFoam/les/nozzleFlow2D/0/data/ptrace
- rmdir $(CURDIR)/debian/tmp/usr/share/doc/freefoam/tutorials/multiphase/interFoam/les/nozzleFlow2D/0/data
+ rm -rf $(CURDIR)/debian/tmp/usr/share/doc/freefoam/tutorials/multiphase/interFoam/les/nozzleFlow2D/0/data
-install/freefoam-dev-doc::
- rm $(CURDIR)/debian/tmp/usr/share/doc/freefoam/API/jquery.js
+# Depends on build/freefoam-user-doc because the installation is started in
+# $(DEB_BUILDDIR)/doc, which also requires the UserGuide to be built.
+install/freefoam-dev-doc:: DEB_BUILDDIR_freefoam-dev-doc := $(TOP_BUILDDIR)/doc
+install/freefoam-dev-doc:: build/freefoam-user-doc
+ +$(DEB_MAKE_INVOKE) $(DEB_MAKE_INSTALL_TARGET)
+ rm -f $(CURDIR)/debian/tmp/usr/share/doc/freefoam/API/jquery.js
binary-install/libfreefoam1::
dh_pysupport -plibfreefoam1
@@ -111,3 +133,6 @@ binary-install/libfreefoam-dev::
binary-install/freefoam::
dh_pysupport -pfreefoam
+
+clean::
+ rm -f debian/freefoam-enable-docs.stamp
--- End Message ---
--- Begin Message ---
Source: freefoam
Source-Version: 0.1.0+dfsg-1.1
We believe that the bug you reported is fixed in the latest version of
freefoam, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Anibal Monsalve Salazar <[email protected]> (supplier of updated freefoam
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 31 May 2014 03:03:08 +0100
Source: freefoam
Binary: libfreefoam1 libfreefoam-dev freefoam freefoam-user-doc freefoam-dev-doc
Architecture: source all mips
Version: 0.1.0+dfsg-1.1
Distribution: unstable
Urgency: low
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Anibal Monsalve Salazar <[email protected]>
Description:
freefoam - programs for Computational Fluid Dynamics (CFD)
freefoam-dev-doc - software for Computational Fluid Dynamics - developers
documentat
freefoam-user-doc - software for Computational Fluid Dynamics - user
documentation
libfreefoam-dev - libraries for Computational Fluid Dynamics (CFD) -
development fi
libfreefoam1 - libraries for Computational Fluid Dynamics (CFD)
Closes: 749909
Changes:
freefoam (0.1.0+dfsg-1.1) unstable; urgency=low
.
* Non-maintainer upload.
* Fix FTBFS on mips(el).
Add mips.diff.
Patch by Jurica Stanojkovic <[email protected]>.
Closes: #749909.
Checksums-Sha1:
d115fd18003b614be33f6f58e8a5f3741703d110 2628 freefoam_0.1.0+dfsg-1.1.dsc
9c76073071c99a5a64605ea8689e8c02cc87358c 66268
freefoam_0.1.0+dfsg-1.1.debian.tar.xz
6129de63e18f5bc4644534daf8d5b42b84642c0d 24571194
freefoam-user-doc_0.1.0+dfsg-1.1_all.deb
ee53202740e9e623545dbe7d99bed78ce2d77b66 925565968
freefoam-dev-doc_0.1.0+dfsg-1.1_all.deb
09a1d86ad29b83462ce63d117f43b2a4d21a5d0c 7286302
libfreefoam1_0.1.0+dfsg-1.1_mips.deb
203fa0d6399fb2a6f1adfe7c6a2caf342425e055 1094808
libfreefoam-dev_0.1.0+dfsg-1.1_mips.deb
0a02a3079b9766ca94bb7ff28ac6009cbac5e2d9 7507464
freefoam_0.1.0+dfsg-1.1_mips.deb
Checksums-Sha256:
2d5a8321b8135911107c72f71bac2aedbbf3e7d2e4b80376bd8dc2bad83a98cd 2628
freefoam_0.1.0+dfsg-1.1.dsc
3567e4221d4159844c5ef3dbf7c709114b6478452169f958657eaaf622f4c5b6 66268
freefoam_0.1.0+dfsg-1.1.debian.tar.xz
7600628bcae63508af2bc63e42d4a4de9d58e34bcf5351d5c4df98aeee6f52c7 24571194
freefoam-user-doc_0.1.0+dfsg-1.1_all.deb
20c2dea77c0ab9cb46d29ce61bf1e136095a087fa8c1ea10386d0b26b1d7467c 925565968
freefoam-dev-doc_0.1.0+dfsg-1.1_all.deb
a8bfd51ce153d9a086df293e51021bd72273d76954ac7659923635d9abb5854c 7286302
libfreefoam1_0.1.0+dfsg-1.1_mips.deb
5d9a35e7a41004d596346ab5566c849d555afa7f120715c449ef9e8a5f1842c6 1094808
libfreefoam-dev_0.1.0+dfsg-1.1_mips.deb
f216ac9f002d66f9995671494ff8eba89d1f4469db3fddfc4ce86e896272038e 7507464
freefoam_0.1.0+dfsg-1.1_mips.deb
Files:
bec9453c75d658806b57968866e405c2 24571194 doc optional
freefoam-user-doc_0.1.0+dfsg-1.1_all.deb
6667cfdc954486ffcb5259464282ca5d 925565968 doc optional
freefoam-dev-doc_0.1.0+dfsg-1.1_all.deb
2ee87827ead404e21a1b2b7ee90d3320 7286302 libs optional
libfreefoam1_0.1.0+dfsg-1.1_mips.deb
74862cbd5b81b429b5769b99594da590 1094808 libdevel optional
libfreefoam-dev_0.1.0+dfsg-1.1_mips.deb
093696240914ec9a0191622921d98de3 7507464 science optional
freefoam_0.1.0+dfsg-1.1_mips.deb
6bf4c7cba7e0f02522cbb2c0c4ecd32d 2628 science optional
freefoam_0.1.0+dfsg-1.1.dsc
9db07f1de11ee16ccb984beabd024960 66268 science optional
freefoam_0.1.0+dfsg-1.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJTjCElAAoJEHxWrP6UeJfYWKIP/R3WJ4PuYPluMEsy1xoQqZYj
CRXZpNEtTSABT71MQfOwxEcmkZj4LXEft1iFyesOpWAPAXOSW0p+SEpHM/w+IoMS
3E6LJn0F/VKqO8TiP0W9mZlQWUKn76Gck4NO7Q3H48Uu+KR1jIOQzIQ/XOGJS5BT
emlroxbAybG9vP8IyY9saauK0kyeWUP/EF4hYAfcj0cHLp3K3JWvzEwk6WweJkKD
wSU9msNjIB6/JAgaFif1juKd2gnCN2uGDaJExYdSFbpG2eVWlm3G0678QYQYLpHT
cMXLKmfW5CMIWVh8sDE9qsBW/5pOl/ANru2Wp5NKXBqgbjGEhwicRZZeOmCtfche
y/iGoXn/6coQsLnCeTH7uFdszdHfyyjE/DzvnXmQYNqdldykdRgFdWPitWj83o9j
6SrDZ2ttuvDHQx9JBLdlt07KuOqKCZ04Oc3BAgutFLEHQrkK15Q7MCgWodKxi2To
eg65RsuEUlR5N5jQx9kDZ6Kjw7yrzDxq9qglCLQ21hbFpe8LnT2TNgT93Ccy2p+u
UfL0UFBKvNP5n2Z6vc1DN8GN9r6pjkyYh/U9eVZOcjI19KuLLeKhG+pc7227DMeJ
sRHI+hkRL0WB9ynKcTwkVIfkDhzP2TTpaiTErfkUQw05T7YUgxuPkkAImenNIqi2
KK1O+UDpBIWP72xUzfI8
=akZW
-----END PGP SIGNATURE-----
--- End Message ---