pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/52632: devel/orc build fails
The following reply was made to PR pkg/52632; it has been noted by GNATS.
From: Leonardo Taccari <leot%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/52632: devel/orc build fails
Date: Sat, 21 Oct 2017 12:49:41 +0200
Hello Martin and Thomas,
martin%NetBSD.org@localhost writes:
> >Number: 52632
> >Category: pkg
> >Synopsis: devel/orc build fails
> >Confidential: no
> >Severity: serious
> >Priority: medium
> >Responsible: pkg-manager
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Fri Oct 20 15:05:00 +0000 2017
> >Originator: Martin Husemann
> >Release: NetBSD 8.99.4
> >Organization:
> The NetBSD Foundation, Inc.
> >Environment:
> [...]
As Thomas already pointed out unfortunately that's due having
gtk-doc package installed. Despite by default orc is configured
via `--disable-gtk-doc' it still try to check some gtkdoc-* tools
and try to run them uncoditionally.
The following patch (it's really a kludge but hopefully an acceptable
one) should fix this issue:
<http://netbsd.org/~leot/pkgsrc-patches/orc-gtkdoc-kludge.patch>
For completeness an attached version is also at the end of this email.
Martin, can you please try it too and let me know if it fixes the
problem for you too?
Thank you!
---------------8<-----------------8<-----------------8<-----------------
orc: Fix installation if gtk-doc package is already installed
By default orc is configured with `--disable-gtk-doc'. However, despite th=
at it
will checks several `gtkdoc-*' tools anyway ending in an failure during th=
e
installation phase because only a couple of them are available.
Add a kludge via CONFIGURE_ENV to avoid picking up gtkdoc-* tools.
Pointed out by <martin> via PR pkg/52632.
Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/devel/orc/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile 20 Jul 2017 13:18:42 -0000 1.11
+++ Makefile 21 Oct 2017 10:39:00 -0000
@@ -14,7 +14,16 @@ USE_LIBTOOL=3D yes
USE_TOOLS=3D gmake
GNU_CONFIGURE=3D yes
PKGCONFIG_OVERRIDE+=3D orc.pc.in
+
+# XXX: Kludge to avoid uncoditionally pick up some gtkdoc-* tools if gtk-=
doc
+# XXX: package is installed and then fails in the installation phase.
+CONFIGURE_ENV+=3D ac_cv_prog_GTKDOC_CHECK=3D \
+ ac_cv_path_GTKDOC_CHECK_PATH=3D \
+ ac_cv_path_GTKDOC_REBASE=3D \
+ ac_cv_path_GTKDOC_MKPDF=3D
+
TEST_TARGET=3D check
=
+
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index