pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: happy-lib is not happy (content warning: haskell), pandoc broken
On Mon, Aug 04, 2025 at 07:15:59PM -0400, Greg Troxel wrote:
> But seriously, on NetBSD 10 amd64, pkgsrc-current, trying to build
> happy-lib gets a complaint about wrkdir path in rpath.
>
> objdump -x on the lib shows
>
> RPATH /usr/pkg/lib:/usr/pkg/lib/x86_64-netbsd-ghc-9.10.1:/usr/pkg/lib/ghc-9.10.1/lib/x86_64-netbsd-ghc-9.10.1:/tmp/work/devel/happy-lib/work/happy-lib-2.1.6/dist/build/backend-glr:/tmp/work/devel/happy-lib/work/happy-lib-2.1.6/dist/build/frontend
>
> which indeed is not ok.
>
> Does this build for anybody else?
Also fails for me.
> Do we need to have some fixup code to work around upstream not coping
> with build/install rpath confusion?
Hacky, but adding these to the Makefile fixes it:
BUILDLINK_TRANSFORM+= rm:-Wl,-rpath,${WRKSRC}/dist/build/backend-glr
BUILDLINK_TRANSFORM+= rm:-Wl,-rpath,${WRKSRC}/dist/build/frontend
Cheers,
--
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.
Home |
Main Index |
Thread Index |
Old Index