pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: plank fails to build from wip



Still trying to build plank from wip.

I did create the buildlink3.mk and now bamf starts to build; however, I get the following error:

checking for gtester2xunit dependencies... no
configure: error: You need to install python-libxslt1 and python-libxml2
*** Error code 1

Stop.
make[2]: stopped in /usr/pkgsrc/wip/bamf
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/wip/bamf
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/wip/plank

I did install those packages, but they are not call python-libxslt1 or python-libxml2.

make install for textporc/py-libxslt

make install for textproc/libxslt

make install for textproc/libxml2

make install for textproc/py-libxml2

I cannot find "who" wants to install python-libxslt1 and python-libxml2 so I can change it.

############# SO FAR #############

git status
On branch master
Your branch is up to date with 'origin/master'.

Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
        new file:   buildlink3.mk

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   buildlink3.mk

git diff buildlink3.mk
diff --git a/bamf/buildlink3.mk b/bamf/buildlink3.mk
index aa26f47ef7..cffa3d60cc 100644
--- a/bamf/buildlink3.mk
+++ b/bamf/buildlink3.mk
@@ -18,22 +18,13 @@ BAMF_BUILDLINK3_MK:=
 BUILDLINK_API_DEPENDS.bamf+=   bamf>=0.5.4
 BUILDLINK_PKGSRCDIR.bamf?=     ../../wip/bamf

-
-
-# XXX
-# XXX Uncomment and keep only the buildlink3 lines below which are directly
-# XXX needed for dependencies to compile, link, and run.  If this package
-# XXX provides a wrappered API or otherwise does not expose the APIs of the
-# XXX buildlink3 lines below to dependencies, remove them.
-# XXX
-#.include "../../devel/glib2/buildlink3.mk"
-#.include "../../devel/gobject-introspection/buildlink3.mk"
-#.include "../../devel/libwnck3/buildlink3.mk"
-#.include "../../sysutils/libgtop/buildlink3.mk"
-#.include "../../sysutils/dbus-glib/buildlink3.mk"
-#.include "../../lang/vala/buildlink3.mk"
-#.include "../../x11/startup-notification/buildlink3.mk"
-#.include "../../x11/gtk3/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../devel/libwnck3/buildlink3.mk"
+.include "../../sysutils/libgtop/buildlink3.mk"
+.include "../../lang/vala/buildlink3.mk"
+.include "../../x11/startup-notification/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
 .endif # BAMF_BUILDLINK3_MK

 BUILDLINK_TREE+=       -bamf

On 12/30/19 9:35 AM, Ottavio Caruso wrote:
On Mon, 30 Dec 2019 at 14:09, Ron Georgia <netverbs%gmail.com@localhost> wrote:
I am running NetBSD 9.99.29 and built almost everything for my desktop
from pkgsrc. I tried to build plank, but got the following error:

make: "/usr/pkgsrc/wip/plank/Makefile" line 28: Could not find
./../wip/bamf/buildlink3.mk
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/pkgsrc/wip/plank

I am not sure how to create a buildlink3.mk file. If someone can point
me to a place to the docs I can build, test and submit a pull request.
I haven't done it myself, but it's on the pkgsrc guide:
https://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/doc/pkgsrc.html#creating-buildlink3.mk

--
90% of my problems are due to ignorance, the other 10% is because I just don't know any better.



Home | Main Index | Thread Index | Old Index