From owner-freebsd-x11@FreeBSD.ORG Mon Sep 5 09:14:04 2005 Return-Path: X-Original-To: x11@hub.freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C211A16A41F; Mon, 5 Sep 2005 09:14:04 +0000 (GMT) (envelope-from skv@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 821CE43D46; Mon, 5 Sep 2005 09:14:04 +0000 (GMT) (envelope-from skv@FreeBSD.org) Received: from freefall.freebsd.org (skv@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j859E4tH067229; Mon, 5 Sep 2005 09:14:04 GMT (envelope-from skv@freefall.freebsd.org) Received: (from skv@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j859E4mn067225; Mon, 5 Sep 2005 09:14:04 GMT (envelope-from skv) Date: Mon, 5 Sep 2005 09:14:04 GMT From: Sergey Skvortsov Message-Id: <200509050914.j859E4mn067225@freefall.freebsd.org> To: skv@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, x11@FreeBSD.org Cc: Subject: Re: ports/85735: Force imake respect CC/CXX X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2005 09:14:04 -0000 Synopsis: Force imake respect CC/CXX Responsible-Changed-From-To: freebsd-ports-bugs->x11 Responsible-Changed-By: skv Responsible-Changed-When: Mon Sep 5 09:13:05 GMT 2005 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=85735 From owner-freebsd-x11@FreeBSD.ORG Mon Sep 5 11:02:32 2005 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C80C16A458 for ; Mon, 5 Sep 2005 11:02:32 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5965443D48 for ; Mon, 5 Sep 2005 11:02:32 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j85B2WDT077106 for ; Mon, 5 Sep 2005 11:02:32 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j85B2VhY077099 for freebsd-x11@freebsd.org; Mon, 5 Sep 2005 11:02:31 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 5 Sep 2005 11:02:31 GMT Message-Id: <200509051102.j85B2VhY077099@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-x11@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2005 11:02:32 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/11/20] ports/32121 x11 XFree86-4-Server: xf86cfg 4.1.0 writes ba f [2004/11/22] ports/74265 x11 XFree86 Version 4.4.0 with KDE 3.1 freeze o [2005/03/25] ports/79231 x11 XORG / FBSD5.4 stuck at 640x480 on HP XE2 o [2005/08/11] ports/84820 x11 x11-servers/xorg-server fails to start w/ f [2005/08/12] ports/84834 x11 Required symbol GlxSetVIsualConfigs from o [2005/08/30] ports/85470 x11 82845GV video mode switching with Xorg 6 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/10/22] ports/73009 x11 5.3-RC1 ports refer to XF86Config - shoul s [2004/11/09] ports/73743 x11 XOrg/XFree xauth add/startx problem o [2005/05/13] ports/80979 x11 x11/xorg-clients: when hostname is not co o [2005/05/24] ports/81428 x11 [PATCH] x11-servers/mga_hal: also install o [2005/08/19] i386/85132 x11 XOrg 6.8.2 won't start on Toshiba Satelli 5 problems total. From owner-freebsd-x11@FreeBSD.ORG Mon Sep 5 11:05:05 2005 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E65BD16A420 for ; Mon, 5 Sep 2005 11:05:05 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24A2743D53 for ; Mon, 5 Sep 2005 11:05:05 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j85B55IS079322 for ; Mon, 5 Sep 2005 11:05:05 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j85B54Wm079316 for x11@freebsd.org; Mon, 5 Sep 2005 11:05:04 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 5 Sep 2005 11:05:04 GMT Message-Id: <200509051105.j85B54Wm079316@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: x11@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2005 11:05:06 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/09/05] ports/85735 x11 Force imake respect CC/CXX 1 problem total. Non-critical problems From owner-freebsd-x11@FreeBSD.ORG Mon Sep 5 13:34:13 2005 Return-Path: X-Original-To: freebsd-x11@hub.freebsd.org Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D36916A41F; Mon, 5 Sep 2005 13:34:13 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E6CD43D46; Mon, 5 Sep 2005 13:34:13 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j85DYDEw099633; Mon, 5 Sep 2005 13:34:13 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j85DYDBc099629; Mon, 5 Sep 2005 13:34:13 GMT (envelope-from linimon) Date: Mon, 5 Sep 2005 13:34:13 GMT From: Mark Linimon Message-Id: <200509051334.j85DYDBc099629@freefall.freebsd.org> To: linimon@FreeBSD.org, x11@FreeBSD.org, freebsd-x11@FreeBSD.org Cc: Subject: Re: ports/85735: Force imake respect CC/CXX X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2005 13:34:13 -0000 Synopsis: Force imake respect CC/CXX Responsible-Changed-From-To: x11->freebsd-x11 Responsible-Changed-By: linimon Responsible-Changed-When: Mon Sep 5 13:34:05 GMT 2005 Responsible-Changed-Why: Canonicalize assignment. http://www.freebsd.org/cgi/query-pr.cgi?pr=85735 From owner-freebsd-x11@FreeBSD.ORG Mon Sep 5 13:34:13 2005 Return-Path: X-Original-To: x11@hub.freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D36916A41F; Mon, 5 Sep 2005 13:34:13 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E6CD43D46; Mon, 5 Sep 2005 13:34:13 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j85DYDEw099633; Mon, 5 Sep 2005 13:34:13 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j85DYDBc099629; Mon, 5 Sep 2005 13:34:13 GMT (envelope-from linimon) Date: Mon, 5 Sep 2005 13:34:13 GMT From: Mark Linimon Message-Id: <200509051334.j85DYDBc099629@freefall.freebsd.org> To: linimon@FreeBSD.org, x11@FreeBSD.org, freebsd-x11@FreeBSD.org Cc: Subject: Re: ports/85735: Force imake respect CC/CXX X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2005 13:34:13 -0000 Synopsis: Force imake respect CC/CXX Responsible-Changed-From-To: x11->freebsd-x11 Responsible-Changed-By: linimon Responsible-Changed-When: Mon Sep 5 13:34:05 GMT 2005 Responsible-Changed-Why: Canonicalize assignment. http://www.freebsd.org/cgi/query-pr.cgi?pr=85735 From owner-freebsd-x11@FreeBSD.ORG Mon Sep 5 21:50:16 2005 Return-Path: X-Original-To: freebsd-x11@hub.freebsd.org Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A42616A420 for ; Mon, 5 Sep 2005 21:50:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF84D43D46 for ; Mon, 5 Sep 2005 21:50:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j85LoF6K057626 for ; Mon, 5 Sep 2005 21:50:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j85LoF88057625; Mon, 5 Sep 2005 21:50:15 GMT (envelope-from gnats) Date: Mon, 5 Sep 2005 21:50:15 GMT Message-Id: <200509052150.j85LoF88057625@freefall.freebsd.org> To: freebsd-x11@FreeBSD.org From: Dejan Lesjak Cc: Subject: Re: ports/85735: Force imake respect CC/CXX X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dejan Lesjak List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2005 21:50:16 -0000 The following reply was made to PR ports/85735; it has been noted by GNATS. From: Dejan Lesjak To: bug-followup@freebsd.org Cc: Subject: Re: ports/85735: Force imake respect CC/CXX Date: Mon, 5 Sep 2005 23:48:10 +0200 Proposed patch actually replaces defaults with the settings of $CC and $CXX in effect at the time imake is built. This doesn't seem right. (See also ports/65277). Furthermore I seem to be unable to reproduce the case where imake would not respect $CC. If I define CC=notcc in either /etc/make.conf or try to build imake with these commands: make CC=nocc build env CC=nocc make build I always get this error: ===> Configuring for imake-6.8.2 cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS="" CC="nocc" making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="" in config/imake nocc -o ccimake -DCROSSCOMPILEDIR=\"\" -O -I../../include -I../../imports/x11/include/X11 ccimake.c nocc: not found *** Error code 127 This seems to suggest imake is indeed respecting CC. Is there some specific case where it is not so? From owner-freebsd-x11@FreeBSD.ORG Wed Sep 7 15:30:09 2005 Return-Path: X-Original-To: freebsd-x11@hub.freebsd.org Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4D6A16A41F for ; Wed, 7 Sep 2005 15:30:09 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34D2A43D49 for ; Wed, 7 Sep 2005 15:30:09 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j87FU9BE005912 for ; Wed, 7 Sep 2005 15:30:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j87FU9Hg005910; Wed, 7 Sep 2005 15:30:09 GMT (envelope-from gnats) Date: Wed, 7 Sep 2005 15:30:09 GMT Message-Id: <200509071530.j87FU9Hg005910@freefall.freebsd.org> To: freebsd-x11@FreeBSD.org From: Sergey Skvortsov Cc: Subject: Re: ports/85735: Force imake respect CC/CXX X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sergey Skvortsov List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2005 15:30:09 -0000 The following reply was made to PR ports/85735; it has been noted by GNATS. From: Sergey Skvortsov To: bug-followup@FreeBSD.org, Dejan Lesjak Cc: Subject: Re: ports/85735: Force imake respect CC/CXX Date: Wed, 07 Sep 2005 19:29:28 +0400 Dejan Lesjak wrote: > > effect at the time imake is built. This doesn't seem right. (See also > ports/65277). > > Furthermore I seem to be unable to reproduce the case where imake would not > respect $CC. If I define CC=notcc in either /etc/make.conf or try to build > imake with these commands: > > make CC=nocc build > > This seems to suggest imake is indeed respecting CC. Is there some specific > case where it is not so? You used unexisting cc. Try the real one - install lang/gcc34. %uname -r 4.11-STABLE /etc/make.conf: X_WINDOW_SYSTEM= xorg # compile all ports with gcc-3.4 .if ${.CURDIR:N*/ports/*} == "" CC:=gcc34 CXX:=g++34 CFLAGS= -O2 -pipe -Wall -mtune=pentium4 .endif %cd /usr/ports/devel/imake-6 %make ===> Extracting for imake-6.8.2 => Checksum OK for xorg/X11R6.8.2-src1.tar.gz. => Checksum OK for xorg/X11R6.8.2-src3.tar.gz. ===> imake-6.8.2 depends on file: /usr/local/bin/perl5.8.7 - found ===> Patching for imake-6.8.2 ===> imake-6.8.2 depends on file: /usr/local/bin/perl5.8.7 - found ===> Applying FreeBSD patches for imake-6.8.2 ===> imake-6.8.2 depends on file: /usr/local/bin/perl5.8.7 - found ===> Configuring for imake-6.8.2 cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS="" CC="gcc34" making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="" in config/imake gcc34 -o ccimake -DCROSSCOMPILEDIR=\"\" -O -I../../include -I../../imports/x11/include/X11 ccimake.c if [ -n "" ] ; then /cc -E `./ccimake` -DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h; else touch imakemdep_cpp.h; fi gcc34 -c -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c gcc34 -o imake -O -I../../include -I../../imports/x11/include/X11 imake.o rm -f ./config/makedepend/Makefile.proto ./config/imake/imake -I./config/cf -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend cd ./config/makedepend && rm -f -r Makefile Makefile.dep makedepend *.o bootstrap cd ./config/makedepend && make -f Makefile.proto bootstrap ./config/imake/imake -I./config/cf -s ./config/imake/Makefile.proto -f ./config /imake/Imakefile -DTOPDIR=../.. -DCURDIR=./config/imake -DBootStrap cd ./config/makedepend && rm -f -r Makefile Makefile.dep makedepend *.o bootstrap cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS="" CC="gcc34" bootstrap + mkdir bootstrap mv *.o bootstrap + mv imake bootstrap cd ./config/imake && make -f Makefile.proto imakeonly cc -O2 -pipe -Wall -mtune=pentium4 -ansi -pedantic -Wno-system-headers -Dasm=__asm -Wall -Wpointer-arith -Wundef -I../../include -I../../exports/include/X11 -I../.. -I../../exports/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCPP_PROGRAM="\"/usr/bin/cpp\"" -DHAS_MERGE_CONSTANTS=`if cc -fmerge-constants -xc /dev/null -S -o /dev/null 2> /dev/null 1> /dev/null; then echo 1; else echo 0; fi` -c imake.c cc1: Invalid option `tune=pentium4' cc1: Invalid option `-Wno-system-headers' *** Error code 1 Stop in /usr/ports/devel/imake-6/work/xc/config/imake. *** Error code 1 Stop in /usr/ports/devel/imake-6/work/xc. make: cannot open xmakefile. *** Error code 2 Stop in /usr/ports/devel/imake-6. So, "cc1" is used anyway because Imake.tmpl does not updated with correct CC variables. -- Sergey Skvortsov mailto: skv@FreeBSD.org From owner-freebsd-x11@FreeBSD.ORG Wed Sep 7 18:20:15 2005 Return-Path: X-Original-To: freebsd-x11@hub.freebsd.org Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8EBA16A41F for ; Wed, 7 Sep 2005 18:20:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B80843D49 for ; Wed, 7 Sep 2005 18:20:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j87IKBNP029952 for ; Wed, 7 Sep 2005 18:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j87IKB3q029951; Wed, 7 Sep 2005 18:20:11 GMT (envelope-from gnats) Date: Wed, 7 Sep 2005 18:20:11 GMT Message-Id: <200509071820.j87IKB3q029951@freefall.freebsd.org> To: freebsd-x11@FreeBSD.org From: Dejan Lesjak Cc: Subject: Re: ports/85735: Force imake respect CC/CXX X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dejan Lesjak List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2005 18:20:16 -0000 The following reply was made to PR ports/85735; it has been noted by GNATS. From: Dejan Lesjak To: bug-followup@freebsd.org, skv@freebsd.org Cc: Subject: Re: ports/85735: Force imake respect CC/CXX Date: Wed, 7 Sep 2005 20:10:39 +0200 > You used unexisting cc. Try the real one - install lang/gcc34. Ah, my testcase was flawed as I feared. Thanks for the cluebat :) Do you agree though that changing FreeBSD.cf as in patch would not be optimal wrt hardcoding $CC and $CXX in installed imake configuration? If so, here's what I'm considering now: we can add the following two lines to ports Makefile: MAKE_ENV+= MAKEFLAGS="CC=${CC} CXX=${CXX}" SCRIPTS_ENV+= CC=${CC} and modify the last two lines in scripts/configure to: env MAKEFLAGS="CC=${CC}" make Makefile.boot env MAKEFLAGS="CC=${CC}" make -f xmakefile VerifyOS version.def Makefiles includes Would this kind of change make sense? If so, the CFLAGS could also be fixed in same way. From owner-freebsd-x11@FreeBSD.ORG Fri Sep 9 09:10:04 2005 Return-Path: X-Original-To: freebsd-x11@hub.freebsd.org Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4BCE16A42B for ; Fri, 9 Sep 2005 09:10:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70F9343D49 for ; Fri, 9 Sep 2005 09:10:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j899A4Vg051343 for ; Fri, 9 Sep 2005 09:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j899A4O0051342; Fri, 9 Sep 2005 09:10:04 GMT (envelope-from gnats) Date: Fri, 9 Sep 2005 09:10:04 GMT Message-Id: <200509090910.j899A4O0051342@freefall.freebsd.org> To: freebsd-x11@FreeBSD.org From: Sergey Skvortsov Cc: Subject: Re: ports/85735: Force imake respect CC/CXX X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sergey Skvortsov List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2005 09:10:04 -0000 The following reply was made to PR ports/85735; it has been noted by GNATS. From: Sergey Skvortsov To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/85735: Force imake respect CC/CXX Date: Fri, 09 Sep 2005 13:00:12 +0400 Dejan Lesjak wrote: >>You used unexisting cc. Try the real one - install lang/gcc34. > > Ah, my testcase was flawed as I feared. Thanks for the cluebat :) > > Do you agree though that changing FreeBSD.cf as in patch would not be optimal > wrt hardcoding $CC and $CXX in installed imake configuration? If so, here's > what I'm considering now: we can add the following two lines to ports > Makefile: > > MAKE_ENV+= MAKEFLAGS="CC=${CC} CXX=${CXX}" > SCRIPTS_ENV+= CC=${CC} > > and modify the last two lines in scripts/configure to: > > env MAKEFLAGS="CC=${CC}" make Makefile.boot > env MAKEFLAGS="CC=${CC}" make -f xmakefile VerifyOS version.def Makefiles > includes > > Would this kind of change make sense? > If so, the CFLAGS could also be fixed in same way. Your approach seems to be more correct, however the result is still the same (I just try to avoid creating new patch-* files). I also see another problem. Imake.tmpl is created while imake building and installed into /usr/X11R6/lib/X11/config/Imake.tmpl. This template will be used for all imake-depended ports. But futher compiling such ports with another CC/CXX values may cause strangest errors. Some method for detection this situation should be introduced. -- Sergey Skvortsov mailto: skv@FreeBSD.org From owner-freebsd-x11@FreeBSD.ORG Sat Sep 10 04:27:43 2005 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EA7316A41F for ; Sat, 10 Sep 2005 04:27:43 +0000 (GMT) (envelope-from saladjonk@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8BBB43D46 for ; Sat, 10 Sep 2005 04:27:42 +0000 (GMT) (envelope-from saladjonk@gmail.com) Received: by rproxy.gmail.com with SMTP id i8so175701rne for ; Fri, 09 Sep 2005 21:27:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ZxBa48NglD/6Vg5RYNsRRKEzM9aTCpBu1hfmh1ppHi5BUtHZOlKsBjIIxZqwHjIPk8qkypN6waj4jNx3H5yWjTeWwzP3+zP0IE/5yeoepSBbNpomKMOmAsQCypdCjUUMba4fbFrB9rRq/1NOUHb4wZtsbz2i6KIOWKH74rT1Pys= Received: by 10.38.11.30 with SMTP id 30mr90955rnk; Fri, 09 Sep 2005 21:27:34 -0700 (PDT) Received: by 10.39.3.68 with HTTP; Fri, 9 Sep 2005 21:27:34 -0700 (PDT) Message-ID: Date: Sat, 10 Sep 2005 12:27:34 +0800 From: salad jonk To: freebsd-x11@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Hi,I have a meet a problem,wish you to help me X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: saladjonk@gmail.com List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2005 04:27:43 -0000 I am a beginner of X-window programming.When I compiled the source file I meet a problem,just could not find the library on the freebsd5.4 The name of the source file is "x_test.c" I use this command "gcc -o x_test x_test.c -I/usr/X11R6/include -L/usr/X11R6/lib",but can not pass the compile,just the following error message: /var/tmp//ccPzpiws.o(.text+0xc): In function `Initialise': : undefined reference to `XOpenDisplay' /var/tmp//ccPzpiws.o(.text+0xd2): In function `CreateWindow': : undefined reference to `XCreateSimpleWindow' /var/tmp//ccPzpiws.o(.text+0xe9): In function `CreateWindow': : undefined reference to `XMapWindow' /var/tmp//ccPzpiws.o(.text+0x1e5): In function `main': : undefined reference to `XDrawLine' /var/tmp//ccPzpiws.o(.text+0x20a): In function `main': : undefined reference to `XDrawLine' /var/tmp//ccPzpiws.o(.text+0x21d): In function `main': : undefined reference to `XSync' /var/tmp//ccPzpiws.o(.text+0x23e): In function `main': : undefined reference to `XDestroyWindow' /var/tmp//ccPzpiws.o(.text+0x252): In function `main': : undefined reference to `XDestroyWindow' /var/tmp//ccPzpiws.o(.text+0x263): In function `main': : undefined reference to `XCloseDisplay' What should I do? --=20 I am young,so my heart is full of dream