Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947728 - media-gfx/netgen-6.2.2406 - ld: libnggui.so: undefined reference to jpeg_set_defaults
Summary: media-gfx/netgen-6.2.2406 - ld: libnggui.so: undefined reference to jpeg_set_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL: https://github.com/NGSolve/netgen/pul...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-08 18:35 UTC by Toralf Förster
Modified: 2025-02-09 21:08 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.21 KB, text/plain)
2025-01-08 18:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,157.81 KB, text/plain)
2025-01-08 18:35 UTC, Toralf Förster
Details
environment (environment,154.21 KB, text/plain)
2025-01-08 18:35 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2025-01-08 18:35 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.83 KB, application/x-xz)
2025-01-08 18:35 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,36.40 KB, application/x-xz)
2025-01-08 18:35 UTC, Toralf Förster
Details
media-gfx:netgen-6.2.2406:20250107-214249.log (media-gfx:netgen-6.2.2406:20250107-214249.log,231.53 KB, text/plain)
2025-01-08 18:35 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,50.71 KB, application/x-xz)
2025-01-08 18:35 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,33.03 KB, application/x-xz)
2025-01-08 18:35 UTC, Toralf Förster
Details
patch to fix issue (netgen-6.2.2406-jpeg-link.patch,564 bytes, patch)
2025-02-09 20:54 UTC, Alexey Shvetsov
Details | Diff

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-08 18:35:05 UTC
too long lines were shrinked:

[205/208] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_DLFCN_H -DHAVE_OPENGL_EXT -DHAVE_XLIB -DINTERNAL_TCL_DEFAULT=0 -DJPEGLIB -DOCCGEOMETRY -DOCC_CONVERT_SIGNALS -DOPENGL -DTCL -DTOGL_X11 -DUSE_TCL_STUBS -DUSE_TK_STUBS -DUSE_TOGL_2 -D_GLIBCXX_USE_CXX11_ABI=1 -I/var/tmp/portage/media-gfx/netgen-6.2.2406
[206/208] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_DLFCN_H -DHAVE_OPENGL_EXT -DHAVE_XLIB -DJPEGLIB -DOCCGEOMETRY -DOCC_CONVERT_SIGNALS -DOPENGL -DTCL -DTOGL_X11 -DUSE_TCL_STUBS -DUSE_TK_STUBS -DUSE_TOGL_2 -D_GLIBCXX_USE_CXX11_ABI=1 -Dnggui_EXPORTS -I/var/tmp/portage/media-gfx/netgen-6.2.2406/work/net
[207/208] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O3 -pipe -march=native -fno-diagnostics-color  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0   -Wl,--dependency-file=CMakeFiles/nggui.dir/link.d -shared -Wl,-soname,libnggui.so -o libnggui.so CMakeFi
[208/208] : && /usr/bin/x86_64-pc-linux-gnu-g++ -O3 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0     -Wl,--dependency-file=ng/CMakeFiles/netgen.dir/link.d ng/CMakeFiles/netgen.dir/ngappinit.cpp.o -o ng/netgen  
FAILED: ng/netgen 
: && /usr/bin/x86_64-pc-linux-gnu-g++ -O3 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0     -Wl,--dependency-file=ng/CMakeFiles/netgen.dir/link.d ng/CMakeFiles/netgen.dir/ngappinit.cpp.o -o ng/netgen  -Wl,-rpath
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: libnggui.so: undefined reference to `jpeg_set_defaults'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: libnggui.so: undefined reference to `jpeg_write_scanlines'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: libnggui.so: undefined reference to `jpeg_set_quality'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma-20250105-003003

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.6
llvm-config: 19.1.6
Python 3.12.8
go version go1.23.4 linux/amd64
  [1]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1
  [2]   rust-bin-1.81.0
  [3]   rust-bin-1.83.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit a2d1fecab02820928ebc738d4f88974cbca6a122
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jan 7 20:18:28 2025 +0000

    2025-01-07 20:18:28 UTC

emerge -qpvO =media-gfx/netgen-6.2.2406
[ebuild  N    ] media-gfx/netgen-6.2.2406  USE="gui jpeg opencascade -ffmpeg -mpi -python -test" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13"
Comment 1 Toralf Förster gentoo-dev 2025-01-08 18:35:06 UTC
Created attachment 916104 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-01-08 18:35:07 UTC
Created attachment 916105 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-01-08 18:35:09 UTC
Created attachment 916106 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-01-08 18:35:10 UTC
Created attachment 916107 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-01-08 18:35:11 UTC
Created attachment 916108 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-01-08 18:35:12 UTC
Created attachment 916109 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-01-08 18:35:13 UTC
Created attachment 916110 [details]
media-gfx:netgen-6.2.2406:20250107-214249.log
Comment 8 Toralf Förster gentoo-dev 2025-01-08 18:35:14 UTC
Created attachment 916111 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-01-08 18:35:15 UTC
Created attachment 916112 [details]
temp.tar.xz
Comment 10 Alexey Shvetsov archtester gentoo-dev 2025-02-09 20:54:25 UTC
Created attachment 918517 [details, diff]
patch to fix issue
Comment 11 Larry the Git Cow gentoo-dev 2025-02-09 21:08:24 UTC
The bug has been closed via the following commit(s):

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

commit 9358f8742ad37afb081cf1120df9cd92c4fc7759
Author:     Alexey Shvetsov <alexxy@gentoo.org>
AuthorDate: 2025-02-09 21:07:20 +0000
Commit:     Alexey Shvetsov <alexxy@gentoo.org>
CommitDate: 2025-02-09 21:08:14 +0000

    media-gfx/netgen: Fix build with jpeg
    
    Closes: https://bugs.gentoo.org/947728
    Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>

 .../files/netgen-6.2.2406-link-against-jpeg.patch  | 30 ++++++++++++++++++++++
 media-gfx/netgen/netgen-6.2.2406.ebuild            |  1 +
 2 files changed, 31 insertions(+)