[Bug 200251] [patch] finance/gnucash build with GUILE2 option broken
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat May 16 21:44:17 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200251
Bug ID: 200251
Summary: [patch] finance/gnucash build with GUILE2 option
broken
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: gnome at FreeBSD.org
Reporter: truckman at FreeBSD.org
Flags: maintainer-feedback?(gnome at FreeBSD.org)
Keywords: patch
Assignee: gnome at FreeBSD.org
Created attachment 156840
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=156840&action=edit
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=yes \
GNC_BUILDDIR=../.. \
\
/usr/local/bin/guild compile -o unittest-support.go unittest-support.scm
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; 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/usr/local/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-guile",
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'
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-gnome
mailing list