bugXlog - Bugs: bug #57920, Build fails with modern gtk2

 
 

bug #57920: Build fails with modern gtk2

Submitter:  Greg Troxel <gdt>
Submitted:  Fri 28 Feb 2020 02:34:12 PM UTC
   
 
Category:  General Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  andystewart
Open/Closed:  Closed Release:  2.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 04 Feb 2021 04:11:04 AM UTC, comment #2: 

Hi Greg,

This was fixed in released version 2.0.20.

73,

Andy

Andy Stewart <andystewart>
Group administrator
Fri 28 Feb 2020 06:26:01 PM UTC, comment #1: 

I think that it may be that gtk2+ 2.24.0 is using types deprecated by glib2.

So this bug could perhaps be retitled "xlog requires gtk2+ and doesn't build with gtk3+".

Greg Troxel <gdt>
Fri 28 Feb 2020 02:34:12 PM UTC, original submission:  

With 2.0.17, which is the latest release, building against gtk2 2.24.32 fails with

```
/tmp/work/ham/xlog/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:1: error: 'GTypeDebugFlags' is deprecated [-Werror=deprecated-declarations]
 void            gtk_type_init   (GTypeDebugFlags    debug_flags);
 ^
/tmp/work/ham/xlog/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: error: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Werror=deprecated-declarations]
   GTimeVal last_popdown;
   ^
```

Host is NetBSD 8, amd64, with dependencies from pkgsrc.

I see there is a beta, but pkgsrc has a strong notion of packaging formal releases.  So perhaps if this is fixed in 2.0.18beta, then a real 2.0.18 release might fix this.

(I realize there is a flag for not erroring on deprecated declarations and I could change the pkgsrc control files to add a  -Wno-deprecated-declarations, but that doesn't mean there isn't a bug in 2.0.17.)

Greg Troxel <gdt>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by andystewart (Posted a comment)
  • -email is unavailable- added by gdt (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-02-04 andystewart StatusNone Fixed
        Assigned toNone andystewart
        Open/ClosedOpen Closed
        ReleaseNone 2.0

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code