Summary: | dev-db/pgmodeler-0.9.4 with dev-libs/libxml2-2.12.0: src/xmlparser.cpp:182:42: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlError*’ {aka ‘_xmlError*’} [-fpermissive] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aurelien Minet <amlabs> |
Component: | Current packages | Assignee: | PgSQL Bugs <pgsql-bugs> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | amlabs, asturm, jaak, louis.frayser, sam |
Priority: | Normal | Keywords: | PATCH, UPSTREAM |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 917537 | ||
Attachments: |
ebuild for current stable 1.0.6
pacth for pgmodeler 1.0.6 to build against libxml2-2.12.4 pgmodeler-1.1.0.ebuild |
Description
Aurelien Minet
2024-02-03 18:03:49 UTC
Created attachment 884155 [details]
ebuild for current stable 1.0.6
must be patched to build (patch in the next attachment)
Created attachment 884156 [details, diff] pacth for pgmodeler 1.0.6 to build against libxml2-2.12.4 correspond to https://github.com/pgmodeler/pgmodeler/commit/fb64e2fbf4e62a96031e46774937f97c170f0cd6 Created attachment 886770 [details] pgmodeler-1.1.0.ebuild I've patched pgmodeler-x.x.x/libs/libparsers/src/xmlparser.cpp for 1.0.5, 1.0.6 in the past. Today, I got curious and went to pgmodeler.io, then to github where I found this commit: Commit Minor fix in XmlParser::readBuffer to use a const xmlError * instance instead of non-const develop v1.1.0 v1.1.0-beta1 @rkhaotix rkhaotix committed on Nov 21, 2023 Gentoo seems to be shipping pgmodeler-0.9.4 as it's latest version. This issue is already resolved upstream in the advertised production version 1.1.0. I've attached an ebuild for 1.1.0. Here's a diff: build pgmodeler-1.1.0.ebuild 6c6 < POSTGRES_COMPAT=( 10 11 12 13 14 ) --- > POSTGRES_COMPAT=( 15 16) 23,27c23,24 < dev-qt/qtcore:5 < dev-qt/qtnetwork:5 < dev-qt/qtprintsupport:5 < dev-qt/qtsvg:5 < dev-qt/qtwidgets:5 --- > dev-qt/qtbase:6 > dev-qt/qtsvg:6 36c33 < eqmake5 \ --- > eqmake6 \ 47c44 < eqmake5 tests.pro --- > eqmake6 tests.pro I also want to CONFIRM this issue. |