Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 767139 - x11-wm/muffin: Undefined references with sys-devel/slibtool
Summary: x11-wm/muffin: Undefined references with sys-devel/slibtool
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Turnbull
URL: https://github.com/linuxmint/muffin/p...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-01-25 09:04 UTC by Joakim Tjernlund
Modified: 2021-03-19 03:32 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,22.24 KB, application/x-xz)
2021-01-25 17:08 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
https://github.com/linuxmint/muffin/pull/577 (577.patch,6.02 KB, patch)
2021-01-27 02:01 UTC, orbea
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim Tjernlund 2021-01-25 09:04:16 UTC
[1m[35mslibtool: [0m[1m[32mlink:[0m ar[0m crs[0m .libs/default.a[0m .libs/default_la-default.o[0m
[1m[35mslibtool: [0m[1m[32mlink:[0m x86_64-pc-linux-gnu-gcc[0m .libs/default_la-default.o[0m -fno-strict-aliasing[0m -Wnested-externs[0m -Wmissing-prototypes[0m -Wstrict-prototypes[0m -Wdeclaration-after-statement[0m -Wimplicit-function-declaration[0m -Wold-style-definition[0m -Wjump-misses-init[0m -Wall[0m -Wextra[0m -Wundef[0m -Wwrite-strings[0m -Wpointer-arith[0m -Wmissing-declarations[0m -Wredundant-decls[0m -Wno-unused-parameter[0m -Wno-missing-field-initializers[0m -Wformat=2[0m -Wcast-align[0m -Wformat-nonliteral[0m -Wformat-security[0m -Wsign-compare[0m -Wstrict-aliasing[0m -Wshadow[0m -Winline[0m -Wpacked[0m -Wmissing-format-attribute[0m -Wmissing-noreturn[0m -Winit-self[0m -Wmissing-include-dirs[0m -Wunused-but-set-variable[0m -Warray-bounds[0m -Wreturn-type[0m -Wswitch-enum[0m -Wswitch-default[0m -Wduplicated-cond[0m -Wduplicated-branches[0m -Wlogical-op[0m -Wrestrict[0m -Wnull-dereference[0m -Wdouble-promotion[0m -Wno-error=unused-parameter[0m -Wno-error=missing-field-initializers[0m -fPIC[0m -O2[0m -pipe[0m -Wno-error[0m -fno-stack-check[0m -Wno-deprecated-declarations[0m -fdebug-prefix-map=..=/var/tmp/portage/x11-wm/muffin-4.8.1[0m -Wl,--no-as-needed[0m -Wl,-O1[0m -Wl,--as-needed[0m -shared[0m -fPIC[0m -Wl,--no-undefined[0m [1m[34m-o .libs/default.so[0m
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/default_la-default.o: in function `meta_default_plugin_dispose':
default.c:(.text+0x11): undefined reference to `g_type_check_class_cast'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/default_la-default.o: in function `meta_default_plugin_finalize':
default.c:(.text+0x31): undefined reference to `g_type_check_class_cast'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/default_la-default.o: in function `meta_default_plugin_class_intern_init':

....
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-01-25 17:08:02 UTC
Created attachment 684651 [details]
build.log.xz

I get a different build error... perhaps because I compiled with MAKEOPTS="-j1".
Comment 2 orbea 2021-01-27 02:00:22 UTC
I made a PR upstream to fix this issue.

https://github.com/linuxmint/muffin/pull/577

> I get a different build error... perhaps because I compiled with MAKEOPTS="-j1".

The error you got was hidden if muffin was already installed since it found the missing libraries on the system instead... The error reported here is revealed after fixing the other one.
Comment 4 orbea 2021-02-22 18:10:04 UTC
The fix was merged upstream.
Comment 5 Larry the Git Cow gentoo-dev 2021-03-19 03:32:07 UTC
The bug has been closed via the following commit(s):

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

commit e766fbdd933ac97759340151764860aeca00a1cc
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-19 03:31:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-19 03:31:22 +0000

    x11-wm/muffin: fix build with slibtool
    
    Closes: https://bugs.gentoo.org/767139
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-wm/muffin/files/muffin-4.8.1-slibtool.patch | 146 ++++++++++++++++++++++++
 x11-wm/muffin/muffin-4.8.1.ebuild               |   4 +
 2 files changed, 150 insertions(+)