Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948810 - sci-libs/gdal-3.9.1-r1 - [ffmpeg] osr_wrap.cpp: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Summary: sci-libs/gdal-3.9.1-r1 - [ffmpeg] osr_wrap.cpp: error: dereferencing type-pun...
Status: CONFIRMED
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:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2025-01-25 09:36 UTC by Toralf Förster
Modified: 2025-01-25 09:36 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.88 KB, text/plain)
2025-01-25 09:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,75.52 KB, text/plain)
2025-01-25 09:36 UTC, Toralf Förster
Details
environment (environment,186.00 KB, text/plain)
2025-01-25 09:36 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-01-25 09:36 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.39 KB, application/x-xz)
2025-01-25 09:36 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,146.48 KB, application/x-xz)
2025-01-25 09:36 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,192.07 KB, text/plain)
2025-01-25 09:36 UTC, Toralf Förster
Details
sci-libs:gdal-3.9.1-r1:20250125-071256.log.xz (sci-libs:gdal-3.9.1-r1:20250125-071256.log.xz,75.22 KB, application/x-xz)
2025-01-25 09:36 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,39.22 KB, application/x-xz)
2025-01-25 09:36 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 2025-01-25 09:36:33 UTC
too long lines were shrinked:

[1149/1181] /usr/bin/x86_64-pc-linux-gnu-gcc -DDONT_DEPRECATE_SPRINTF -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -Dgdalalljni_EXPORTS -I/var/tmp/portage/sci-libs/gdal-3.9.1-r1/work/gdal-3.9.1/apps -I/var/tmp/portage/sci-libs/gdal-3.9.1-r1/wo
[1150/1181] : && /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -fvisibility=hidden -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismat
[1151/1181] /usr/bin/x86_64-pc-linux-gnu-g++ -DDONT_DEPRECATE_SPRINTF -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -Dgdalalljni_EXPORTS -I/var/tmp/portage/sci-libs/gdal-3.9.1-r1/work/gdal-3.9.1/apps -I/var/tmp/portage/sci-libs/gdal-3.9.1-r1/wo
FAILED: swig/java/CMakeFiles/gdalalljni.dir/org/gdal/osr/osr_wrap.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DDONT_DEPRECATE_SPRINTF -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -Dgdalalljni_EXPORTS -I/var/tmp/portage/sci-libs/gdal-3.9.1-r1/work/gdal-3.9.1/apps -I/var/tmp/portage/sci-libs/gdal-3.9.1-r1/work/gdal-3.9.
/var/tmp/portage/sci-libs/gdal-3.9.1-r1/work/gdal-3.9.1_build/swig/java/org/gdal/osr/osr_wrap.cpp: In function jdouble Java_org_gdal_osr_osrJNI_AreaOfUse_1west_1lon_1degree_1get(JNIEnv*, jclass, jlong, jobject):
/var/tmp/portage/sci-libs/gdal-3.9.1-r1/work/gdal-3.9.1_build/swig/java/org/gdal/osr/osr_wrap.cpp:2055:11: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
 2055 |   arg1 = *(OSRAreaOfUse **)&jarg1;
      |           ^~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-20250123-060502

  UNMASKED:

    Requested by sam
  #~media-video/ffmpeg-7.0.2
  =media-video/ffmpeg-7*

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

GENTOO_VM=openjdk-bin-21  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-21.0.5_p11"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.7
llvm-config: 19.1.7
Python 3.12.8
go version go1.23.5 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems)
  [3]   ruby34 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1
  [2]   rust-bin-1.84.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 5cae70465a4069bc990f0935c840947ae3423ff0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jan 25 06:33:54 2025 +0000

    2025-01-25 06:33:53 UTC

emerge -qpvO =sci-libs/gdal-3.9.1-r1
[ebuild  N    ] sci-libs/gdal-3.9.1-r1  USE="curl java jpeg lzma pdf png -armadillo (-doc) -fits -geos -gif -gml -hdf5 -heif -jpeg2k -lerc -mysql -netcdf -odbc -ogdi -opencl -oracle -parquet -postgres -python -spatialite -sqlite -test -webp -xls -zstd" CPU_FLAGS_X86="avx avx2 sse sse2 sse4_1 ssse3" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2025-01-25 09:36:34 UTC
Created attachment 917448 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-01-25 09:36:35 UTC
Created attachment 917449 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-01-25 09:36:37 UTC
Created attachment 917450 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-01-25 09:36:37 UTC
Created attachment 917451 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-01-25 09:36:38 UTC
Created attachment 917452 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-01-25 09:36:40 UTC
Created attachment 917453 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-01-25 09:36:41 UTC
Created attachment 917454 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2025-01-25 09:36:42 UTC
Created attachment 917455 [details]
sci-libs:gdal-3.9.1-r1:20250125-071256.log.xz
Comment 9 Toralf Förster gentoo-dev 2025-01-25 09:36:43 UTC
Created attachment 917456 [details]
temp.tar.xz