First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 74579
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marcelo Goes <vanquirius@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
export-dynamic.patch Patch against galculator-1.2.4 which adds '-export-dynamic' to the linker patch Jim Ramsay 2005-05-04 14:15 0000 257 bytes Details | Diff
galculator-1.2.4-r1.ebuild New ebuild which uses the export-dynamic.patch text/plain Jim Ramsay 2005-05-04 14:16 0000 835 bytes Details
galculator-1.2.4-gmodule.patch galculator gmodule patch patch John N. Laliberte (RETIRED) 2005-05-07 08:37 0000 407 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 74579 depends on: Show dependency tree
Bug 74579 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-12-15 18:15 0000
The last version of galculator available on Portage is 1.2.3. The last version
is 1.2.4. I tested renaming the ebuild and it worked. Please update.

------- Comment #1 From Kenyon Ralph 2005-01-14 12:07:08 0000 -------
I can confirm, I just renamed the ebuild and sci-calculators/galculator-1.2.4
is working fine here on ~x86.

------- Comment #2 From Patrick Kursawe 2005-03-12 15:56:08 0000 -------
Was assigned to wrong herd...

------- Comment #3 From John N. Laliberte (RETIRED) 2005-05-01 16:21:00 0000 -------
bumped in tree

------- Comment #4 From Oliver Schinagl 2005-05-02 16:03:39 0000 -------
Don't know what you guys did with this ebuild, but it suddenly no longer works
after doing an emerge -avuD world.

(galculator:21983): libglade-WARNING **: could not find signal handler
'on_dec_activate'.
<snip>
(galculator:22079): libglade-WARNING **: could not find signal handler
'on_mplus_button_clicked'.

(galculator:22079): libglade-CRITICAL **: glade_xml_get_widget: assertion `self
!= NULL' failed
Segmentation fault


(Yes libglade was also updated ... So i guess I'll post this bug there aswell?)
I'll try a reboot (sounds pathetic I know) to maybe remove an old version from
memory maybe.

------- Comment #5 From Marcelo Goes 2005-05-03 06:54:57 0000 -------
Reopening bug on account of comment #4.

------- Comment #6 From John N. Laliberte (RETIRED) 2005-05-03 19:12:50 0000 -------
a new bug should have been opened for this, not reopened since this bug was
about a version bump.

are you having issues with the bump vanquirius? 

or did you reopen purely b/c of comment 4?

Can node repost with whether ~ galculator build works for him after his reboot?

------- Comment #7 From Marcelo Goes 2005-05-04 11:40:33 0000 -------
I reopened the bug solely on account of comment #4.
node, please open a new bug next time, it is easier for us to track.

------- Comment #8 From Jim Ramsay 2005-05-04 13:35:03 0000 -------
I experienced the same problem in 'glurp' after upgrading libglade and other
packages.  I found a fix for glurp (Bug 91482) and I assume the galculator fix
should be similar - Just make sure that '-export-dynamic' is being passed to
the linker.

If I have time I may write a patch/new ebuild for this.

------- Comment #9 From Jim Ramsay 2005-05-04 14:15:56 0000 -------
Created an attachment (id=58068) [details]
Patch against galculator-1.2.4 which adds '-export-dynamic' to the linker

This patch is for use with the galculator-1.2.4-r1.ebuild also attached to this
bug.  It should go in sci-calculators/galculator/files/

------- Comment #10 From Jim Ramsay 2005-05-04 14:16:49 0000 -------
Created an attachment (id=58069) [details]
New ebuild which uses the export-dynamic.patch

This ebuild requires the patch also attached to this bug.

------- Comment #11 From Jim Ramsay 2005-05-04 14:18:02 0000 -------
This fix works for me.  Galculator can work again.

I have also submitted my patch to galculator-general@lists.sourceforge.net

------- Comment #12 From John N. Laliberte (RETIRED) 2005-05-04 14:26:05 0000 -------
I have no problems running the version bumped galculator.  What version is
libglade for you?  Are you running anything else unstable?  Have you tried
re-merging the package after you upgraded the libglade / other things ?  As
always, please provide your emerge info.

------- Comment #13 From Jim Ramsay 2005-05-04 14:41:12 0000 -------
As you can see from the following 'emerge info' I am running ~x86 with latest
GCC and everything.  My libglade version is 2.5.1.  I did try downgrading
libglade to both 2.4.2 and 2.4.0 with no change in galculator's behaviour.  I
also tried an earlier compiler (gcc-3.3.5) also with no effect.

I'm not sure which package (of the many I recently upgraded with 'emerge -uD
world') would have been the cause, but I expected either libglade or gcc.  By
adding the '-export-dynamic' flag to the linker with my patch, the problem went
away.

emerge info:

Portage 2.0.51.21 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0,                           2.6.11-gentoo-r1 i686)
=================================================================
System uname: 2.6.11-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.11
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.3
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share                          /config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/                         
mozilla/defaults/pref /usr/share/config /var /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.binarycompass.org ftp://cs.ubishops.ca/pub/gentoo
                          ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/
ftp://gentoo.risq.qc.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apache2 apm avi berkdb bitmap-fonts cdr cjk crypt cups curl
                          eds emboss encode esd fam flac foomaticdb fortran gd
gdbm gif gimpprint gnome gp                          m gstreamer gtk gtk2
imagemagick imap imlib java jpeg kde ldap libg++ libwww mad                    
      mikmod mmx mmx2 motif mozilla mp3 mpeg mysql ncurses nls nptl ogg
oggvorbis ope                          ngl oss pam pdflib perl php png python
qt quicktime readline real samba sasl sdl                           spell sse
ssl svga tcltk tcpd threads tiff truetype truetype-fonts type1-fonts           
               vorbis xml2 xprint xv zlib userland_GNU kernel_linux libc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #14 From foser (RETIRED) 2005-05-05 04:38:09 0000 -------
what version of pkgconfig are you using ? If it's 0.17 then go back to 0.15 and
try rebuild libglade/galculator with that.

------- Comment #15 From Jim Ramsay 2005-05-05 06:56:58 0000 -------
pkg-config --version returns:
0.15.0

------- Comment #16 From Jim Ramsay 2005-05-05 14:53:21 0000 -------
Recieved email from Simon Floery (via
galculator-general@lists.sourceforge.net):

> Thanks a lot for your contribution! From time to time this problem
> arose in the past but no user, who encountered it, was able to track it down.
> I asked someone who recently reported this problem to try your patch and
> everything works fine now.
>
> I'll update the build process and kick out a new release of galculator ASAP.

The fix I submitted shouldn't affect the basic gentoo ebuild, so the next
version bump should get this fixed.

------- Comment #17 From John N. Laliberte (RETIRED) 2005-05-05 16:10:50 0000 -------
great, thanks for contacting upstream.  i'll keep an eye out for the new
release upstream, if you see it first, please post here.

------- Comment #18 From John N. Laliberte (RETIRED) 2005-05-07 08:36:31 0000 -------
okay, heres *hopefully* a good fix for both galculator and glurp.  foser did
some research and found a good thread that describes the problem more in
detail:
http://mail.gnome.org/archives/desktop-devel-list/2005-January/msg00037.html

foser made good comments and suggested this patch.

Jim, if you could test this patch against galculator, that would be great. 
Please post back with the results.

------- Comment #19 From John N. Laliberte (RETIRED) 2005-05-07 08:37:50 0000 -------
Created an attachment (id=58273) [details]
galculator gmodule patch

------- Comment #20 From Jim Ramsay 2005-05-09 08:07:26 0000 -------
This patch also works perfectly, no complaints here.

------- Comment #21 From John N. Laliberte (RETIRED) 2005-05-09 08:23:56 0000 -------
okay, a new bug was filed today for the new version of galculator, so i will be
testing / committing that shortly.  Also, in the new version it looks like they
incorporated your patch, but I think that the one I previously attached is a
better way of doing it.  Either way, with the new version, the patch should not
be needed.  Thanks for testing!

------- Comment #22 From Jim Ramsay 2005-05-09 08:34:36 0000 -------
I think either solution is valid.  It's now up to the software developer to
include the '-export-dynamic' in cases like this, so whether they do it by
explicitly asking pkg-config to provide 'gmodule-2.0' instead of
'gmodule-no-export-2.0' (your patch), or by explicitly specifying
'-export-dynamic' in their own LDFLAGS (my patch), the right thing happens.

------- Comment #23 From John N. Laliberte (RETIRED) 2005-05-09 09:00:24 0000 -------
committed 1.2.5

First Last Prev Next    No search results available      Search page      Enter new bug