[ftbfs] turkey ftbfs on gutsy

Bug #129742 reported by Cesare Tirabassi
2
Affects Status Importance Assigned to Milestone
turkey (Debian)
Fix Released
Unknown
turkey (Ubuntu)
Fix Released
Undecided
Luke Yelavich

Bug Description

Binary package hint: turkey

turkey fails to build from source on gutsy.
Build log is attached.

Tags: ftbfs

Related branches

Revision history for this message
Cesare Tirabassi (norsetto) wrote :
Changed in turkey:
assignee: nobody → norsetto
status: New → In Progress
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

With a slightly modified version of the Debian patch and the substitution of libgcj7-1-awt for libgcj7-awt as run-time dependancy, the ftbfs is (apparently) solved.
The program exit with an exception if attempted to run in GUI mode (no problem in text mode):

cesare@desktop:~$ turkey
Exception during event dispatch:
java.lang.NullPointerException
   at gnu.java.awt.peer.gtk.GtkImage.<init>(libgcj.so.80)
   at gnu.java.awt.peer.gtk.GtkFramePeer.setIconImage(libgcj.so.80)
   at gnu.java.awt.peer.gtk.GtkFramePeer.create(libgcj.so.80)
   at gnu.java.awt.peer.gtk.GtkComponentPeer.<init>(libgcj.so.80)
   at gnu.java.awt.peer.gtk.GtkContainerPeer.<init>(libgcj.so.80)
   at gnu.java.awt.peer.gtk.GtkWindowPeer.<init>(libgcj.so.80)
   at gnu.java.awt.peer.gtk.GtkFramePeer.<init>(libgcj.so.80)
   at gnu.java.awt.peer.gtk.GtkToolkit.createFrame(libgcj.so.80)
   at java.awt.Frame.addNotify(libgcj.so.80)
   at java.awt.Window.show(libgcj.so.80)
   at java.awt.Component.show(libgcj.so.80)
   at java.awt.Component.setVisible(libgcj.so.80)
   at net.sf.turkey.GUI$5.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(libgcj.so.80)
   at java.awt.EventQueue.dispatchEvent(libgcj.so.80)
   at java.awt.EventDispatchThread.run(libgcj.so.80)

This is similar to the one in feisty:

cesare@desktop:~$ turkey
Exception during event dispatch:
java.lang.NullPointerException
   at gnu.java.awt.peer.gtk.GtkFramePeer.nativeSetIconImage(libgcj.so.70)
   at gnu.java.awt.peer.gtk.GtkFramePeer.setIconImage(libgcj.so.70)
   at gnu.java.awt.peer.gtk.GtkFramePeer.create(libgcj.so.70)
   at gnu.java.awt.peer.gtk.GtkComponentPeer.<init>(libgcj.so.70)
   at gnu.java.awt.peer.gtk.GtkContainerPeer.<init>(libgcj.so.70)
   at gnu.java.awt.peer.gtk.GtkWindowPeer.<init>(libgcj.so.70)
   at gnu.java.awt.peer.gtk.GtkFramePeer.<init>(libgcj.so.70)
   at gnu.java.awt.peer.gtk.GtkToolkit.createFrame(libgcj.so.70)
   at java.awt.Frame.addNotify(libgcj.so.70)
   at java.awt.Window.show(libgcj.so.70)
   at java.awt.Component.show(libgcj.so.70)
   at java.awt.Component.setVisible(libgcj.so.70)
   at net.sf.turkey.GUI$4.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(libgcj.so.70)
   at java.awt.EventQueue.dispatchEvent(libgcj.so.70)
   at java.awt.EventDispatchThread.run(libgcj.so.70)

This info has been added to the Debian bug and upstream informed.

Changed in turkey:
status: Unknown → New
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

The above patch solves the ftbfs and installation problems. Note that to be able to run the program succesfully in GUI mode the Sun JVM is mandatory (a Dependancy has been added).
I also took the occasion to make a general clean-up.

NOTE FOR THE ARCHIVE ADMINS:

Since the package depends on sun-java6-bin it needs to be moved from the universe to the multiverse archive.

Thanks.

PS. I will investigate the possibility of issuing an ITA in Debian for this.

Changed in turkey:
assignee: norsetto → nobody
status: In Progress → Confirmed
Luke Yelavich (themuso)
Changed in turkey:
assignee: nobody → themuso
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

turkey (1.34.0-3ubuntu1) gutsy; urgency=low

  * Close FTBFS (LP: #129742)
  * Close installation issues (LP: #129741)
  * debian/control:
    - Remove jikes from Build-Depends
    - Bump Standards-Version to 3.7.2
    - Change Depends to sun-java6-bin
    - Change Maintainer field
    - Reword Description and add Homepage

  * debian/rules:
    - Add export JAVA_HOME=/usr/lib/jvm/java-1.5.0-gcj-4.2-1.5.0.0/jre/
    - Add -Dbuild.compiler=modern option to ant commands
    - Add rm -f turkey.xpm to clean target
    - Add .desktop file installation

  * Add README.Debian
  * Update FSF address in debian/copyright
  * Add .desktop file
  * Add usr/share/applications in debian/dirs

 -- Cesare Tirabassi <email address hidden> Fri, 3 Aug 2007 15:22:50 +0200

Changed in turkey:
status: Confirmed → Fix Released
Changed in turkey:
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.