Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
11-26-2022, 09:55 AM
#1
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
regression on -current with vte
vte doesn't build anymore on -current due to new glib2-27.2
Code:
/usr/include/glib-2.0/glib/ghash.h :165:60: erreur: conversion invalide de «*const void**» vers «*const char**» [-fpermissive]
165 | #define g_str_equal(v1, v2) (strcmp ((gconstpointer) (v1), (gconstpointer) (v2)) == 0)
| ^~~~~~~~~~~~~~~~~~~~
| |
| const void*
../src/app/app.cc:1960:44: note: dans l'expansion de la macro «*g_str_equal*»
1960 | g_str_equal(str, "html") ? VTE_FORMAT_HTML : VTE_FORMAT_TEXT);
| ^~~~~~~~~~~
/usr/include/string.h:156:50: note: initialisation de l'argument 2 de «*int strcmp(const char*, const char*)*»
156 | extern int strcmp (const char *__s1, const char *__s2)
| ~~~~~~~~~~~~^~~~
../src/app/app.cc: Dans la fonction «*bool vteapp_window_show_context_menu(VteappWindow*, guint, guint32, GdkEvent*)*»:
../src/app/app.cc:2119:23: attention: «*void gtk_menu_popup(GtkMenu*, GtkWidget*, GtkWidget*, GtkMenuPositionFunc, gpointer, guint, guint32)*» est obsolète: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations]
2119 | gtk_menu_popup(GTK_MENU(popup), nullptr, nullptr, nullptr, nullptr, button, timestamp);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dans le fichier inclus depuis /usr/include/gtk-3.0/gtk/gtklabel.h:34,
depuis /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
depuis /usr/include/gtk-3.0/gtk/gtk.h:33:
/usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: déclaré ici
138 | void gtk_menu_popup (GtkMenu *menu,
| ^~~~~~~~~~~~~~
../src/app/app.cc: Dans la fonction «*int main(int, char**)*»:
../src/app/app.cc:3110:44: attention: «*void gdk_window_set_debug_updates(gboolean)*» est obsolète [-Wdeprecated-declarations]
3110 | gdk_window_set_debug_updates(true);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
Dans le fichier inclus depuis /usr/include/gtk-3.0/gdk/gdkseat.h:28,
depuis /usr/include/gtk-3.0/gdk/gdkdisplay.h:33,
depuis /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
depuis /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
depuis /usr/include/gtk-3.0/gdk/gdk.h:32,
depuis /usr/include/gtk-3.0/gtk/gtk.h:30:
/usr/include/gtk-3.0/gdk/gdkwindow.h:1074:12: note: déclaré ici
1074 | void gdk_window_set_debug_updates (gboolean setting);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[199/208] Compiling C++ object src/libvte-2.91.so.0.7000.1.p/widget.cc.o
ninja: build stopped: subcommand failed.
The small modification in the SlackBuild doesn't work (-fpermissive)
Last edited by nobodino; 11-26-2022 at 09:56 AM .
11-26-2022, 10:21 AM
#2
LQ Sage
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,376
What works here:
Code:
--- vte.SlackBuild 2022-11-26 17:20:43.255166599 +0100
+++ vte.SlackBuild.1 2022-11-26 17:20:34.811188850 +0100
@@ -80,7 +80,7 @@
# Configure, build, and install:
export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS"
+export CXXFLAGS="$SLKCFLAGS -fpermissive"
mkdir meson-build
cd meson-build
meson setup \
Last edited by marav; 11-26-2022 at 10:35 AM .
Reason: typo
11-26-2022, 10:29 AM
#3
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Original Poster
ok, thanks.
11-26-2022, 12:55 PM
#4
Member
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820
Is it smart to activate -fpermissive flag?
11-26-2022, 01:57 PM
#5
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Original Poster
Before that thread some package already have that flag set, look at ddd.SlackBuild.
11-26-2022, 02:11 PM
#6
Member
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820
I get it. But, again, is it really smart to have that flag since it is just a workaround an underlying problem in a code that is badly written.
Last edited by Bindestreck; 11-26-2022 at 02:59 PM .
11-27-2022, 02:37 AM
#7
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Original Poster
11-28-2022, 08:53 PM
#8
Member
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 448
All times are GMT -5. The time now is 10:49 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News