Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 871279

Summary: x11-plugins/asmem-1.12-r2 - asmem_x.c:(.text+<snip>): undefined reference to XpmCreatePixmapFromData
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2
x11-plugins:asmem-1.12-r2:20220918-102946.log

Description Toralf Förster gentoo-dev 2022-09-18 10:51:01 UTC
^
3 warnings generated.
clang asmem.o asmem_x.o read_mem.o x_color.o safecopy.c -L/usr/lib64 -lX11   -lSM -lICE -lXext       -o asmem -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0
/usr/bin/x86_64-pc-linux-gnu-ld: asmem_x.o: in function `asmem_initialize':
asmem_x.c:(.text+0x147e): undefined reference to `XpmCreatePixmapFromData'
/usr/bin/x86_64-pc-linux-gnu-ld: asmem_x.c:(.text+0x158e): undefined reference to `XpmCreatePixmapFromData'
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220917-070004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 242cd1a84f2a8e702a79f513d0ae26ce7648d849
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 09:46:48 2022 +0000

    2022-09-18 09:46:48 UTC

emerge -qpvO x11-plugins/asmem
[ebuild  N    ] x11-plugins/asmem-1.12-r2  USE="-jpeg"
Comment 1 Toralf Förster gentoo-dev 2022-09-18 10:51:02 UTC
Created attachment 810949 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 10:51:03 UTC
Created attachment 810952 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-18 10:51:04 UTC
Created attachment 810955 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-18 10:51:05 UTC
Created attachment 810958 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-18 10:51:06 UTC
Created attachment 810961 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-18 10:51:07 UTC
Created attachment 810964 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 10:51:08 UTC
Created attachment 810967 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-18 10:51:09 UTC
Created attachment 810970 [details]
x11-plugins:asmem-1.12-r2:20220918-102946.log
Comment 9 Larry the Git Cow gentoo-dev 2022-10-09 05:31:31 UTC
The bug has been closed via the following commit(s):

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

commit d2bf161e24a6e2f193ff0adc36cfbb6e539bc31e
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-09 05:17:51 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-09 05:31:03 +0000

    x11-plugins/asmem: fix configure further with upcoming clang16
    
    autoconf/ seems like a mess, so just adding a rough addition to
    the earlier direct configure patch.
    
    Also replace CC= by tc-export CC pre-configure, or it fails
    with -native-symlinks if CC is unset (due to old autoconf).
    
    Closes: https://bugs.gentoo.org/871279
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 x11-plugins/asmem/asmem-1.12-r2.ebuild             |  6 ++++--
 .../files/configure-implicit-func-decls.patch      | 14 ------------
 x11-plugins/asmem/files/configure-implicits.patch  | 25 ++++++++++++++++++++++
 3 files changed, 29 insertions(+), 16 deletions(-)