Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835582 - media-gfx/scrot-1.7-r2 - main.c:(.text+<snip>): undefined reference to imlib_create_image_from_drawable
Summary: media-gfx/scrot-1.7-r2 - main.c:(.text+<snip>): undefined reference to imlib_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-18 14:49 UTC by Toralf Förster
Modified: 2022-07-15 15:02 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.94 KB, text/plain)
2022-03-18 14:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,90.51 KB, text/plain)
2022-03-18 14:49 UTC, Toralf Förster
Details
environment (environment,71.46 KB, text/plain)
2022-03-18 14:49 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.70 KB, application/x-bzip)
2022-03-18 14:49 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.04 KB, application/x-bzip)
2022-03-18 14:49 UTC, Toralf Förster
Details
media-gfx:scrot-1.7-r2:20220318-032313.log (media-gfx:scrot-1.7-r2:20220318-032313.log,9.44 KB, text/plain)
2022-03-18 14:49 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,20.12 KB, application/x-bzip)
2022-03-18 14: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-03-18 14:49:52 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -isystem /usr/include/bsd -DLIBBSD_OVERLAY   -isystem /usr/include/bsd -DLIBBSD_OVERLAY    -pipe -march=native -fno-diagnostics-color -O2 -c -o scrot-selection_classic.o `test -f 'selection_classic.c' || echo './'`selection_classic.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -isystem /usr/include/bsd -DLIBBSD_OVERLAY   -isystem /usr/include/bsd -DLIBBSD_OVERLAY    -pipe -march=native -fno-diagnostics-color -O2 -c -o scrot-selection_edge.o `test -f 'selection_edge.c' || echo './'`selection_edge.c
x86_64-pc-linux-gnu-gcc  -pipe -march=native -fno-diagnostics-color -O2  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o scrot scrot-main.o scrot-options.o scrot-imlib.o scrot-note.o scrot-scrot_selection.o scrot-selection_classic.o scrot-selection_edge.o -lX11  -lXcomposite  -lXe
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: scrot-main.o: in function `scrotGrabShot':
main.c:(.text+0x579): undefined reference to `imlib_create_image_from_drawable'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: scrot-main.o: in function `scrotGrabAutoselect':
main.c:(.text+0x68d): undefined reference to `imlib_create_image_from_drawable'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20220317-080013

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
clang version 13.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.1
Python 3.9.11
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.59.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
Available Java Virtual Machines:
  [1]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit cb71868fc00d32c5435e6241fb471063a28a1da8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Mar 18 03:00:44 2022 +0000

    2022-03-18 03:00:21 UTC

emerge -qpvO media-gfx/scrot
[ebuild  N    ] media-gfx/scrot-1.7-r2
Comment 1 Toralf Förster gentoo-dev 2022-03-18 14:49:53 UTC
Created attachment 767329 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-03-18 14:49:55 UTC
Created attachment 767330 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-03-18 14:49:56 UTC
Created attachment 767331 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-03-18 14:49:57 UTC
Created attachment 767332 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-03-18 14:49:58 UTC
Created attachment 767333 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-03-18 14:49:59 UTC
Created attachment 767334 [details]
media-gfx:scrot-1.7-r2:20220318-032313.log
Comment 7 Toralf Förster gentoo-dev 2022-03-18 14:50:00 UTC
Created attachment 767335 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-15 12:40:43 UTC
Ah, imlib_create_image_from_drawable needs USE=X on imlib2... which breaks ABI, but whatever.
Comment 9 Larry the Git Cow gentoo-dev 2022-07-15 12:44:57 UTC
The bug has been closed via the following commit(s):

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

commit bcc30f5be6f74c69ae72d6bdc174c12097d8e12f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-15 12:42:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-15 12:42:39 +0000

    media-gfx/scrot: fix imlib2 dep
    
    Closes: https://bugs.gentoo.org/835582
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/scrot/{scrot-1.7-r2.ebuild => scrot-1.7-r3.ebuild} | 4 +++-
 media-gfx/scrot/scrot-9999.ebuild                            | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)