Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923288 - net-im/swift-4.0.3-r2 - Swiften/.../LibXMLParser.cpp: error: invalid conversion from const xmlError {aka const _xmlError } to xmlError {aka _xmlError
Summary: net-im/swift-4.0.3-r2 - Swiften/.../LibXMLParser.cpp: error: invalid conversi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libxml2-2.12
  Show dependency tree
 
Reported: 2024-01-29 18:27 UTC by Toralf Förster
Modified: 2024-03-16 20:50 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,21.50 KB, text/plain)
2024-01-29 18:27 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,61.66 KB, application/x-xz)
2024-01-29 18:27 UTC, Toralf Förster
Details
environment (environment,117.58 KB, text/plain)
2024-01-29 18:27 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-01-29 18:27 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,29.67 KB, application/x-xz)
2024-01-29 18:27 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,3.62 KB, application/x-xz)
2024-01-29 18:27 UTC, Toralf Förster
Details
net-im:swift-4.0.3-r1:20240129-013630.log.xz (net-im:swift-4.0.3-r1:20240129-013630.log.xz,9.66 KB, application/x-xz)
2024-01-29 18:27 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,68.70 KB, application/x-xz)
2024-01-29 18:27 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-01-29 18:27:31 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-g++ -o Swiften/Parser/XMLParserFactory.os -c -O2 -pipe -march=native -fno-diagnostics-color -std=c++11 -Wextra -Wall -Wnon-virtual-dtor -Wundef -Wold-style-cast -Wno-long-long -Woverloaded-virtual -Wfloat-equal -Wredundant-decls -Wno-unknown-pragmas -O2 -pipe -march=native -fno-d
x86_64-pc-linux-gnu-g++ -o Swiften/Parser/XMPPParser.os -c -O2 -pipe -march=native -fno-diagnostics-color -std=c++11 -Wextra -Wall -Wnon-virtual-dtor -Wundef -Wold-style-cast -Wno-long-long -Woverloaded-virtual -Wfloat-equal -Wredundant-decls -Wno-unknown-pragmas -O2 -pipe -march=native -fno-diagnos
x86_64-pc-linux-gnu-g++ -o Swiften/Parser/XMPPParserClient.os -c -O2 -pipe -march=native -fno-diagnostics-color -std=c++11 -Wextra -Wall -Wnon-virtual-dtor -Wundef -Wold-style-cast -Wno-long-long -Woverloaded-virtual -Wfloat-equal -Wredundant-decls -Wno-unknown-pragmas -O2 -pipe -march=native -fno-d
x86_64-pc-linux-gnu-g++ -o Swiften/Parser/LibXMLParser.os -c -O2 -pipe -march=native -fno-diagnostics-color -std=c++11 -Wextra -Wall -Wnon-virtual-dtor -Wundef -Wold-style-cast -Wno-long-long -Woverloaded-virtual -Wfloat-equal -Wredundant-decls -Wno-unknown-pragmas -O2 -pipe -march=native -fno-diagn
x86_64-pc-linux-gnu-g++ -o Swiften/JID/JID.os -c -O2 -pipe -march=native -fno-diagnostics-color -std=c++11 -Wextra -Wall -Wnon-virtual-dtor -Wundef -Wold-style-cast -Wno-long-long -Woverloaded-virtual -Wfloat-equal -Wredundant-decls -Wno-unknown-pragmas -O2 -pipe -march=native -fno-diagnostics-color
Swiften/Parser/LibXMLParser.cpp: In member function 'virtual bool Swift::LibXMLParser::parse(const std::string&)':
Swiften/Parser/LibXMLParser.cpp:100:42: error: invalid conversion from 'const xmlError*' {aka 'const _xmlError*'} to 'xmlError*' {aka '_xmlError*'} [-fpermissive]
  100 |     xmlError* error = xmlCtxtGetLastError(p->context_);
      |                       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20240124-163035

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.6 linux/amd64

  HEAD of ::gentoo
commit 60479da96b44f3b2d477db2e9c4371aa0c06fb6d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jan 28 23:48:15 2024 +0000

    2024-01-28 23:48:15 UTC

emerge -qpvO net-im/swift
[ebuild  N    ] net-im/swift-4.0.3-r1  USE="icu idn -expat -lua -test -zeroconf" LUA_SINGLE_TARGET="lua5-1 -luajit"
Comment 1 Toralf Förster gentoo-dev 2024-01-29 18:27:32 UTC
Created attachment 883616 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-29 18:27:33 UTC
Created attachment 883617 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-01-29 18:27:35 UTC
Created attachment 883618 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-01-29 18:27:36 UTC
Created attachment 883619 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-01-29 18:27:37 UTC
Created attachment 883620 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-29 18:27:37 UTC
Created attachment 883621 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-29 18:27:38 UTC
Created attachment 883622 [details]
net-im:swift-4.0.3-r1:20240129-013630.log.xz
Comment 8 Toralf Förster gentoo-dev 2024-01-29 18:27:40 UTC
Created attachment 883623 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-01-29 18:27:40 UTC
The file size of ./files/temp.tar.xz is too big (7.7M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/17.1_desktop_gnome-20240124-163035/var/tmp/tb/issues/20240129-014309-net-im_swift-4.0.3-r1/files/temp.tar.xz is valid.
Comment 10 Agostino Sarubbo gentoo-dev 2024-03-10 07:33:41 UTC
ci has reproduced this issue with version 4.0.3-r2 - Updating summary.
Comment 11 Larry the Git Cow gentoo-dev 2024-03-16 20:50:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ae8f0c2bc5a33b534d1f73cbf09f32940d02057

commit 6ae8f0c2bc5a33b534d1f73cbf09f32940d02057
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2024-03-16 20:49:27 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2024-03-16 20:49:27 +0000

    net-im/swift: fix compilation with libxml2-2.12
    
    Closes: https://bugs.gentoo.org/923288
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 .../swift/files/swift-4.0.3-libxml2-2.12-compatibility.patch  | 11 +++++++++++
 net-im/swift/swift-4.0.3-r2.ebuild                            |  1 +
 2 files changed, 12 insertions(+)