[Bug 222364] [New port] hs-xcb-types: Parse xcb data to Haskel data structures
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Sep 16 06:42:04 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222364
Bug ID: 222364
Summary: [New port] hs-xcb-types: Parse xcb data to Haskel data
structures
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: wg at FreeBSD.org
Reporter: kraileth at elderlinux.org
Flags: maintainer-feedback?(wg at FreeBSD.org)
Assignee: wg at FreeBSD.org
Created attachment 186427
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=186427&action=edit
First attempt at a new port for hs-xcb-types
New port needed to fix x11-wm/qtile
(https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222363).
The new port provides a library that allows parsing XCB data into Haskell data
structures.
This is my first attempt at contributing to ports. Thus I would appreciate if
an experienced porter could look a little more closely at my suggested port. I
tried to follow the instructions in the Porter's Handbook but there are a few
things that I simply don't know. I'm not familiar with Haskell and even less
with Haskell on FreeBSD. Should the maintainer be set to haskell at FreeBSD.org or
to ports at FreeBSD.org?
Also the port linter does have a few complaints on my port - but these
complaints also apply to other Haskell ports that are already in the tree, so I
assume they can be disregarded. Here's an example anyways:
"WARN: Makefile: DYNAMIC is listed in OPTIONS_DEFINE, but no
PORT_OPTIONS:MDYNAMIC appears."
I would assume this comes from bsd.cabal.mk and since it's not an error but
just a warning, it might be ok.
Stage QA shows some errors like this one:
"Error:
/tmp/hs-xcb-types-0.8.0/lib/cabal/ghc-8.0.2/x86_64-freebsd-ghc-8.0.2/libHSxcb-types-0.8.0-ISNfa4NDD1T4Kl5O6U89as-ghc8.0.2.so
is linked to
/usr/local/lib/cabal/ghc-8.0.2/x86_64-freebsd-ghc-8.0.2/libHSxml-1.3.14-8mm35V7Je6c5Jp6wNteE
zV-ghc8.0.2.so that does not belong to any package"
I'm not sure what this is all about and couldn't find a solution. It also
happens with other Haskell ports that were already committed and obviously
doesn't stop the port from actually working. Still it looks a little scary.
And finally there's output like this:
"actual-package-depends: dependency on /usr/local/lib/libgmp.so not registered
(normal if it belongs to base)"
Should I add all the libraries listed there as RUN_DEPENDS?
The port works for me in that it provides what is needed to build another port
that depends on it. Also checking it with "synth test" worked well. For that
reason I believe that the port is not in a horrible state but some of the above
issues probably need to be taken care of.
Any advice on what I should do next to eventually get this committed would be
very welcome.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list