Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1027238

Bug#971558: clucene-core FTCBFS: uses CHECK_CXX_SOURCE_RUNS

From Helmut Grohne <helmut@subdivi.de>
Newsgroups linux.debian.bugs.dist
Subject Bug#971558: clucene-core FTCBFS: uses CHECK_CXX_SOURCE_RUNS
Date 2020-10-01 23:10 +0200
Message-ID <AVdZT-1Kp-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Source: clucene-core
Version: 2.3.3.4+dfsg-1
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs

clucene-core fails to cross build from source, because it uses
CHECK_CXX_SOURCE_RUNS in a number of places. In some cases, it is used
for checking whether a particular syntax is supported by the compiler.
There, we can simply use CHECK_CXX_SOURCE_COMPILES at no loss. In some
cases, runtime bugs are checked. The best course of action here is to
assume that there are no runtime bugs (but only for cross compilation).
The attached patch implements that for all relevant checks. Please
consider applying it to make clucene-core cross buildable.

Helmut

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#971558: clucene-core FTCBFS: uses CHECK_CXX_SOURCE_RUNS Helmut Grohne <helmut@subdivi.de> - 2020-10-01 23:10 +0200

csiph-web