Your message dated Tue, 22 Nov 2016 14:36:29 +0100
with message-id <[email protected]>
and subject line Re: Bug#845321: cs2cs: epsg-file lookup problem
has caused the Debian Bug report #845321,
regarding cs2cs: epsg-file lookup problem
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.)


-- 
845321: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845321
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: proj-bin
Version: 4.8.0-5
Severity: important

Dear Maintainer,

for me, `cs2cs` from package `proj-bin` fails to lookup the EPSG file
`/usr/share/proj/epsg` from package `proj-data` because it seems that that path
is not tried when searching for the epsg file:

```
$ cs2cs +init=epsg:4326 +to +init=epsg:2975
Using from definition: init=epsg:4326
Rel. 4.9.2, 08 September 2015
<cs2cs>:
projection initialization failure
cause: no system list, errno: 2

program abnormally terminated
```

With some intuition and some internet searches, this problem can be fixed
rather easily by setting `PROJ_LIB` env variable:

```
$ export PROJ_LIB=/usr/share/proj
$ echo "12 34" | cs2cs +init=epsg:4326 +to +init=epsg:2975
-3790598.80     14838998.02 0.00
```

However I believe the user should not need to manually set the lookup path,
this should be handled internally by packaging. It was definitly not necessary
to manually set this path in older package versions as I was using "cs2cs" in
the same way on earlier Debian distributions (certainly in Debian squeeze, not
100% sure about Debian wheezy).

best regards,
Tobias Megies



-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages proj-bin depends on:
ii  libc6     2.19-18+deb8u4
ii  libproj0  4.8.0-5

proj-bin recommends no packages.

proj-bin suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
notfound 845321 proj/4.8.0-5
tags 845321 - moreinfo
thanks

Hi Tobias,

On 2016-11-22 14:31, Tobias Megies wrote:
sorry for the erroneous report, the problem actually is actually a
packaging bug by Anaconda, I was not even using /usr/bin/cs2cs but
another cs2cs binary that was coming earlier in my PATH.
Using /usr/bin/cs2cs works without problems.

Thanks for confirming that there is no issue with the proj-bin package.

Sorry for bothering you with this..

No problem.

Kind Regards,

Bas

--- End Message ---

Reply via email to