From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 8 18:20:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D6B9C572 for ; Sat, 8 Mar 2014 18:20:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B2274BD0 for ; Sat, 8 Mar 2014 18:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s28IK0JS031904 for ; Sat, 8 Mar 2014 18:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s28IK0vx031903; Sat, 8 Mar 2014 18:20:00 GMT (envelope-from gnats) Resent-Date: Sat, 8 Mar 2014 18:20:00 GMT Resent-Message-Id: <201403081820.s28IK0vx031903@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, hsu@bbnetworks.net Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B80774C9 for ; Sat, 8 Mar 2014 18:16:46 +0000 (UTC) Received: from lelu.suonsivu.net (lelu.suonsivu.net [212.16.96.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 406B1BB3 for ; Sat, 8 Mar 2014 18:16:45 +0000 (UTC) Received: from lelu.suonsivu.net (localhost [127.0.0.1]) by lelu.suonsivu.net (8.14.7/8.14.7) with ESMTP id s28I1qjt013605 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 8 Mar 2014 20:01:52 +0200 (EET) (envelope-from hsu@lelu.suonsivu.net) Received: (from root@localhost) by lelu.suonsivu.net (8.14.7/8.14.7/Submit) id s28I1qaA013604; Sat, 8 Mar 2014 20:01:52 +0200 (EET) (envelope-from hsu) Message-Id: <201403081801.s28I1qaA013604@lelu.suonsivu.net> Date: Sat, 8 Mar 2014 20:01:52 +0200 (EET) From: hsu@bbnetworks.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/187380: sunclock seeks configuration and other files from compilation work directory X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: hsu@bbnetworks.net List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2014 18:20:01 -0000 >Number: 187380 >Category: ports >Synopsis: sunclock seeks configuration and other files from compilation work directory >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: Sat Mar 08 18:20:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Heikki Suonsivu >Release: FreeBSD 10.0-RELEASE amd64 >Organization: bbnetworks.net >Environment: System: FreeBSD lelu.suonsivu.net 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: sunclock package and port compile wrong, resulting in binary which wants to find all its configuration and other files in compilation work directory. sunclock gives this error when run: Unable to find the config file /usr/ports/astro/sunclock/work/stage/share/sunclock/Sunclockrc >How-To-Repeat: Install sunclock with pkg add sunclock or compile the port. You can see in port compilation messages that SHAREDIR is set to compilation work directory instead of /usr/local/share/sunclock. Oddly, it seems that /usr/local/share/sunclock is correctly populated. cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include/libpng15 -I/usr/local/include -DEMXBINDIR=\"/usr/local/bin\" -DDOCDIR=\"/usr/local/lib/X11/doc\" -O -Wall -DZLIB -DSHAREDIR=\"/usr/ports/astro/sunclock/work/stage/share/sunclock\" -c tildepath.c >Fix: >Release-Note: >Audit-Trail: >Unformatted: