Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Mar 2014 20:01:52 +0200 (EET)
From:      hsu@bbnetworks.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187380: sunclock seeks configuration and other files from compilation work directory
Message-ID:  <201403081801.s28I1qaA013604@lelu.suonsivu.net>
Resent-Message-ID: <201403081820.s28IK0vx031903@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403081801.s28I1qaA013604>