[Debian-med-packaging] Cmake help for htqc needed

Gert Wollny gw.fossdev at gmail.com
Mon Jun 22 13:49:39 UTC 2015


Hi, 

I've attached a patch that should do the trick. (I'm on a computer
without the ssh-keys for Debian git write access). 

Explanation: 

The htqc authors might have used a version of cmake that interprets the
CMAKE_CXX_FLAGS as a list, and Elements of lists in cmake are separated
by ';'. 

Apparently this is no longer possible so you'll have to (re-)set  the
cxx_flags string directly. 

Best, 
Gert 


On Mon, 2015-06-22 at 15:32 +0200, Andreas Tille wrote:

> 
> I injected packaging stuff for htqc into Git
>   Vcs-Git: git://anonscm.debian.org/debian-med/htqc.git
> 
> When trying to build the package somehow a ';' ins injected
> into the CXX_FLAGS.  The build ends in
> 
> /usr/bin/c++    -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 ;-std=c++11 -I/tmp/buildd/htqc-1.92.1/src -I/tmp/buildd/htqc-1.92.1/obj-x86_64-linux-gnu/src    -o CMakeFiles/ht_common.dir/htqc/MultiSeqFile.cpp.o -c /tmp/buildd/htqc-1.92.1/src/htqc/MultiSeqFile.cpp
> c++: fatal error: no input files
> compilation terminated.
> /bin/sh: 1: -std=c++11: not found
> 
> 
> Unfortunately I have no idea why this ';' is injected and how
> to avoid this.
> 
> Any help would be welcome
> 
>       Andreas.
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: correct_cflags.patch
Type: text/x-patch
Size: 592 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20150622/faa01886/attachment.bin>


More information about the Debian-med-packaging mailing list