! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Terminal build error
Status:
RESOLVED: INVALID
Product:
Xfce4-terminal
Component:
General

Comments

Description Masato Hashimoto 2009-01-15 14:56:53 CET
To build terminal (trunk) is failed due to following errors.

Error messages:

cc1: warnings being treated as errors
terminal-widget.c: In function 'terminal_widget_update_highlight_urls':
terminal-widget.c:712: error: 'vte_terminal_match_add' is deprecated (declared at /usr/include/vte/vte.h:381)
terminal-widget.c:721: error: 'vte_terminal_match_add' is deprecated (declared at /usr/include/vte/vte.h:381)
terminal-widget.c:730: error: 'vte_terminal_match_add' is deprecated (declared at /usr/include/vte/vte.h:381)
make[3]: *** [Terminal-terminal-widget.o] Error 1
make[3]: Leaving directory `/media/sda1/svn/xfce/xfce/terminal/terminal'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/media/sda1/svn/xfce/xfce/terminal/terminal'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/sda1/svn/xfce/xfce/terminal'
make: *** [all] Error 2

All logs of autogen.sh and make attached.

Build date & Platform:
 Build 2009-01-15 on Arch Linux (vte 0.17.4)
Comment 1 Masato Hashimoto 2009-01-15 14:58:09 CET
Created attachment 2081 
All logs of autogen.sh and make
Comment 2 Robby Workman editbugs 2009-01-16 05:44:15 CET
With vte-0.19.x, you'll get similar warnings=errors due to use of deprecated vte_terminal_set_font_from_string_full usage in terminal/terminal-screen.c

I'm trying to go through and manually fix them up (no ifdefs, so whatever I do won't be useful to create a patch) and see if there are any more; I also got the same one you referenced.
Comment 3 Nick Schermer editbugs 2009-01-16 06:28:54 CET
Not a build error. It's deprecated (but perfectly working) api since 0.17 and since the terminal supports vte from 0.11 it perfectly fine there.

You just shouldn't build your packages with -Werror. If anything breaks at that point it's up to you, esp if you use unstable releases of packages.
Comment 4 Brian J. Tarricone (not reading bugmail) 2009-01-16 09:41:07 CET
Can also add -Wno-deprecated to your CPPFLAGS to suppress the warning and thus make the build succeed with -Werror if you care to build it that way.
Comment 5 Robby Workman editbugs 2009-01-16 16:37:17 CET
I cheated and disabled debug build entirely for Terminal :-)

Bug #4809

Reported by:
Masato Hashimoto
Reported on: 2009-01-15
Last modified on: 2009-12-17

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Version:
unspecified

Attachments

All logs of autogen.sh and make (26.13 KB, text/plain)
2009-01-15 14:58 CET , Masato Hashimoto
no flags

Additional information