From owner-freebsd-gnome@FreeBSD.ORG Fri Jan 30 00:08:33 2015 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4BB52BD6 for ; Fri, 30 Jan 2015 00:08:33 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2CA80E3C for ; Fri, 30 Jan 2015 00:08:33 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t0U08XZP015981 for ; Fri, 30 Jan 2015 00:08:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 197189] lang/guile2 failure during build of finance/gnucash on FreeBSD 8.4 i386 Date: Fri, 30 Jan 2015 00:08:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: truckman@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2015 00:08:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197189 Bug ID: 197189 Summary: lang/guile2 failure during build of finance/gnucash on FreeBSD 8.4 i386 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: truckman@FreeBSD.org CC: bofh@freebsd.org, gnome@FreeBSD.org CC: bofh@freebsd.org, gnome@FreeBSD.org Created attachment 152360 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152360&action=edit script to run guild compile under truss The finance/gnucash port defaults to using lang/guile, but that conflicts with one of the other ports that I use, which requires lang/guile2. To avoid the conflict, I'm attempting to build gnucash with the GUILE2 option. This appears to work on FreeBSD 10.1 amd64, but fails on FreeBSD 8.4 i386. When building gnucash "guild compile" is executed a number of times, apparently successfully most of the time, even on FreeBSD 8.4, but it always fails on the same file on FreeBSD 8.4: GNC_UNINSTALLED=yes \ GNC_BUILDDIR=../../.. \ GNC_MODULE_PATH="../../../src/app-utils/.libs:../../../src/engine/.libs:${GNC_MODULE_PATH}" GUILE_LOAD_PATH="../../../src/app-utils:../../../src/core-utils:../../../src/engine:../../../src/gnc-module:../../../src/gnome-utils:../../../src/scm:${GUILE_LOAD_PATH}" GUILE_LOAD_COMPILED_PATH="../../../src/app-utils:../../../src/core-utils:../../../src/engine:../../../src/gnc-module:../../../src/gnome-utils:../../../src/scm:${GUILE_LOAD_COMPILED_PATH}" LD_LIBRARY_PATH="../../../src/report/report-gnome/.libs:../../../src/report/report-system/.libs:../../../src/html/.libs:../../../src/backend/sql/.libs:../../../src/backend/xml/.libs:../../../src/gnome-utils/.libs:../../../src/gnc-module/.libs:../../../src/core-utils/.libs:../../../src/app-utils/.libs:../../../src/libqof/qof/.libs:../../../src/engine/.libs:${LD_LIBRARY_PATH}" DYLD_LIBRARY_PATH="../../../src/report/report-gnome/.libs:../../../src/report/report-system/.libs:../../../src/html/.libs:../../../src/backend/sql/.libs:../../../src/backend/xml/.libs:../../../src/gnome-utils/.libs:../../../src/gnc-module/.libs:../../../src/core-utils/.libs:../../../src/app-utils/.libs:../../../src/libqof/qof/.libs:../../../src/engine/.libs:${DYLD_LIBRARY_PATH}" \ /usr/local/bin/guild compile -o report-gnome.go report-gnome.scm * 09:03:34 WARN [guid_init()] only got 5814 bytes. The identifiers might not be very random. Backtrace: In /usr/local/bin/guild: 74: 19 [main ("/usr/local/bin/guild" "compile" "-o" ...)] In srfi/srfi-1.scm: 619: 18 [for-each # #] In scripts/compile.scm: 182: 17 [# "report-gnome.scm"] In system/base/target.scm: 59: 16 [with-target "i386-portbld-freebsd8.4" ...] In system/base/compile.scm: 150: 15 [compile-file "report-gnome.scm" #:output-file ...] 43: 14 [call-once #] In ice-9/boot-9.scm: 171: 13 [with-throw-handler #t ...] In system/base/compile.scm: 59: 12 [#] 153: 11 [# #] 216: 10 [read-and-compile # #:from ...] 232: 9 [lp (# # # # ...) # #] 180: 8 [lp (#) (cond-expand # #) ...] In ice-9/boot-9.scm: 2401: 7 [save-module-excursion #] In language/scheme/compile-tree-il.scm: 31: 6 [#] 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 "libgncmod-report-gnome" "scm_init_sw_report_gnome_module"] In ice-9/boot-9.scm: 106: 0 [# misc-error ...] ice-9/boot-9.scm:106:20: In procedure #: ice-9/boot-9.scm:106:20: In procedure dynamic-link: file: "libgncmod-report-gnome", message: "file not found" Makefile:1144: recipe for target 'report-gnome.go' failed gmake[5]: *** [report-gnome.go] Error 1 A search of the work directory shows that libgncmod-report-gnome.so is present. If use truss to run guild, it shows that guild is successfully accessing libgncmod-report-gnome.so from the work directory several times, but later on tries to access it under /usr/local/lib/guile/2.0/extensions/, which fails. I stated earlier that it "appears" to work correctly on FreeBSD 10, but when run under truss I see a large number of open() syscalls that have either empty strings as their path argument, or binary garbage, which suggests that there may be an internal memory corruption problem. I have attached a compile script that sets up the environment properly and then runs guild under truss. Since this was tested in a poudriere jail, it may be necessary to change the path to the gnucash work directory. --- Comment #1 from Bugzilla Automation --- Maintainers CC'd -- You are receiving this mail because: You are on the CC list for the bug.