Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2018 02:03:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 226151] devel/devhelp fails to build cause of fatal warnings
Message-ID:  <bug-226151-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226151

            Bug ID: 226151
           Summary: devel/devhelp fails to build cause of fatal warnings
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: w.schwarzenfeld@utanet.at
             Flags: maintainer-feedback?(gnome@FreeBSD.org)
          Assignee: gnome@FreeBSD.org

devhelp fails with:
mv -f .deps/libdevhelp_3_la-dh-enum-types.Tpo
.deps/libdevhelp_3_la-dh-enum-types.Plo
dh-window.c:983:17: error: 'gtk_show_uri' is deprecated
[-Werror,-Wdeprecated-declarations]
                gtk_show_uri (NULL, uri, GDK_CURRENT_TIME, NULL);
                ^
/usr/local/include/gtk-3.0/gtk/gtkshow.h:33:10: note: 'gtk_show_uri' declar=
ed
here
gboolean gtk_show_uri  (GdkScreen   *screen,
         ^
1 error generated.
gmake[4]: *** [Makefile:842: libdevhelp_3_la-dh-window.lo] Error 1
dh-util.c:131:21: error: 'gdk_screen_get_width' is deprecated
[-Werror,-Wdeprecated-declarations]
        dp =3D hypot (gdk_screen_get_width (screen), gdk_screen_get_height
(screen));
                    ^
/usr/local/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: 'gdk_screen_get_wid=
th'
declared here
gint         gdk_screen_get_width             (GdkScreen   *screen);
             ^
dh-util.c:131:52: error: 'gdk_screen_get_height' is deprecated
[-Werror,-Wdeprecated-declarations]
        dp =3D hypot (gdk_screen_get_width (screen), gdk_screen_get_height
(screen));
                                                   ^
/usr/local/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: 'gdk_screen_get_hei=
ght'
declared here
gint         gdk_screen_get_height            (GdkScreen   *screen);
             ^
dh-util.c:132:21: error: 'gdk_screen_get_width_mm' is deprecated
[-Werror,-Wdeprecated-declarations]
        di =3D hypot (gdk_screen_get_width_mm (screen), gdk_screen_get_heig=
ht_mm
(screen)) / 25.4;
                    ^
/usr/local/include/gtk-3.0/gdk/gdkscreen.h:62:14: note:
'gdk_screen_get_width_mm' declared here
gint         gdk_screen_get_width_mm          (GdkScreen   *screen);
             ^
dh-util.c:132:55: error: 'gdk_screen_get_height_mm' is deprecated
[-Werror,-Wdeprecated-declarations]
        di =3D hypot (gdk_screen_get_width_mm (screen), gdk_screen_get_heig=
ht_mm
(screen)) / 25.4;
                                                      ^
/usr/local/include/gtk-3.0/gdk/gdkscreen.h:64:14: note:
'gdk_screen_get_height_mm' declared here
gint         gdk_screen_get_height_mm         (GdkScreen   *screen);
             ^
dh-util.c:233:29: error: 'gdk_screen_get_width' is deprecated
[-Werror,-Wdeprecated-declarations]
                max_width =3D gdk_screen_get_width (screen);
                            ^
/usr/local/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: 'gdk_screen_get_wid=
th'
declared here
gint         gdk_screen_get_width             (GdkScreen   *screen);
             ^
dh-util.c:234:30: error: 'gdk_screen_get_height' is deprecated
[-Werror,-Wdeprecated-declarations]
                max_height =3D gdk_screen_get_height (screen);
                             ^
/usr/local/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: 'gdk_screen_get_hei=
ght'
declared here
gint         gdk_screen_get_height            (GdkScreen   *screen);
             ^
6 errors generated.



with CFLAGS+=3D-Wno-deprecated-declarations

<unknown>:: Warning: Devhelp: (Signal)open-link: argument flags: Unresolved
type: 'DhOpenLinkFlags'
<unknown>:: Fatal: Devhelp: warnings configured as fatal
<unknown>:: Fatal: Devhelp: warnings configured as fatal


Compiles fine with=20
CONFIGURE_ARGS+=3D        --disable-Werror

configure --help:
--disable-Werror        Unconditionally make all compiler warnings non-fatal
                                                          ^^^^^^^^^^^^^^^^^^

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226151-13>