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 ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: libxml2-2.12
  Show dependency tree
 
Reported: 2024-02-11 11:21 UTC by Toralf Förster
Modified: 2024-07-30 21:13 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.34 KB, text/plain)
2024-02-11 11:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,134.69 KB, text/plain)
2024-02-11 11:21 UTC, Toralf Förster
Details
environment (environment,167.76 KB, text/plain)
2024-02-11 11:21 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2024-02-11 11:21 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,21.88 KB, application/x-xz)
2024-02-11 11:21 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,197.98 KB, text/plain)
2024-02-11 11:21 UTC, Toralf Förster
Details
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
Details
temp.tar.xz (temp.tar.xz,45.86 KB, application/x-xz)
2024-02-11 11:22 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-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
Comment 10 Larry the Git Cow gentoo-dev 2024-07-30 21:13:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0343e050e71f1abb84c923c5566914741f02b100

commit 0343e050e71f1abb84c923c5566914741f02b100
Author:     Marco Genasci <fedeliallalinea@gmail.com>
AuthorDate: 2024-06-25 07:44:47 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2024-07-30 21:11:52 +0000

    sci-geosciences/mapserver: bump version to 8.0.2
    
    - fix compilation errors with libxml2 2.12
    - add java mapscript support
    - update python target to 3.12 / remove egg-info
    - update to EAPI 8
    
    Closes: https://bugs.gentoo.org/924292
    Closes: https://bugs.gentoo.org/929767
    Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/37288
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 sci-geosciences/mapserver/Manifest               |   1 +
 sci-geosciences/mapserver/mapserver-8.0.2.ebuild | 227 +++++++++++++++++++++++
 2 files changed, 228 insertions(+)