Package Details: opencpn 5.6.0-1

Git Clone URL: (read-only, click to copy)
Package Base: opencpn
Description: Open Source Chart Plotting / Marine Navigation
Upstream URL:
Licenses: GPL2
Submitter: None
Maintainer: trougnouf (gromain)
Last Packager: trougnouf
Votes: 33
Popularity: 0.27
First Submitted: 2009-07-08 14:25
Last Updated: 2021-12-06 09:40

Latest Comments

1 2 3 4 5 6 ... Next › Last »

trougnouf commented on 2021-08-11 16:41

My pleasure :)

sthysel commented on 2021-08-11 16:40

Thanks for your time mate, and your efforts for packaging this up for us.

trougnouf commented on 2021-08-11 16:38

The makepkg built-multiple-times error is pretty normal, makepkg is expected to run in a clean root and there are remaining build files. I switched to mkdir -p (ignore) and ln -f (overwrite) so it should work on subsequent builds anyway.

sthysel commented on 2021-08-11 16:22

yay always fails. makepkg works once after you remove bin. Nothing noteworthy in CMakeOutput.log I think.

Yea I'm guessing a mkdir guard would help for makepkg at least. yay seems to do some pre-work perhaps running prepare() more than once ?

$ makepkg -si
==> Making package: opencpn 5.2.4-2 (Thu 12 Aug 2021 12:17:55 AM AWST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found Release_5.2.4.tar.gz
==> Validating source files with sha1sums...
    Release_5.2.4.tar.gz ... Passed
==> Extracting sources...
  -> Extracting Release_5.2.4.tar.gz with bsdtar
==> Starting prepare()...
mkdir: cannot create directory ‘bin’: File exists
==> ERROR: A failure occurred in prepare().

trougnouf commented on 2021-08-11 15:59

Is there anything useful in "/home/thys/.cache/yay/opencpn/src/OpenCPN-Release_5.2.4/CMakeFiles/CMakeOutput.log" ?

Did you remove the cache (/home/thys/.cache/yay/opencpn/) and/or try to run makepkg manually?

sthysel commented on 2021-08-11 15:58

Well I just did a yay -S opencpn on another machine and I get the same error

--  wxWidgets Libraries: -pthread;;;-lwx_gtk3u_gl-3.0;-lwx_baseu_net-3.0;-lwx_baseu_xml-3.0;-lwx_gtk3u_html-3.0;-lwx_gtk3u_adv-3.0;-lwx_gtk3u_aui-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu-3.0;-lwx_gtk3u_webview-3.0;-lwx_gtk3u_aui-3.0;-lwx_gtk3u_gl-3.0
--  Revised wxWidgets Libraries: -pthread;-lwx_gtk3u_gl-3.0;-lwx_baseu_net-3.0;-lwx_baseu_xml-3.0;-lwx_gtk3u_html-3.0;-lwx_gtk3u_adv-3.0;-lwx_gtk3u_aui-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu-3.0;-lwx_gtk3u_webview-3.0;-lwx_gtk3u_aui-3.0;-lwx_gtk3u_gl-3.0
CMake Error at CMakeLists.txt:813 (message):
  Cannot run wxWidgets version test (!)

-- Configuring incomplete, errors occurred!
See also "/home/thys/.cache/yay/opencpn/src/OpenCPN-Release_5.2.4/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
error making: opencpn
❯ less /home/thys/.cache/yay/opencpn/src/OpenCPN-Release_5.2.4/CMakeFiles/CMakeOutput.log

trougnouf commented on 2021-08-11 15:51

I just rebuilt it with no issue, the fix you mentioned has already been applied, and it's the lastest version so I'm unflagging the package. If you find a way to fix the PKGBUILD so that it works for you then I will be happy to include that fix.

trougnouf commented on 2021-08-11 15:45

@sthysel Isn't that already done in prepare()?

prepare() {
  cd "OpenCPN-Release_${pkgver}"
  export PATH="$PWD/bin:$PATH"
  mkdir bin
  ln -s /usr/bin/wx-config-gtk3 bin/wx-config

sthysel commented on 2021-08-11 15:26

CMake error reported by kemelzaidan still exists. See for resolution.

In short: link wx-config to wx-config-gtk3

ln -s /usr/bin/wx-config-gtk3 /uar/local/bin/wx-config

kemelzaidan commented on 2021-01-07 21:06

Installation is giving error during build:

CMake Error at CMakeLists.txt:813 (message):
  Cannot run wxWidgets version test (!)

-- Configuring incomplete, errors occurred!
See also "/home/kemel/.cache/yay/opencpn/src/OpenCPN-Release_5.2.4/CMakeFiles/CMakeOutput.log".
==> ERRO: Uma falha ocorreu em build().
erro ao construir: opencpn