Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910531 - sci-libs/gdal-3.7.0 fails to compile: JPEG12_band.cpp:(.text+0x253): undefined reference to GDAL_MRF::CHUNK_NAME_SIZE
Summary: sci-libs/gdal-3.7.0 fails to compile: JPEG12_band.cpp:(.text+0x253): undefine...
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:
Depends on:
Blocks:
 
Reported: 2023-07-19 06:45 UTC by Agostino Sarubbo
Modified: 2023-11-18 04:00 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,56.15 KB, application/x-xz)
2023-07-19 06:45 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-07-19 06:45:57 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/gdal-3.7.0 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-07-19 06:45:59 UTC
Created attachment 865776 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2023-07-19 06:46:00 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find Armadillo (missing: ARMADILLO_INCLUDE_DIR) 
-- Could NOT find Arrow (missing: Arrow_DIR)
-- Could NOT find basisu (missing: basisu_DIR)
-- Could NOT find Blosc (missing: BLOSC_LIBRARY BLOSC_INCLUDE_DIR) 
-- Could NOT find BRUNSLI (missing: BRUNSLI_ENC_LIB BRUNSLI_DEC_LIB BRUNSLI_INCLUDE_DIR) 
-- Could NOT find CryptoPP (missing: CRYPTOPP_LIBRARY CRYPTOPP_TEST_KNOWNBUG CRYPTOPP_INCLUDE_DIR) 
-- Could NOT find CSharp (missing: CSHARP_TYPE CSHARP_VERSION CSHARP_COMPILER) 
-- Could NOT find Deflate (missing: Deflate_LIBRARY Deflate_INCLUDE_DIR) 
-- Could NOT find ECW (missing: ECW_LIBRARY ECWnet_LIBRARY ECWC_LIBRARY NCSUtil_LIBRARY ECW_INCLUDE_DIR) 
-- Could NOT find FileGDB (missing: FileGDB_LIBRARY FileGDB_INCLUDE_DIR) 
-- Could NOT find FreeXL (missing: FREEXL_LIBRARY FREEXL_INCLUDE_DIR) 
-- Could NOT find FYBA (missing: FYBA_FYBA_LIBRARY FYBA_FYGM_LIBRARY FYBA_FYUT_LIBRARY FYBA_INCLUDE_DIR) 
-- Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR) 
-- Could NOT find HDF4 (missing: HDF4_df_LIBRARY HDF4_mfhdf_LIBRARY HDF4_INCLUDE_DIR) 
-- Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS C CXX) (found version "")
-- Could NOT find HDFS (missing: HDFS_LIBRARY HDFS_INCLUDE_DIR) 
-- Could NOT find IDB (missing: IDB_INCLUDE_DIR IDB_IFCPP_LIBRARY IDB_IFDMI_LIBRARY IDB_IFSQL_LIBRARY IDB_IFCLI_LIBRARY) 
-- Could NOT find Java (missing: Java_JAVA_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAR_EXECUTABLE Java_JAVADOC_EXECUTABLE Java_JAVAH_EXECUTABLE Runtime Development) 
-- Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 AWT JVM) 
-- Could NOT find KDU (missing: KDU_INCLUDE_DIR KDU_LIBRARY KDU_AUX_LIBRARY) (found version "")
-- Could NOT find LERC (missing: LERC_LIBRARY LERC_INCLUDE_DIR) 
-- Could NOT find LibKML (missing: LIBKML_BASE_LIBRARY LIBKML_INCLUDE_DIR LIBKML_DOM_LIBRARY LIBKML_ENGINE_LIBRARY) 
-- Could NOT find libQB3 (missing: libQB3_DIR)
-- Could NOT find LURATECH (missing: LURATECH_LIBRARY LURATECH_INCLUDE_DIR) 
-- Could NOT find LZ4 (missing: LZ4_LIBRARY LZ4_INCLUDE_DIR LZ4_VERSION) 
-- Could NOT find MONGOCXX (missing: MONGOCXX_INCLUDE_DIR BSONCXX_INCLUDE_DIR MONGOCXX_LIBRARY BSONCXX_LIBRARY) 
-- Could NOT find MRSID (missing: MRSID_LIBRARY MRSID_INCLUDE_DIR) 
-- Could NOT find MSSQL_ODBC (missing: MSSQL_ODBC_LIBRARY MSSQL_ODBC_INCLUDE_DIR MSSQL_ODBC_VERSION) 
-- Could NOT find MySQL (missing: MYSQL_LIBRARY MYSQL_INCLUDE_DIR) 
-- Could NOT find NetCDF (missing: NetCDF_DIR)
-- Could NOT find NetCDF (missing: NETCDF_LIBRARY NETCDF_INCLUDE_DIR) 
-- Could NOT find ODBCCPP (missing: ODBCCPP_LIBRARY ODBCCPP_INCLUDE_DIR) 
-- Could NOT find ODBC (missing: ODBC_LIBRARY ODBC_INCLUDE_DIR ODBCINST) 
-- Could NOT find OGDI (missing: OGDI_LIBRARY OGDI_INCLUDE_DIRS) 
-- Could NOT find OpenCAD (missing: OPENCAD_LIBRARY OPENCAD_INCLUDE_DIR) 
-- Could NOT find OpenCL (missing: OpenCL_LIBRARY OpenCL_INCLUDE_DIR) 
-- Could NOT find OpenEXR (missing: OpenEXR_LIBRARY OpenEXR_UTIL_LIBRARY OpenEXR_HALF_LIBRARY OpenEXR_IEX_LIBRARY OpenEXR_INCLUDE_DIR Imath_INCLUDE_DIR) 
-- Could NOT find OpenJPEG (missing: OPENJPEG_LIBRARY OPENJPEG_INCLUDE_DIR) 
-- Could NOT find Oracle (missing: Oracle_LIBRARY Oracle_INCLUDE_DIR) 
-- Could NOT find Podofo (missing: PODOFO_LIBRARY PODOFO_INCLUDE_DIR) 
-- Could NOT find Poppler (missing: Poppler_LIBRARY Poppler_INCLUDE_DIR) 
-- Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR) 
-- Could NOT find Python (missing: Python_NumPy_INCLUDE_DIRS NumPy) (found suitable version "3.11.4", minimum required is "3.6")
-- Could NOT find RASTERLITE2 (missing: RASTERLITE2_LIBRARY RASTERLITE2_INCLUDE_DIR) (Required is at least version "1.1.0")
-- Could NOT find rdb (missing: rdb_DIR)
-- Could NOT find SFCGAL (missing: SFCGAL_LIBRARY SFCGAL_INCLUDE_DIR) 
-- Could NOT find Shapelib (missing: Shapelib_INCLUDE_DIR Shapelib_LIBRARY) 
-- Could NOT find SPATIALITE (missing: SPATIALITE_LIBRARY SPATIALITE_INCLUDE_DIR) (Required is at least version "4.1.2")
-- Could NOT find TileDB (missing: TileDB_DIR)
-- Could NOT find ZSTD (missing: ZSTD_DIR)
FAILED: libgdal.so.33.3.7.0 
JPEG12_band.cpp:(.text+0x253): undefined reference to `GDAL_MRF::CHUNK_NAME_SIZE'
JPEG12_band.cpp:(.text+0x430): undefined reference to `jpeg_std_error'
JPEG12_band.cpp:(.text+0xc32): undefined reference to `jpeg_std_error'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0x262): undefined reference to `GDAL_MRF::CHUNK_NAME'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0x476): undefined reference to `jpeg_CreateCompress'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0x4df): undefined reference to `jpeg_set_defaults'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0x4ef): undefined reference to `jpeg_set_quality'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0x653): undefined reference to `GDAL_MRF::CHUNK_NAME'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0x679): undefined reference to `GDAL_MRF::CHUNK_NAME_SIZE'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0x79a): undefined reference to `GDAL_MRF::CHUNK_NAME_SIZE'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0x7a1): undefined reference to `GDAL_MRF::CHUNK_NAME'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0x816): undefined reference to `GDAL_MRF::CHUNK_NAME_SIZE'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0x864): undefined reference to `GDAL_MRF::CHUNK_NAME_SIZE'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0x8a1): undefined reference to `jpeg_destroy_compress'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0x945): undefined reference to `jpeg_start_compress'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0x966): undefined reference to `jpeg_write_marker'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0x97f): undefined reference to `jpeg12_write_scanlines'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0x98c): undefined reference to `jpeg_finish_compress'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0x999): undefined reference to `jpeg_destroy_compress'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0x9ef): undefined reference to `jpeg_destroy_compress'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0xa3d): undefined reference to `jpeg_destroy_compress'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0xb37): undefined reference to `jpeg_set_colorspace'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0xcd6): undefined reference to `jpeg_resync_to_restart'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0xce3): undefined reference to `jpeg_CreateDecompress'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0xd1b): undefined reference to `jpeg_destroy_decompress'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0xd75): undefined reference to `jpeg_set_marker_processor'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0xd87): undefined reference to `jpeg_read_header'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0xd94): undefined reference to `jpeg_has_multiple_scans'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0xecd): undefined reference to `jpeg_start_decompress'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0xf1a): undefined reference to `jpeg12_read_scanlines'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0xf3f): undefined reference to `jpeg_finish_decompress'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: JPEG12_band.cpp:(.text+0xf4c): undefined reference to `jpeg_destroy_decompress'
collect2: error: ld returned 1 exit status
Comment 3 Jernej Simončič 2023-09-27 13:29:22 UTC
Same problem here, USE="jpeg" lets it compile.
Comment 4 Adam Seelye 2023-10-15 14:53:30 UTC
Confirmed same issue here. USE="jpeg" allows successful compile.
Comment 5 Larry the Git Cow gentoo-dev 2023-11-18 04:00:16 UTC
The bug has been closed via the following commit(s):

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

commit f71624847a1fcbb03ea19901e113348e0a0a4b9a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-11-18 03:55:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-11-18 03:55:29 +0000

    sci-libs/gdal: add 3.7.3
    
    Closes: https://bugs.gentoo.org/910531
    Closes: https://bugs.gentoo.org/914176
    Closes: https://bugs.gentoo.org/915880
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/gdal/Manifest          |   2 +
 sci-libs/gdal/gdal-3.7.3.ebuild | 286 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 288 insertions(+)