Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924292 - sci-geosciences/mapserver-8.0.1 - /.../mapwcs.cpp: error: invalid conversion from const xmlError {aka const _xmlError } to xmlErrorPtr {aka _xmlError
Summary: sci-geosciences/mapserver-8.0.1 - /.../mapwcs.cpp: error: invalid conversion ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
Keywords: PATCH
Depends on:
Blocks: libxml2-2.12
  Show dependency tree
Reported: 2024-02-11 11:21 UTC by Toralf Förster
Modified: 2024-05-09 14:02 UTC (History)
1 user (show)

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

emerge-info.txt (emerge-info.txt,19.34 KB, text/plain)
2024-02-11 11:21 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,134.69 KB, text/plain)
2024-02-11 11:21 UTC, Toralf Förster
environment (environment,167.76 KB, text/plain)
2024-02-11 11:21 UTC, Toralf Förster
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2024-02-11 11:21 UTC, Toralf Förster
etc.portage.tar.xz (etc.portage.tar.xz,21.88 KB, application/x-xz)
2024-02-11 11:21 UTC, Toralf Förster
qlist-info.txt (qlist-info.txt,197.98 KB, text/plain)
2024-02-11 11:21 UTC, Toralf Förster
sci-geosciences:mapserver-8.0.1:20240210-232413.log (sci-geosciences:mapserver-8.0.1:20240210-232413.log,142.20 KB, text/plain)
2024-02-11 11:21 UTC, Toralf Förster
temp.tar.xz (temp.tar.xz,45.86 KB, application/x-xz)
2024-02-11 11:22 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-02-11 11:21:50 UTC
too long lines were shrinked:

/usr/bin/x86_64-pc-linux-gnu-g++ -DMAPSERVER_CONFIG_FILE=\"/etc/mapserver.conf\" -DPROJ_VERSION_MAJOR=9 -Dmapserver_EXPORTS -I/var/tmp/portage/sci-geosciences/mapserver-8.0.1/work/mapserver-8.0.1_build -I/var/tmp/portage/sci-geosciences/mapserver-8.0.1/work/mapserver-8.0.1/renderers/agg/include -I/v
In file included from /var/tmp/portage/sci-geosciences/mapserver-8.0.1/work/mapserver-8.0.1/mapwcs.cpp:30:
/var/tmp/portage/sci-geosciences/mapserver-8.0.1/work/mapserver-8.0.1/mapserver.h:1872:11: warning: identifier requires is a keyword in C++20 [-Wc++20-compat]
 1872 |     char *requires; ///< Context expressions, simple enough to not use expressionObj - see :ref:`REQUIRES <mapfile-layer-requires>`
      |           ^~~~~~~~
/var/tmp/portage/sci-geosciences/mapserver-8.0.1/work/mapserver-8.0.1/mapwcs.cpp: In function int msWCSParseRequest(cgiRequestObj*, wcsParamsObj*, mapObj*):
/var/tmp/portage/sci-geosciences/mapserver-8.0.1/work/mapserver-8.0.1/mapwcs.cpp:365:42: error: invalid conversion from const xmlError* {aka const _xmlError*} to xmlErrorPtr {aka _xmlError*} [-fpermissive]
  365 |       xmlErrorPtr error = xmlGetLastError();
      |                           ~~~~~~~~~~~~~~~^~


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20240209-013503


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
Python 3.11.8
Available Rust versions:
  [1]   rust-bin-1.75.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 

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 913d05299a0b91d461592f5fc5182fcf7816176e
Author: Repository mirror & CI <>
Date:   Sat Feb 10 22:48:28 2024 +0000

    2024-02-10 22:48:27 UTC

emerge -qpvO sci-geosciences/mapserver
[ebuild  N    ] sci-geosciences/mapserver-8.0.1  USE="mysql oracle perl python -apache -bidi -cairo -geos -postgis" PYTHON_TARGETS="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2024-02-11 11:21:51 UTC
Created attachment 884725 [details]
Comment 2 Toralf Förster gentoo-dev 2024-02-11 11:21:53 UTC
Created attachment 884726 [details]
Comment 3 Toralf Förster gentoo-dev 2024-02-11 11:21:54 UTC
Created attachment 884727 [details]
Comment 4 Toralf Förster gentoo-dev 2024-02-11 11:21:55 UTC
Created attachment 884728 [details]
Comment 5 Toralf Förster gentoo-dev 2024-02-11 11:21:56 UTC
Created attachment 884729 [details]
Comment 6 Toralf Förster gentoo-dev 2024-02-11 11:21:57 UTC
Created attachment 884730 [details]
Comment 7 Toralf Förster gentoo-dev 2024-02-11 11:21:59 UTC
Created attachment 884731 [details]
Comment 8 Toralf Förster gentoo-dev 2024-02-11 11:22:00 UTC
Created attachment 884732 [details]
Comment 9 Thomas Bettler 2024-05-09 13:40:25 UTC
see patch at