Package Details: opencpn 5.10.2-3

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: 36
Popularity: 0.47
First Submitted: 2009-07-08 14:25 (UTC)
Last Updated: 2025-04-18 21:11 (UTC)

Pinned Comments

cybuzuma commented on 2022-09-29 08:33 (UTC) (edited on 2025-04-19 17:51 (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 added a plugin to an existing install before 5.10.2-3 or compiled a plugin yourself and can not see it in the plugin list, add the following to your ~/.opencpn/opencpn.conf file (thanks to @zimm):

[PlugIns/lib<name>_pi.so]
bEnabled=1

You can find the correct name by looking at the files in /usr/lib/opencpn.

If you encounter errors with plugins after an 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 .. 13 Next › Last »

hamdyaea1 commented on 2024-10-10 18:56 (UTC)

I have copied the full update with yay where the build fail here : https://pastecode.io/s/rz5std1s

cybuzuma commented on 2024-10-10 14:05 (UTC)

@glenjo: Can you post some output regarding that error? I can build this aur with gdal installed from the repos as well as without it. opencpn ships its own version of gdal, that's how the headers are included without the gdal package being a dependency.

cybuzuma commented on 2024-10-10 11:59 (UTC)

@hamdyaea1: I am sorry, but the actual error is still not in the text you pasted. "*** Attente des tâches non terminées...." means that an error occured above that line. So please look into the output above that line, and see if you can spot some output containing an error, not a warning.
(You might want to just edit your last comment to not clutter up the comments too much...)

glenjo commented on 2024-10-03 02:03 (UTC) (edited on 2024-10-03 02:04 (UTC) by glenjo)

I'm also having the build fail, and traced it back to the gdal package. It's using the include files in the gdal package for conversion between raster and vector chart types. I don't even see gdal listed as a dependancy so I'm wondering what I'm doing wrong at this point. any help would be appreciated!

hamdyaea1 commented on 2024-10-02 19:10 (UTC)

Here the end of the build make[2]: *** [CMakeFiles/opencpn.dir/build.make:272: CMakeFiles/opencpn.dir/gui/src/chartdbs.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:842: CMakeFiles/opencpn.dir/all] Error 2 make[1]: *** Attente des tâches non terminées.... Dans la fonction « GPS_Serial_Write », mis en ligne depuis « GPS_Serial_Write_Packet » à /home/hamdy/.cache/yay/opencpn/src/OpenCPN-Release_5.10.2/libs/garmin/jeeps/gpssend.c:149:29: /home/hamdy/.cache/yay/opencpn/src/OpenCPN-Release_5.10.2/libs/garmin/jeeps/gpsserial.c:426:21: attention: « write » lecture de 3 octet depuis une région de taille 1 [-Wstringop-overread] 426 | return write(psd->fd, obuf, size); | ^ /home/hamdy/.cache/yay/opencpn/src/OpenCPN-Release_5.10.2/libs/garmin/jeeps/garmin_gps.h: Dans la fonction « GPS_Serial_Write_Packet »: /home/hamdy/.cache/yay/opencpn/src/OpenCPN-Release_5.10.2/libs/garmin/jeeps/garmin_gps.h:72:8: note: l'objet source « dle » de taille 1 72 | UC dle; | ^ /usr/include/unistd.h:378:16: note: dans un appel à la fonction « write » déclarée avec l'attribut « access (read_only, 2, 3) » 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^ Dans la fonction « GPS_Serial_Write », mis en ligne depuis « GPS_Serial_Write_Packet » à /home/hamdy/.cache/yay/opencpn/src/OpenCPN-Release_5.10.2/libs/garmin/jeeps/gpssend.c:183:29: /home/hamdy/.cache/yay/opencpn/src/OpenCPN-Release_5.10.2/libs/garmin/jeeps/gpsserial.c:426:21: attention: « write » lecture de 3 octet depuis une région de taille 1 [-Wstringop-overread] 426 | return write(psd->fd, obuf, size); | ^ /home/hamdy/.cache/yay/opencpn/src/OpenCPN-Release_5.10.2/libs/garmin/jeeps/garmin_gps.h: Dans la fonction « GPS_Serial_Write_Packet »: /home/hamdy/.cache/yay/opencpn/src/OpenCPN-Release_5.10.2/libs/garmin/jeeps/garmin_gps.h:76:8: note: l'objet source « chk » de taille 1 76 | UC chk; | ^ /usr/include/unistd.h:378:16: note: dans un appel à la fonction « write » déclarée avec l'attribut « access (read_only, 2, 3) » 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^ /usr/bin/ld: /tmp/cc6ABg3u.ltrans27.ltrans.o : dans la fonction « PluginHandler::installPlugin(PluginMetadata) » : <artificial>:(.text+0x6ff5): avertissement : the use oftmpnam' is dangerous, better use mkstemp' [ 71%] Built target opencpn-cmd make: *** [Makefile:156: all] Error 2 ==> ERREUR : Une erreur s’est produite dans build(). Abandon… -> error making: opencpn-exit status 4 -> Failed to install the following packages. Manual intervention is required: opencpn - exit status 4

cybuzuma commented on 2024-10-02 09:02 (UTC) (edited on 2024-10-02 09:04 (UTC) by cybuzuma)

@hamdyaea1, I am afraid I need to see some more lines of your output. The ones you pasted show a warning, which should not break the build (it does not for me).

Also, you might want to surround your pasted log by three backticks:

` ` `
pasted text
` ` `

which will show it like this and make it much more readable:

pasted text

hamdyaea1 commented on 2024-10-01 20:34 (UTC)

  |                ^

/usr/bin/ld: /tmp/ccLaIHJV.ltrans27.ltrans.o : dans la fonction « PluginHandler::installPlugin(PluginMetadata) » : Hi, on Linux manjaro I can't build the last version of this package :

<artificial>:(.text+0x6ff5): avertissement : the use of tmpnam' is dangerous, better usemkstemp' [ 71%] Built target opencpn-cmd make: *** [Makefile:156: all] Error 2 ==> ERREUR : Une erreur s’est produite dans build(). Abandon… -> error making: opencpn-exit status 4 -> Failed to install the following packages. Manual intervention is required: opencpn - exit status 4

Apolo-XIII commented on 2024-05-24 18:45 (UTC)

@cybuzuma: thanks for your help. I just installed it and everything is working fine. Thanks

cybuzuma commented on 2024-05-22 20:08 (UTC)

@Apolo-XIII: thank you for the report. I updated the package's dependencies which should fix your error.

gromain commented on 2024-05-15 18:02 (UTC)

Can't help, but I really recommend using the official flathub package for opencpn that is supported by the developers.

This will prevent issues using the software and allows you to use the plug-in manager embedded in opencpn.

Cheers, and good luck