Summary: | x11-misc/netwmpager-2.05 stable request | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dmitry Vylegzhanin <diod> |
Component: | [OLD] Keywording and Stabilization | Assignee: | 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 | CC: | jrmalaq |
Priority: | Normal | Keywords: | PATCH, STABLEREQ |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | Was: x11-misc/netwmpager-2.04 - ld: main.o: undefined reference to symbol 'XPending' | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 372079 | ||
Attachments: |
emerge --info output
netwmpager-2.04-underlinking.patch |
Description
Dmitry Vylegzhanin
2014-02-06 10:24:03 UTC
--- netwmpager-2.04.ebuild +++ netwmpager-2.04.ebuild @@ -2,9 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/netwmpager/netwmpager-2.04.ebuild,v 1.4 2013/10/19 15:08:29 pacho Exp $ -EAPI=4 +EAPI=5 -inherit toolchain-funcs +inherit toolchain-funcs eutils DESCRIPTION="EWMH (NetWM) compatible pager. Works with Openbox and other EWMH compliant window managers." @@ -25,11 +25,14 @@ virtual/pkgconfig x11-proto/xproto" +src_prepare() { + epatch "${FILESDIR}/${P}-underlinking.patch" # fix libX11 underlinking #500498 +} + src_configure() { # econf doesn't work tc-export CC ./configure --prefix=/usr || die - } src_install () { Created attachment 370474 [details, diff]
netwmpager-2.04-underlinking.patch
Running into similar issue with supertuxkart-0.8.1 So, I have this bug too:
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-misc/netwmpager-2.04/work/netwmpager-2.04 ...
make -j2
CC file.o
CC main.o
main.c: In function 'loop':
main.c:161:4: warning: implicit declaration of function 'usleep' [-Wimplicit-function-declaration]
usleep(50000);
^
CC opt.o
CC pager.o
CC sconf.o
CC x.o
CC xmalloc.o
LD netwmpager
/usr/lib/gcc/i686-pc-linux-gnu/4.8.5/../../../../i686-pc-linux-gnu/bin/ld: main.o: undefined reference to symbol 'XPending'
/usr/lib/libX11.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:13: recipe for target 'netwmpager' failed
make: *** [netwmpager] Error 1
[31;01m*[0m ERROR: x11-misc/netwmpager-2.04::gentoo failed (compile phase):
[31;01m*[0m emake failed
[master 41af657] x11-misc/netwmpager: Version bump, also fixes bug #500498 by Dmitry Vylegzhanin and others. 2 files changed, 41 insertions(+) create mode 100644 x11-misc/netwmpager/netwmpager-2.05.ebuild amd64 stable x86 stable. Closing. |