Your message dated Fri, 07 Oct 2016 22:20:32 +0000
with message-id <e1bsdvi-0001ep...@franck.debian.org>
and subject line Bug#833667: fixed in freemat 4.2+dfsg1-2
has caused the Debian Bug report #833667,
regarding freemat: FTBFS with LLVM 3.8
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 ow...@bugs.debian.org
immediately.)


-- 
833667: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833667
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: freemat
Version: 4.2+dfsg1-1
Severity: wishlist
Tags: patch


Hi Maintainer

Freemat currently FTBFS with LLVM 3.8, although LLVM 3.8 is not yet
the default in Sid.
I made the following minor changes:

In libs/libMatC/CJitFuncClang.cpp, include llvm/Config/llvm-config.h
instead of llvm/Config/config.h and remove the second include of
llvm/Config/config.h.

In CMakeLists.txt, link with clangTidyReadabilityModule instead of
clangTidyReadability.

I attempted to produce a patch against
debian/patches/12_update_clang_deps.patch but the result was not very
clear and the differing line endings made it difficult.  Attached is a
patch that should be applied after applying
debian/patches/12_update_clang_deps.patch.

Not being familiar with freemat, I was not able to do extensive
testing, but the package built and installed and I was able to open
the freemat gui and perform some basic operations.

LLVM 3.8 is already the default in Ubuntu and I would like to apply
this patch there, but I would appreciate it if you would please review
it first.

Regards
Graham
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -258,7 +258,7 @@
   link_directories(${LLVM_LIBRARY_DIRS})
   llvm_map_components_to_libnames(REQ_LLVM_LIBRARIES executionengine option IRReader lto interpreter nativecodegen asmparser bitreader bitwriter codegen ipo linker selectiondag instrumentation)
   
-  set(OPTIONAL_LIBS ${OPTIONAL_LIBS} ${CLANG_LIBRARIES};clang;clangAnalysis;clangApplyReplacements;clangARCMigrate;clangAST;clangASTMatchers;clangBasic;clangCodeGen;clangDriver;clangDynamicASTMatchers;clangEdit;clangFormat;clangFrontend;clangFrontendTool;clangIndex;clangLex;clangParse;clangQuery;clangRename;clangRewrite;clangRewriteFrontend;clangSema;clangSerialization;clangStaticAnalyzerCheckers;clangStaticAnalyzerCore;clangStaticAnalyzerFrontend;clangTidy;clangTidyGoogleModule;clangTidyLLVMModule;clangTidyMiscModule;clangTidyReadability;clangTidyUtils;clang ${CLANG_LIBS} ${REQ_LLVM_LIBRARIES})
+  set(OPTIONAL_LIBS ${OPTIONAL_LIBS} ${CLANG_LIBRARIES};clang;clangAnalysis;clangApplyReplacements;clangARCMigrate;clangAST;clangASTMatchers;clangBasic;clangCodeGen;clangDriver;clangDynamicASTMatchers;clangEdit;clangFormat;clangFrontend;clangFrontendTool;clangIndex;clangLex;clangParse;clangQuery;clangRename;clangRewrite;clangRewriteFrontend;clangSema;clangSerialization;clangStaticAnalyzerCheckers;clangStaticAnalyzerCore;clangStaticAnalyzerFrontend;clangTidy;clangTidyGoogleModule;clangTidyLLVMModule;clangTidyMiscModule;clangTidyReadabilityModule;clangTidyUtils;clang ${CLANG_LIBS} ${REQ_LLVM_LIBRARIES})
 ENDIF()
 
 ##############################################################################
--- a/libs/libMatC/CJitFuncClang.cpp
+++ b/libs/libMatC/CJitFuncClang.cpp
@@ -17,9 +17,8 @@
 
 #include "llvm/IR/LLVMContext.h"
 #include "llvm/IR/Module.h"
-#include "llvm/Config/config.h"
+#include "llvm/Config/llvm-config.h"
 #include "llvm/ADT/SmallString.h"
-#include "llvm/Config/config.h"
 #include "llvm/ExecutionEngine/ExecutionEngine.h"
 #include "llvm/ExecutionEngine/GenericValue.h"
 #include "llvm/Support/ManagedStatic.h"

--- End Message ---
--- Begin Message ---
Source: freemat
Source-Version: 4.2+dfsg1-2

We believe that the bug you reported is fixed in the latest version of
freemat, 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 833...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gianfranco Costamagna <locutusofb...@debian.org> (supplier of updated freemat 
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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 07 Oct 2016 10:01:50 +0200
Source: freemat
Binary: freemat freemat-data freemat-help
Architecture: source
Version: 4.2+dfsg1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Gianfranco Costamagna <locutusofb...@debian.org>
Description:
 freemat    - mathematics framework (mostly matlab compatible)
 freemat-data - freemat data files
 freemat-help - freemat help files
Closes: 833667
Changes:
 freemat (4.2+dfsg1-2) unstable; urgency=medium
 .
   * Team upload
 .
   [ Graham Inggs ]
   * debian/patches/fix-llvm-build.patch:
     - fix build failure with default llvm 3.8 (Closes: #833667)
Checksums-Sha1:
 821f166b82ba8218e9de35ec6cec5f5f571e95eb 2534 freemat_4.2+dfsg1-2.dsc
 2c08ef303c832463f1f30a250c573a44a56b58bb 12284 
freemat_4.2+dfsg1-2.debian.tar.xz
Checksums-Sha256:
 294e1f7812d9f3b8bd99ce29cf77c01b66e7a90f6f95d93fc85119aae0172b22 2534 
freemat_4.2+dfsg1-2.dsc
 d2040632cb10f2f09ea60e4c476ff96c0c4c15be98186b38feb7f9004732f8dd 12284 
freemat_4.2+dfsg1-2.debian.tar.xz
Files:
 a1921af3036fc1f9d52547186add4d98 2534 math optional freemat_4.2+dfsg1-2.dsc
 4243aeccdaf4eae63795d0fec92dbab4 12284 math optional 
freemat_4.2+dfsg1-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJX91cTAAoJEPNPCXROn13ZzccQAIl/BsmiRTrSnzq4HJsnoRZw
rEMnf/tXzzGnfqlmNl8h2oOUg1FXBOJbBmxO9vLSLjDUw+6z2o2gVk0iVVRQwqN7
mNQA2L7Hjhl/MyWZj1M3/xWtqJTwXKDfNubc+BV8kpb1CRVnqw6QWRFlKt6JH5bJ
eSKpjZFuXealz1scKZ2k5OTK9b0kRqio2CcADUFS0gPGmpmGKCIaxtmIGtOlQllC
VE/KTqz750pbCFOjKFGgY48H7HxpVhpXy//iyGogZBJknPLFuVgX6Q5CKHiNWycs
JyuR1MGrBoSWvxVUYtZ4PsBoqcJlyMyWqfp3ro/C8zyM1CL/XX/l1XL7X4x81SE2
fEb8nPZhkq3rxvatHl9rPAqIwlV67MTckwgwUucbg0LeMZFyFU2a9JiKDTzufZbO
1erlB1Ui2rk6Or3RujCI7z21LikK4tMumUqt3W8Uw809/YEVmJO5X9/Tb7AILisn
5EW250Fv6FE25CEWfYiOuE35QjO2qbnUty7S0T5S+r67L9OSO9SGBsxu340nv1u8
P6KFazNl0zfklGs1PjH64tH03G/p4eBfdz0dF+gLcK20yOgx8ibmEZl7T4oO0/53
/vxSur8QLDSUCvidn27BWm9KTVEvks7ZHBSY56J6TOaeyuYFTki6P5KYE5xIZh6Z
RhbnQM6cJhsfqml0kb2V
=q4s9
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to