[Bug 256978] sysutils/xen-tools: Fails to build if lang/go is installed

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 04 Jul 2021 15:23:12 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256978

            Bug ID: 256978
           Summary: sysutils/xen-tools: Fails to build if lang/go is
                    installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs_at_FreeBSD.org
          Reporter: lantw44_at_gmail.com
                CC: dmgk_at_freebsd.org, royger_at_freebsd.org
                CC: dmgk_at_freebsd.org, royger_at_freebsd.org

Xen automatically enables Go bindings for xenlight when it finds a Go compiler,
but it fails to find the some libraries installed in /usr/local/lib.

# xenbits.xenproject.org/git-http/xen.git/tools/golang/xenlight
ld: error: unable to find library -lyajl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[7]: *** [Makefile:30: build] Error 2
gmake[7]: Leaving directory
'/wrkdirs/usr/ports/sysutils/xen-tools/work/xen-4.15.0/tools/golang/xenlight'
gmake[6]: ***
[/wrkdirs/usr/ports/sysutils/xen-tools/work/xen-4.15.0/tools/golang/../../tools/Rules.mk:161:
subdir-install-xenlight] Error 2
gmake[6]: Leaving directory
'/wrkdirs/usr/ports/sysutils/xen-tools/work/xen-4.15.0/tools/golang'
gmake[5]: ***
[/wrkdirs/usr/ports/sysutils/xen-tools/work/xen-4.15.0/tools/golang/../../tools/Rules.mk:156:
subdirs-install] Error 2
gmake[5]: Leaving directory
'/wrkdirs/usr/ports/sysutils/xen-tools/work/xen-4.15.0/tools/golang'
gmake[4]: ***
[/wrkdirs/usr/ports/sysutils/xen-tools/work/xen-4.15.0/tools/../tools/Rules.mk:161:
subdir-install-golang] Error 2
gmake[4]: Leaving directory
'/wrkdirs/usr/ports/sysutils/xen-tools/work/xen-4.15.0/tools'
gmake[3]: ***
[/wrkdirs/usr/ports/sysutils/xen-tools/work/xen-4.15.0/tools/../tools/Rules.mk:156:
subdirs-install] Error 2
gmake[3]: Leaving directory
'/wrkdirs/usr/ports/sysutils/xen-tools/work/xen-4.15.0/tools'
gmake[2]: *** [Makefile:66: install] Error 2
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/sysutils/xen-tools/work/xen-4.15.0/tools'
gmake[1]: *** [Makefile:140: install-tools] Error 2
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/sysutils/xen-tools/work/xen-4.15.0'
*** Error code 2

Stop.
make: stopped in /usr/ports/sysutils/xen-tools

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Sun Jul 04 2021 - 15:23:12 UTC

Original text of this message