[Bug 245387] graphics/libheif: failes to build without examples

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 5 21:36:02 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245387

            Bug ID: 245387
           Summary: graphics/libheif: failes to build without examples
           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: majo-bugs.freebsd.org at cerny.sk
                CC: freebsd at sebastiansteinmetz.ch
             Flags: maintainer-feedback?(freebsd at sebastiansteinmetz.ch)
                CC: freebsd at sebastiansteinmetz.ch

Building libheif with all config options disabled (especially Examples) fails
in my system with the following error:

    --- gopath ---
    mkdir -p /src/github.com/strukturag/libheif
    mkdir: /src: Read-only file system

My root filesystem is read only and I don't wont random files to be created.

However even when I create read-write /src, I get an error:
    --- heif-test-go ---
    heif-test.go:39:2: cannot find package
"github.com/strukturag/libheif/go/heif" in any of:
            /usr/local/go/src/github.com/strukturag/libheif/go/heif (from
$GOROOT)
           
/tmp/portbuild/usr/ports/graphics/libheif/work/go/src/github.com/strukturag/libheif/go/heif
(from $GOPATH)
    *** [heif-test-go] Error code 1

(I have WRKDIRPREFIX ?= /tmp/portbuild set in /etc/make.conf.)

When I enable Examples (with make config) then the port built without an error.

Also when I change the Makefile and add:

    CONFIGURE_ARGS+=        --disable-go

then the port is build also without an error.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list