Package Details: opencpn 5.8.4-1

Git Clone URL: https://aur.archlinux.org/opencpn.git (read-only, click to copy)
Package Base: opencpn
Description: Open Source Chart Plotting / Marine Navigation
Upstream URL: http://opencpn.org
Licenses: GPL2
Submitter: None
Maintainer: cybuzuma
Last Packager: cybuzuma
Votes: 35
Popularity: 0.125365
First Submitted: 2009-07-08 14:25 (UTC)
Last Updated: 2023-10-26 19:44 (UTC)

Pinned Comments

cybuzuma commented on 2022-09-29 08:33 (UTC)

Please note that when using this package, you will not be able to use the Plugin Manager but have to install plugins via the aur or compile them yourself. If you need a plugin that is not in the aur, feel free to contact me for help.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 11 Next › Last »

trougnouf commented on 2021-08-11 16:38 (UTC)

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 (UTC) (edited on 2021-08-11 16:36 (UTC) by sthysel)

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().
    Aborting...

trougnouf commented on 2021-08-11 15:59 (UTC) (edited on 2021-08-11 16:02 (UTC) by trougnouf)

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 (UTC)

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().
    Aborting...
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 (UTC)

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 (UTC)

@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 (UTC)

CMake error reported by kemelzaidan still exists. See https://bbs.archlinux.org/viewtopic.php?id=259030 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 (UTC)

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().
    Abortando...
erro ao construir: opencpn

ruppor commented on 2020-10-25 13:48 (UTC)

@troughnouf Hi, thanks! You probably had older version of wxWidgets installed alongside the newer ones.

trougnouf commented on 2020-10-25 09:44 (UTC)

Done, thank you @ruppor. I don't know why it was compiling fine without your fix on my machine, I did get that error with a clean "aur chroot PKGBUILD".