Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165492 - app-office/gnucash depends on guile-1.8.1-r1 built with USE=regex
Summary: app-office/gnucash depends on guile-1.8.1-r1 built with USE=regex
Status: RESOLVED DUPLICATE of bug 163914
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-05 20:12 UTC by Mark Glines
Modified: 2007-02-05 21:54 UTC (History)
0 users

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 Mark Glines 2007-02-05 20:12:00 UTC
After adding USE flags "discouraged deprecated" as mentioned in Bug 165156 to my /etc/portage/package.use, g-wrap (and finally, gnucash) installed correctly.  However, gnucash fails to run, writing a guile error to stderr.

The error message:

paranoid@chirp ~ $ gnucash shared/mark.gnucash
Backtrace:
In unknown file:
   ?: 0* [primitive-load-path "qif-import/qif-parse.scm"]
In /usr/share/gnucash/scm/qif-import/qif-parse.scm:
   8: 1* (define qif-category-compiled-rexp #)
   9: 2* (make-regexp "^ *(\\[)?([^]/\\|]*)(]?)(/?)([^\\|]*)(\\|(\\[)?([^]/]*)(]?)(/?)(.*))? *$")

/usr/share/gnucash/scm/qif-import/qif-parse.scm:9:3: In expression (make-regexp "^ *(\\[)?([^]/\\|]*)(]?)(/?)([^\\|]*)(\\|(\\[)?([^]/]*)(]?)(/?)(.*))? *$"):
/usr/share/gnucash/scm/qif-import/qif-parse.scm:9:3: Unbound variable: make-regexp
paranoid@chirp ~ $ gnucash
Backtrace:
In unknown file:
   ?: 0* [primitive-load-path "qif-import/qif-parse.scm"]
In /usr/share/gnucash/scm/qif-import/qif-parse.scm:
   8: 1* (define qif-category-compiled-rexp #)
   9: 2* (make-regexp "^ *(\\[)?([^]/\\|]*)(]?)(/?)([^\\|]*)(\\|(\\[)?([^]/]*)(]?)(/?)(.*))? *$")

/usr/share/gnucash/scm/qif-import/qif-parse.scm:9:3: In expression (make-regexp "^ *(\\[)?([^]/\\|]*)(]?)(/?)([^\\|]*)(\\|(\\[)?([^]/]*)(]?)(/?)(.*))? *$"):
/usr/share/gnucash/scm/qif-import/qif-parse.scm:9:3: Unbound variable: make-regexp



My emerge --info:
Portage 2.1.2-r7 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r5, 2.6.19-ck2 i686)
=================================================================
System uname: 2.6.19-ck2 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.12.9
Timestamp of tree: Mon, 05 Feb 2007 16:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.UTF-8"
LINGUAS="en"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-overlay/layman/sunrise /usr/local/portage-overlay/layman/catalystframework /usr/local/portage-overlay/layman/gentoo-de /usr/local/portage-overlay/layman/zugaina /usr/local/portage-overlay/layman/savonet /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi adns aio akode alsa amr ansi aotuv apache2 arts atlas avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cpanplus crypt cups curl dbus dga divx4linux dlloader doc dri dvd dvdread effects encode esd ethereal exscalibar fbcon fbdev ffmpeg fftw firefox flac flash foomaticdb gimp glut gnome gphoto2 gpm gstreamer gtk gtk2 gvim hardened hou hpn httpd iconv id3tag ifp ipod ipv6 ithreads jack java jpeg jpeg2k kerberos lame libgda libsamplerate lirc live lzo mad matroska midi mikmod mjpeg mmx mng mod modperl mono mozdevelop mozilla moznoirc mozsvg mp3 mp3id3 mp4 mpeg mplayer mpm-worker musicbrainz nativecode ncurses netjack network nfsv4 nptl nptlonly nsplugin ofx ogg oggvorbis opengl pam pcmcia pdf perl pic plugin png pnp ppds python quicktime quotes readline real rsync rtp rtsp ruby samba scanner scim sdl shout skins slp sndfile sou speex spell sse sse2 ssl stream subtitles svg tcltk tcpd test theora threads tiff truetype uim unicode usb v4l vcd vdr vorbis vorbis-psy win32codecs x264 x86 xcomposite xine xinerama xml xml2 xorg xpm xv xvid zlib" 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" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="ati radeon fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS


dev-scheme/guile version: 1.8.1-r1
dev-libs/g-wrap version: 1.9.6-r1
app-office/gnucash version: 2.0.4-r1


I think guile might additionally need the "regex" USE-flag.  I am rebuilding it now, to test that.
Comment 1 Mark Glines 2007-02-05 20:22:50 UTC
Re-emerging guile with the "regex" USE-flag fixes the error, and gnucash runs normally.  Bug 165156 added a check to "g-wrap" to make sure guile was built with "deprecated" and "discouraged" flags; I think gnucash needs an additional check for the "regex" flag.

Mark
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-05 21:54:59 UTC

*** This bug has been marked as a duplicate of bug 163914 ***