warzone2100: FTBFS with binutils-gold #1098
Comments
cybersphinx edited the issue description |
Per commented Ouch. We really do not wish to link directly against X, we use SDL to avoid that. However, I see that the scrap.c abomination does use X calls directly, which is not good. Not sure how to fix this without removing paste functionality. |
Paul Wise <pabs3@...> commented Probably best to just depend on X11 for now. Also, I found this SDL Clipboard implementation: http://lists.libsdl.org/pipermail/sdl-libsdl.org/2009-April/069897.html Not sure if it is appropriate to use it though, since it is a prototype and the X11 backend sounds crap: http://lists.libsdl.org/pipermail/sdl-libsdl.org/2009-April/069955.html |
Per commented This will be fixed in the Qt branch, until then I doubt that we wish to get into the royal pain that it is to link directly to X11 on all kinds of icky platforms. |
Giel changed status from |
Giel set resolution to |
Giel commented (In [9980]) Explicitly link with -lX11 when running on an X11 system because we directly use X11 in lib/widget/scrap.c This fixes #1098 also reported as DebianBug:556919. |
Giel commented (In [9981]) Backport [9980] from trunk into the 2.3 branch: Explicitly link with -lX11 when running on an X11 system because we directly use X11 in lib/widget/scrap.c This fixes #1098 also reported as DebianBug:556919. |
Git SVN Gateway <gateway@...> commented (In Warzone2100/warzone2100@a6a1ffb) Explicitly link with -lX11 when running on an X11 system because we directly use X11 in lib/widget/scrap.c This fixes #1098 also reported as DebianBug:556919. git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9980 4a71c877-e1ca-e34f-864e-861f7616d084 |
Buginator commented Milestone 2.2.5 deleted |
Buginator changed milestone from |
Git SVN Gateway <gateway@...> commented In Warzone2100/warzone2100@a6a1ffb:
|
keyword_ftbfs
resolution_fixed
type_bug
| by Peter Fritzsche <peter.fritzsche@...>Forwarding http://bugs.debian.org/556919
Source: warzone2100
Version: 2.2.4-3
Severity: minor
User: peter.fritzsche@gmx.de
Usertags: no-add-needed
Tried to build your package and it fails to build with GNU binutils-gold. The important difference is that --no-add-needed is the default behavior of of GNU binutils-gold. Please provide all needed libraries to the linker when building your executables.
Objects inside an .a archive aren't linked yet. This means that you must resolve their symbols when linking them to a program.
More informations can be found at
http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking
In this case you probably need to link against the X11 libraries.
Issue migrated from trac:1098 at 2022-04-15 20:06:30 -0700
The text was updated successfully, but these errors were encountered: