OK thank you.
I hope someone will adopt it. I would do it if i had the skills.
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) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 13 Next › Last »
OK thank you.
I hope someone will adopt it. I would do it if i had the skills.
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 :/
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.
My pleasure :)
Thanks for your time mate, and your efforts for packaging this up for us.
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.
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...
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?
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
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.
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
.