LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-26-2022, 09:55 AM   #1
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
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.
 
Old 11-26-2022, 10:21 AM   #2
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,376

Rep: Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088
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
 
Old 11-26-2022, 10:29 AM   #3
nobodino
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
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
ok, thanks.
 
Old 11-26-2022, 12:55 PM   #4
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
Is it smart to activate -fpermissive flag?
 
Old 11-26-2022, 01:57 PM   #5
nobodino
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
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
Before that thread some package already have that flag set, look at ddd.SlackBuild.
 
Old 11-26-2022, 02:11 PM   #6
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
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.
 
Old 11-27-2022, 02:37 AM   #7
nobodino
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
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
solved with this: https://www.linuxquestions.org/quest...4/#post6394638
 
Old 11-28-2022, 08:53 PM   #8
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 448

Rep: Reputation: 232Reputation: 232Reputation: 232
Please refer to https://www.linuxquestions.org/quest...1/#post6395038
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] slackware-14.2 -> last slackware-current upgrade python VTE issue suprateam Slackware 10 05-27-2017 08:21 AM
VTE detection error _ AsiF Linux - Software 2 03-07-2008 08:04 PM
Unable to compile vte-0.11.10 powerloony Linux - Software 2 01-25-2005 04:56 AM
Trouble compiling vte-0.11.10 emu_123 Linux - Software 1 12-07-2003 12:41 AM
vte-0.11.10-1.i386.rpm conflicts its older version and gnome-terminal sybatter Linux - Software 0 12-06-2003 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration