From owner-freebsd-ports@freebsd.org Mon Jan 11 16:42:16 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5B653A6BB21 for ; Mon, 11 Jan 2016 16:42:16 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 01A061FC7 for ; Mon, 11 Jan 2016 16:42:15 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id u0BGg0BI011544 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 11 Jan 2016 16:42:06 GMT (envelope-from matthew@freebsd.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=freebsd.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk u0BGg0BI011544 Authentication-Results: smtp.infracaninophile.co.uk/u0BGg0BI011544; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com To: freebsd-ports@FreeBSD.org From: Matthew Seaman Subject: Rubygem .js files fubar? X-Enigmail-Draft-Status: N1110 Message-ID: <5693DB57.7090407@freebsd.org> Date: Mon, 11 Jan 2016 16:41:59 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5dgjws35T19vRt70CouxdjL8RC6is04sG" X-Virus-Scanned: clamav-milter 0.99 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2016 16:42:16 -0000 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 --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--