From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 14 06:10:11 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A5F72106564A for ; Tue, 14 Aug 2012 06:10:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7DD8A8FC0A for ; Tue, 14 Aug 2012 06:10:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7E6ABGE066955 for ; Tue, 14 Aug 2012 06:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7E6ABfE066954; Tue, 14 Aug 2012 06:10:11 GMT (envelope-from gnats) Resent-Date: Tue, 14 Aug 2012 06:10:11 GMT Resent-Message-Id: <201208140610.q7E6ABfE066954@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marcin Cieslak Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 16C29106566C for ; Tue, 14 Aug 2012 06:01:49 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DBB578FC08; Tue, 14 Aug 2012 06:01:48 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7E61mwY066341; Tue, 14 Aug 2012 06:01:48 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7E61mXB066340; Tue, 14 Aug 2012 06:01:48 GMT (envelope-from gnats) Message-Id: <201208140601.q7E61mXB066340@freefall.freebsd.org> Date: Tue, 14 Aug 2012 06:01:48 GMT From: Marcin Cieslak To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: m.tsatsenko@gmail.com Subject: ports/170626: x11-toolkits/open-motif: X11/extensions/XPrint.h is not detected by configure X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcin Cieslak List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2012 06:10:11 -0000 >Number: 170626 >Category: ports >Synopsis: x11-toolkits/open-motif: X11/extensions/XPrint.h is not detected by configure >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 14 06:10:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Marcin Cieslak >Release: FreeBSD 9.0-BETA1 amd64 >Organization: >Environment: System: FreeBSD radziecki.saper.info 9.0-BETA1 FreeBSD 9.0-BETA1 #0 r224912M: Mon Aug 6 13:01:28 CEST 2012 saper@radziecki.saper.info:/a/icybox/obj/usr/src/sys/VAIO amd64 >Description: Although I have /usr/local/include/X11/extensions/Print.h and /usr/local/lib/libXp.a /usr/local/lib/libXp.so /usr/local/lib/libXp.la /usr/local/lib/libXp.so.6 installed (they also look sane), configure fails t detect them properly. >From config.log: configure:18905: cc -o conftest -O2 -pipe -march=nocona -fno-strict-aliasing -st d=gnu89 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -DC SRG_BASED -DXNO_MTSAFE_API -DXNO_MTSAFE_PWDAPI -DCSRG_BASED -DXUSE_MTSAFE_API -D XNO_MTSAFE_PWDAPI -L/usr/local/lib conftest.c -liconv >&5 configure:18912: $? = 0 configure:18943: result: -liconv configure:19054: checking for libXp configure:19072: checking X11/extensions/Print.h usability configure:19089: cc -c -O2 -pipe -march=nocona -fno-strict-aliasing -std=gnu89 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -DCSRG_BASED -DXNO_MTSAFE_API -DXNO_MTSAFE_PWDAPI -DCSRG_BASED -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI conftest.c >&5 conftest.c:109:34: error: X11/extensions/Print.h: No such file or directory What happens is that at some point configure gets lost in saving/restoring CFLAGS/LDFLAGS and forgets to use -I/usr/local/include and -L/usr/local/lib it looks like that checking for XmuNCopyISOLatin1Lowered in -lXmu... still has our custom flags, while the next test checking for dirent.h that defines DIR... forgets the flags. >How-To-Repeat: Below is full output of configure running with -x: [bugmeister note: contents moved to http://people.freebsd.org/~linimon/tmp/open-motif-log.txt] >Fix: >Release-Note: >Audit-Trail: >Unformatted: