Summary: | x11-misc/xystray-1.0 : Xystray.c:(.text+0x6f): undefined reference to `XUnmapWindow' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Marek Szuba (RETIRED) <marecki> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | marecki, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 536984 | ||
Attachments: |
emerge-history.txt
environment x11-misc:xystray-1.0:20160425-174352.log xystray-1.0-ldflags-gcc5.patch |
Description
Toralf Förster
![]() Created attachment 431986 [details]
emerge-history.txt
Created attachment 431988 [details]
environment
Created attachment 431990 [details]
x11-misc:xystray-1.0:20160425-174352.log
Created attachment 431992 [details, diff]
xystray-1.0-ldflags-gcc5.patch
Does using this patch instead of the one currently in files/ help with the problem?
(In reply to Marek Szuba from comment #4) patch failed to apply :-( ms-magpie / # cat /var/tmp/portage/x11-misc/xystray-1.0/work/xystray-1.0/Makefile.rej --- Makefile 2016-04-22 19:57:57.000000000 +0000 +++ Makefile 2016-04-25 06:49:38.344591274 +0000 @@ -1,6 +1,6 @@ -LDFLAGS=-lX11 -lXt -L/usr/X11/lib +LIBS=-lX11 -lXt -L/usr/X11/lib xystray: Xystray.o xystray.o - $(CC) $(LDFLAGS) $^ -o $@ + $(CC) $(LDFLAGS) $^ -o $@ $(LIBS) clean: rm Xystray.o xystray.o unfortunately it seems that there's no output of the patch itself, or ? : tinderbox@ms-magpie ~ $ sc amd64-desktop-unstable_20160420-104159 ms-magpie / # emerge -u xystray These are the packages that would be merged, in reverse order: Calculating dependencies . ..... done! [ebuild N ] x11-misc/xystray-1.0 >>> Verifying ebuild manifests >>> Emerging (1 of 1) x11-misc/xystray-1.0::gentoo >>> Failed to emerge x11-misc/xystray-1.0, Log file: >>> '/var/log/portage/x11-misc:xystray-1.0:20160427-150945.log' >>> Jobs: 0 of 1 complete, 1 failed Load avg: 6.24, 6.35, 6.31 * Package: x11-misc/xystray-1.0 * Repository: gentoo * Maintainer: proxy-maint@gentoo.org Marek.Szuba@cern.ch * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking xystray-1.0.tar.gz to /var/tmp/portage/x11-misc/xystray-1.0/work >>> Source unpacked in /var/tmp/portage/x11-misc/xystray-1.0/work >>> Preparing source in /var/tmp/portage/x11-misc/xystray-1.0/work/xystray-1.0 ... * Applying xystray-1.0-ldflags.patch ... [ ok ] * Applying patches from /etc/portage/patches/x11-misc/xystray-1.0 ... * xystray-1.0-ldflags.patch ... 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej [ !! ] * ERROR: x11-misc/xystray-1.0::gentoo failed (prepare phase): * patch -p1 failed with /etc/portage/patches/x11-misc/xystray-1.0/xystray-1.0-ldflags.patch * * Call stack: * ebuild.sh, line 133: Called src_prepare * environment, line 364: Called default * phase-functions.sh, line 805: Called default_src_prepare * phase-functions.sh, line 870: Called __eapi6_src_prepare * environment, line 204: Called eapply_user * environment, line 300: Called eapply '/etc/portage/patches/x11-misc/xystray-1.0' * environment, line 277: Called _eapply_patch '/etc/portage/patches/x11-misc/xystray-1.0/xystray-1.0-ldflags.patch' ' ' * environment, line 219: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/x11-misc/xystray-1.0/xystray-1.0-ldflags.patch' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=x11-misc/xystray-1.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-misc/xystray-1.0::gentoo'`. * The complete build log is located at '/var/log/portage/x11-misc:xystray-1.0:20160427-150945.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-misc/xystray-1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-misc/xystray-1.0/temp/environment'. * Working directory: '/var/tmp/portage/x11-misc/xystray-1.0/work/xystray-1.0' * S: '/var/tmp/portage/x11-misc/xystray-1.0/work/xystray-1.0' > * Applying xystray-1.0-ldflags.patch ...
> [ ok ]
> * Applying patches from /etc/portage/patches/x11-misc/xystray-1.0 ...
> * xystray-1.0-ldflags.patch ...
> 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
As Marek wrote you should have used his patch *instead* of the one currently available.
(In reply to Łukasz Stelmach from comment #6) indeed, *instead* works OK, thanks for checking. This will be fixed as soon as https://github.com/gentoo/gentoo/pull/1367 has been merged into the main Portage tree. commit 53e87284a36bec5cea8042cceccd8c04b2cc8950 (HEAD -> master) Author: Marek Szuba <Marek.Szuba@cern.ch> AuthorDate: Thu Apr 28 08:35:09 2016 +0200 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: Thu Apr 28 07:04:48 2016 +0000 x11-misc/xystray: Fix the Makefile patch to support gcc-5 Package-Manager: portage-2.2.28 Gentoo-Bug: https://bugs.gentoo.org/581192 Closes: https://github.com/gentoo/gentoo/pull/1367 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> x11-misc/xystray/files/xystray-1.0-ldflags.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Thanks! This was assigned according to he convention of bugzilla. Bugs are to be assigned to a maintainer, not to the proxy maintainers project. The metadata.xml, although newly added, has been edited to list the user first in line. infra also has rulesets that require bugs to be assigned not only correctly but sanely. The proxy maintainers project is a body that supports users in maintaining packages and does not itself maintain any package. |