[Bug 210212] graphics/libimg: missing X11 linkage
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jun 11 14:20:02 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210212
Bug ID: 210212
Summary: graphics/libimg: missing X11 linkage
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: trasz at FreeBSD.org
CC: mi at ALDAN.algebra.com
Flags: maintainer-feedback?(mi at ALDAN.algebra.com)
CC: mi at ALDAN.algebra.com
The libimg port removes X11 linkage, which makes linuxcnc fail to start, like
this:
Traceback (most recent call last):
File "bin/axis", line 123, in <module>
nf.start(root_window)
File "/usr/home/trasz/git/linuxcnc/lib/python/nf.py", line 119, in start
source_lib_tcl(r, "support.tcl")
File "/usr/home/trasz/git/linuxcnc/lib/python/nf.py", line 111, in
source_lib_tcl
r.tk.call("source", os.path.join(tcl_libdir, f))
_tkinter.TclError: couldn't load file "/usr/local/lib/Img/libtkimgxpm142.so.1":
/usr/local/lib/Img/libtkimgxpm142.so.1: Undefined symbol "XParseColor"
Removing the appropriate portion of Makefile seems to fix this problem:
Index: Makefile
===================================================================
--- Makefile (revision 416716)
+++ Makefile (working copy)
@@ -3,7 +3,7 @@
PORTNAME= libimg
PORTVERSION= 1.4.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES?= graphics tk
MASTER_SITES= SF/tkimg/tkimg/${PORTVERSION:R}
DISTNAME= tkimg${PORTVERSION}
@@ -37,9 +37,6 @@
.endfor
post-configure:
- # Do not link with X11 -- none of tkimg code uses X directly
- ${REINPLACE_CMD} -E -e
's,-L[^[:space:]]+[[:space:]]+-lX[^[:space:]]*,,g' \
- ${WRKSRC}/*/Makefile
.for l in jpeg png tiff
# Link with -l$l
${REINPLACE_CMD} -E \
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list