Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703412 - net-libs/xrootd-4.8.3: gcc-9 compilation failure due to -Werror
Summary: net-libs/xrootd-4.8.3: gcc-9 compilation failure due to -Werror
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-20 12:13 UTC by Marek Szuba
Modified: 2019-12-29 23:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba archtester gentoo-dev 2019-12-20 12:13:12 UTC
net-libs/xrootd-4.8.3 is keyworded stable on amd64. When emerged using gcc-9.2.0 (also keyworded stable on amd64), the compiler emits some deprecation warnings - which cause a build failure due to the use of -Werror. Manually removing said flag from CMake configuration predictably makes the problem go away.
Comment 1 Larry the Git Cow gentoo-dev 2019-12-29 23:18:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77ec8e9ee23def7148efe1cc1c7c49c3f9b895b3

commit 77ec8e9ee23def7148efe1cc1c7c49c3f9b895b3
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2019-12-29 23:17:24 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2019-12-29 23:17:47 +0000

    net-libs/xrootd: do not set -Werror in normal builds
    
    Backported to 4.8 and 4.9 from 4.10. Should allow these versions to
    build under gcc-9.
    
    Closes: https://bugs.gentoo.org/703412
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../files/xrootd-4.8.3-Werror_only_Debug.patch     | 22 ++++++++++++++++++++++
 net-libs/xrootd/xrootd-4.8.3.ebuild                |  5 ++++-
 net-libs/xrootd/xrootd-4.9.0.ebuild                |  5 ++++-
 3 files changed, 30 insertions(+), 2 deletions(-)