[Bug 190516] New: graphics/darktable: incorrect plist, cannot install with LUA disabled
no-reply-bugzilla-daemon at freebsd.org
no-reply-bugzilla-daemon at freebsd.org
Mon Jun 2 16:33:01 UTC 2014
http://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190516
Bug ID: 190516
Summary: graphics/darktable: incorrect plist, cannot install
with LUA disabled
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: mazhe at alkumuna.eu
When installing graphics/darktable, if the LUA option is unselected, an
incorrect plist will generate an error and package installation will fail with:
====> Compressing man pages (compress-man)
===> Installing ldconfig configuration file
===> Installing for darktable-1.4.2
===> Registering installation for darktable-1.4.2
pkg-static:
lstat(/usr/ports/graphics/darktable/work/stage/usr/local/share/darktable/lua/darktable/):
No such file or directory
pkg-static:
lstat(/usr/ports/graphics/darktable/work/stage/usr/local/share/darktable/lua/):
No such file or directory
*** Error code 74
Stop.
make[2]: stopped in /usr/ports/graphics/darktable
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/graphics/darktable
*** Error code 1
Stop.
How-To-Repeat:
1. cd $PORTSDIR/graphics/darktable
2. make config, disable LUA
3. make (re)install
Fix:
Fix pkg-plist & Makefile, the following worked on my system:
Index: pkg-plist
===================================================================
--- pkg-plist (revision 356237)
+++ pkg-plist (working copy)
@@ -238,8 +238,6 @@
@dirrmtry %%DATADIR%%/pixmaps/plugins/darkroom
@dirrmtry %%DATADIR%%/pixmaps/plugins
@dirrmtry %%DATADIR%%/pixmaps
- at dirrmtry %%DATADIR%%/lua/darktable
- at dirrmtry %%DATADIR%%/lua
@dirrmtry %%DATADIR%%/latex
@dirrmtry %%DATADIR%%/kernels
@dirrmtry %%DATADIR%%/js
Index: Makefile
===================================================================
--- Makefile (revision 356237)
+++ Makefile (working copy)
@@ -20,7 +20,7 @@
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= uses SSE extensions
-USES= cmake:outsource pkgconfig tar:xz ninja desktop-file-utils
+USES= cmake:outsource pkgconfig tar:xz desktop-file-utils
USE_GNOME= librsvg2
USE_SQLITE= yes
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
@@ -120,7 +120,9 @@
.if ${PORT_OPTIONS:MLUA}
USES+= lua
PLIST_FILES+= %%DATADIR%%/lua/darktable/debug.lua \
- %%DATADIR%%/luarc
+ %%DATADIR%%/luarc \
+ @dirrmtry %%DATADIR%%/lua/darktable \
+ @dirrmtry %%DATADIR%%/lua
.else
CMAKE_ARGS+= -DUSE_LUA:BOOL=OFF
.endif
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list