pkgsrc-Users archive

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

Re: build failure for net/avahi



Looking a bit further at this, it seems that the recent removal of the qt3 package option removed a critical .else clause which used to

	CONFIGURE_ARGS+=	--disable-qt3

Adding this unconditionally in the Makefile seems to let the package build correctly.

Here's the patch I'm using. I'll let wiz@ commit this (or whatever other solution he may deem appropriate).

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/avahi/Makefile,v
retrieving revision 1.70
diff -u -p -r1.70 Makefile
--- Makefile	18 Sep 2017 09:53:29 -0000	1.70
+++ Makefile	27 Sep 2017 01:50:19 -0000
@@ -79,6 +79,8 @@ CONFIGURE_ARGS+=	--disable-xmltoman
 CONFIGURE_ARGS+=	--disable-autoipd
 CONFIGURE_ARGS+=	--with-distro=none

+CONFIGURE_ARGS+=	--disable-qt3
+
 INSTALL_MAKE_FLAGS+=	sysconfdir=${PREFIX}/share/examples
 INSTALL_MAKE_FLAGS+=	dbusservicedir=${PREFIX}/share/examples/avahi



On Wed, 27 Sep 2017, Paul Goyette wrote:

With pkgsrc updated to just a couple hours ago, I'm getting the following failure for net/avahi

	...
	checking for GOBJECT... yes
	checking for gobject-introspection... yes
	checking for QT3... no
configure: error: Package requirements ( qt-mt >= 3.0.0 ) were not met:

	Package 'qt-mt', required by 'virtual:world', not found

	Consider adjusting the PKG_CONFIG_PATH environment variable if you
	installed software in a non-standard prefix.

	Alternatively, you may set the environment variables QT3_CFLAGS
	and QT3_LIBS to avoid the need to call pkg-config.
	See the pkg-config man page for more details.
	*** Error code 1

This is with

	...
	The currently selected options are:

       	gtk2 introspection
	...


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index