Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2016 16:41:59 +0000
From:      Matthew Seaman <matthew@freebsd.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Rubygem .js files fubar?
Message-ID:  <5693DB57.7090407@freebsd.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--5dgjws35T19vRt70CouxdjL8RC6is04sG
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Dear all,

In attempting to port https://github.com/nirvdrum/svn2git -- which
should just be a very easy rubygem port -- I found a number of what
appears to be boilerplate .js files installed effectively twice: one of
the copies is gzipped, but the pairs of files are identical after
decompression:

lucid-nonsense:...svn2git-2.3.2/rdoc/js:% ls -la
total 140
drwxr-xr-x  2 matthew  wheel    576 Jan 11 16:20 ./
drwxr-xr-x  7 matthew  wheel    640 Jan 11 13:01 ../
-rw-r--r--  1 matthew  wheel   4666 Jan 11 13:01 darkfish.js
-rw-r--r--  1 matthew  wheel  91669 Jan 11 13:01 jquery.js
-rw-r--r--  1 matthew  wheel   3663 Jan 11 13:01 navigation.js
-rw-r--r--  1 matthew  wheel   1127 Jan 11 13:01 navigation.js.gz
-rw-r--r--  1 matthew  wheel   2992 Jan 11 13:01 search.js
-rw-r--r--  1 matthew  wheel   3310 Jan 11 13:01 search_index.js
-rw-r--r--  1 matthew  wheel    920 Jan 11 13:01 search_index.js.gz
-rw-r--r--  1 matthew  wheel   6603 Jan 11 13:01 searcher.js
-rw-r--r--  1 matthew  wheel   1791 Jan 11 13:01 searcher.js.gz

As far as I can tell these are boilerplate installed by something to do
with rdoc.  A quick find(1) over my /usr/local/lib/ruby shows this same
pattern in a number of installed rubygems.

What's going on here?

This makes poudriere sad, although the error message doesn't say
anything about "I can't decompress this, because there's already a
decompressed copy in the way" instead claiming the .gz files refer to
some path under staging.

	Cheers,

	Matthew

The port Makefile looks like this - bog standard rubygem stuff:

# $FreeBSD$

PORTNAME=3D       svn2git
PORTVERSION=3D    2.3.2
CATEGORIES=3D     devel rubygems
MASTER_SITES=3D   RG

MAINTAINER=3D     matthew@FreeBSD.org
COMMENT=3D        Tool for migrating svn projects to git

LICENSE=3D        MIT

RUN_DEPENDS=3D    git-subversion>0:${PORTSDIR}/devel/git-subversion

NO_ARCH=3D        yes
USE_RUBY=3D       yes
USE_RUBYGEMS=3D   yes
RUBYGEM_AUTOPLIST=3D      yes

=2Einclude <bsd.port.mk>



--5dgjws35T19vRt70CouxdjL8RC6is04sG
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJWk9tYAAoJEABRPxDgqeTnpNgQAI793au8c2GMXI3aODGnDHDK
mcKTqY6QcOLtug3i//IDC2brf8OR86//qclHcaiL9MAtQItkYc9yEKsYzeUQ9tvj
XHVRh3g3vgNwb3S8AxdEG3uEZi0bMDNuPRJPlQSfi8Dp/aJDviHtGsXwYT63u31r
6VgfV8c4wPOshy8HG0z+Zh6V+ZwrB9T6zeJaXRDWp6MQNqwAkefMPUeMptKpCEjb
kZUPW1bYCoOOhEwVPWdCQCC7R2/uRqlehtP9TUJr8Muk4CwK+x5iUZktPetqs/PV
Z22yjfQP5qwqTZGqNOZYxg4XeXSezgBJpxEm5202PMH40DhO6U0fYu8EJp93BaXD
cM6h5Ucx448uNwNmIb5dsUKxuIowqlXttkUqYtA12tUmtaotbHYn4JBFeWGcpESJ
OqkVIQWODuzUNdxjvRNpcW0AZu/Xbi7h1IdmVxecCxFop+EDs3gOF90oG2+SoUnw
UROR13tVvSSBGKTHKbAcKo08JFL7YSAMrekBfxYqxU/ffBuuUB7KC3mg/BjorGJO
LvaSsP53lcSqdGbG2KvHDMf6V616IWF/JpkevXjNk9TAMgiNoyJC8jl3hnlA+MRs
KVlqVnKl8PtF5GUcy2f1bl0lBOCqldFRMlBvVQMkT9q9wHmyN2Gh3er7oIqhaXsH
bViIOhNrjBlXfAJetn1z
=UDVJ
-----END PGP SIGNATURE-----

--5dgjws35T19vRt70CouxdjL8RC6is04sG--



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