Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112985 - sci-calculators/tiemu3-20050915.ebuild
Summary: sci-calculators/tiemu3-20050915.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://sourceforge.net/projects/gtktiemu
Whiteboard:
Keywords: EBUILD
: 94589 189422 (view as bug list)
Depends on: 109220
Blocks:
  Show dependency tree
 
Reported: 2005-11-19 05:12 UTC by Henning Schild
Modified: 2009-02-07 23:24 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sci-calculators/tiemu3-20050915.ebuild (tiemu3-20050915.ebuild,928 bytes, text/plain)
2005-11-19 05:15 UTC, Henning Schild
Details
tiemu-3.00_beta20050915.ebuild (tiemu-3.00_beta20050915.ebuild,1.28 KB, text/plain)
2005-11-20 08:13 UTC, Nicolas Lalevee
Details
tiemu3-20060129.ebuild (tiemu3-20060129.ebuild,1.13 KB, text/plain)
2006-02-04 04:59 UTC, Henning Schild
Details
tiemu3-2.81_p20060723.ebuild (tiemu3-2.81_p20060723.ebuild,1.19 KB, text/plain)
2006-08-19 04:05 UTC, Henning Schild
Details
tiemu3-2.81_p20060925.ebuild (tiemu3-2.81_p20060925.ebuild,1.19 KB, text/plain)
2006-10-04 07:05 UTC, Henning Schild
Details
tiemu3-2.81_p20061030.ebuild (tiemu3-2.81_p20061030.ebuild,1.26 KB, text/plain)
2006-10-31 08:03 UTC, Henning Schild
Details
sci-calculators/tiemu3-2.81_p20070207.ebuild (tiemu3-2.81_p20070207.ebuild,1.19 KB, text/plain)
2007-04-14 11:04 UTC, Henning Schild
Details
sci-calculators/tiemu3-3.00.ebuild (tiemu3-3.00.ebuild,1.18 KB, text/plain)
2007-06-05 22:08 UTC, Henning Schild
Details
tiemu3-3.01a.ebuild (tiemu3-3.01a.ebuild,1.39 KB, text/plain)
2007-09-10 18:20 UTC, Henning Schild
Details
tiemu3-3.02.ebuild (tiemu3-3.02.ebuild,1.62 KB, text/plain)
2008-06-21 13:25 UTC, Henning Schild
Details
tiemu3-3.02.ebuild (tiemu3-3.02.ebuild,1.65 KB, text/plain)
2008-06-21 14:59 UTC, Henning Schild
Details
sci-calculators/tiemu-3.03.ebuild (tiemu-3.03.ebuild,1.50 KB, text/plain)
2009-02-07 23:24 UTC, Henning Schild
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henning Schild 2005-11-19 05:12:13 UTC
Ebuild for tiemu3, depends on the libs from this bug
http://bugs.gentoo.org/show_bug.cgi?id=109220.

tiemu3 is a rewrite of tiemu2 now using the new libs. 
http://bugs.gentoo.org/show_bug.cgi?id=94589
Comment 1 Henning Schild 2005-11-19 05:15:33 UTC
Created attachment 73176 [details]
sci-calculators/tiemu3-20050915.ebuild
Comment 2 Nicolas Lalevee 2005-11-20 08:13:17 UTC
Created attachment 73246 [details]
tiemu-3.00_beta20050915.ebuild

I don't know at all why, but your ebuild fails. It compiles some stuff and
finish with an error. And I can't find where the error was thrown.... weird...

But the ebuild I have done (see attached) works fine.
And I don't agree with you when you say : "i think its stupid to have a mixed
qt-gtk GUI". In fact, I have already qt installed and I hate the gtk "open
file" window :p
Comment 3 Henning Schild 2005-11-20 09:31:17 UTC
I tested your ebuild and it works fine for me.
I didn't use eclasses because I didn't even know what eclasses do. I had a look
in the docs and learned a little more about portage today.
Comment 4 Cyrill Helg 2006-01-09 10:15:02 UTC
sorry does not work here:

make[3]: Leaving directory `/tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/uae'
cd core/gdb && make
make[3]: Entering directory `/tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/gdb'
/bin/sh: line 0: [: /tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/gdb/build-LDFLAGS=-Wl,-O1: binary operator expected
/bin/sh: line 0: [: /tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/gdb/build-LDFLAGS=-Wl,-O1: binary operator expected
/bin/sh: line 0: [: /tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/gdb/build-LDFLAGS=-Wl,-O1: binary operator expected
/bin/sh: line 0: [: /tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/gdb/build-LDFLAGS=-Wl,-O1: binary operator expected
/bin/sh: line 0: [: /tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/gdb/build-LDFLAGS=-Wl,-O1: binary operator expected
/bin/sh: line 0: [: /tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/gdb/build-LDFLAGS=-Wl,-O1: binary operator expected
/bin/sh: line 0: [: /tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/gdb/build-LDFLAGS=-Wl,-O1: binary operator expected
Configuring in libiberty
configure: error: unrecognized option: -Wl,--sort-common
Try `./configure --help' for more information.
make[3]: *** [configure-libiberty] Fehler 1
make[3]: Leaving directory `/tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/gdb'
make[2]: *** [gdb] Fehler 2
Comment 5 Kevin Kofler 2006-02-01 23:02:56 UTC
FYI:
* I have uploaded a new snapshot (20060129). (The libti* libraries should get upgraded too, several bugfixes have been done in the libs, too.)
* As explained on the gtktiemu-devel mailing list, the new snapshot builds against KDE by default (but only shows KDE file dialogs by default if actually running KDE; if you want them even under another desktop, you can force that in the config file). While it is possible to disable that (--without-kde), it is not recommended (at least not by default - allowing USE="-kde" is fine with me), because KDE support will be needed to be able to use the DCOP IPC interface, which will allow KTIGCC (the TIGCC IDE for KDE currently under development) to communicate with TiEmu. See this discussion thread: http://sourceforge.net/mailarchive/forum.php?thread_id=9461052&forum_id=44229
* I'm aware of the lack of flexibility of the KDE directory scan (Henning reported it), see: http://sourceforge.net/tracker/index.php?func=detail&aid=1361296&group_id=23169&atid=377683
Luckily, it is not hard to work around, and in fact the latest proposed ebuild already does that.
* The problem Cyrill Helg is seeing appears to be a problem with GDB not liking the latest bash. The 20060129 snapshot now includes GDB 6.4, hopefully this fixes this bug. Otherwise, please report on the TiEmu bug tracker, it's (unless I'm missing something) not a Gentoo-specific issue. (It's going to hit me too as soon as I upgrade my system to FC5.)

-- Kevin Kofler, TiEmu upstream co-developer
Comment 6 Henning Schild 2006-02-04 04:59:52 UTC
Created attachment 78854 [details]
tiemu3-20060129.ebuild

version bump
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-12 16:59:49 UTC
- when this application uses optionally kde, this should reflect in the dependencies
- src_unpack() is superfluous
- cd ${S} is superfluous
- please use econf ${myconf} instead ./configure. If this doesn't wor for some weird reason, your base is ${ROOT}, not /
Comment 8 Gregg Gruen 2006-07-23 07:59:31 UTC
This latest ebuild doesn't work at all for me.  I've tried using the 20060129 libraries, as well as the newer ones.  All the libraries install fine, but tiemu3 doesn't.  I'd be glad to provide more info if it'll help me get this working.

config.status: creating cconfig.h
config.status: executing default commands
make[4]: Leaving directory `/var/tmp/portage/tiemu3-20060129/work/tiemu/src/core/gdb'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/tiemu3-20060129/work/tiemu/src/core/gdb'
make[2]: *** [gdb] Error 2
make[2]: Leaving directory `/var/tmp/portage/tiemu3-20060129/work/tiemu/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/tiemu3-20060129/work/tiemu'
make: *** [all] Error 2
Comment 9 Kevin Kofler 2006-07-23 08:06:46 UTC
Huh? That's an interesting one. Don't we all love errors with no error message? Sigh...
Maybe your version of bash is broken?

-- Kevin Kofler, TiEmu upstream co-developer
Comment 10 Gregg Gruen 2006-07-23 08:14:34 UTC
> Huh? That's an interesting one. Don't we all love errors with no error message?
> Sigh...
> Maybe your version of bash is broken?
> 
> -- Kevin Kofler, TiEmu upstream co-developer
> 

I thought so too, but I modified the ebuild to use the bash patch on their sf.net page, but no luck.  
Comment 11 Kevin Kofler 2006-07-23 08:19:24 UTC
Well, the patch definitely works with Fedora's bash 3.1 (that's what I tested it with, I'm the one who did the upstream release, and no, I haven't seen the light of Gentoo ;-) ). So either yours is even newer and requires even more compatibility patches, or it is buggy, or the problem is not a bash issue after all.

-- Kevin Kofler, TiEmu upstream co-developer
Comment 12 Henning Schild 2006-08-19 04:05:54 UTC
Created attachment 94599 [details]
tiemu3-2.81_p20060723.ebuild

version bumb
Comment 13 Dustin C. Hatch 2006-09-19 09:06:38 UTC
I too get a strange messageless error when compiling tiemu.  The interesting thing is, it appears to compile completely, I can `touch /var/tmp/portage/tiemu3-2.81_p20060723/.compiled` and then run `ebuild /usr/local/portage/sci-calculators/tiemu3/tiemu3-2.81_p20060723 merge` and it will install fine.

make[6]: Entering directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb/gdb'
make[7]: Entering directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb/gdb/doc'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb/gdb/doc'
make[7]: Entering directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb/gdb/gdbtk'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb/gdb/gdbtk'
make[6]: Leaving directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb/gdb'
make[5]: Leaving directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb/gdb'
make[4]: Leaving directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb'
make[4]: Entering directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb'
make[4]: Nothing to be done for `all-target'.
make[4]: Leaving directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb'
make[3]: Leaving directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb'
make[2]: Leaving directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu'
make: *** [all] Error 2

!!! ERROR: sci-calculators/tiemu3-2.81_p20060723 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  tiemu3-2.81_p20060723.ebuild, line 52:   Called die
Comment 14 Henning Schild 2006-10-04 07:05:50 UTC
Created attachment 98775 [details]
tiemu3-2.81_p20060925.ebuild

new version
Comment 15 Joseph Booker 2006-10-08 11:44:28 UTC
dies for me with:

checking for dcopidl... /usr/kde/3.5/bin/dcopidl
checking for dcopidl2cpp... /usr/kde/3.5/bin/dcopidl2cpp
checking for mcopidl... not found
configure: error: The important program mcopidl was not found!
Please check whether you installed KDE correctly.

Seems from http://www.arts-project.org/doc/handbook/mcopidl.html that this is an arts thing, why would sound be required for a calc emulator? shouldn't this depend on kde-base/arts then?

(after emerging arts), works fine on emachines T1090 with the libs from sunrise
Comment 16 Henning Schild 2006-10-08 17:22:29 UTC
It clearly depens on arts. But as you said that does not seem to be necessary for this kind of application. I don't think it ever made noise during my work. configure offers no way to turn that off so I think that is a bug of tiemu itself. Since one of the devs of tiemu (Kevin Kofler) is on the CC list, we might not even have to file a bug on the project tracker.
Comment 17 Kevin Kofler 2006-10-08 17:35:07 UTC
Hmmm... Interesting one. Indeed, arts is not really needed for TiEmu. We're using the standard KDE acinclude.m4 (well, an old version, because the current one can't be used conditionally, as in "if not --without-kde then check for KDE") and that checks for each and every executable which is considered part of KDE. And the KDE people consider arts to be part of KDE 3. (In fact, kdelibs-devel on Fedora requires arts-devel.) So, the high customizability of Gentoo is what is biting you here. Now, I agree it shouldn't be needed, so I'll be looking into patching our acinclude.m4 not to require it (along with other useless (to TiEmu) executables). I'll bring up a pointer to the fix as soon as I get it done so it can be backported into the ebuild (you'll have to either regenerate configure or patch it by hand though).
Comment 18 Kevin Kofler 2006-10-08 17:55:55 UTC
Fixed in SVN.
http://svn.tilp.info/cgi-bin/viewcvs.cgi?rev=2246&root=tiemu&view=rev
Comment 19 Dustin C. Hatch 2006-10-18 15:31:40 UTC
Just tried the new version (20060925) today.  Compiled like a charm :D
Comment 20 Kevin Kofler 2006-10-18 16:33:11 UTC
Strange, because we didn't change anything to address your bug. (I still have no idea how it happened.)
Comment 21 Henning Schild 2006-10-31 08:03:21 UTC
Created attachment 100889 [details]
tiemu3-2.81_p20061030.ebuild

new version with arts problem fixed and new dbus USE-Flag
Comment 22 Henning Schild 2007-04-14 11:04:35 UTC
Created attachment 116228 [details]
sci-calculators/tiemu3-2.81_p20070207.ebuild

bump
Comment 23 Henning Schild 2007-06-05 22:08:27 UTC
Created attachment 121293 [details]
sci-calculators/tiemu3-3.00.ebuild

version bump
Comment 24 Jakub Moc (RETIRED) gentoo-dev 2007-08-19 07:01:06 UTC
*** Bug 189422 has been marked as a duplicate of this bug. ***
Comment 25 Jakub Moc (RETIRED) gentoo-dev 2007-08-19 07:01:58 UTC
*** Bug 94589 has been marked as a duplicate of this bug. ***
Comment 26 Henning Schild 2007-09-10 18:20:38 UTC
Created attachment 130527 [details]
tiemu3-3.01a.ebuild

version bump
Comment 27 Henning Schild 2008-06-21 13:25:03 UTC
Created attachment 157919 [details]
tiemu3-3.02.ebuild

version bump
added threads flag
Comment 28 Henning Schild 2008-06-21 14:59:24 UTC
Created attachment 157935 [details]
tiemu3-3.02.ebuild

fixed version of this ebuild
Comment 29 GNUtoo 2008-10-30 20:16:28 UTC
It fails to run and says:
$ tiemu
TiEmu 3 - Version 3.02
  (C) Romain Lievin & Thomas Corvazier  2000-2001
  (C) Romain Lievin 2001-2003
  (C) Julien Blache 2003
  (C) Romain Lievin 2004-2005
  (C) Romain Lievin & Kevin Kofler 2005-2007
  (C) Peter Fernandes 2007
THIS PROGRAM COMES WITH ABSOLUTELY NO WARRANTY
PLEASE READ THE DOCUMENTATION FOR DETAILS
tiemu-INFO: Configuration file not found, use default values. You can create one by the 'File|Save config' command menu.
tiemu-INFO: Scanning images/upgrades...
tiemu-INFO: Done.
tiemu-INFO: Image information:
tiemu-INFO:   Calculator  : TI89
tiemu-INFO:   Firmware    : 0.81
tiemu-INFO:   Memory type : FLASH
tiemu-INFO:   Memory size : 2MB (2097152 bytes)
tiemu-INFO:   ROM base    : 20
tiemu-INFO:   Hardware    : 2
tiemu-INFO:   Has boot    : no
tiemu-INFO: Hardware Parameters Block:
tiemu-INFO:   length           : 24
tiemu-INFO:   hardwareID       : 3
tiemu-INFO:   hardwareRevision : 1
tiemu-INFO:   bootMajor        : 1
tiemu-INFO:   bootRevision     : 1
tiemu-INFO:   bootBuild        : 1
tiemu-INFO:   gateArray        : 2
ticables-INFO: ticables library version 1.2.0
ticables-INFO: kernel: 2.6.27_sempron_2500
tifiles-INFO: tifiles library version 1.1.0
ticalcs-INFO: ticalcs library version 1.1.0
UAE: version 0.8.25
UAE: Building CPU table for configuration: 68000 24-bit addressing
UAE: 1866 CPU functions
UAE: Building CPU function table (0 1).
tiemu-INFO: loading keymap: ti89.map (88 keys)
tiemu-INFO: loading skin: ti89.skn (221 x 503)
tiemu-INFO: found SSP=$004c00 and PC=$212188 at offset 0x8c
tiemu-INFO: loading I/O defs: iodefs_ti89_hw2.txt (27 entries)
Loading ROM calls from file </usr/share/tiemu/misc/romcalls.txt>... Done !
Parsing ROM calls from flash memory (972 entries at $2283f0)... Done !
Tk_Init failed: Can't find a usable tk.tcl in the following directories:
    /usr/share/tk8.4 /usr/lib/tk8.4 /lib/tk8.4 /usr/library /library /tk8.4.1/library /tk8.4.1/library

/usr/share/tk8.4/tk.tcl: no event type or button # or keysym
no event type or button # or keysym
    while executing
"bind Listbox <MouseWheel> {
    %W yview scroll [expr {- (%D / 120) * 4}] units
}"
    (file "/usr/share/tk8.4/listbox.tcl" line 182)
    invoked from within
"source /usr/share/tk8.4/listbox.tcl"
    (in namespace eval "::" script line 1)
    invoked from within
"namespace eval :: [list source [file join $::tk_library $file.tcl]]"
    (procedure "SourceLibFile" line 2)
    invoked from within
"SourceLibFile listbox"
    (in namespace eval "::tk" script line 4)
    invoked from within
"namespace eval ::tk {
        SourceLibFile button
        SourceLibFile entry
        SourceLibFile listbox
        SourceLibFile menu
        SourceLibFile panedwindow
        SourceLibFile ..."
    invoked from within
"if {$::tk_library ne ""} {
    if {[string equal $tcl_platform(platform) "macintosh"]} {
        proc ::tk::SourceLibFile {file} {
            if {[catch {
                namesp..."
    (file "/usr/share/tk8.4/tk.tcl" line 393)
    invoked from within
"source /usr/share/tk8.4/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $file]"
/usr/lib/tk8.4/tk.tcl: can't import command "mc": already exists
can't import command "mc": already exists
    while executing
"namespace import ::msgcat::mc"
    (in namespace eval "::tk::msgcat" script line 21)
    invoked from within
"namespace eval msgcat {
        namespace export mc mcmax
        if {[interp issafe] || [catch {package require msgcat}]} {
            # The msgcat package..."
    (in namespace eval "::tk" script line 3)
    invoked from within
"namespace eval ::tk {
    # Set up the msgcat commands
    namespace eval msgcat {
        namespace export mc mcmax
        if {[interp issafe] || [catch {p..."
    (file "/usr/lib/tk8.4/tk.tcl" line 20)
    invoked from within
"source /usr/lib/tk8.4/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $file]"


This probably means that tk wasn't installed properly.

tiemu-INFO: Image information:
tiemu-INFO:   Calculator  : TI89
tiemu-INFO:   Firmware    : 0.81
tiemu-INFO:   Memory type : FLASH
tiemu-INFO:   Memory size : 2MB (2097152 bytes)
tiemu-INFO:   ROM base    : 20
tiemu-INFO:   Hardware    : 2
tiemu-INFO:   Has boot    : no

and continues in loop...
Comment 30 Henning Schild 2008-10-31 16:24:37 UTC
This seems to be a missing runtime dependency for dev-lang/tk. Install dev-lang/tk try again and report back.
Comment 31 GNUtoo 2008-11-01 11:07:53 UTC
(In reply to comment #30)
> This seems to be a missing runtime dependency for dev-lang/tk. Install
> dev-lang/tk try again and report back.
> 

$ eix dev-lang/tk
[I] dev-lang/tk
     Available versions:  8.4.15-r1 8.4.18 (~)8.4.18-r1 (~)8.4.19 [M](~)8.5.1 [M](~)8.5.5 {debug threads truetype}
     Installed versions:  8.4.19(10:26:29 PM 10/30/2008)(threads -debug)
     Homepage:            http://www.tcl.tk/
     Description:         Tk Widget Set

Comment 32 GNUtoo 2008-11-01 11:08:29 UTC
(In reply to comment #30)
> This seems to be a missing runtime dependency for dev-lang/tk. Install
> dev-lang/tk try again and report back.
> 

i had dev-lang/tk
Comment 33 Henning Schild 2008-11-02 19:38:19 UTC
Maybe you should have a look here:
http://bugs.gentoo.org/show_bug.cgi?id=225999
Comment 34 GNUtoo 2008-11-04 16:09:58 UTC
(In reply to comment #33)
> Maybe you should have a look here:
> http://bugs.gentoo.org/show_bug.cgi?id=225999
> 

thanks a lot
Comment 35 Sébastien Fabbro (RETIRED) gentoo-dev 2009-02-03 15:59:15 UTC
Thanks much to all. Now in portage main tree. If anyone would like to be proxy-maintainer for tilp2 and friends, drop me an email.
Comment 36 Henning Schild 2009-02-07 23:23:05 UTC
There are some newer versions available http://repo.calcforge.org/debian/source/ modified ebuilds follow.

Comment 37 Henning Schild 2009-02-07 23:24:49 UTC
Created attachment 181292 [details]
sci-calculators/tiemu-3.03.ebuild