Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912239 - media-gfx/gmic-3.2.6 - /.../ld: cannot find -lcgmic: No such file or directory
Summary: media-gfx/gmic-3.2.6 - /.../ld: cannot find -lcgmic: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-13 18:20 UTC by Toralf Förster
Modified: 2023-08-21 15:49 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.36 KB, text/plain)
2023-08-13 18:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,27.02 KB, text/plain)
2023-08-13 18:20 UTC, Toralf Förster
Details
environment (environment,62.03 KB, text/plain)
2023-08-13 18:20 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,780 bytes, application/x-xz)
2023-08-13 18:20 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,11.38 KB, application/x-xz)
2023-08-13 18:20 UTC, Toralf Förster
Details
media-gfx:gmic-3.2.6:20230813-174850.log (media-gfx:gmic-3.2.6:20230813-174850.log,6.04 KB, text/plain)
2023-08-13 18:20 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,15.95 KB, application/x-xz)
2023-08-13 18:20 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 2023-08-13 18:20:15 UTC
too long lines were shrinked:

make: Leaving directory '/var/tmp/portage/media-gfx/gmic-3.2.6/work/gmic-3.2.6/src'
make -j5 -j1 -C src CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ STRIP=/bin/true LIB=lib64 'OPT_CFLAGS=-O2 -pipe -march=native -fno-diagnostics-color' 'OPT_LIBS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0' GMIC_USE_CURL=no GMIC_USE_EXR=yes GM
make: Entering directory '/var/tmp/portage/media-gfx/gmic-3.2.6/work/gmic-3.2.6/src'
make "CFLAGS+=-Dcimg_date=\\\"\\\" -Dcimg_time=\\\"\\\" -Dcimg_use_zlib -I.    -std=c++11 -pedantic -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -Dcimg_use_vt100 -Dcimg_use_abort -Dgmic_is_parallel       -Dcimg_display=0 -Dcimg_use_openexr -I/usr/include/OpenEXR
make[1]: Entering directory '/var/tmp/portage/media-gfx/gmic-3.2.6/work/gmic-3.2.6/src'
x86_64-pc-linux-gnu-gcc -std=c99 -o use_libcgmic use_libcgmic.c -lcgmic -lz  -L. -L/usr/lib64 -lpthread        -lOpenEXR-3_1 -lOpenEXRUtil-3_1 -lOpenEXRCore-3_1 -lIex-3_1 -lIlmThread-3_1 -lImath-3_1 -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: cannot find -lcgmic: No such file or directory
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:535: use_libcgmic] Error 1 shuffle=3129767621

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20230813-052004

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.71.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

php cli (if any):
go version go1.20.7 linux/amd64

  HEAD of ::gentoo
commit 743b9cf4df7c688aaa61d3143bc1ef413fb93d33
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Aug 13 17:16:39 2023 +0000

    2023-08-13 17:16:38 UTC

emerge -qpvO media-gfx/gmic
[ebuild  N    ] media-gfx/gmic-3.2.6  USE="graphicsmagick openexr -X -cli -curl -ffmpeg -fftw -gimp -jpeg -opencv -openmp -png -qt5 -tiff"
Comment 1 Toralf Förster gentoo-dev 2023-08-13 18:20:16 UTC
Created attachment 867789 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-13 18:20:17 UTC
Created attachment 867790 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-08-13 18:20:18 UTC
Created attachment 867791 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-08-13 18:20:19 UTC
Created attachment 867792 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-08-13 18:20:20 UTC
Created attachment 867793 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-13 18:20:21 UTC
Created attachment 867794 [details]
media-gfx:gmic-3.2.6:20230813-174850.log
Comment 7 Toralf Förster gentoo-dev 2023-08-13 18:20:22 UTC
Created attachment 867795 [details]
temp.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2023-08-21 15:49:38 UTC
The bug has been closed via the following commit(s):

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

commit 8fc99cd067618885adf566cb2437d7f056e2d1a9
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-08-21 15:21:40 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-08-21 15:49:26 +0000

    media-gfx/gmic: fix Makefile dependency chain
    
    It helps if libcgmic.so exists before make attempts to link use_libcgmic
    against it.
    
    Closes: https://bugs.gentoo.org/912239
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 media-gfx/gmic/files/gmic-3.2.6-makefile_target_deps.patch | 11 +++++++++++
 media-gfx/gmic/gmic-3.2.6.ebuild                           |  1 +
 2 files changed, 12 insertions(+)