From owner-freebsd-gnome@FreeBSD.ORG Sat Aug 22 19:46:32 2009 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 55480106568E; Sat, 22 Aug 2009 19:46:32 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 659978FC08; Sat, 22 Aug 2009 19:46:31 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id WAA13395; Sat, 22 Aug 2009 22:46:28 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1] helo=edge.pp.kiev.ua) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1MewXk-0007Od-8N; Sat, 22 Aug 2009 22:46:28 +0300 Message-ID: <4A904B12.4010005@icyb.net.ua> Date: Sat, 22 Aug 2009 22:46:26 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.22 (X11/20090723) MIME-Version: 1.0 To: Christoph Mallon References: <4A8D517F.7050405@icyb.net.ua> <4A902406.1060506@gmx.de> In-Reply-To: <4A902406.1060506@gmx.de> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: gnome , freebsd-ports@FreeBSD.ORG Subject: Re: pulseaudio build error (curious/strange) 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: Sat, 22 Aug 2009 19:46:32 -0000 on 22/08/2009 19:59 Christoph Mallon said the following: > You are right, the macro code cannot work by design of the preprocssor: > #define TEMP_PACKAGE_VERSION PACKAGE_VERSION tells TEMP_PACKAGE_VERSION > to expand to PACKAGE_VERSION. This will in turn expand to whatever > PACKAGE_VERSION is defined _at the point where TEMP_PACKAGE_VERSION is > used_. PACKAGE_VERSION is later defined to expand to TEMP_PACKAGE_VERSION. > So when using PACKAGE_VERSION, it will first expand to > TEMP_PACKAGE_VERSION, which in turn expands to PACKAGE_VERSION. The > preprocessors forbids recursion on macros, therefore macro expansion > stops right there, because in this chain of expansion we already > expanded PACKAGE_VERSION. So in the end we get the word PACKAGE_VERSION > in the preprocessed source code. > Long story short: The above preprocessing directives cannot work. > Do you know, where/why PACKAGE_BUGREPORT is defined? Christoph, thank you for the detailed explanation! PACKAGE_BUGREPORT is defined in config.h of pulseaudio. I think it's supposed to be defined to an (email) address where bug reports should go. -- Andriy Gapon