Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60486 - [libldm] fails to build

Attached to Project: Community Packages
Opened by Erich Eckner (deepthought) - Friday, 19 October 2018, 08:51 GMT
Last edited by Maxime Gauduin (Alucryd) - Saturday, 17 November 2018, 15:21 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

extra-x86_64-build fails with:

ldm.c:303:5: error: ‘g_type_class_add_private’ is deprecated [-Werror=deprecated
-declarations]
... (and similar) ...
cc1: all warnings being treated as errors

Additional info:
* package version(s)
libldm 0.2.4-1 (git revision 54b627123f390f715315d2d3a0051a768bcc6a1a)
* config and/or log files etc.
full log is attached

Steps to reproduce:
> git checkout 54b627123f390f715315d2d3a0051a768bcc6a1a
> cd libldm/repos/community-x86_64
> extra-x86_64-build
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Saturday, 17 November 2018, 15:21 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.2.4-2
Comment by loqs (loqs) - Saturday, 20 October 2018, 13:01 GMT
https://github.com/mdbooth/libldm/blob/e448ffc4dd43056f529752c4466372e9b7a7543b/src/Makefile.am#L17
https://gitlab.gnome.org/GNOME/glib/commit/7e5db31d36532274c2b2428ef9bace796928785e

override AM_CFLAGS or sed/patch out -Werror as a work around
make AM_CFLAGS="-Wall -Wshadow -Wextra -Wno-unused-local-typedefs -Wno-unused-parameter"

Please report the issue upstream.

Loading...