Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2015 21:44:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 200251] [patch] finance/gnucash build with GUILE2 option broken
Message-ID:  <bug-200251-6497-1yIzriTy5W@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-200251-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-200251-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Don Lewis <truckman@FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to gnome@FreeBSD.o=
rg:
Bug 200251: [patch] finance/gnucash build with GUILE2 option broken
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200251



--- Description ---
Created attachment 156840
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D156840&action=
=3Dedit
patch to shebang fix a perl script to unbreak gnucash build with GUILE2

The removal of the /usr/bin/perl symlink broke the gnucash build when the
GUILE2 option is broken.

libtool: link: (cd ".libs" && rm -f "libtest-core-guile.so.0" && ln -s
"libtest-core-guile.so.0.0.0" "libtest-core-guile.so.0")
libtool: link: (cd ".libs" && rm -f "libtest-core-guile.so" && ln -s
"libtest-core-guile.so.0.0.0" "libtest-core-guile.so")
libtool: link: ( cd ".libs" && rm -f "libtest-core-guile.la" && ln -s
"../libtest-core-guile.la" "libtest-core-guile.la" )
rm -f -rf gnucash
mkdir -p  gnucash
( cd gnucash; for A in unittest-support.scm ; do ln -s -f ../$A . ; done )
touch .scm-links
gmake[3]:
/wrkdirs/usr/ports/finance/gnucash/work/gnucash-2.6.6/src/gnc-test-env.pl:
Command not found
GNC_UNINSTALLED=3Dyes \
GNC_BUILDDIR=3D../.. \
 \
/usr/local/bin/guild compile -o unittest-support.go unittest-support.scm
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=3D0
;;;	  or pass the --no-auto-compile argument to disable.
;;; compiling /usr/local/bin/guild
;;; compiled
/wrkdirs/usr/ports/finance/gnucash/work/.cache/guile/ccache/2.0-LE-4-2.0/us=
r/lo
cal/bin/guild.go
Backtrace:
In /usr/local/bin/guild:
  74: 19 [main ("/usr/local/bin/guild" "compile" "-o" ...)]
In srfi/srfi-1.scm:
 619: 18 [for-each #<procedure 86c16c0 at scripts/compile.scm:179:14 (file)=
> #]
In scripts/compile.scm:
 182: 17 [#<procedure 86c16c0 at scripts/compile.scm:179:14 (file)>
"unittest-support.scm"]
In system/base/target.scm:
  59: 16 [with-target "i386-portbld-freebsd8.4" ...]
In system/base/compile.scm:
 150: 15 [compile-file "unittest-support.scm" #:output-file ...]
  43: 14 [call-once #<procedure 86c1640 at system/base/compile.scm:56:5 ()>]
In ice-9/boot-9.scm:
 171: 13 [with-throw-handler #t ...]
In system/base/compile.scm:
  59: 12 [#<procedure 86c1620 at system/base/compile.scm:58:9 ()>]
 153: 11 [#<procedure 86c1660 at system/base/compile.scm:151:8 (port)>
#<closed: file 0>]
 216: 10 [read-and-compile #<input: unittest-support.scm 10> #:from ...]
 232: 9 [lp (#<tree-il #>) #<directory (gnucash unittest-support) 862a5e8> =
...]
 180: 8 [lp (#<procedure compile-tree-il (x e opts)>) (cond-expand # #) ...]
In ice-9/boot-9.scm:
2401: 7 [save-module-excursion #<procedure 860e9c0 at
language/scheme/compile-tree-il.scm:29:3 ()>]
In language/scheme/compile-tree-il.scm:
  31: 6 [#<procedure 860e9c0 at language/scheme/compile-tree-il.scm:29:3 ()=
>]
In ice-9/psyntax.scm:
1106: 5 [expand-top-sequence ((cond-expand (guile-2 #) (else #))) () ...]
 989: 4 [scan ((cond-expand (guile-2 #) (else #))) () ...]
 989: 3 [scan (#(syntax-object (eval-when # #) (#) ...)) () ...]
 279: 2 [scan (#) () (#) ...]
In unknown file:
   ?: 1 [load-extension "libtest-core-guile"
"scm_init_unittest_support_module"]
In ice-9/boot-9.scm:
 106: 0 [#<procedure 86c1600 at ice-9/boot-9.scm:97:6 (thrown-k . args)>
misc-error ...]

ice-9/boot-9.scm:106:20: In procedure #<procedure 86c1600 at
ice-9/boot-9.scm:97:6 (thrown-k . args)>:
ice-9/boot-9.scm:106:20: In procedure dynamic-link: file: "libtest-core-gui=
le",
message: "file not found"
Makefile:911: recipe for target 'unittest-support.go' failed
gmake[3]: *** [unittest-support.go] Error 1
gmake[3]: Leaving directory
'/wrkdirs/usr/ports/finance/gnucash/work/gnucash-2.6.6/src/test-core'
Makefile:490: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/finance/gnucash/work/gnucash-2.6.6/src'
Makefile:704: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/finance/gnucash/work/gnucash-2.6.6'=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200251-6497-1yIzriTy5W>