Your message dated Wed, 02 Mar 2011 19:32:08 +0000
with message-id <[email protected]>
and subject line Bug#616039: fixed in atom4 4.1-5
has caused the Debian Bug report #616039,
regarding atom4: Package failed to build from source on Ubuntu natty
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
616039: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616039
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: atom4
Version: 4.1-4
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu natty ubuntu-patch
Package failed to build from source
here is the error log:
Install x/libxatom4.a as lib/libxatom4.a
g++ -o atom4 atom4.o interface.o obj/event.o obj/textui.o -Lproglib/lib -Llib
-L/usr/X11R6/lib -lt++ -lpanel -lncurses -lX11 -lXpm -latom4 -lxatom4
lib/libxatom4.a(xatom4.o): In function `XAtom4::key_press(XKeyEvent)':
xatom4.cc:(.text+0x1b9): undefined reference to `XLookupKeysym'
lib/libxatom4.a(xatom4.o): In function `XAtom4::XAtom4(xconnection*, atom4*,
int*)':
xatom4.cc:(.text+0x493): undefined reference to `XSelectInput'
xatom4.cc:(.text+0x4a2): undefined reference to `XMapSubwindows'
lib/libxatom4.a(xatom4.o): In function `x11ui::x11ui(char*, atom4*, eventloop*,
int*)':
xatom4.cc:(.text+0x5b4): undefined reference to `XFlush'
lib/libxatom4.a(xatom4.o): In function
`XAtom4::gamestate_notifier::notify_clear(atom4*)':
xatom4.cc:(.text+0x66): undefined reference to `XFlush'
lib/libxatom4.a(xatom4.o): In function
`XAtom4::gamestate_notifier::notify_move(atom4*, int, elist<boardchange>&)':
xatom4.cc:(.text+0x96): undefined reference to `XFlush'
lib/libxatom4.a(xscoreboard.o): In function `xscoreboard::expose(XExposeEvent)':
xscoreboard.cc:(.text+0x4f): undefined reference to `XCopyArea'
lib/libxatom4.a(xscoreboard.o): In function `xscoreboard::~xscoreboard()':
xscoreboard.cc:(.text+0x81): undefined reference to `XFreeGC'
xscoreboard.cc:(.text+0x90): undefined reference to `XFreePixmap'
xscoreboard.cc:(.text+0x9f): undefined reference to `XFreeGC'
xscoreboard.cc:(.text+0xae): undefined reference to `XFreeGC'
xscoreboard.cc:(.text+0xbd): undefined reference to `XFreeFont'
xscoreboard.cc:(.text+0xcc): undefined reference to `XFreeFont'
lib/libxatom4.a(xscoreboard.o): In function
`xscoreboard::draw_center(XFontStruct*, _XGC*, char*, int)':
xscoreboard.cc:(.text+0x157): undefined reference to `XTextExtents'
xscoreboard.cc:(.text+0x19e): undefined reference to `XDrawString'
lib/libxatom4.a(xscoreboard.o): In function `xscoreboard::render_score(int,
int)':
xscoreboard.cc:(.text+0x247): undefined reference to `XDrawString'
xscoreboard.cc:(.text+0x2c7): undefined reference to `XDrawString'
xscoreboard.cc:(.text+0x38c): undefined reference to `XDrawString'
lib/libxatom4.a(xscoreboard.o): In function `xscoreboard::refresh()':
xscoreboard.cc:(.text+0x525): undefined reference to `XFillRectangle'
xscoreboard.cc:(.text+0x5dc): undefined reference to `XCopyArea'
lib/libxatom4.a(xscoreboard.o): In function
`xscoreboard::xscoreboard(xconnection*, xsprite_engine*, xwindow*, atom4*, int,
int, int, int)':
xscoreboard.cc:(.text+0x6e5): undefined reference to `XCreatePixmap'
xscoreboard.cc:(.text+0x720): undefined reference to `XCreateGC'
xscoreboard.cc:(.text+0x736): undefined reference to `XLoadQueryFont'
xscoreboard.cc:(.text+0x785): undefined reference to `XCreateGC'
xscoreboard.cc:(.text+0x79b): undefined reference to `XLoadQueryFont'
xscoreboard.cc:(.text+0x7ea): undefined reference to `XCreateGC'
xscoreboard.cc:(.text+0x80e): undefined reference to `XSelectInput'
lib/libxatom4.a(xsprite.o): In function
`xsprite_engine::xsprite_engine(xconnection*, unsigned long, int)':
xsprite.cc:(.text+0x46): undefined reference to `XCreateGC'
xsprite.cc:(.text+0x6b): undefined reference to `XCreateGC'
xsprite.cc:(.text+0x90): undefined reference to `XCreateGC'
lib/libxatom4.a(xsprite.o): In function `xsprite_engine::~xsprite_engine()':
xsprite.cc:(.text+0xce): undefined reference to `XFreeGC'
xsprite.cc:(.text+0xdd): undefined reference to `XFreeGC'
xsprite.cc:(.text+0xec): undefined reference to `XFreeGC'
lib/libxatom4.a(xsprite.o): In function
`xflatsprite::xflatsprite(xsprite_engine*, char*)':
xsprite.cc:(.text+0x195): undefined reference to `XpmReadFileToImage'
xsprite.cc:(.text+0x221): undefined reference to `XCreatePixmap'
xsprite.cc:(.text+0x274): undefined reference to `XPutImage'
xsprite.cc:(.text+0x34c): undefined reference to `XCreatePixmap'
xsprite.cc:(.text+0x39f): undefined reference to `XPutImage'
lib/libxatom4.a(xsprite.o): In function `xflatsprite::~xflatsprite()':
xsprite.cc:(.text+0x400): undefined reference to `XFreePixmap'
xsprite.cc:(.text+0x40f): undefined reference to `XFreePixmap'
lib/libxatom4.a(xsprite.o): In function `xflatsprite::draw(unsigned long, int,
int)':
xsprite.cc:(.text+0x484): undefined reference to `XCopyArea'
xsprite.cc:(.text+0x4d2): undefined reference to `XCopyArea'
lib/libxatom4.a(xsprite.o): In function `xsavebuf::xsavebuf(xsprite_engine*,
unsigned long, int, int)':
xsprite.cc:(.text+0x521): undefined reference to `XCreatePixmap'
lib/libxatom4.a(xsprite.o): In function `xsavebuf::~xsavebuf()':
xsprite.cc:(.text+0x57a): undefined reference to `XFreePixmap'
lib/libxatom4.a(xsprite.o): In function `xsavebuf::save(unsigned long, int,
int, int, int)':
xsprite.cc:(.text+0x645): undefined reference to `XCopyArea'
lib/libxatom4.a(xsprite.o): In function `xsavebuf::restore()':
xsprite.cc:(.text+0x6ec): undefined reference to `XCopyArea'
lib/libxatom4.a(xtriboard.o): In function `xtriboard::expose(XExposeEvent)':
xtriboard.cc:(.text+0x7d): undefined reference to `XCopyArea'
lib/libxatom4.a(xtriboard.o): In function `xtriboard::refresh()':
xtriboard.cc:(.text+0x132): undefined reference to `XCopyArea'
lib/libxatom4.a(xtriboard.o): In function `xtriboard::~xtriboard()':
xtriboard.cc:(.text+0x27d): undefined reference to `XFreePixmap'
lib/libxatom4.a(xtriboard.o): In function `xtriboard::xtriboard(xconnection*,
xsprite_engine*, xwindow*, atom4*, int, int)':
xtriboard.cc:(.text+0x5b1): undefined reference to `XCreatePixmap'
xtriboard.cc:(.text+0x6f2): undefined reference to `XSelectInput'
xtriboard.cc:(.text+0x7db): undefined reference to `XFreePixmap'
lib/libxatom4.a(xutil.o): In function `xwindow::~xwindow()':
xutil.cc:(.text+0x1ef): undefined reference to `XDestroyWindow'
lib/libxatom4.a(xutil.o): In function `xconnection::process_pending_event()':
xutil.cc:(.text+0x2f1): undefined reference to `XNextEvent'
lib/libxatom4.a(xutil.o): In function
`xconnection::eventcallback::read_ready(eventloop*, int)':
xutil.cc:(.text+0x354): undefined reference to `XFlush'
xutil.cc:(.text+0x361): undefined reference to `XPending'
lib/libxatom4.a(xutil.o): In function `xconnection::xconnection(char*,
eventloop*)':
xutil.cc:(.text+0x3b1): undefined reference to `XOpenDisplay'
xutil.cc:(.text+0x3c2): undefined reference to `XDefaultScreen'
lib/libxatom4.a(xutil.o): In function `xconnection::~xconnection()':
xutil.cc:(.text+0x4bc): undefined reference to `XCloseDisplay'
lib/libxatom4.a(xutil.o): In function `xwindow::update_attrs()':
xutil.cc:(.text+0x604): undefined reference to `XGetWindowAttributes'
lib/libxatom4.a(xutil.o): In function `xwindow::xwindow(xconnection*, xwindow*,
unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned
long, unsigned long)':
xutil.cc:(.text+0x705): undefined reference to `XCreateSimpleWindow'
lib/libxatom4.a(xutil.o): In function `appwindow::appwindow(xconnection*,
char*, char*, int, int, char*, char*)':
xutil.cc:(.text+0x7f5): undefined reference to `XAllocWMHints'
xutil.cc:(.text+0x81c): undefined reference to `XAllocClassHint'
xutil.cc:(.text+0x83a): undefined reference to `XAllocSizeHints'
xutil.cc:(.text+0x876): undefined reference to `XStringListToTextProperty'
xutil.cc:(.text+0x8ce): undefined reference to `XStringListToTextProperty'
xutil.cc:(.text+0x915): undefined reference to `XSetWMProperties'
xutil.cc:(.text+0x91d): undefined reference to `XFree'
xutil.cc:(.text+0x928): undefined reference to `XFree'
xutil.cc:(.text+0x930): undefined reference to `XFree'
xutil.cc:(.text+0x93b): undefined reference to `XFree'
xutil.cc:(.text+0x946): undefined reference to `XFree'
xutil.cc:(.text+0x958): undefined reference to `XMapWindow'
lib/libxatom4.a(xutil.o): In function `tiled_bckgnd::tiled_bckgnd(xconnection*,
unsigned long, char*)':
xutil.cc:(.text+0xaf6): undefined reference to `XpmReadFileToPixmap'
xutil.cc:(.text+0xb5f): undefined reference to `XCreateGC'
lib/libxatom4.a(xutil.o): In function `tiled_bckgnd::~tiled_bckgnd()':
xutil.cc:(.text+0xbae): undefined reference to `XFreePixmap'
xutil.cc:(.text+0xbbd): undefined reference to `XFreeGC'
lib/libxatom4.a(xutil.o): In function `tiled_bckgnd::paint(int, int, int, int)':
xutil.cc:(.text+0xc0b): undefined reference to `XFillRectangle'
collect2: ld returned 1 exit status
cons: *** [atom4] Error 1
cons: errors constructing atom4
make: *** [install] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1335:
dpkg-buildpackage -rfakeroot -D -us -uc -b failed
*** /tmp/tmposm1_5
In Ubuntu, we've applied the attached patch to achieve the following:
## Patch changes the order of few libraries in order to fix FTBFS due to
binutils-gold
* atom4-4.1/Construct: changed order of libraries to fix FTBFS (LP: #727253)
We thought you might be interested in doing the same.
-- System Information:
Debian Release: squeeze/sid
APT prefers maverick-updates
APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500,
'maverick-backports'), (500, 'maverick')
Architecture: i386 (i686)
Kernel: Linux 2.6.35-25-generic (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u atom4-4.1/debian/changelog atom4-4.1/debian/changelog
diff -u atom4-4.1/debian/control atom4-4.1/debian/control
--- atom4-4.1/debian/control
+++ atom4-4.1/debian/control
@@ -1,7 +1,8 @@
Source: atom4
Section: games
Priority: optional
-Maintainer: Hwei Sheng Teoh <[email protected]>
+Maintainer: Ubuntu Developers <[email protected]>
+XSBC-Original-Maintainer: Hwei Sheng Teoh <[email protected]>
Build-Depends: debhelper (>> 4.0.0), cons (>= 2.2.0-2), libx11-dev, libxpm-dev, libxext-dev, libncurses5-dev
Standards-Version: 3.6.2.1
only in patch2:
unchanged:
--- atom4-4.1.orig/Construct
+++ atom4-4.1/Construct
@@ -88,7 +88,7 @@
# Local configuration
$INCPATH = "$INCDIR:$PROGLIBPATH/include";
$LIBPATH = "$PROGLIBPATH/lib:$LIBDIR:$X11LIBPATH";
-$LIBS = "$PROGLIB $NCURSESLIB $X11LIB -latom4 -lxatom4";
+$LIBS = "-latom4 -lxatom4 $PROGLIB $NCURSESLIB $X11LIB";
$LIBS .= " -pg" if $PROFILE;
$CONS = new cons(
--- End Message ---
--- Begin Message ---
Source: atom4
Source-Version: 4.1-5
We believe that the bug you reported is fixed in the latest version of
atom4, which is due to be installed in the Debian FTP archive:
atom4_4.1-5.diff.gz
to main/a/atom4/atom4_4.1-5.diff.gz
atom4_4.1-5.dsc
to main/a/atom4/atom4_4.1-5.dsc
atom4_4.1-5_amd64.deb
to main/a/atom4/atom4_4.1-5_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Hwei Sheng Teoh <[email protected]> (supplier of updated atom4 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 02 Mar 2011 10:09:04 -0800
Source: atom4
Binary: atom4
Architecture: source amd64
Version: 4.1-5
Distribution: unstable
Urgency: low
Maintainer: Hwei Sheng Teoh <[email protected]>
Changed-By: Hwei Sheng Teoh <[email protected]>
Description:
atom4 - An original two-player color puzzle game
Closes: 616039
Changes:
atom4 (4.1-5) unstable; urgency=low
.
* Update debhelper compatibility to 8.
- Use dh_prep instead of dh_clean -k
* Fix compiler deprecation warnings.
* Update to debian-policy 3.9.1.
* Fix lintian errors/warnings:
- Fix missing separator in debian/control
- Remove debian/preinst
- Remove debian/prerm
- Fix copyright notice format
* Change order of libraries during linking - thanks, Tarun Kumar Mall!
(Closes: #616039)
Checksums-Sha1:
51d5339546e1211be60481d38305183be4024aa5 991 atom4_4.1-5.dsc
0a85cf4dc5b42a4808897616f29023babf677208 8235 atom4_4.1-5.diff.gz
eda42aea8274fd3ac83b7f79b0346490b54a09e0 50266 atom4_4.1-5_amd64.deb
Checksums-Sha256:
b17f09761d2d115692d2f1855e60f8d61b7bdf9eefb7f55d750e099d769b87e4 991
atom4_4.1-5.dsc
9d535409c7e6aee3ba8fc56dbfd548a17f13f2af3c1cba24c35d6f7bac5e58e8 8235
atom4_4.1-5.diff.gz
e4ba36faac7fc33ca51692eb5ad3a8badb0f7b2a189d0bc32c6842284677010b 50266
atom4_4.1-5_amd64.deb
Files:
77fc4039921f65a0684165150abef333 991 games optional atom4_4.1-5.dsc
02c637f47c3f218fb7b42392e8aa0fbc 8235 games optional atom4_4.1-5.diff.gz
bb0589aaaf903fc1d9f62eb0c9abe480 50266 games optional atom4_4.1-5_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk1ukwYACgkQBgxOY7BxxArDjACePEnYHD5zWxmlhqUyWtYudSmY
5QAAn22LVAe7yz8gTN48HzOJLbPDImdt
=zbMg
-----END PGP SIGNATURE-----
--- End Message ---