Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196417 - dev-scheme/guile-1.8.3{,-r1} breaks app-office/gnucash
Summary: dev-scheme/guile-1.8.3{,-r1} breaks app-office/gnucash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Torsten Veller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-19 14:05 UTC by Josh Sled
Modified: 2007-10-29 06:58 UTC (History)
8 users (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 Josh Sled 2007-10-19 14:05:42 UTC
Now on startup:

jsled@phoenix [~]$ gnucash
gnc.bin-Message: main: binreloc relocation support was disabled at configure time.

* 10:01:19 MESSG <gnc.bin> loading system configuration
* 10:01:19 MESSG <gnc.bin> loading user configuration
* 10:01:19 MESSG <gnc.bin> loading auto configuration
* 10:01:19 MESSG <gnc.bin> loading saved reports
* 10:01:19 MESSG <gnc.bin> loading stylesheets
Backtrace:
In current input:
   1:  0* [gnc:report-menu-setup]
   ?:  1  (letrec (# # # ...) (gnc-add-scm-extension income-expense-menu) ...)
In /usr/share/gnucash/guile-modules/gnucash/report/report-gnome.scm:
 120:  2* [gnc:add-report-template-menu-items]
In unknown file:
   ?:  3  (letrec (# # # ...) (gnc:report-templates-for-each add-template) ...)
In /usr/share/gnucash/guile-modules/gnucash/report/report-gnome.scm:
  93:  4  [for-each #<procedure #f (item)> (# # # # ...)]
In unknown file:
   ?:  5* [#<procedure #f (item)> ("Vendor Report" . #)]
In /usr/share/gnucash/guile-modules/gnucash/report/report-gnome.scm:
  95:  6* [add-template-menu-item "Vendor Report" #]
  53:  7  (if (gnc:report-template-in-menu? template) (let (# # # ...) (if # #) ...))
  54:  8  (let (# # # #) (if # #) (set! menu-path #) ...)
  69:  9* (if (not menu-tip) (set! menu-tip (sprintf #f # #)))
  70: 10  (set! menu-tip (sprintf #f (_ "Display the %s report") (_ name)))
  71: 11* [sprintf #f "Display the %s report" "Vendor Report"]
In unknown file:
   ?: 12  (let* (# # #) (apply stdio:iprintf # format ...) (cond # # #))
   ?: 13* [apply #<procedure stdio:iprintf #> #<procedure #f #> ...]
   ?: 14  [stdio:iprintf #<procedure #f (x)> "Display the %s report" "Vendor Report"]
    ...
   ?: 15  (letrec (# # #) (do () # #) (cond #) ...)
   ?: 16* (case fc ((#\l #\l #\h) (set! type-modifier fc) (must-advance)))

<unnamed port>: In procedure memoization in expression (case fc (# # #)):
<unnamed port>: Duplicate case label #\l in expression (case fc ((#\l #\l #\h) (set! type-modifier fc) (must-advance))).
Comment 1 Fred Krogh 2007-10-20 19:21:17 UTC
Same problem here, guile-1.8.2 works.  My emerge --info follows.

Portage 2.1.3.15 (default-linux/amd64/2006.0, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-gentoo x86_64)
=================================================================
System uname: 2.6.23-gentoo x86_64 AMD Opteron(tm) Processor 242
Timestamp of tree: Fri, 19 Oct 2007 20:33:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=opteron -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=opteron -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://cudlug.cudenver.edu/gentoo http://gentoo.binarycompass.org"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac administrator aiglx alsa amd64 apache2 auctex audiofile bash-completion bcmath berkdb bitmap-fonts blas bonobo bzip2 calendar cdrom clamav clamd cli colordiff cracklib crypt ctype cups dbus debugger deprecated dga discouraged divx-linux dri dvd dvdr dvdread emacs emboss emul-linux86 encode fam fastcgi fbcon firefox flac foomaticdb fortran ftp gif glut gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv imagemagick imlib ipv6 isdnlog java javascript jpeg kde kerberos latin1 leim lesstif libclamav libnotify logrotate lzw lzw-tiff mad maildir mbox mcal midi mime mng mouse mozcalendar mozilla mp3 mpeg mpeg2 mpi mudflap mysql mysqli nat ncurses nls nocd nosendmail nptl nptlonly nsplugin nvidia offensive openal opengl openmp osc oscar pam pcre pdf perl png pop pop3d portaudio posix ppds pppd preview-latex python qt3 qt4 query-browser quicktime readline reflection regex replytolist rtc samba sasl sdl session sharedmem sockets sound source sox speex spell spl ssl svg symlink tcltk tcpd tetex thunderbird tiff truetype truetype-fonts type1-fonts usb vhosts vorbis xcomposite xine xmail xorg xpm xv xvid" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 Michael Brakemeier 2007-10-21 09:29:18 UTC
Same is true for (ok, currently masked for testing) gnucash 2.2.1.
Downgrading to guile-1.8.2 fixes the problem here, too.


portage 2.1.3.15 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-gentoo i686)
=================================================================
System uname: 2.6.23-gentoo i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
Timestamp of tree: Sun, 21 Oct 2007 08:20:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.3.6-r2, 2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -mtune=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=pentium4 -mtune=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://192.168.0.44/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://gentoo.zie.pg.gda.pl ftp://130.59.10.35/mirror/gentoo/ http://ftp.twaren.net/Linux/Gentoo/ http://mirror.pacific.net.au/linux/Gentoo"
LINGUAS="de de_DE de_DE@euro en en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/kde /usr/local/overlays/brakemeier.de"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac aalib accessibility acl acpi alsa audiofile berkdb bitmap-fonts bluetooth browserplugin bzip2 cairo cdparanoia cdr cli cracklib crypt css cups dbus dga divx4linux dlloader doc dri dv dvd dvdr dvdread eds emboss encode esd exif expat fam fftw firefox flac flash font-server fortran gdbm geldkarte ggi gif gimp gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml hal hbci iconv imagemagick imap imlib ipv6 irda isdnlog jack java jpeg jpeg2k kde kdepim libg++ logitech-mouse mad midi mikmod mmx mmx2 mmxext mng mozilla mp3 mpeg mudflap musicbrainz ncurses nls nptl nptlonly nsplugin objc ogg oggvorbis opengl openmp oss pam pcmcia pcre pda pdf perl png pppd python qt qt3 qt3support qt4 quicktime readline real reflection samba sasl scanner sdl session sms sndfile snmp spell spl sse sse2 ssl subversion svg synaptics tcl tcltk tcpd tetex tiff tk truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vorbis webdav wifi win32codecs wmf x86 xine xinerama xml xml2 xorg xprint xv zeroconf zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de de_DE de_DE@euro en en_US" USERLAND="GNU" VIDEO_CARDS="ati radeon vesa vga fbdev v4l apm"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

/etc/portage/package.use:
x11-libs/goffice gnome
dev-scheme/guile regex deprecated discouraged
app-office/gnucash quotes
...


Comment 3 Torsten Veller (RETIRED) gentoo-dev 2007-10-21 14:33:31 UTC
Yes, i can confirm this for guile-1.8.3-r1 and slib-3.1.1. 
On the other hand guile-1.8.3-r1 works with slib-3.1.4. Can anyone confirm this too? (Install slib after guile to register it!)

scheme herd: Can you comment on this?
Comment 4 Thomas Rausch 2007-10-21 15:42:09 UTC
(In reply to comment #3)

> On the other hand guile-1.8.3-r1 works with slib-3.1.4. Can anyone confirm this
> too? (Install slib after guile to register it!)

Yes.

emerge -1 =guile-1.8.3-r1

and then

emerge -1 =slib-3.1.4-r4

It's works. :-)
Comment 5 Marijn Schouten (RETIRED) gentoo-dev 2007-10-21 16:59:03 UTC
(In reply to comment #3)
> Yes, i can confirm this for guile-1.8.3-r1 and slib-3.1.1. 
> On the other hand guile-1.8.3-r1 works with slib-3.1.4. Can anyone confirm
> this too? (Install slib after guile to register it!)

or run install_slib_for_guile to register, bug 196639

> scheme herd: Can you comment on this?

Yes, guile-1.8.3 contains some fixes such that (ice-9 slib) works again with new slib versions. Apparently it also breaks old behaviour. 

Comment 6 Thomas Rausch 2007-10-22 06:17:11 UTC
(In reply to comment #5)
> Yes, guile-1.8.3 contains some fixes such that (ice-9 slib) works again with
> new slib versions. Apparently it also breaks old behaviour. 

I changed my /etc/portage/package.keywords again to

=dev-scheme/guile-1.8.2 ~amd64

and my "emerge -pvuND world" works also.
Comment 7 Torsten Veller (RETIRED) gentoo-dev 2007-10-24 09:10:20 UTC
I tried to reflect the situation in DEPEND. Hopefully it works.
Version 2.2.1-r1 is in the tree.

Please reopen if there are any problems with guile and gnucash.
Thanks
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-10-29 06:58:10 UTC
*** Bug 197368 has been marked as a duplicate of this bug. ***