Package atom4-4.1-4 failed to build from source

Bug #727253 reported by Tarun K. Mall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
atom4 (Debian)
Fix Released
Unknown
atom4 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: atom4

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

Related branches

Tarun K. Mall (c2tarun)
Changed in atom4 (Ubuntu):
status: New → Confirmed
assignee: nobody → Tarun K. Mall (c2tarun)
status: Confirmed → In Progress
Tarun K. Mall (c2tarun)
Changed in atom4 (Ubuntu):
status: In Progress → Confirmed
assignee: Tarun K. Mall (c2tarun) → nobody
Revision history for this message
Artur Rona (ari-tczew) wrote :

Please forward patch to Debian.

Revision history for this message
Tarun K. Mall (c2tarun) wrote :
Revision history for this message
Tarun K. Mall (c2tarun) wrote :

@Artur Rona

done

Revision history for this message
Martin Pitt (pitti) wrote :

Thanks Tarun! Uploading with fixing overly long changelog line.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package atom4 - 4.1-4ubuntu1

---------------
atom4 (4.1-4ubuntu1) natty; urgency=low

  * atom4-4.1/Construct: changed order of libraries to fix FTBFS
    (LP: #727253, Closes: #616039)
 -- Tarun Kumar Mall <email address hidden> Wed, 02 Mar 2011 02:40:48 +0000

Changed in atom4 (Ubuntu):
status: Confirmed → Fix Released
Changed in atom4 (Debian):
status: Unknown → New
Changed in atom4 (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.