Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829337 - dev-cpp/pangomm-2.42.2 fails to compile: ld.lld: error: libcairomm-1.0.so: undefined reference to cairo_xlib_surface_get_display [--no-allow-shlib-undefined]
Summary: dev-cpp/pangomm-2.42.2 fails to compile: ld.lld: error: libcairomm-1.0.so: un...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: LD-is-lld, systemwide-lld
  Show dependency tree
 
Reported: 2021-12-16 14:47 UTC by Agostino Sarubbo
Modified: 2022-09-24 03:43 UTC (History)
0 users

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


Attachments
build.log (build.log,69.56 KB, text/plain)
2021-12-16 14:47 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-12-16 14:47:56 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-cpp/pangomm-2.42.2 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses clang as a compiler and lld as a linker
Comment 1 Agostino Sarubbo gentoo-dev 2021-12-16 14:47:57 UTC
Created attachment 759308 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-12-16 14:47:58 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


Run-time dependency mm-common-libstdc++ found: NO (tried pkgconfig and cmake)
ld.lld: error: /usr/lib64/libcairomm-1.0.so: undefined reference to cairo_xlib_surface_create [--no-allow-shlib-undefined]
ld.lld: error: /usr/lib64/libcairomm-1.0.so: undefined reference to cairo_xlib_surface_create_for_bitmap [--no-allow-shlib-undefined]
ld.lld: error: /usr/lib64/libcairomm-1.0.so: undefined reference to cairo_xlib_surface_create_with_xrender_format [--no-allow-shlib-undefined]
ld.lld: error: /usr/lib64/libcairomm-1.0.so: undefined reference to cairo_xlib_surface_get_depth [--no-allow-shlib-undefined]
ld.lld: error: /usr/lib64/libcairomm-1.0.so: undefined reference to cairo_xlib_surface_get_display [--no-allow-shlib-undefined]
ld.lld: error: /usr/lib64/libcairomm-1.0.so: undefined reference to cairo_xlib_surface_get_drawable [--no-allow-shlib-undefined]
ld.lld: error: /usr/lib64/libcairomm-1.0.so: undefined reference to cairo_xlib_surface_get_height [--no-allow-shlib-undefined]
ld.lld: error: /usr/lib64/libcairomm-1.0.so: undefined reference to cairo_xlib_surface_get_screen [--no-allow-shlib-undefined]
ld.lld: error: /usr/lib64/libcairomm-1.0.so: undefined reference to cairo_xlib_surface_get_visual [--no-allow-shlib-undefined]
ld.lld: error: /usr/lib64/libcairomm-1.0.so: undefined reference to cairo_xlib_surface_get_width [--no-allow-shlib-undefined]
ld.lld: error: /usr/lib64/libcairomm-1.0.so: undefined reference to cairo_xlib_surface_get_xrender_format [--no-allow-shlib-undefined]
ld.lld: error: /usr/lib64/libcairomm-1.0.so: undefined reference to cairo_xlib_surface_set_drawable [--no-allow-shlib-undefined]
ld.lld: error: /usr/lib64/libcairomm-1.0.so: undefined reference to cairo_xlib_surface_set_size [--no-allow-shlib-undefined]
ld.lld: error: /usr/lib64/libcairomm-1.0.so: undefined reference to cairo_xlib_surface_get_display [--no-allow-shlib-undefined]
Comment 3 Larry the Git Cow gentoo-dev 2022-09-24 03:43:08 UTC
The bug has been closed via the following commit(s):

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

commit 857382c8e6449ea1281f9c2e0c5640957be938fc
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-09-24 02:25:51 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-09-24 03:42:57 +0000

    dev-cpp/cairomm: Depend on x11-libs/cairo[X=]
    
    cairomm detects and enables X support if cairo is build with X support.
    
    Closes: https://bugs.gentoo.org/829337
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-cpp/cairomm/cairomm-1.14.3-r1.ebuild | 4 ++--
 dev-cpp/cairomm/cairomm-1.16.1-r1.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)