From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: bug#29485: perl-geo-ip has /usr/share/ within the code Date: Tue, 28 Nov 2017 15:41:58 +0000 Message-ID: <20171128154158.p3k4jyn3izfimfu5@abyayala> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="l3dortxzr2wnpmcu" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJi2N-0003DY-Si for bug-guix@gnu.org; Tue, 28 Nov 2017 10:43:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJi2J-0005GI-1A for bug-guix@gnu.org; Tue, 28 Nov 2017 10:43:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54337) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJi2I-0005GD-Tv for bug-guix@gnu.org; Tue, 28 Nov 2017 10:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eJi2I-0008Az-Ki for bug-guix@gnu.org; Tue, 28 Nov 2017 10:43:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJi1a-0001aW-OE for bug-guix@gnu.org; Tue, 28 Nov 2017 10:42:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJi1V-00051l-TM for bug-guix@gnu.org; Tue, 28 Nov 2017 10:42:18 -0500 Received: from aibo.runbox.com ([91.220.196.211]:47122) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJi1V-00051N-Lq for bug-guix@gnu.org; Tue, 28 Nov 2017 10:42:13 -0500 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1eJi1T-0003lQ-4r for bug-guix@gnu.org; Tue, 28 Nov 2017 16:42:11 +0100 Received: from dslb-092-073-184-243.092.073.pools.vodafone-ip.de ([92.73.184.243] helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1eJi1H-000737-Mq for bug-guix@gnu.org; Tue, 28 Nov 2017 16:41:59 +0100 Content-Disposition: inline List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 29485@debbugs.gnu.org --l3dortxzr2wnpmcu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm searching for a good solution to analyze some logs. Geo::IP is good enough. Now the problem is this: user@abyayala /gnu/store/5mhrli41qbcpns3gg0yf1vv07lvpg8hm-perl-geo-ip-1.51$= egrep -nr "/usr/" lib/perl5/site_perl/5.26.0/ lib/perl5/site_perl/5.26.0/Geo/IP/Record.pod:9: my $gi =3D Geo::IP->open("= /usr/local/share/GeoIP/GeoIPCity.dat", GEOIP_STANDARD); lib/perl5/site_perl/5.26.0/Geo/IP.pm:5075:# default path /usr/local/share/G= eoIP lib/perl5/site_perl/5.26.0/Geo/IP.pm:5159: my $def_db_file =3D '/usr/loc= al/share/GeoIP/GeoIP.dat'; lib/perl5/site_perl/5.26.0/Geo/IP.pm:5962: my $gi =3D Geo::IP->open("/usr/= local/share/GeoIP/GeoIPCity.dat", GEOIP_STANDARD); lib/perl5/site_perl/5.26.0/Geo/IP.pm:5984: my $g =3D Geo::IP->open('/usr/l= ocal/share/GeoIP/GeoIPv6.dat') or die; lib/perl5/site_perl/5.26.0/Geo/IP.pm:6046:I, typically I. lib/perl5/site_perl/5.26.0/Geo/IP.pm:6078:typically I. lib/perl5/site_perl/5.26.0/Geo/IP.pm:6226: my $g =3D Geo::IP->open('/usr/l= ocal/share/GeoIP/GeoIPv6.dat') or die; However this is not really a problem unless you are on GuixSD. As we do not package the DB of MaxDB (yet) you'll need for this, it's not a problem. I'm filing this bug to remind myself to fix Geo::IP once I have revisited the discussion we had about the DB a while back. --=20 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys WWW: https://n0.is --l3dortxzr2wnpmcu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlodg8YACgkQ4i+bv+40 hYheDhAAgQp9/HehCakE17tcaRvZ69HN4zMmhckJqaTCK9sgGUqBEYrIJwG7KpiF SLoPvHJGPIq8cYyR8x96yKm9algA8nJwNZ6ySjjjHwolhcMHZA9F5L5sdynP61Dk IaLq44UZuVz+vW19ErQ/zwCygnJo/WNxDw3KAIMg8UGkcPQiIAYdaJN5Z80qvmtN /OvunmHFiDnT/G6wixJumlK7o2Ucgc0dhfEAcTKT/H8zGbGYNVpNjkvALNoiuswy dphx3zajIgNFkgSxFta778Q5jKDPliJuKA+Muu418UxDDeSPdxgtZV1RotTnBca1 cZ53haY5h1yF9k+93wadk/i4pTzAESWP5efmQhy9lwBt6cEwlLJHP7diCTydzV36 ZN3IST0DebUWTOe2t39p6EOfvVMhxDmq/7SZQVDNXdPS6dFPEp4PWfNCpg8msiNV M2Z+5Ony5UYz6e6Hhid21SOPFXAcD8JDor9iQg6TD/JmsQf634k7/6xVvfHTkWva OZECpMGPxu61DwGpLoXfplF7Njuy8xKtfOcAG0XbM5bqBhjK6OXidnbn/iZBz/na 2vc+hOzqjotbAT+WPLNT6qXkuikRH7eSFWjUNmvmk957j9airnd+nsARa8WBEg7i FGms5XL2H7Kro2SiPgHiWA7GjOSotrxNVD6BRJy0Ca6Ap0kvh4Q= =kh57 -----END PGP SIGNATURE----- --l3dortxzr2wnpmcu--