From nobody@FreeBSD.org  Sat Sep  3 07:36:17 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id DE8241065673
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  3 Sep 2011 07:36:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id C489A8FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  3 Sep 2011 07:36:16 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p837aGmw069762
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 3 Sep 2011 07:36:16 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p837aGMI069761;
	Sat, 3 Sep 2011 07:36:16 GMT
	(envelope-from nobody)
Message-Id: <201109030736.p837aGMI069761@red.freebsd.org>
Date: Sat, 3 Sep 2011 07:36:16 GMT
From: "Hartmann, O." <ohartman@zedat.fu-berlin.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: x11-toolkits/Xaw3d: ===>  Configuring for Xaw3d-1.5E_4 imake -DUseInstalled -I/usr/local/lib/X11/config imake: No such file or directory imake: Cannot exec clang -E.   Stop. imake: Exit code 1. CLANG build failure.
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         160415
>Category:       ports
>Synopsis:       x11-toolkits/Xaw3d: ===>  Configuring for Xaw3d-1.5E_4 imake -DUseInstalled -I/usr/local/lib/X11/config imake: No such file or directory imake: Cannot exec clang -E.   Stop. imake: Exit code 1. CLANG build failure.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    dinoex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 03 07:40:07 UTC 2011
>Closed-Date:    Fri Dec 02 17:33:03 CET 2011
>Last-Modified:  Fri Dec 02 17:33:03 CET 2011
>Originator:     Hartmann, O.
>Release:        FreeBSD 9.0-BETA2/amd64 with CLANG compiled
>Organization:
FU berlin
>Environment:
>Description:
Port fails the compilation with CLANG by not knowing how to execute "clang -E", which seems to be a FreeBSD recommended replacement for cpp as recommended on the Wiki for howto build FreeBSD with the new upcoming LLVM/CLANG base compiler system. See error as follows:


===>>> Port directory: /usr/ports/x11-toolkits/Xaw3d

===>  Cleaning for Xaw3d-1.5E_4

===>>> Waiting on fetch & checksum for x11-toolkits/Xaw3d <<<===
===>  Vulnerability check disabled, database not found
===>  License MIT accepted by the user
===>  Found saved configuration for Xaw3d-1.5E_4
=> Xaw3d-1.5E.tar.gz doesn't seem to exist in /usr/ports/distfiles//.
=> Attempting to fetch ftp://ftp.visi.com/users/hawkeyd/X/Xaw3d-1.5E.tar.gz


===>  Vulnerability check disabled, database not found
===>  License MIT accepted by the user
===>  Found saved configuration for Xaw3d-1.5E_4
===>  Extracting for Xaw3d-1.5E_4
=> SHA256 Checksum OK for Xaw3d-1.5E.tar.gz.
/bin/mkdir -p /usr/ports/x11-toolkits/Xaw3d/work/xc/lib/Xaw3d/X11/Xaw3d
cd /usr/ports/x11-toolkits/Xaw3d/work/xc/lib/Xaw3d/X11/Xaw3d; /bin/ln -sf ../../*.h .
===>  Patching for Xaw3d-1.5E_4
===>  Applying FreeBSD patches for Xaw3d-1.5E_4
===>   Xaw3d-1.5E_4 depends on executable: imake - found
===>   Xaw3d-1.5E_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   Xaw3d-1.5E_4 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   Xaw3d-1.5E_4 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found
===>   Xaw3d-1.5E_4 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found
===>   Xaw3d-1.5E_4 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found
===>   Xaw3d-1.5E_4 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found
===>   Xaw3d-1.5E_4 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found
===>   Xaw3d-1.5E_4 depends on shared library: intl - found
===>  Configuring for Xaw3d-1.5E_4
imake -DUseInstalled -I/usr/local/lib/X11/config
imake: No such file or directory
imake: Cannot exec clang -E.
  Stop.
imake: Exit code 1.
  Stop.
===>  Building for Xaw3d-1.5E_4
`Makefile' is up to date.
make: don't know how to make all. Stop
*** Error code 1

Stop in /usr/ports/x11-toolkits/Xaw3d.
*** Error code 1

Stop in /usr/ports/x11-toolkits/Xaw3d.

===>>> make failed for x11-toolkits/Xaw3d
===>>> Aborting update

===>>> Update for Xaw3d-1.5E_4 failed
===>>> Aborting update

>How-To-Repeat:
Try compiling x11-toolkits/Xaw3d with CLANG.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->dinoex 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Sep 3 07:40:18 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160415 
State-Changed-From-To: open->analyzed 
State-Changed-By: dinoex 
State-Changed-When: Mon Sep 12 20:44:22 CEST 2011 
State-Changed-Why:  

The imake port needs to pick up clang. 
Xaw3d can't work aound this here. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=160415 
State-Changed-From-To: analyzed->closed 
State-Changed-By: dinoex 
State-Changed-When: Fri Dec 2 17:32:03 CET 2011 
State-Changed-Why:  
A fix in imake and xorg-cf-files has been committed, the ports builds now. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160415 
>Unformatted:
