Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2014 02:57:25 GMT
From:      Florian Degner <f.degner@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186670: [patch] astro/foxtrotgps: wrong paths in pkg-plist causes install to fail
Message-ID:  <201402120257.s1C2vPlW049340@cgiserv.freebsd.org>
Resent-Message-ID: <201402120300.s1C3016E005777@freefall.freebsd.org>

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

>Number:         186670
>Category:       ports
>Synopsis:       [patch] astro/foxtrotgps: wrong paths in pkg-plist causes install to fail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 12 03:00:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Florian Degner
>Release:        
>Organization:
>Environment:
>Description:
pkg-plist contains several wrong directories:

% make install
===>  Installing for foxtrotgps-1.1.1_4
..
===>  Checking if astro/foxtrotgps already installed
===>   Registering installation for foxtrotgps-1.1.1_4
pkg-static: lstat(/usr/ports/astro/foxtrotgps/work/stage/usr/local/lib/locale/bg/LC_MESSAGES/foxtrotgps.mo): No such file or directory
pkg-static: lstat(/usr/ports/astro/foxtrotgps/work/stage/usr/local/lib/locale/cs/LC_MESSAGES/foxtrotgps.mo): No such file or directory
pkg-static: lstat(/usr/ports/astro/foxtrotgps/work/stage/usr/local/lib/locale/de/LC_MESSAGES/foxtrotgps.mo): No such file or directory
..
pkg-static: lstat(/usr/ports/astro/foxtrotgps/work/stage/usr/local/lib/locale/sr/LC_MESSAGES/): No such file or directory
pkg-static: lstat(/usr/ports/astro/foxtrotgps/work/stage/usr/local/lib/locale/sr/): No such file or directory
pkg-static: lstat(/usr/ports/astro/foxtrotgps/work/stage/usr/local/lib/locale/): No such file or directory
*** [fake-pkg] Error code 74

Stop in /usr/ports/astro/foxtrotgps.
%
>How-To-Repeat:
% make -C /usr/ports/astro/foxtrotgps install
>Fix:
The attached patch fixes the problem.

Patch attached with submission follows:

Index: astro/foxtrotgps/pkg-plist
===================================================================
--- astro/foxtrotgps/pkg-plist	(revision 343673)
+++ astro/foxtrotgps/pkg-plist	(working copy)
@@ -4,18 +4,18 @@
 bin/georss2foxtrotgps-poi
 bin/osb2foxtrot
 bin/poi2osm
-lib/locale/bg/LC_MESSAGES/foxtrotgps.mo
-lib/locale/cs/LC_MESSAGES/foxtrotgps.mo
-lib/locale/de/LC_MESSAGES/foxtrotgps.mo
-lib/locale/es/LC_MESSAGES/foxtrotgps.mo
-lib/locale/fi/LC_MESSAGES/foxtrotgps.mo
-lib/locale/fr/LC_MESSAGES/foxtrotgps.mo
-lib/locale/hu/LC_MESSAGES/foxtrotgps.mo
-lib/locale/nl/LC_MESSAGES/foxtrotgps.mo
-lib/locale/ru/LC_MESSAGES/foxtrotgps.mo
-lib/locale/sk/LC_MESSAGES/foxtrotgps.mo
-lib/locale/ja/LC_MESSAGES/foxtrotgps.mo
-lib/locale/sr/LC_MESSAGES/foxtrotgps.mo
+share/locale/bg/LC_MESSAGES/foxtrotgps.mo
+share/locale/cs/LC_MESSAGES/foxtrotgps.mo
+share/locale/de/LC_MESSAGES/foxtrotgps.mo
+share/locale/es/LC_MESSAGES/foxtrotgps.mo
+share/locale/fi/LC_MESSAGES/foxtrotgps.mo
+share/locale/fr/LC_MESSAGES/foxtrotgps.mo
+share/locale/hu/LC_MESSAGES/foxtrotgps.mo
+share/locale/nl/LC_MESSAGES/foxtrotgps.mo
+share/locale/ru/LC_MESSAGES/foxtrotgps.mo
+share/locale/sk/LC_MESSAGES/foxtrotgps.mo
+share/locale/ja/LC_MESSAGES/foxtrotgps.mo
+share/locale/sr/LC_MESSAGES/foxtrotgps.mo
 man/man1/convert2gpx.1.gz
 man/man1/convert2osm.1.gz
 man/man1/foxtrotgps.1.gz
@@ -38,28 +38,28 @@
 share/pixmaps/foxtrotgps.png
 @dirrm %%DATADIR%%
 @dirrm %%DOCSDIR%%
-@dirrmtry lib/locale/sk/LC_MESSAGES
-@dirrmtry lib/locale/sk
-@dirrmtry lib/locale/ru/LC_MESSAGES
-@dirrmtry lib/locale/ru
-@dirrmtry lib/locale/nl/LC_MESSAGES
-@dirrmtry lib/locale/nl
-@dirrmtry lib/locale/hu/LC_MESSAGES
-@dirrmtry lib/locale/hu
-@dirrmtry lib/locale/fr/LC_MESSAGES
-@dirrmtry lib/locale/fr
-@dirrmtry lib/locale/fi/LC_MESSAGES
-@dirrmtry lib/locale/fi
-@dirrmtry lib/locale/es/LC_MESSAGES
-@dirrmtry lib/locale/es
-@dirrmtry lib/locale/de/LC_MESSAGES
-@dirrmtry lib/locale/de
-@dirrmtry lib/locale/cs/LC_MESSAGES
-@dirrmtry lib/locale/cs
-@dirrmtry lib/locale/bg/LC_MESSAGES
-@dirrmtry lib/locale/bg
-@dirrmtry lib/locale/ja/LC_MESSAGES
-@dirrmtry lib/locale/ja
-@dirrmtry lib/locale/sr/LC_MESSAGES
-@dirrmtry lib/locale/sr
-@dirrmtry lib/locale
+@dirrmtry share/locale/sk/LC_MESSAGES
+@dirrmtry share/locale/sk
+@dirrmtry share/locale/ru/LC_MESSAGES
+@dirrmtry share/locale/ru
+@dirrmtry share/locale/nl/LC_MESSAGES
+@dirrmtry share/locale/nl
+@dirrmtry share/locale/hu/LC_MESSAGES
+@dirrmtry share/locale/hu
+@dirrmtry share/locale/fr/LC_MESSAGES
+@dirrmtry share/locale/fr
+@dirrmtry share/locale/fi/LC_MESSAGES
+@dirrmtry share/locale/fi
+@dirrmtry share/locale/es/LC_MESSAGES
+@dirrmtry share/locale/es
+@dirrmtry share/locale/de/LC_MESSAGES
+@dirrmtry share/locale/de
+@dirrmtry share/locale/cs/LC_MESSAGES
+@dirrmtry share/locale/cs
+@dirrmtry share/locale/bg/LC_MESSAGES
+@dirrmtry share/locale/bg
+@dirrmtry share/locale/ja/LC_MESSAGES
+@dirrmtry share/locale/ja
+@dirrmtry share/locale/sr/LC_MESSAGES
+@dirrmtry share/locale/sr
+@dirrmtry share/locale


>Release-Note:
>Audit-Trail:
>Unformatted:



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