From owner-freebsd-ports-bugs@freebsd.org Sat Sep 16 06:42:04 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD2F4E0421A for ; Sat, 16 Sep 2017 06:42:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9AC256B025 for ; Sat, 16 Sep 2017 06:42:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8G6g4hD062943 for ; Sat, 16 Sep 2017 06:42:04 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Sat, 16 Sep 2017 06:42:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kraileth@elderlinux.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2017 06:42:04 -0000 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.=