pkgsrc-Bugs archive

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

Re: pkg/55913: devel/kconfig config issue / dbus / build failure



The following reply was made to PR pkg/55913; it has been noted by GNATS.

From: Aleksey Arens <aza.sea.agenda%gmail.com@localhost>
To: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost, 
	gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/55913: devel/kconfig config issue / dbus / build failure
Date: Tue, 5 Jan 2021 13:05:03 -0800

 Since this turned out to be a regular cmake build, that already
 included an option for dbus, I had made a simple adjustment to provide
 an option to build with or without dbus.  I also added a buildlink
 dependency, to create a dependency in the same way that qt5-qtbase
 does.  I'm working on producing a build with both dbus enabled and
 disabled.  So far, I'm working out the issues with interactions
 between gtk3+, qt5-qtbase, and kconfig.
 
 I suppose, it would make sense to join this PR with 55910 and 55912,
 so that the dbus issue could be addressed in one bigger patch.
 
 cvs diff -uN
 cvs diff: Diffing .
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/devel/kconfig/Makefile,v
 retrieving revision 1.38
 diff -u -r1.38 Makefile
 --- Makefile    5 Nov 2020 09:06:47 -0000       1.38
 +++ Makefile    5 Jan 2021 19:40:55 -0000
 @@ -8,6 +8,8 @@
  COMMENT=       Configuration system
  LICENSE=       gnu-lgpl-v2.1
 
 +.include       "options.mk"
 +
  .include "../../meta-pkgs/kde/kf5.mk"
 
  .include "../../x11/qt5-qtbase/buildlink3.mk"
 Index: options.mk
 ===================================================================
 RCS file: options.mk
 diff -N options.mk
 --- /dev/null   1 Jan 1970 00:00:00 -0000
 +++ options.mk  5 Jan 2021 19:40:55 -0000
 @@ -0,0 +1,16 @@
 +PKG_OPTIONS_VAR=       PKG_OPTIONS.kconfig
 +PKG_SUPPORTED_OPTIONS+=        dbus
 +PKG_SUGGESTED_OPTIONS+=
 +
 +.include "../../mk/bsd.options.mk"
 +
 +PLIST_VARS+=           dbus
 +.if !empty(PKG_OPTIONS:Mdbus)
 +# Use lib/dbus-1.0/include/dbus/dbus-arch-deps.h from sysutils/dbus
 +USE_DBUS-ARCH-DEPS_H=  yes
 +.include "../../sysutils/dbus/buildlink3.mk"
 +CMAKE_ARGS+=           -DKCONFIG_USE_DBUS=ON
 +PLIST.dbus=            yes
 +.else
 +CMAKE_ARGS+=           -DKCONFIG_USE_DBUS=OFF
 +.endif
 
 
 On Tue, Jan 5, 2021 at 7:35 AM Aleksey Arens <aza.sea.agenda%gmail.com@localhost> wrote:
 >
 > The following reply was made to PR pkg/55913; it has been noted by GNATS.
 >
 > From: Aleksey Arens <aza.sea.agenda%gmail.com@localhost>
 > To: gnats-bugs%netbsd.org@localhost
 > Cc:
 > Subject: Re: pkg/55913: devel/kconfig config issue / dbus / build failure
 > Date: Tue, 5 Jan 2021 07:32:22 -0800
 >
 >  Yes, it does appear to be related,  But I do not see an obvious way to
 >  supply the dbus configuration options.  In particular, this package is
 >  not using mkspecs/ directory to provide config options.  I'm trying to
 >  figure out its build process, and see if there's an easy way to
 >  correct it.  If you are aware of a package in pkgsrc that uses a
 >  similar build, and that passes options, I would appreciate if you
 >  refer me to it.
 >
 >
 >  On Tue, Jan 5, 2021 at 7:15 AM Thomas Klausner <wiz%netbsd.org@localhost> wrote:
 >  >
 >  > The following reply was made to PR pkg/55913; it has been noted by GNATS.
 >  >
 >  > From: Thomas Klausner <wiz%NetBSD.org@localhost>
 >  > To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
 >  > Cc:
 >  > Subject: Re: pkg/55913: devel/kconfig config issue / dbus / build failure
 >  > Date: Tue, 5 Jan 2021 16:10:29 +0100
 >  >
 >  >  On Tue, Jan 05, 2021 at 02:50:01PM +0000, aza.sea.agenda%gmail.com@localhost wrote:
 >  >  > >Number:         55913
 >  >  > >Category:       pkg
 >  >  > >Synopsis:       devel/kconfig config issue / dbus / build failure
 >  >
 >  >  In another bug report you mentioned that you turned off the dbus
 >  >  option. This looks like a related failure.
 >  >   Thomas
 >  >
 >
 


Home | Main Index | Thread Index | Old Index