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=       svn2git
PORTVERSION=    2.3.2
CATEGORIES=     devel rubygems
MASTER_SITES=   RG

MAINTAINER=     matt...@freebsd.org
COMMENT=        Tool for migrating svn projects to git

LICENSE=        MIT

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

NO_ARCH=        yes
USE_RUBY=       yes
USE_RUBYGEMS=   yes
RUBYGEM_AUTOPLIST=      yes

.include <bsd.port.mk>


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to