Date: Wed, 22 Dec 2010 13:26:03 +0100 From: "Torfinn Ingolfsen (v2)" <torfinn.ingolfsen@broadpark.no> To: FreeBSD gnats submit <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/153370: gscan2pdf 0.9.31 doesn't start up Message-ID: <1293020763.99327@kg-v2.kg4.no> Resent-Message-ID: <201012221330.oBMDUBYp035873@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 153370 >Category: ports >Synopsis: gscan2pdf 0.9.31 doesn't start up >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 22 13:30:10 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Torfinn Ingolfsen (v2) >Release: FreeBSD 8.1-STABLE amd64 >Organization: LNSF >Environment: System: FreeBSD 8.1-STABLE #3: Thu Sep 16 22:18:48 CEST 2010 root@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC >Description: After installing gscan2pdf from ports, and trying to start it from a terminal / shell, I get this: tingo@kg-v2$ gscan2pdf Constant subroutine main::LC_CTYPE redefined at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at /usr/local/bin/gscan2pdf line 165 Prototype mismatch: sub main::LC_CTYPE () vs none at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at /usr/local/bin/gscan2pdf line 165 Constant subroutine main::LC_NUMERIC redefined at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at /usr/local/bin/gscan2pdf line 165 Prototype mismatch: sub main::LC_NUMERIC () vs none at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at /usr/local/bin/gscan2pdf line 165 Constant subroutine main::LC_TIME redefined at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at /usr/local/bin/gscan2pdf line 165 Prototype mismatch: sub main::LC_TIME () vs none at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at /usr/local/bin/gscan2pdf line 165 Constant subroutine main::LC_COLLATE redefined at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at /usr/local/bin/gscan2pdf line 165 Prototype mismatch: sub main::LC_COLLATE () vs none at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at /usr/local/bin/gscan2pdf line 165 Constant subroutine main::LC_MONETARY redefined at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at /usr/local/bin/gscan2pdf line 165 Prototype mismatch: sub main::LC_MONETARY () vs none at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at /usr/local/bin/gscan2pdf line 165 Constant subroutine main::LC_MESSAGES redefined at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at /usr/local/bin/gscan2pdf line 165 Prototype mismatch: sub main::LC_MESSAGES () vs none at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at /usr/local/bin/gscan2pdf line 165 Constant subroutine main::LC_ALL redefined at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at /usr/local/bin/gscan2pdf line 165 Prototype mismatch: sub main::LC_ALL () vs none at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at /usr/local/bin/gscan2pdf line 165 Bareword found where operator expected at /usr/local/bin/gscan2pdf line 8849, near "'button" (Might be a runaway multi-line '' string starting on line 8723) (Missing operator before button?) syntax error at /usr/local/bin/gscan2pdf line 8849, near "'button" Bad name after event' at /usr/local/bin/gscan2pdf line 8849. >How-To-Repeat: - update your ports tree - install gscan2pdf from ports - start gscan2pdf from a terminal >Fix: root@kg-v2# diff -u Makefile.org Makefile --- Makefile.org 2010-10-16 01:04:38.000000000 +0200 +++ Makefile 2010-12-22 12:42:18.000000000 +0100 @@ -65,6 +65,5 @@ @${REINPLACE_CMD} -e 's/--parents/-p/g;s|$$sharedir/man|${MANPREFIX}/man|g;s|1p|1|g'\ -e '/SITEPREFIX/s|/usr|${PREFIX}|' ${WRKSRC}/Makefile.PL @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' ${WRKSRC}/bin/${PORTNAME} - @${REINPLACE_CMD} -e '8745,8748d' ${WRKSRC}/bin/${PORTNAME} .include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1293020763.99327>