[Bug 251567] graphics/libheif: multiple problem with options and depends
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Dec 3 19:50:01 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251567
Bug ID: 251567
Summary: graphics/libheif: multiple problem with options and
depends
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: amdmi3 at FreeBSD.org
CC: freebsd at sebastiansteinmetz.ch
Flags: maintainer-feedback?(freebsd at sebastiansteinmetz.ch)
CC: freebsd at sebastiansteinmetz.ch
All options apart from THREADS only affect port dependencies but do not
instruct upstream build system to not use specific component even if it
presents in the system. This leads to a bunch of problems (port built with all
options except for EXAMPLES disabled):
====> Running Q/A tests (stage-qa)
Error: /usr/local/bin/heif-convert is linked to /usr/local/lib/libjpeg.so.8
from graphics/jpeg-turbo but it is not declared as a dependency
Warning: you need USES+=jpeg
Error: /usr/local/bin/heif-convert is linked to /usr/local/lib/libpng16.so.16
from graphics/png but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libpng16.so:graphics/png
Error: /usr/local/bin/heif-convert is linked to /usr/local/lib/libde265.so.0
from multimedia/libde265 but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libde265.so:multimedia/libde265
Error: /usr/local/bin/heif-convert is linked to /usr/local/lib/libx265.so.192
from multimedia/x265 but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libx265.so:multimedia/x265
Error: /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-heif.so is
linked to /usr/local/lib/libgdk_pixbuf-2.0.so.0 from graphics/gdk-pixbuf2 but
it is not declared as a dependency
Warning: you need USE_GNOME+=gdkpixbuf2
Error: /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-heif.so is
linked to /usr/local/lib/libgobject-2.0.so.0 from devel/glib20 but it is not
declared as a dependency
Warning: you need USE_GNOME+=glib20
Error: /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-heif.so is
linked to /usr/local/lib/libglib-2.0.so.0 from devel/glib20 but it is not
declared as a dependency
Warning: you need USE_GNOME+=glib20
Error: /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-heif.so is
linked to /usr/local/lib/libintl.so.8 from devel/gettext-runtime but it is not
declared as a dependency
Warning: you need USES+=gettext-runtime
Also, since examples are built regardless of EXAMPLES option, and --disable-go
is passed only when examples are enabled, the build with disabled EXAMPLES
fails as it uses go and fails:
--- heif-test-go ---
GOPATH= PKG_CONFIG_PATH=/usr/work/usr/ports/graphics/libheif/work/libheif-1.6.2
CGO_CFLAGS="-I/usr/work/usr/ports/graphics/libheif/work/libheif-1.6.2"
CGO_LDFLAGS="-L/usr/work/usr/ports/graphics/libheif/work/libheif-1.6.2/libheif/.libs"
LD_LIBRARY_PATH=/usr/work/usr/ports/graphics/libheif/work/libheif-1.6.2/libheif/.libs
/usr/local/bin/go build -o heif-test-go 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)
/usr/work/usr/ports/graphics/libheif/work/go/src/github.com/strukturag/libheif/go/heif
(from $GOPATH)
*** [heif-test-go] Error code 1
make[4]: stopped in
/usr/work/usr/ports/graphics/libheif/work/libheif-1.6.2/examples
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list