Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348418 - dev-ada/gtkada fails to compile
Summary: dev-ada/gtkada fails to compile
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High major with 1 vote (vote)
Assignee: ada team [OBSOLETE]
URL:
Whiteboard: Pending removal: 2016-02-02
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2010-12-11 12:36 UTC by fabio de francesco
Modified: 2016-02-14 13:03 UTC (History)
3 users (show)

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


Attachments
Updated ebuild from SVN (gtkada-2.22.0_p168071.ebuild,3.26 KB, text/plain)
2011-03-13 18:15 UTC, Anthony Low
Details
Patch for pragma Obsolescent (GtkAda-p170195-obsolescent.patch,64.42 KB, patch)
2011-03-13 18:16 UTC, Anthony Low
Details | Diff
patch.out (GtkAda-gnat-gcc-4.3.4-obsolescent.patch.out,81.88 KB, text/plain)
2012-04-15 00:06 UTC, JMW
Details
Ebuild attempt (gtkada-2.18.0.ebuild,3.62 KB, text/plain)
2012-04-20 21:49 UTC, JMW
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fabio de francesco 2010-12-11 12:36:24 UTC
Compilation of dev-ada/gtkada fails with the following messages:

x86_64-pc-linux-gnu-gcc -c -march=core2 -O2 -pipe -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/libdrm   -fPIC gtkitementry.c -o obj/gtkitementry.o
gtkitementry.c: In function ‘gtk_entry_real_insert_text’:
gtkitementry.c:696: error: ‘GtkEntry’ has no member named ‘n_bytes’
gtkitementry.c:696: error: ‘GtkEntry’ has no member named ‘text_size’
gtkitementry.c:698: error: ‘GtkEntry’ has no member named ‘n_bytes’
gtkitementry.c:698: error: ‘GtkEntry’ has no member named ‘text_size’
gtkitementry.c:700: error: ‘GtkEntry’ has no member named ‘text_size’
gtkitementry.c:701: error: ‘GtkEntry’ has no member named ‘text_size’
gtkitementry.c:704: error: ‘GtkEntry’ has no member named ‘text_size’
gtkitementry.c:705: error: ‘GtkEntry’ has no member named ‘text_size’
gtkitementry.c:705: error: ‘GtkEntry’ has no member named ‘text_size’
gtkitementry.c:706: error: ‘GtkEntry’ has no member named ‘text_size’
gtkitementry.c:709: error: ‘GtkEntry’ has no member named ‘text_size’
gtkitementry.c:710: error: ‘GtkEntry’ has no member named ‘text_size’
gtkitementry.c:710: error: ‘GtkEntry’ has no member named ‘n_bytes’
gtkitementry.c:712: error: ‘GtkEntry’ has no member named ‘text_size’
gtkitementry.c:712: error: ‘GtkEntry’ has no member named ‘n_bytes’
gtkitementry.c:721: error: ‘GtkEntry’ has no member named ‘text_size’
gtkitementry.c:726: error: ‘GtkEntry’ has no member named ‘n_bytes’
gtkitementry.c:729: error: ‘GtkEntry’ has no member named ‘n_bytes’
gtkitementry.c:733: error: ‘GtkEntry’ has no member named ‘n_bytes’
gtkitementry.c: In function ‘gtk_entry_real_delete_text’:
gtkitementry.c:766: error: ‘GtkEntry’ has no member named ‘n_bytes’
gtkitementry.c:768: error: ‘GtkEntry’ has no member named ‘n_bytes’
gtkitementry.c: In function ‘gtk_entry_retrieve_surrounding_cb’:
gtkitementry.c:1031: error: ‘GtkEntry’ has no member named ‘n_bytes’
gtkitementry.c: In function ‘gtk_entry_create_layout’:
gtkitementry.c:1232: error: ‘GtkEntry’ has no member named ‘n_bytes’
gtkitementry.c:1241: error: ‘GtkEntry’ has no member named ‘n_bytes’
gtkitementry.c:1275: error: ‘GtkEntry’ has no member named ‘n_bytes’
make[2]: *** [obj/gtkitementry.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-ada/gtkada-2.10.0/work/LocalSource/src/gtkextra'
make[1]: *** [gtkextra] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-ada/gtkada-2.10.0/work/LocalSource/src'
make: *** [all] Error 2
emake failed
 * ERROR: dev-ada/gtkada-2.10.0 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3309:  Called gnat_src_compile
 *   environment, line 2402:  Called lib_compile 'x86_64-pc-linux-gnu-gnat-gcc-4.3'
 *   environment, line 2560:  Called die
 * The specific snippet of code:
 *       emake -j1 GNATFLAGS="${ADACFLAGS}" || die
...


Reproducible: Always

Steps to Reproduce:
1.emerge dev-ada/gtkada
2.
3.

Actual Results:  
compilation fails

Expected Results:  
compile and install gtkada

emerge --info =dev-ada/gtkada-2.10.0
Portage 2.1.9.25 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.1-r3, 2.6.36-gentoo-r3-101204 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r3-101204-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 11 Dec 2010 11:45:01 +0000
ccache version 3.1.3 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r2
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.6-r1, 2.7.1, 3.1.3
dev-util/ccache:     3.1.3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.7
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.2.4-r1, 4.3.4, 4.4.5, 4.5.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms splitdebug strict suidctl unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="TODO.bz2 ChangeLog.bz2 AUTHORS.bz2 TODO.gz ChangeLog.gz AUTHORS.gz"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it it_IT en en_GB en_UK en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi ada alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode examples exif fam firefox flac fortran gdbm gif git gpm gtk hal htmlhandbook hvm iconv inotify ipv6 java java6 jpeg jpeg2k kde laptop latex lcms libnotify lm_sensors mad mikmod mmap mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib mysql mysqli ncurses nls nptl nptlonly nsplugin nvidia odbc ogg opengl openmp pam pango pcre pdf perl png posix postgres ppds pppd python qt3support qt4 readline sdl semantic-desktop session sharedmem sockets spell sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs syslog sysvipc tcpd threads tiff truetype unicode usb vim-syntax vnc vorbis wifi x264 xattr xcb xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache doc env expires ext_filter file_cache filter headers ident imagemap include info innodb log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling ssl status threads unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it it_IT en en_GB en_UK en_US" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

emerge -pqv =dev-ada/gtkada-2.10.0
[ebuild  N    ] dev-ada/gtkada-2.10.0  USE="nls opengl"
Comment 1 Rafał Mużyło 2010-12-11 15:59:35 UTC
The version in the tree is a *bit* dated.
There was a more recent release and the svn version does have fixes for the problem.
Comment 2 Lancelot SIX 2011-02-10 09:10:51 UTC
I do have the same problem trying to install GTKADA.
Aparently, gtkada is not complient with >=Gtk+-2.18 and the only 2.x version of GTK availalble in the portage tree is 2.20.
I guess it would be possible to manually re-install an old gtk-version as a temporary solution.
Comment 3 Anthony Low 2011-03-13 18:15:53 UTC
Created attachment 265743 [details]
Updated ebuild from SVN

Here's an updated ebuild pegged against SVN revision 171162. A patch is required to build with >=gnat-gcc-4.4 since the syntax of "pragma Obsolescent" has changed. The patch I am attaching is a bit more invasive than needs to be because it updates all uses of Obsolescent to use the new form.

I installed gtkada a while ago with the intention of learning to use it but haven't had the chance yet, so please test if this works.
Comment 4 Anthony Low 2011-03-13 18:16:32 UTC
Created attachment 265745 [details, diff]
Patch for pragma Obsolescent
Comment 5 JMW 2012-04-15 00:06:38 UTC
Created attachment 308985 [details]
patch.out
Comment 6 JMW 2012-04-15 00:08:05 UTC
Patch failed. Above is the patch.out for the failed patch. Contacted Adacore about this, no response yet. Please fix this.
Comment 7 JMW 2012-04-18 11:32:55 UTC
Can we have some comment on the status of this bug? I need this so I can fix the sunrise media-sound/scala-bin ebuild. Is there some workaround to this bug while I wait for the patch to be either fixed or incorporated into GtkAda? If I can just get a working version of this emerged through portage, I can move on to the scala-bin ebuild. I would like to know if I should be looking for some workaround or if GtkAda will be fixed shortly.
Comment 8 Lancelot SIX 2012-04-18 13:00:19 UTC
Hi,
As a workaround I install manually the library (updated version) from the soruces downloaded at libre.adacore.com. I am defenetly not familiar with ebuild writing so I did not create one.

Here is how I install the lib :

Download gtkada-gpl-2.18.0-src.tgz from libre.adacore.com and extract it

There are some minor adjustments to do here to make it compile (I compile it with =dev-lang/gnat-gcc-4.4.5 never tested with another compiler).

Remove lines 231 and 235 from src/gtk-about_dialog.ads. Those lines are Obscolescent pragmas (optional) I don't know how to fix.
Remove line 39 from src/misc.c (safe, the #include is implicitly done two lines above)

Those operations can be done with this : 

sed -i -e "235d" src/gtk-about_dialog.ads
sed -i -e "231d" src/gtk-about_dialog.ads
sed -i -e "39d"  src/misc.c

And then you can go with the usual ./configure; make; make install
Finally, update LD_LIBRARY_PATH variable (or add a file to set it in /etc/env.d )

Done, you got your copy of gtkada !
Now if anyone can produce (or help me to) the corresponding ebuild, fill free !
Comment 9 George Shapovalov (RETIRED) gentoo-dev 2012-04-19 13:34:42 UTC
(In reply to comment #7)
> Can we have some comment on the status of this bug? 
Sorry for slow response. I am quite swamped in real life atm (papers, grants..). I am trying to update the base gnat packages (gnat itself and asis). However, since there is actual interest in this one I'll try to replan. This package severely needs an update. I may be able to issue something 2009-based, as I just added new asis from AdaCore's 2009 release and we have working gnat-gcc-4.3..
Comment 10 JMW 2012-04-20 21:46:17 UTC
Ok, I'm attempting an ebuild for 2.18 based on the 2.10 ebuild. I'm having a weird problem:


lib_compile done
/var/tmp/portage/dev-ada/gtkada-2.18.0/work/LocalSource
lib_install
/var/tmp/portage/dev-ada/gtkada-2.18.0/work/LocalSource
lib_install done
/var/tmp/portage/dev-ada/gtkada-2.18.0/work/LocalSource
 * compiling for gnat profile x86_64-pc-linux-gnu-gnat-gcc-4.4
cp: cannot stat `gtkada-gpl-2.18.0-src': No such file or directory
/var/tmp/portage/dev-ada/gtkada-2.18.0/temp/environment: line 1932: cd: /var/tmp/portage/dev-ada/gtkada-2.18.0/work/LocalSource: No such file or directory
lib_compile
/var/tmp/portage/dev-ada/gtkada-2.18.0/work/LocalSource
 * QA Notice: econf called in src_compile instead of src_configure
ISE access_rd(./configure): No such file or directory
	abs_path: (null)
	res_path: (null)
/usr/lib64/libsandbox.so(+0x37e2)[0x7ff956e697e2]
/usr/lib64/libsandbox.so(+0x3853)[0x7ff956e69853]
/usr/lib64/libsandbox.so(+0x50c8)[0x7ff956e6b0c8]
/usr/lib64/libsandbox.so(faccessat+0x71)[0x7ff956e6ef41]
/bin/bash(sh_eaccess+0x26)[0x480006]
/bin/bash(unary_test+0x5c)[0x45300c]
/bin/bash[0x4535c7]
/bin/bash(test_command+0x135)[0x453c25]
/bin/bash(test_builtin+0x2c)[0x47381c]
/bin/bash[0x42ba23]
/proc/17156/cmdline: /bin/bash /usr/lib64/portage/bin/ebuild.sh compile 

/usr/lib64/portage/bin/ebuild.sh: line 692: 17156 Aborted                 ( exec 9>&-; ebuild_main ${EBUILD_SH_ARGS}; exit 0 )
 * The ebuild phase 'compile' has exited unexpectedly. This type of
 * behavior is known to be triggered by things such as failed variable
 * assignments (bug #190128) or bad substitution errors (bug #200313).
 * Normally, before exiting, bash should have displayed an error message
 * above. If bash did not produce an error message above, it's possible
 * that the ebuild has called `exit` when it should have called `die`
 * instead. This behavior may also be triggered by a corrupt bash binary or
 * a hardware problem such as memory or cpu malfunction. If the problem is
 * not reproducible or it appears to occur randomly, then it is likely to
 * be triggered by a hardware problem. If you suspect a hardware problem
 * then you should try some basic hardware diagnostics such as memtest.
 * Please do not report this as a bug unless it is consistently
 * reproducible and you are sure that your bash binary and hardware are
 * functioning properly.

I don't really understand what's going on with this and I honestly don't know what I'm doing with this particular ebuild even though I've written quite a few ebuilds in the past. The "cp.. cannot stat.." message doesn't seem to be connected to any line in the ebuild. I'll add the ebuild as an attachment so you can see what I've tried to do here. You'll see that I've added some echo and pwd statements just to get an idea where it is in the ebuild when it crashes. No idea why lib_compile is called twice.
Comment 11 JMW 2012-04-20 21:49:31 UTC
Created attachment 309677 [details]
Ebuild attempt
Comment 12 JMW 2012-04-24 05:41:00 UTC
Ok, I've been trying the manual install suggested by Lancelot SIX, but I keep getting messages about undefined references to_Unwind_<something>. I THINK it might be related to this 8 year old bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14925. I am testing right now whether installing libunwind and then recompiling gnat-gcc will fix this. I'm posting my error message, Hopefully someone can tell me what the real fix should be before I waste a lot of time trying to figure this out.


checking that your gnat compiler works with a simple example... /usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(a-finali.o): In function `ada__finalization___assign__3':
(.text+0x21e): undefined reference to `_Unwind_Resume'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(a-tags.o): In function `ada__tags__interface_ancestor_tags':
(.text+0xa94): undefined reference to `_Unwind_Resume'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(a-tags.o): In function `ada__tags__wide_wide_expanded_name':
(.text+0xf45): undefined reference to `_Unwind_Resume'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(a-tags.o): In function `ada__tags__wide_expanded_name':
(.text+0x10a1): undefined reference to `_Unwind_Resume'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(a-tags.o): In function `ada__tags__internal_tag':
(.text+0x1419): undefined reference to `_Unwind_Resume'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(a-textio.o):(.text+0x12f5): more undefined references to `_Unwind_Resume' follow
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(raise-gcc.o): In function `db_action_for':
(.text+0x399): undefined reference to `_Unwind_GetIPInfo'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(raise-gcc.o): In function `__gnat_eh_personality':
(.text+0x4ec): undefined reference to `_Unwind_GetLanguageSpecificData'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(raise-gcc.o): In function `__gnat_eh_personality':
(.text+0x505): undefined reference to `_Unwind_GetRegionStart'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(raise-gcc.o): In function `__gnat_eh_personality':
(.text+0x5e9): undefined reference to `_Unwind_GetIPInfo'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(raise-gcc.o): In function `__gnat_eh_personality':
(.text+0x687): undefined reference to `_Unwind_GetIPInfo'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(raise-gcc.o): In function `__gnat_eh_personality':
(.text+0xbcf): undefined reference to `_Unwind_SetGR'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(raise-gcc.o): In function `__gnat_eh_personality':
(.text+0xbdf): undefined reference to `_Unwind_SetGR'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(raise-gcc.o): In function `__gnat_eh_personality':
(.text+0xbea): undefined reference to `_Unwind_SetIP'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(raise-gcc.o): In function `__gnat_Unwind_ForcedUnwind':
(.text+0x1): undefined reference to `_Unwind_ForcedUnwind'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(raise-gcc.o): In function `__gnat_Unwind_RaiseException':
(.text+0x11): undefined reference to `_Unwind_RaiseException'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(raise-gcc.o): In function `base_of_encoded_value':
(.text+0x358): undefined reference to `_Unwind_GetRegionStart'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(raise-gcc.o): In function `base_of_encoded_value':
(.text+0x368): undefined reference to `_Unwind_GetTextRelBase'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(raise-gcc.o): In function `base_of_encoded_value':
(.text+0x378): undefined reference to `_Unwind_GetDataRelBase'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(a-except.o): In function `ada__exceptions__exception_data__append_info_basic_exception_informationXn':
(.text+0x4d7): undefined reference to `_Unwind_Resume'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(a-except.o): In function `__gnat_append_info_e_msg':
(.text+0x760): undefined reference to `_Unwind_Resume'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(a-except.o): In function `ada__exceptions__exception_data__append_info_exception_nameXn':
(.text+0x835): undefined reference to `_Unwind_Resume'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(a-except.o): In function `ada__exceptions__exception_data__basic_exception_tracebackXn':
(.text+0x94d): undefined reference to `_Unwind_Resume'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(a-except.o): In function `ada__exceptions__exception_data__exception_informationXn':
(.text+0xa2a): undefined reference to `_Unwind_Resume'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(a-except.o):(.text+0xe62): more undefined references to `_Unwind_Resume' follow
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(tracebak.o): In function `__gnat_backtrace':
(.text+0x35): undefined reference to `_Unwind_Backtrace'
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.4/adalib/libgnat.a(tracebak.o): In function `trace_callback':
(.text+0x4d): undefined reference to `_Unwind_GetIP'
collect2: ld returned 1 exit status
gnatmake: *** link failed.
no
configure: error: /usr/x86_64-pc-linux-gnu/gnat-gcc-bin/4.4/gnatmake test failed at compile time! Check your configuration.
Comment 13 Lancelot SIX 2012-04-24 07:41:06 UTC
Hi. The error you got is related to your ada compiler installation, not to gtk-ada.
Anyway, I can build GtkAda on systems where I use =dev-lang/gnat-gcc-4.4.5 from portage tree and sys-libs/libunwind is not installed.
Comment 14 JMW 2012-04-24 17:05:16 UTC
Yes. installing libunwind and reinstalling gnat-gcc and gcc did not help. I'm truly pretty confused about this. I wish there were a way to automatically check for inconsistencies in the entire toolchain up to gnat-gcc, because this (I think) could even be a problem with gcc. I'm going to try with gnat-gpl and see what happens.
Comment 15 Pacho Ramos gentoo-dev 2015-05-13 20:29:50 UTC
CCing treecleaners as there is no sense on keeping this outdated and broken package, if anyone is willing to proxy maintain it, it could be keept of course:
https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
Comment 16 Pacho Ramos gentoo-dev 2016-02-14 13:03:29 UTC
removed