Package Details: opencpn 5.10.2-2

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.000503
First Submitted: 2009-07-08 14:25 (UTC)
Last Updated: 2024-10-11 10:06 (UTC)

Pinned Comments

cybuzuma commented on 2022-09-29 08:33 (UTC) (edited on 2024-10-11 10:14 (UTC) by cybuzuma)

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.

If you encounter errors with plugins after a opencpn update, you might need to rebuild the affected plugin, for example using makepkg -fi.

Latest Comments

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

Npa commented on 2022-04-24 20:33 (UTC)

OK thank you.

I hope someone will adopt it. I would do it if i had the skills.

trougnouf commented on 2022-04-24 20:26 (UTC)

Updating to 5.6.2 given me a segmentation fault. Unfortunately I've given up on my goal to live in a houseboat so I am no longer interested in maintaining this package and investigating further, so I am disowning it. Sorry :/

gromain commented on 2022-04-24 20:04 (UTC)

Just for information @Npa, the recommended way to install OpenCPN on most platform is now using Flatpak: https://opencpn.org/OpenCPN/info/downloadopencpn.html

This is almost the only way to guarantee that plugins will work properly. I had lots and lots of issues previously with compiling plugins up to date.

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

My pleasure :)

sthysel commented on 2021-08-11 16:40 (UTC)

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

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.