From owner-freebsd-gnome@FreeBSD.ORG Sun Jan 3 01:13:13 2010 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B259E1065672 for ; Sun, 3 Jan 2010 01:13:13 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 61D128FC12 for ; Sun, 3 Jan 2010 01:13:13 +0000 (UTC) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id o031DpF7003936; Sat, 2 Jan 2010 20:13:51 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: "Ronald F. Guilmette" In-Reply-To: <13241.1262480619@tristatelogic.com> References: <13241.1262480619@tristatelogic.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-3rd8bfUbPSUJAuEpkpYF" Organization: MarcusCom, Inc. Date: Sat, 02 Jan 2010 20:13:18 -0500 Message-ID: <1262481198.16768.52.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,FH_DATE_PAST_20XX, NO_RELAYS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com Cc: gnome@FreeBSD.org Subject: Re: ports/140563: net/avahi-app doesn't build - depends on missing "gnome-config" X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 01:13:13 -0000 --=-3rd8bfUbPSUJAuEpkpYF Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable On Sat, 2010-01-02 at 17:03 -0800, Ronald F. Guilmette wrote: > In message <1262478298.16768.45.camel@shumai.marcuscom.com>, you wrote: >=20 > >I don't know what all of these variables control, but I do know that > >pkg-config is behaving as if you typed: > > > >pkg-config -- dbus-1 --modversion >=20 > Well, I tried this again, just to be sure that I didn't make some stupid > mistake, e.g. while cutting and pasting what you told me to do: >=20 > pkg-config dbus-1 --modversion --debug >=20 > When I did this again, once again I got just the same two errors about > gnome-config as before. However, noting (as I did) that in the above > command, the options did NOTR appear before the nonoption args (which > is counter to POSIX rules for commands) I decided to try this instead/als= o: >=20 > pkg-config --modversion --debug dbus-1 >=20 > Now *that* command produces a LOT of debugging output. >=20 > Hummm.... I have encountered something similar to this situation before, > with sopme other package/port in the past that I was also having trouble > building. It tried to invoke something... I forget precisely what now... > maybe bison... but as in this case, it did so in a way that provided non- > option arguments _before_ some option arguments. >=20 > Hummm... no. It wasn't bison. It was something else. I forget what now > but I could go back and look it up. It was somthing needed by something = that > was needed in order to build "nmh". Anyway, the guy who was the maintain= er > never could reproduce the problem that I was seeing (and he wasn't nearly > as helpful or caring as you) so he just (arrogantly?) closed the PR. >=20 > Now however I'm thinking that maybe, just maybe, the fact that I use > /bin/tcsh rather than /bin/csh may perhaps ... no... nevermind. I > just checked and even under /bin/csh _and_ /bin/sh also, the behavior > is the same for: >=20 > pkg-config dbus-1 --modversion --debug >=20 > i.e. just two error messages about gnome-config... *however* as I've said= , > putting the options befire the non-option arguments seems to make an > enormous differece in terms of the output, and the command rewritten to: >=20 > pkg-config --modversion --debug dbus-1 >=20 > seems to produce a whole lotta output. (I have no idea if any of it is > in any sense "correct" or not, but at least there is a lot of it.) >=20 > So now, is THIS my solution? Do I just simply need to find the place in > the avahi-app Makefile(s) where the pgk-config command is being invoked, > and then re-arrange things so that the options come before non-option > args? This isn't a solution. This just reinforces the fact that your system has a problem. Now that I look again, you have POSIXLY_CORRECT set in your environment. This is the cause of your problem. Remove this variable, and popt-based applications will work the way they were intended. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-3rd8bfUbPSUJAuEpkpYF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEABECAAYFAks/7y0ACgkQb2iPiv4Uz4dSYACfXL5qrQ59OW0zdOLW4ANfQ2CB 0DEAn2xzDgxXZW/NFbynUaeJL0ozHIBZ =KIrK -----END PGP SIGNATURE----- --=-3rd8bfUbPSUJAuEpkpYF--