Date: Tue, 14 Aug 2012 06:01:48 GMT From: Marcin Cieslak <saper@saper.info> To: FreeBSD-gnats-submit@FreeBSD.org Cc: m.tsatsenko@gmail.com Subject: ports/170626: x11-toolkits/open-motif: X11/extensions/XPrint.h is not detected by configure Message-ID: <201208140601.q7E61mXB066340@freefall.freebsd.org> Resent-Message-ID: <201208140610.q7E6ABfE066954@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208140601.q7E61mXB066340>