Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Sep 2017 06:42:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222364] [New port] hs-xcb-types: Parse xcb data to Haskel data structures
Message-ID:  <bug-222364-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222364

            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@FreeBSD.org
          Reporter: kraileth@elderlinux.org
             Flags: maintainer-feedback?(wg@FreeBSD.org)
          Assignee: wg@FreeBSD.org

Created attachment 186427
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D186427&action=
=3Dedit
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=3D222363).

The new port provides a library that allows parsing XCB data into Haskell d=
ata
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 f=
ew
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@FreeBSD.or=
g or
to ports@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/libHSx=
cb-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-8mm=
35V7Je6c5Jp6wNteE
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 registe=
red
(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 p=
ort
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 a=
bove
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222364-13>