Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52432 - Gambas-0.93 segfaults at install stage
Summary: Gambas-0.93 segfaults at install stage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 All
: High major (vote)
Assignee: Marius Mauch (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-30 03:41 UTC by Xavier Neys (RETIRED)
Modified: 2004-06-25 05:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Neys (RETIRED) gentoo-dev 2004-05-30 03:41:08 UTC
As mentioned in http://bugs.gentoo.org/show_bug.cgi?id=48544#c2 installation of gambas segfaults during install stage when running gbi.
I tried it on two different machines and it segfaulted on both on different files but gbi always breaks on the same file on each machine, really not a hardware issue.
My CFLAGS are not aggressive at all:
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.6-rc3)
=================================================================
System uname: 2.6.6-rc3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.15
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
    and
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.3)
=================================================================
System uname: 2.6.3 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.15
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx"

It might have something to do with SMP as both machines are dual-CPU. Other boxes I use do not have required dependencies (no Qt/KDE or not even X) to let me try.

Error message is (useless):
# ebuild gambas-0.93b.ebuild install
...
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/var/tmp/portage/gambas-0.93b/work/gambas-0.93b/src'
make[2]: Leaving directory `/var/tmp/portage/gambas-0.93b/work/gambas-0.93b/src'
make[1]: Leaving directory `/var/tmp/portage/gambas-0.93b/work/gambas-0.93b/src'
make[1]: Entering directory `/var/tmp/portage/gambas-0.93b/work/gambas-0.93b'
make[2]: Entering directory `/var/tmp/portage/gambas-0.93b/work/gambas-0.93b'

Installing the development environment...
Compiling gambas...
OK
Compiling gambas-database-manager...
OK
Compiling Util...
OK

Creating the library info files...
/var/tmp/portage/gambas-0.93b/image//usr/share/gambas/info/gb.net.info
/var/tmp/portage/gambas-0.93b/image//usr/share/gambas/info/gb.qt.ext.info
make[2]: *** [install-exec-local] Segmentation fault
make[2]: Leaving directory `/var/tmp/portage/gambas-0.93b/work/gambas-0.93b'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/gambas-0.93b/work/gambas-0.93b'
make: *** [install-recursive] Error 1

!!! ERROR: dev-util/gambas-0.93b failed.
!!! Function einstall, Line 388, Exitcode 2
!!! einstall failed


+__Solution:__+

In makefile files/Makefile.am-0.93, use
  @$(bindir)/gbi -a -p
instead of
  @$(bindir)/gbi -a
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-06-23 19:44:37 UTC
added in 0.94, please check if that fixes it (I can't reproduce that here).
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2004-06-25 05:07:20 UTC
This has been fixed indeed. Thanks.