Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 924292

Summary: sci-geosciences/mapserver-8.0.1 - /.../mapwcs.cpp: error: invalid conversion from const xmlError {aka const _xmlError } to xmlErrorPtr {aka _xmlError
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sci-geo Project <sci-geosciences>
Status: CONFIRMED ---    
Severity: normal CC: thomas.bettler
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/MapServer/MapServer/pull/6971
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 917537    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt
sci-geosciences:mapserver-8.0.1:20240210-232413.log
temp.tar.xz

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
/usr/lib/llvm/17
17.0.6
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 17.0.8.1_p1 [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 <repomirrorci@gentoo.org>
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]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-02-11 11:21:53 UTC
Created attachment 884726 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-02-11 11:21:54 UTC
Created attachment 884727 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-02-11 11:21:55 UTC
Created attachment 884728 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-02-11 11:21:56 UTC
Created attachment 884729 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-02-11 11:21:57 UTC
Created attachment 884730 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2024-02-11 11:21:59 UTC
Created attachment 884731 [details]
sci-geosciences:mapserver-8.0.1:20240210-232413.log
Comment 8 Toralf Förster gentoo-dev 2024-02-11 11:22:00 UTC
Created attachment 884732 [details]
temp.tar.xz
Comment 9 Thomas Bettler 2024-05-09 13:40:25 UTC
see patch at https://github.com/MapServer/MapServer/pull/6971/files