Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928331 - [guru] net-misc/FORT-validator-1.6.2 fails to compile: relax_ng.c:118:56: error: passing argument 2 of xmlTextReaderSetStructuredErrorHandler from incompatible pointer type [-Wincompatible-pointer-types]
Summary: [guru] net-misc/FORT-validator-1.6.2 fails to compile: relax_ng.c:118:56: err...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alarig Le Lay
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-31 21:06 UTC by Agostino Sarubbo
Modified: 2024-06-06 10:27 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,85.13 KB, text/plain)
2024-03-31 21:06 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,29.64 KB, text/plain)
2024-03-31 21:06 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-03-31 21:06:03 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-misc/FORT-validator-1.5.4 fails to compile.
Discovered on: amd64 (internal ref: guru_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-31 21:06:04 UTC
Created attachment 889162 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-31 21:06:05 UTC
Created attachment 889163 [details]
1-config.log

1-config.log
Comment 3 Agostino Sarubbo gentoo-dev 2024-05-30 10:20:58 UTC
guru_ci has reproduced this issue with version 1.6.1 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2024-06-01 10:22:31 UTC
guru_ci has reproduced this issue with version 1.6.2 - Updating summary.
Comment 5 Lucio Sauer 2024-06-02 23:54:27 UTC
Proposed a fix at: https://github.com/NICMx/FORT-validator/pull/137
Comment 6 Larry the Git Cow gentoo-dev 2024-06-04 12:26:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5d0270aaf228fe067d2226de9888908bb23e6a09

commit 5d0270aaf228fe067d2226de9888908bb23e6a09
Author:     Lucio Sauer <watermanpaint@posteo.net>
AuthorDate: 2024-06-03 00:31:46 +0000
Commit:     Lucio Sauer <watermanpaint@posteo.net>
CommitDate: 2024-06-03 01:18:01 +0000

    net-misc/FORT-validator: declare read-only parameter's type as const
    
    Fixes build failure due to -Wincompatible-pointer-types
    
    Closes: https://bugs.gentoo.org/928331
    Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>

 ...1.5.4.ebuild => FORT-validator-1.5.4-r1.ebuild} |  4 +++-
 ...1.6.1.ebuild => FORT-validator-1.6.1-r1.ebuild} |  4 +++-
 ...1.6.2.ebuild => FORT-validator-1.6.2-r1.ebuild} |  4 +++-
 .../files/FORT-validator-1.5.4-GCC14.patch         | 28 ++++++++++++++++++++++
 4 files changed, 37 insertions(+), 3 deletions(-)
Comment 7 Larry the Git Cow gentoo-dev 2024-06-06 10:27:43 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e9bffaf0c73a064861831d8081da3047f9b2862

commit 0e9bffaf0c73a064861831d8081da3047f9b2862
Author:     Lucio Sauer <watermanpaint@posteo.net>
AuthorDate: 2024-06-05 13:06:18 +0000
Commit:     Lucio Sauer <watermanpaint@posteo.net>
CommitDate: 2024-06-05 13:19:29 +0000

    net-misc/FORT-validator: restore compat with older libxml2 versions
    
    5d0270aaf228fe067d2226de9888908bb23e6a09 broke compatibility with
    <dev-libs/libxml2-2.12.0 due to API changes.
    Backport commits that fix previous patch.
    
    Bug: https://bugs.gentoo.org/928331
    Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>

 ....4-r1.ebuild => FORT-validator-1.5.4-r2.ebuild} |  2 +-
 ....1-r1.ebuild => FORT-validator-1.6.1-r2.ebuild} |  2 +-
 ....2-r1.ebuild => FORT-validator-1.6.2-r2.ebuild} |  2 +-
 .../files/FORT-validator-1.5.4-GCC14.patch         | 28 -------------------
 .../FORT-validator-1.5.4-libxml2-2.12.0.patch      | 31 ++++++++++++++++++++++
 5 files changed, 34 insertions(+), 31 deletions(-)