Package: openmsx-catapult
Version: 0.13.0-1
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu zesty ubuntu-patch

Yo,

Not sure why this doesn't fail in Debian - probably a difference in
LDFLAGS - but in Ubuntu we have FTBFS because of this patch.

> Linking catapult...
> derived/x86_64-linux-opt/obj/openMSXController.o: In function 
> `wxString::Cmp(wchar_t const*) const':
> /usr/include/wx-3.0/wx/string.h:2109: undefined reference to 
> `wxString::compare(wchar_t const*) const'
> /usr/include/wx-3.0/wx/string.h:2109: undefined reference to 
> `wxString::compare(wchar_t const*) const'
> /usr/include/wx-3.0/wx/string.h:2109: undefined reference to 
> `wxString::compare(wchar_t const*) const'
> /usr/include/wx-3.0/wx/string.h:2109: undefined reference to 
> `wxString::compare(wchar_t const*) const'

It's wrong - libraries should come after the objects that reference
them.

Cheers,

-- 
Iain Lane                                  [ i...@orangesquash.org.uk ]
Debian Developer                                   [ la...@debian.org ]
Ubuntu Developer                                   [ la...@ubuntu.com ]
diff -Nru openmsx-catapult-0.13.0/debian/patches/series openmsx-catapult-0.13.0/debian/patches/series
--- openmsx-catapult-0.13.0/debian/patches/series	2016-09-22 20:58:59.000000000 +0100
+++ openmsx-catapult-0.13.0/debian/patches/series	2016-11-24 13:40:55.000000000 +0000
@@ -1,4 +1,4 @@
-link-flags-first
+#link-flags-first
 hardening
 buildflags
 desktop-file

Reply via email to