Bug 34418 - gnusim8085-1.2.3.ebuild
Bug#: 34418 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: All Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: dev-embedded@gentoo.org Reported By: jsantiagoh@yahoo.com.ar
Component: Ebuilds
URL: 
Summary: gnusim8085-1.2.3.ebuild
Keywords:  EBUILD
Status Whiteboard: 
Opened: 2003-11-26 08:04 0000
Description:   Opened: 2003-11-26 08:04 0000
Hola,

I made an ebuild for the GNUSim8085 simulator, which is (still) not in the gentoo portage. GNUSim8085 is a GTK2 8085 microprocessor simulator.

This is the first ebuild i made, and i test it as far as i could. it works fine in my system. I hope i can contribute with more in the future.

Long Live to Gentoo!.

Chau

------- Comment #1 From J. Santiago Hirschfeld 2003-11-26 08:05:54 0000 -------
Created an attachment (id=21319) [details]
gnusim8085-1.2.3 (New Ebuild)

The ebuild

------- Comment #2 From Marmotte 2003-12-06 07:05:18 0000 -------
i got a compile error :

In file included from 8085.c:23:
/usr/include/string.h:39: error: duplicate `extern'
make[2]: *** [gnusim8085-8085.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnusim8085-1.2.3/work/GNUSim8085-1.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnusim8085-1.2.3/work/GNUSim8085-1.2.3'
make: *** [all] Error 2

!!! ERROR: app-sci/gnusim8085-1.2.3 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! Make failed

------- Comment #3 From J. Santiago Hirschfeld 2003-12-06 10:33:57 0000 -------
Created an attachment (id=21800) [details]
Corrected dependencies for the ebuild

This ebuild add the gnome dependencies for the gnusim8085 package

------- Comment #4 From J. Santiago Hirschfeld 2003-12-06 10:35:24 0000 -------
(From update of attachment 21800 [details])
Added gnome dependencies

------- Comment #5 From J. Santiago Hirschfeld 2003-12-06 10:42:26 0000 -------
Dominique:

I don't think the problem is the ebuild or the gnusim8085 program, by these two lines:

In file included from 8085.c:23:
/usr/include/string.h:39: error: duplicate `extern'

i thinks the problem might be in your glibc library. Can you please try the ebuild in another gentoo box? ( i just uploaded the r1 ebuild fixing some dependencies).

------- Comment #6 From Robin Johnson 2003-12-06 19:23:08 0000 -------
todo

------- Comment #7 From J. Santiago Hirschfeld 2004-02-05 13:14:53 0000 -------
Created an attachment (id=25030) [details]
Update for the ebuild

This is the up to date version of gnusim8085 the compiler error string.h was
fixed and supports translation. I wasn't able to test it yet, but uploaded it
anyway in case someone is interested.

------- Comment #8 From Daniel Black 2004-02-18 21:34:46 0000 -------
I had some trouble with iconv library. Are you using the standard glibc iconv
or the dev-libs/libiconv package? What gcc/glibc are you using? I seem to get
way with removing -liconv on version sys-devel/gcc-3.3.2-r5
sys-libs/glibc-2.3.2-r9. Do you think it is save to remove -liconv?

g++ -O2 -mcpu=i686 -pipe -o gnusim8085 .... -liconv
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -liconv
collect2: ld returned 1 exit status
make[2]: *** [gnusim8085] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gnusim8085-1.2.89/work/GNUSim8085-1.2.89/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnusim8085-1.2.89/work/GNUSim8085-1.2.89'
make: *** [all] Error 2

------- Comment #9 From Daniel Black 2004-02-18 23:13:12 0000 -------
J. Santiago Hirschfeld I've commited my slightly edited version to cvs. Let up
know if there are any problems. Thankyou.