Package Details: gtkterm 1.3.1-1

Git Clone URL: https://aur.archlinux.org/gtkterm.git (read-only, click to copy)
Package Base: gtkterm
Description: A gtk+ based serial port communication program
Upstream URL: https://github.com/Jeija/gtkterm
Licenses: GPL3
Conflicts: gtkterm
Submitter: ra1nb0w
Maintainer: ra1nb0w
Last Packager: ra1nb0w
Votes: 3
Popularity: 0.76
First Submitted: 2022-07-28 09:02 (UTC)
Last Updated: 2024-05-27 07:00 (UTC)

Latest Comments

ra1nb0w commented on 2024-05-22 06:02 (UTC)

you have an issue with vte3 that requires icu but it is not available. Try to sync and upgrade.

peauc commented on 2024-05-20 08:56 (UTC) (edited on 2024-05-20 08:56 (UTC) by peauc)

Hello,

I encountered an error while installing latest version

[25/25] Linking target src/gtkterm
FAILED: src/gtkterm 
cc  -o src/gtkterm src/gtkterm.p/meson-generated_.._.._data_resource.c.o src/gtkterm.p/buffer.c.o src/gtkterm.p/cmdline.c.o src/gtkterm.p/device_monitor.c.o src/gtkterm.p/files.c.o src/gtkterm.p/gtkterm.c.o src/gtkterm.p/i18n.c.o src/gtkterm.p/interface.c.o src/gtkterm.p/logging.c.o src/gtkterm.p/macros.c.o src/gtkterm.p/parsecfg.c.o src/gtkterm.p/search.c.o src/gtkterm.p/serial.c.o src/gtkterm.p/term_config.c.o src/gtkterm.p/user_signals.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-export-dynamic -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/peauc/.cache/paru/clone/gtkterm/src=/usr/src/debug/gtkterm -flto=auto -Wl,--start-group /usr/lib/libgtk-3.so /usr/lib/libgdk-3.so /usr/lib/libz.so /usr/lib/libharfbuzz.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libatk-1.0.so /usr/lib/libcairo.so /usr/lib/libcairo-gobject.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libgio-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libvte-2.91.so /usr/lib/libgudev-1.0.so -Wl,--end-group
../src/cmdline.h:18:5: warning: type of ‘read_command_line’ does not match original declaration [-Wlto-type-mismatch]
   18 | int read_command_line(int, char **);
      |     ^
../src/cmdline.c:61:5: note: type mismatch in parameter 3
   61 | int read_command_line(int argc, char **argv, gchar *configuration_to_read)
      |     ^
../src/cmdline.c:61:5: note: ‘read_command_line’ was previously declared here
/bin/ld: warning: libicuuc.so.75, needed by /usr/lib/libvte-2.91.so, not found (try using -rpath or -rpath-link)
/bin/ld: /usr/lib/libvte-2.91.so: undefined reference to `ucnv_open_75'
/bin/ld: /usr/lib/libvte-2.91.so: undefined reference to `icu_75::ErrorCode::~ErrorCode()'
/bin/ld: /usr/lib/libvte-2.91.so: undefined reference to `ucnv_resetToUnicode_75'
/bin/ld: /usr/lib/libvte-2.91.so: undefined reference to `vtable for icu_75::ErrorCode'
/bin/ld: /usr/lib/libvte-2.91.so: undefined reference to `icu_75::ErrorCode::reset()'
/bin/ld: /usr/lib/libvte-2.91.so: undefined reference to `ucnv_close_75'
/bin/ld: /usr/lib/libvte-2.91.so: undefined reference to `ucnv_countAliases_75'
/bin/ld: /usr/lib/libvte-2.91.so: undefined reference to `icu_75::ErrorCode::errorName() const'
/bin/ld: /usr/lib/libvte-2.91.so: undefined reference to `UCNV_FROM_U_CALLBACK_STOP_75'
/bin/ld: /usr/lib/libvte-2.91.so: undefined reference to `ucnv_resetFromUnicode_75'
/bin/ld: /usr/lib/libvte-2.91.so: undefined reference to `ucnv_fromUChars_75'
/bin/ld: /usr/lib/libvte-2.91.so: undefined reference to `ucnv_getAvailableName_75'
/bin/ld: /usr/lib/libvte-2.91.so: undefined reference to `ucnv_toUnicode_75'
/bin/ld: /usr/lib/libvte-2.91.so: undefined reference to `ucnv_fromUnicode_75'
/bin/ld: /usr/lib/libvte-2.91.so: undefined reference to `ucnv_getAlias_75'
/bin/ld: /usr/lib/libvte-2.91.so: undefined reference to `ucnv_countAvailable_75'
/bin/ld: /usr/lib/libvte-2.91.so: undefined reference to `ucnv_toUChars_75'
/bin/ld: /usr/lib/libvte-2.91.so: undefined reference to `ucnv_setFromUCallBack_75'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'gtkterm-1.3.0-2': 
error: packages failed to build: gtkterm-1.3.0-2

ra1nb0w commented on 2024-05-14 10:11 (UTC)

fixed

ra1nb0w commented on 2024-05-13 12:05 (UTC)

thank you for the report. I sent the issue upstream https://github.com/wvdakker/gtkterm/issues/73 since it is declaration/usage mismatch.

kusoneko commented on 2024-05-13 02:52 (UTC)

The latest version doesn't compile on my end with the following error:

[20/25] Compiling C object src/gtkterm.p/files.c.o
FAILED: src/gtkterm.p/files.c.o
cc -Isrc/gtkterm.p -Isrc -I../src -I. -I.. -Idata -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid
-I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I/usr/include/vte-2.91 -I/usr/include/gudev-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -pthread -MD -MQ src/gtkterm.p/files.c.o -MF src/gtkterm.p/files.c.o.d -o src/gtkterm.p/files.c.o -c ../src/files.c
../src/files.c: In function ‘send_raw_file’:
../src/files.c:80:23: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
   80 |                       GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
      |                       ^~~~~~~~~~~~~~~~
../src/files.c:81:23: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
   81 |                       GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
      |                       ^~~~~~~~~~~~
../src/files.c:131:25: warning: ‘gtk_dialog_get_action_area’ is deprecated [-Wdeprecated-declarations]
  131 |                         gtk_container_add(GTK_CONTAINER(gtk_dialog_get_action_area(GTK_DIALOG(Window))), Bouton_annuler);
      |                         ^~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
                 from /usr/include/gtk-3.0/gtk/gtk.h:31,
                 from ../src/files.c:24:
/usr/include/gtk-3.0/gtk/gtkdialog.h:203:13: note: declared here
  203 | GtkWidget * gtk_dialog_get_action_area  (GtkDialog *dialog);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
../src/files.c: In function ‘save_raw_file’:
../src/files.c:314:23: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
  314 |                       GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
      |                       ^~~~~~~~~~~~~~~~
../src/files.c:315:23: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
  315 |                       GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT,
      |                       ^~~~~~~~~~~~~~
../src/files.c: In function ‘save_ascii_file’:
../src/files.c:365:23: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
  365 |                       GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
      |                       ^~~~~~~~~~~~~~~~
../src/files.c:366:23: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
  366 |                       GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT,
      |                       ^~~~~~~~~~~~~~
../src/files.c:400:48: error: passing argument 1 of ‘write_buffer_with_func’ from incompatible pointer type [-Wincompatible-pointer-types]
  400 |                         write_buffer_with_func(write_ascii_file);
      |                                                ^~~~~~~~~~~~~~~~
      |                                                |
      |                                                void (*)(char *, unsigned int)
In file included from ../src/files.c:37:
../src/buffer.h:33:36: note: expected ‘void (*)(const char *, unsigned int)’ but argument is of type ‘void (*)(char *, unsigned int)’
   33 | void write_buffer_with_func(void (*func)(const char *, unsigned int));
      |                             ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note, I'm building in a clean chroot, so there may be missing dependencies if they're not part of the base-devel metapackage or in the {,make,check}depends arrays.