pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/48869 (lang/lua51/ALTERNATIVES and lang/lua52/ALTERNATIVES are wrong.)



The following reply was made to PR pkg/48869; it has been noted by GNATS.

From: ishit <ishit%oak.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: alnsn%NetBSD.org@localhost, pkg-manager%netbsd.org@localhost, 
pkgsrc-bugs%netbsd.org@localhost,
        gnats-admin%netbsd.org@localhost
Subject: Re: pkg/48869 (lang/lua51/ALTERNATIVES and lang/lua52/ALTERNATIVES are 
wrong.)
Date: Wed, 11 Jun 2014 00:25:34 +0900

 > Fix is commited. Please confirm it fixes your problem as I don't use
 > the alternatives framework.
 > Alex
 > 
 
 I try make lang/lua52, but already wrong.
 
 # cd /usr/pkgsrc/lang/lua52
 # make deinstall
 <snip>
 # make install
 <snip>
 => Checking for missing run-time search paths in lua52-5.2.3nb1
 => Checking for work-directory references in lua52-5.2.3nb1
 => Creating binary package 
/opt/pkgsrc/lang/lua52/work.i386/.packages/lua52-5.2.3nb1.tgz
 ===> Install binary package of lua52-5.2.3nb1
 pkg_alternatives: wrapper name `lib/pkgconfig/lua.2.pc' is invalid
 #
 
 
 I try fix, It looks fine.
 
 
 # vi ALTERNATIVES
 # cvs diff -u ALTERNATIVES
 Index: ALTERNATIVES
 ===================================================================
 RCS file: /cvsroot/pkgsrc/lang/lua52/ALTERNATIVES,v
 retrieving revision 1.2
 diff -u -r1.2 ALTERNATIVES
 --- ALTERNATIVES 6 Jun 2014 17:48:16 -0000      1.2
 +++ ALTERNATIVES 10 Jun 2014 15:04:45 -0000
 @@ -1,3 +1,2 @@
  bin/lua @PREFIX@/bin/lua5.2
  bin/luac @PREFIX@/bin/luac5.2
 -lib/pkgconfig/lua.2.pc @PREFIX@/lib/pkgconfig/lua-5.2.pc
 # make clean
 ===> Cleaning for lua52-5.2.3nb1
 # make deinstall
 ===> Deinstalling for lua52-5.2.3nb1
 Running /usr/pkg/sbin/pkg_delete -K /var/db/pkg  lua52-5.2.3nb1
 pkg_alternatives: wrapper name `lib/pkgconfig/lua.2.pc' is invalid
 # make install
 <snip>
 => Checking for missing run-time search paths in lua52-5.2.3nb1
 => Checking for work-directory references in lua52-5.2.3nb1
 => Creating binary package 
/opt/pkgsrc/lang/lua52/work.i386/.packages/lua52-5.2.3nb1.tgz
 ===> Install binary package of lua52-5.2.3nb1
 #
 
 (no pkg_alternatives error.)
 


Home | Main Index | Thread Index | Old Index