Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34418 - gnusim8085-1.2.3.ebuild
Summary: gnusim8085-1.2.3.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 All
: High enhancement (vote)
Assignee: Embedded Team (OBSOLETE)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-11-26 08:04 UTC by J. Santiago Hirschfeld
Modified: 2004-02-18 23:13 UTC (History)
1 user (show)

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


Attachments
gnusim8085-1.2.3 (New Ebuild) (gnusim8085-1.2.3.ebuild,856 bytes, text/plain)
2003-11-26 08:05 UTC, J. Santiago Hirschfeld
Details
gnusim8085-1.2.3-r1.ebuild (Dependencies added) (gnusim8085-1.2.3-r1.ebuild,1.16 KB, text/plain)
2003-12-06 10:33 UTC, J. Santiago Hirschfeld
Details
gnusim8085-1.2.89.ebuild (gnusim8085-1.2.89.ebuild,1.16 KB, text/plain)
2004-02-05 13:14 UTC, J. Santiago Hirschfeld
Details

Note You need to log in before you can comment on or make changes to this bug.
Description J. Santiago Hirschfeld 2003-11-26 08:04:18 UTC
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 J. Santiago Hirschfeld 2003-11-26 08:05:54 UTC
Created attachment 21319 [details]
gnusim8085-1.2.3 (New Ebuild)

The ebuild
Comment 2 Marmotte 2003-12-06 07:05:18 UTC
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 J. Santiago Hirschfeld 2003-12-06 10:33:57 UTC
Created attachment 21800 [details]
gnusim8085-1.2.3-r1.ebuild (Dependencies added)

This ebuild add the gnome dependencies for the gnusim8085 package
Comment 4 J. Santiago Hirschfeld 2003-12-06 10:35:24 UTC
Comment on attachment 21800 [details]
gnusim8085-1.2.3-r1.ebuild (Dependencies added)

Added gnome dependencies
Comment 5 J. Santiago Hirschfeld 2003-12-06 10:42:26 UTC
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 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-12-06 19:23:08 UTC
todo
Comment 7 J. Santiago Hirschfeld 2004-02-05 13:14:53 UTC
Created attachment 25030 [details]
gnusim8085-1.2.89.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 Daniel Black (RETIRED) gentoo-dev 2004-02-18 21:34:46 UTC
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 Daniel Black (RETIRED) gentoo-dev 2004-02-18 23:13:12 UTC
J. Santiago Hirschfeld I've commited my slightly edited version to cvs. Let up know if there are any problems. Thankyou.