Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880339 - media-gfx/gmic-3.1.6 - clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
Summary: media-gfx/gmic-3.1.6 - clang-15: error: linker command failed with exit code ...
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: 2022-11-08 08:50 UTC by Toralf Förster
Modified: 2022-11-10 23:26 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.48 KB, text/plain)
2022-11-08 08:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,57.66 KB, text/plain)
2022-11-08 08:50 UTC, Toralf Förster
Details
environment (environment,65.81 KB, text/plain)
2022-11-08 08:50 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.25 KB, application/x-bzip)
2022-11-08 08:50 UTC, Toralf Förster
Details
media-gfx:gmic-3.1.6:20221107-215820.log (media-gfx:gmic-3.1.6:20221107-215820.log,3.62 KB, text/plain)
2022-11-08 08:50 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,17.88 KB, application/x-bzip)
2022-11-08 08:50 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 2022-11-08 08:50:04 UTC
grep: warning: stray \ before white space
grep: warning: stray \ before white space
clang++ -o use_libgmic use_libgmic.cpp -std=c++11 -pedantic -lgmic -lz   -L. -L/usr/lib64 -lpthread      -lomp  -lOpenEXR-3_1 -lOpenEXRUtil-3_1 -lOpenEXRCore-3_1 -lIex-3_1 -lIlmThread-3_1 -lImath-3_1  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: cannot find -lgmic: No such file or directory
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:433: use_libgmic] Error 1 shuffle=3700922607
make[1]: Leaving directory '/var/tmp/portage/media-gfx/gmic-3.1.6/work/gmic-3.1.6/src'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-j4_test-20221107-060003

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
php cli (if any):
GNU Make 4.4

  HEAD of ::gentoo
commit caa6fda3bd2f7b9f3f16b89eb8378b0410701c2d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 7 21:16:54 2022 +0000

    2022-11-07 21:16:53 UTC

emerge -qpvO media-gfx/gmic
[ebuild  N    ] media-gfx/gmic-3.1.6  USE="cli openexr openmp -X -curl -ffmpeg -fftw -gimp -graphicsmagick -jpeg -opencv -png -qt5 -tiff"
Comment 1 Toralf Förster gentoo-dev 2022-11-08 08:50:05 UTC
Created attachment 828723 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-08 08:50:06 UTC
Created attachment 828725 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-08 08:50:07 UTC
Created attachment 828727 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-08 08:50:08 UTC
Created attachment 828729 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-08 08:50:09 UTC
Created attachment 828731 [details]
media-gfx:gmic-3.1.6:20221107-215820.log
Comment 6 Toralf Förster gentoo-dev 2022-11-08 08:50:10 UTC
Created attachment 828733 [details]
temp.tar.bz2
Comment 7 Marek Szuba archtester gentoo-dev 2022-11-10 23:10:35 UTC
I think the problem here is with grep-3.8, not clang - it's not that building the library fails, according to the log make hasn't even TRIED to build it. Fix to follow...
Comment 8 Larry the Git Cow gentoo-dev 2022-11-10 23:26:48 UTC
The bug has been closed via the following commit(s):

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

commit a16ca95eda19f52557b440b134dbc50e9fc7fcfd
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2022-11-10 23:25:14 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2022-11-10 23:26:42 +0000

    media-gfx/gmic: strip stray backslashes from grep calls
    
    Since grep-3.8 the string '\ ' no longer matches a space.
    
    Closes: https://bugs.gentoo.org/880339
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 media-gfx/gmic/files/gmic-3.1.6-grep38.patch | 27 +++++++++++++++++++++++++++
 media-gfx/gmic/gmic-3.1.6.ebuild             |  1 +
 2 files changed, 28 insertions(+)