Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Bug in DBI module Makefile

1 view
Skip to first unread message

Andy Lester

unread,
Jul 28, 2015, 3:00:02 PM7/28/15
to Enrique Perez-Terron, cpan-d...@perl.org

I don't know where to report this, please suggest some place.

http://search.cpan.org/~timb/DBI/ has a link to the bug tracker labeled “View/Report Bugs”.

On MetaCPAN at https://metacpan.org/release/DBI it is labeled “Issues”.


--
Andy Lester => www.petdance.com

Enrique Perez-Terron

unread,
Jul 28, 2015, 3:00:02 PM7/28/15
to cpan-d...@perl.org
I don't know where to report this, please suggest some place.

There appears to be a bug in the Makefile in the cpan module DBI. (Not
Makefile.PL.)

Patch: ----------------------------------
--- Makefile.org 2015-07-28 18:21:36.496069300 +0200
+++ Makefile 2015-07-28 18:50:02.508463000 +0200
@@ -1186,7 +1186,7 @@

pure_install :: pure_$(INSTALLDIRS)_install
$(CHMOD) $(PERM_RWX)
$(DESTDIR)/usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto//DBI/DBI.dll
- /bin/find
$(DESTDIR)/usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/
-xdev -name \*.dll /bin/rebase -sOT -
+ /bin/find
$(DESTDIR)/usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/
-xdev -name \*.dll | /bin/rebase -sOT -

doc_install :: doc_$(INSTALLDIRS)_install
$(NOECHO) $(NOOP)
--------------------------------- end patch

The difference is that the pipe character was missing: /bin/find ... |
/bin/rebase ...

The cpan install DBI command bails out on a cygwin install with the
following message:

/bin/find: paths must precede expression: /bin/rebase
Usage: /bin/find [-H] [-L] [-P] [-Olevel] [-D
help|tree|search|stat|rates|opt|exec] [path...] [expression]
Makefile:1188: recipe for target 'pure_install' failed
make: *** [pure_install] Error 1
TIMB/DBI-1.633.tar.gz
/usr/bin/make install -- NOT OK
Failed during this command:
TIMB/DBI-1.633.tar.gz : install NO

cpan[2]>
-----------------------------end terminal session dump


0 new messages