[FFE] The tiemu package is not installable and not buildable in lucid

Bug #221332 reported by Veichtlbauer
38
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tiemu (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

[showard314]
Lucid's tiemu is not installable and unbuildable (the versions of the libraries needed have been removed from Ubuntu).

To get a working version, we have to merge from Debian testing. However, Debian testing's version FTBFS on lucid since it makes calls to old GTK functions that don't exist anymore (they are private functions now).

I have merged from Debian testing and made a patch to fix that and built the package here:
https://launchpad.net/~showard314/+archive/ppa

I installed and tested it, it is working.

Original report [Veichtlbauer]
Binary package hint: tiemu

Why is the tiemu package still stuck in version 2 of tiemu? The emulator is still being updated and got some nice improvements over the last couple of years. Version 2 is still being maintained (synced with Debian at least).
Latest announcements: http://lpg.ticalc.org/prj_tiemu/news.html

Tags: patch

Related branches

William Grant (wgrant)
Changed in tiemu:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Mathias Weyland (launchpad-weyland) wrote :

I packaged tiemu 3 because I had to fix some annoying bugs. My packages are available in my PPA:

https://launchpad.net/~launchpad-weyland/+archive/ppa

Feel free to use some of my work to create an official package. I'm about to comment on the bugs I just fixed in LP #373767.

Matt

Revision history for this message
Terrance Kennedy (cyphus) wrote :

What's stopping this from becoming an official package? Debian has had a package for version 3.02-1 since September 2009:

http://packages.debian.org/sid/tiemu

And the current source version is 3.03 ( http://lpg.ticalc.org/prj_tiemu/ ). Also, the Debian package _seems_ to resolve the incompatible dependencies problem that's plaguing the current Ubuntu packages, and installing the latest from source shows that indeed this shouldn't be a problem.

Revision history for this message
Scott Howard (showard314) wrote : Re: [Bug 221332] Re: The tiemu package is heavily outdated

Ubuntu's TI libraries are a mess because ubuntu and debian's libraries
are different yet make the same package names.

I tried merging it a few weeks ago, but I think I remember a problem
with Ubuntu packaged libtifiles.

IIRC, Ubuntu's package does not match Debian: Ubuntu had it packaged
first (with it's package and .so names) then Debian packaged it (with
different names), but there is a mess of other libraries (libticables,
libticalcs if I remember correctly) as well as tiemu that are trying
to depend on the debian version, which is being prevented from being
synced since it is already in Ubuntu.
http://launchpadlibrarian.net/36610155/upload_1385937_log.txt

I tried building it with the ubuntu versions, but the build failed (I
don't exactly remember why but I believe it was a dependency wait on
libtifiles).

Someone more familiar with those libraries and what's going on should
probably look at it.

Revision history for this message
Scott Howard (showard314) wrote :

Terrance: in reference to:

"Also, the Debian package _seems_ to
resolve the incompatible dependencies problem that's plaguing the
current Ubuntu packages, and installing the latest from source shows
that indeed this shouldn't be a problem."

Did you get the Debian package working on Ubuntu? I gave up on it to
handle other packages, but if you could tell us how you got the Debian
package installed, we'd appreciate it!

Revision history for this message
benste (benste) wrote : Re: The tiemu package is heavily outdated

I'm working on it now (but also learning how to merge with the help of motu team),

first look it looks like there had been some conflicts auto merging to 3.02 which came from Debian,
first thought was that this may be related to the Iceweasel / FF depency change

I'll keep updating this report here.

Changed in tiemu (Ubuntu):
assignee: nobody → benste (benste)
Revision history for this message
benste (benste) wrote :
Revision history for this message
benste (benste) wrote :

Scott, I didn't see your comment, if you already took a look into it and found some bigger issues than simply changing FF depency you might be more apropriate to solve this, if you need someone to test it feel free to contact me.

PS: during my littler excursion through the depths of Ubuntu merging i came across this:
https://merges.ubuntu.com/multiverse -> search for tiemu

guess you've already talked to Fabien - right ?

Changed in tiemu (Ubuntu):
assignee: benste (benste) → nobody
Revision history for this message
benste (benste) wrote :

PS: added fabien to subscribers

PS2: would be kind of you to get this pushed into Lucid

Revision history for this message
Terrance Kennedy (cyphus) wrote :

In response to Scott Howard:

"Did you get the Debian package working on Ubuntu? I gave up on it to
handle other packages, but if you could tell us how you got the Debian
package installed, we'd appreciate it!"

After re-reading my earlier post I found I left much to clarify. The dependency problem I was referring to was that packages tilp2 and tiemu (often attempted to be installed together, and very related packages) depend on different versions of libticables, libticalcs, libtifiles, and possibly others, therefore they cannot both be installed at once. I said that the TiEmu Debian package _seems_ to resolve this issue because it relies on newer versions of the lib files. Upon closer inspection however, I noticed that the versions still aren't compatible with the tilp2 dependencies, so the problem still exists on Debian.

I have been able to compile tilp2, TiEmu, and their dependencies from source, and found that if all the latest versions are installed, there is no dependency issue between these programs. However, my installation is far from being an Ubuntu package, as there are configuration problems such as the TiEmu keyboard mapping issues discussed in another bug, and TiLP2 by default does not have the permission to communicate with a USB connected calculator (I'm looking into adding a proper udev rule).

My main point in relevance to this bug is that if TiEmu is updated, so should the libti* packages it depends on. That should be a huge step towards fixing these packages.

Revision history for this message
Terrance Kennedy (cyphus) wrote :

Contrary to what I said earlier, perhaps merging the Debian packages isn't the best solution.

Revision history for this message
Scott Howard (showard314) wrote :

Thanks alot Terrance, this is helpful! Ubuntu has libticalcs2 libticables2 libtifiles2, which do not exist in debian. These packages all pull each other in and conflict with the debian libraries, which is a problem for the debian packages such as tiemu.

It's being worked on here:
https://bugs.launchpad.net/ubuntu/+source/libticalcs/+bug/507740

Revision history for this message
Larry Hartman (larryhartman50) wrote :

Looks like the original tiemu project forked--some details here:

https://www.calcforge.org/trac/emu-tigcc/

I could not find any information on the other leg, although a name was given on the above website. It seems to me that a choice needs to be made upstream in Debian as to which fork should be followed (if the other fork can be found), or to keep the original project packages.

Unless development picks back up, even the original project v3.02 packages are at risk of becoming outdated, already over a year old.

Revision history for this message
Larry Hartman (larryhartman50) wrote :

There is another tigcc project, but can not determine its relationship to emu-tigcc:

http://tigcc.ticalc.org/

This appears to be focused on compiling C for the calcs rather than emulating them.

Revision history for this message
Larry Hartman (larryhartman50) wrote :

I checked out this site:

http://lpg.ticalc.org/index.html

This appears to be the original tiemu site, some recent forum discussion refers to it, but the site has no date and posted activity appears no later than 2008.

Revision history for this message
Scott Howard (showard314) wrote :

Call for Testing, new version of tiemu.

Lucid's tiemu is not installable and unbuildable (the versions of the libraries needed have been removed from Ubuntu).

To get a working version, we have to merge from Debian unstable. However, Debian unstable's version FTBFS on lucid since it makes calls to old GTK functions that don't exist anymore.

I have made a patch to fix that and built the package here:
https://launchpad.net/~showard314/+archive/ppa

please install and test it by doing the following commands (in lucid):susu
sudo add-apt-repository ppa:showard314/ppa
sudo apt-get update
sudo apt-get install tiemu

I have tested it and it is working, so I'm subscribing ubuntu-sponsors and changing the title and description to reflect that tiemu is currently not installable. I'll post a debdiff against debian testing as well.

summary: - The tiemu package is heavily outdated
+ The tiemu package is not installable and not buildable in lucid
description: updated
Revision history for this message
Scott Howard (showard314) wrote : Re: The tiemu package is not installable and not buildable in lucid

Debdiff from debian's tiemu-3.02-1 to ubuntu's tiemu-3.02-1ubuntu1

(I did it against debian testing since the debdiff against karmic was 4 MB)

Changed in tiemu (Ubuntu):
importance: Wishlist → Medium
status: Confirmed → New
tags: removed: upgrade
description: updated
Revision history for this message
Ilya Barygin (randomaction) wrote :

Scott, thanks for the patch. We're in the Feature Freeze, so this upgrade needs a freeze exception.

https://wiki.ubuntu.com/FeatureFreeze
https://wiki.ubuntu.com/FreezeExceptionProcess

tags: added: patch
Revision history for this message
Scott Howard (showard314) wrote :
Download full text (3.1 KiB)

Thanks for looking into this, but I thought that this classifies as a "FeatureFreeze for bugfix-only updates" [1], even though this is a new release because the current lucid package is unusable and a complete debdiff is provided. I'll file the formal FFE here:

Why necessary: Because the tiemu package in lucid is unusable, not installable, and FTBFS on all architectures.

Upstream changelog is attached

Build log is found here: https://launchpad.net/~showard314/+archive/ppa

Install log from my ppa:

showard@s-desktop:~/tiemu/ubuntu/tiemu-2.00$ sudo apt-get install tiemu
[sudo] password for showard:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libgupnp-1.0-2 libgssdp-1.0-1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libticables2-1 libticalcs2-7 libticonv3 libtifiles2-5
Suggested packages:
  tiemu-skinedit
The following NEW packages will be installed:
  libticables2-1 libticalcs2-7 libticonv3 libtifiles2-5 tiemu
0 upgraded, 5 newly installed, 0 to remove and 94 not upgraded.
Need to get 273kB/2,249kB of archives.
After this operation, 5,509kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ lucid/universe libticables2-1 1.2.0-1 [51.3kB]
Get:2 http://archive.ubuntu.com/ubuntu/ lucid/universe libticonv3 1.1.0-0ubuntu2 [16.4kB]
Get:3 http://archive.ubuntu.com/ubuntu/ lucid/universe libtifiles2-5 1.1.2-0ubuntu2 [71.3kB]
Get:4 http://archive.ubuntu.com/ubuntu/ lucid/universe libticalcs2-7 1.1.3+dfsg1-1ubuntu1 [134kB]
Fetched 273kB in 2s (115kB/s)
Selecting previously deselected package libticables2-1.
(Reading database ... 472319 files and directories currently installed.)
Unpacking libticables2-1 (from .../libticables2-1_1.2.0-1_amd64.deb) ...
Selecting previously deselected package libticonv3.
Unpacking libticonv3 (from .../libticonv3_1.1.0-0ubuntu2_amd64.deb) ...
Selecting previously deselected package libtifiles2-5.
Unpacking libtifiles2-5 (from .../libtifiles2-5_1.1.2-0ubuntu2_amd64.deb) ...
Selecting previously deselected package libticalcs2-7.
Unpacking libticalcs2-7 (from .../libticalcs2-7_1.1.3+dfsg1-1ubuntu1_amd64.deb) ...
Selecting previously deselected package tiemu.
Unpacking tiemu (from .../tiemu_3.02-1ubuntu1~showard314ppa1_amd64.deb) ...
Processing triggers for man-db ...
Setting up libticables2-1 (1.2.0-1) ...

Setting up libticonv3 (1.1.0-0ubuntu2) ...

Setting up libtifiles2-5 (1.1.2-0ubuntu2) ...

Setting up libticalcs2-7 (1.1.3+dfsg1-1ubuntu1) ...

Setting up tiemu (3.02-1ubuntu1~showard314ppa1) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
showard@s-desktop:~/tiemu/ubuntu/tiemu-2.00$
Setting up tiemu (3.02-1ubuntu1~showard314ppa1) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
showard@s-desktop:~/tiemu/ubuntu/tiemu-2.00$

Print screen will be in a follow up comment.

See my above debdiff for the debdiff for this package.

[1] https://wiki.ubuntu.com/FreezeExceptionProcess#FeatureFreeze%20for...

Read more...

Revision history for this message
Scott Howard (showard314) wrote :

Screen shot of working program

debdiff is in comment #16

Revision history for this message
Steve Langasek (vorlon) wrote :

Scott,

Is there an upstream changelog for the difference between 2.00 and 3.02?

(Is this a bugfix-only update? There's not enough information here to know if that's the case.)

Revision history for this message
Scott Howard (showard314) wrote :

Hi Steve, the upstream changelog is attached to comment #18, and is quite extensive. It isn't a bug fix only update, it's just that the package is totally broken and the only way to get an installable package is to upgrade to the new version which uses libraries that Lucid has.

summary: - The tiemu package is not installable and not buildable in lucid
+ [FFE] The tiemu package is not installable and not buildable in lucid
Revision history for this message
Steve Langasek (vorlon) wrote :

FFe granted.

Changed in tiemu (Ubuntu):
status: New → Confirmed
Revision history for this message
Chow Loong Jin (hyperair) wrote :
Download full text (3.7 KiB)

It fails to build on Lucid (amd64), the erroneous lines are as follows:

gui/calc/calc.o: In function `on_drawingarea1_expose_event':
/tmp/buildd/tiemu-3.02/src/gui/calc/calc.c:316: undefined reference to `GTK_WIDGET_STATE'
gui/calc/screen.o: In function `redraw_lcd':
/tmp/buildd/tiemu-3.02/src/gui/calc/screen.c:207: undefined reference to `GTK_WIDGET_STATE'
gui/calc/screen.o: In function `hid_update_lcd':
/tmp/buildd/tiemu-3.02/src/gui/calc/screen.c:327: undefined reference to `GTK_WIDGET_STATE'
/tmp/buildd/tiemu-3.02/src/gui/calc/screen.c:335: undefined reference to `GTK_WIDGET_STATE'
gui/calc/screen.o: In function `redraw_skin':
/tmp/buildd/tiemu-3.02/src/gui/calc/screen.c:190: undefined reference to `GTK_WIDGET_STATE'
gui/debugger/dbg_all.o: In function `gtk_debugger_refresh':
/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_all.c:84: undefined reference to `GTK_WIDGET_VISIBLE'
/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_all.c:86: undefined reference to `GTK_WIDGET_VISIBLE'
/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_all.c:88: undefined reference to `GTK_WIDGET_VISIBLE'
/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_all.c:90: undefined reference to `GTK_WIDGET_VISIBLE'
/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_all.c:92: undefined reference to `GTK_WIDGET_VISIBLE'
gui/debugger/dbg_all.o:/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_all.c:94: more undefined references to `GTK_WIDGET_VISIBLE' follow
gui/debugger/dbg_all.o: In function `gtk_debugger_enter':
/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_all.c:150: undefined reference to `GTK_WIDGET_SENSITIVE'
gui/debugger/dbg_wnds.o: In function `dbgwnds_hide_all':
/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_wnds.c:149: undefined reference to `GTK_WIDGET_VISIBLE'
/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_wnds.c:151: undefined reference to `GTK_WIDGET_VISIBLE'
/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_wnds.c:153: undefined reference to `GTK_WIDGET_VISIBLE'
/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_wnds.c:155: undefined reference to `GTK_WIDGET_VISIBLE'
/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_wnds.c:157: undefined reference to `GTK_WIDGET_VISIBLE'
gui/debugger/dbg_wnds.o:/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_wnds.c:159: more undefined references to `GTK_WIDGET_VISIBLE' follow
gui/debugger/dbg_code.o: In function `dbgcode_quit_enabled':
/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_code.c:1099: undefined reference to `GTK_WIDGET_SENSITIVE'
gui/debugger/dbg_heap.o: In function `dbgheap_display_window':
/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_heap.c:174: undefined reference to `GTK_WIDGET_VISIBLE'
gui/debugger/dbg_iop.o: In function `dbgiop_display_window':
/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_iop.c:458: undefined reference to `GTK_WIDGET_VISIBLE'
gui/debugger/dbg_mem.o: In function `dbgmem_display_window':
/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_mem.c:438: undefined reference to `GTK_WIDGET_VISIBLE'
gui/debugger/dbg_pclog.o: In function `dbgpclog_display_window':
/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_pclog.c:166: undefined reference to `GTK_WIDGET_VISIBLE'
gui/debugger/dbg_regs.o: In function `dbgregs_display_window':
/tmp/buildd/tiemu-3.02/src/gui/debugger/dbg_regs.c:305:...

Read more...

Changed in tiemu (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Chow Loong Jin (hyperair) wrote :

Er whoops, I thought this was a sync. Looks like it wasn't.

Changed in tiemu (Ubuntu):
status: Incomplete → New
Iulian Udrea (iulian)
Changed in tiemu (Ubuntu):
status: New → Confirmed
Revision history for this message
Chow Loong Jin (hyperair) wrote :

Uploaded.

Changed in tiemu (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tiemu - 3.02-1ubuntu1

---------------
tiemu (3.02-1ubuntu1) lucid; urgency=low

  * Merge from debian testing (LP: #221332), remaining changes:
    - Depend on firefox
    - Fixed calls to old/removed GTK to fix a FTBFS:
      debian/patches/04_remove_depricated_gtk_calls.dpatch
 -- Scott Howard <email address hidden> Mon, 15 Mar 2010 22:24:53 -0400

Changed in tiemu (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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