Your message dated Fri, 22 Apr 2022 09:07:06 +0200
with message-id <[email protected]>
and subject line Re: Bug#1010002: libgeos++-dev: Missing files or misconfigured 
build
has caused the Debian Bug report #1010002,
regarding libgeos++-dev: Missing files or misconfigured build
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.)


-- 
1010002: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010002
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgeos++-dev
Version: 3.10.2-1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: [email protected]

Dear Maintainer,

libgeos++-dev is missing .inl files required to build programs with the
C++ interface.

When GEOS is built, the GEOS_INLINE macro is defined. If the package is
find and linked through CMake, this macro is defined as well. However,
building with this macro triggers the inclusion of .inl files which are
explicitly removed by the `rules` file of this package, therefore the
build file.

Looking through the package build history, it seems the GEOS_INLINE definition
has been used for a long time but was not necessary to link against the
library.

For example, compling the following program (main.cpp):

```
#include <geos/geom/Coordinate.h>

int main()
{
  geos::geom::Coordinate c;
  c.setNull();
  return 0;
}
```

Fails to compile with `g++ -o main main.cpp -lgeos` (but this works on
e.g. Debian stable)

On the other hand, adding `-DGEOS_INLINE` also fails because the .inl
files are not shipped with the package.

I think this can be fixed by either:
- removing the explicit removal of .inl files from the `rules` file
- passing `-DDISABLE_GEOS_INLINE:BOOL=ON` during the configuration

The second solution might be less disruptive as this won't require
existing builds to pass `-DGEOS_INLINE` if they are not relying on CMake
to find the correct compilation flags.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-107-generic (SMP w/16 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages libgeos++-dev depends on:
ii  libgeos-dev    3.10.2-1
ii  libgeos3.10.2  3.10.2-1

libgeos++-dev recommends no packages.

Versions of packages libgeos++-dev suggests:
pn  libgdal-doc  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
severity 1010002 normal
tags 1010002 wontfix
thanks

On 4/22/22 08:52, Pierre Gergondet wrote:
libgeos++-dev is missing .inl files required to build programs with the
C++ interface.
The C++ API in unstable, you should use the C API.

 https://libgeos.org/usage/c_api/

Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to