From owner-freebsd-perl@freebsd.org Tue Jan 5 08:06:00 2016 Return-Path: Delivered-To: freebsd-perl@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 2D429A61754 for ; Tue, 5 Jan 2016 08:06:00 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 17D76136B for ; Tue, 5 Jan 2016 08:06:00 +0000 (UTC) (envelope-from guru@unixarea.de) Received: by mailman.ysv.freebsd.org (Postfix) id 16FAFA61753; Tue, 5 Jan 2016 08:06:00 +0000 (UTC) Delivered-To: perl@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 16751A61752; Tue, 5 Jan 2016 08:06:00 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D30CA1367; Tue, 5 Jan 2016 08:05:59 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.138.201] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1aGMcs-0000U5-HB; Tue, 05 Jan 2016 09:05:55 +0100 Received: from localhost.my.domain (c720-r285885-amd64 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id u0585pbu002377 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 5 Jan 2016 09:05:51 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id u0585nxe002376; Tue, 5 Jan 2016 09:05:49 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 5 Jan 2016 09:05:49 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Cc: perl@FreeBSD.org Subject: small issue in port databases/p5-GDBM Message-ID: <20160105080549.GA2330@c720-r285885-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org, perl@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 11.0-CURRENT r285885 (amd64) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.138.201 X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2016 08:06:00 -0000 Hello, I need the above port to build a small Ddbm database and it seems that there is a small issue; it can be triggered with this perl code: #!/usr/local/bin/perl require GDBM_File; which gives: $ ./test.pl String found where operator expected at /usr/local/lib/perl5/site_perl/mach/5.20/GDBM_File.pm line 74, near "XSLoader::load 'GDBM_File'" (Do you need to predeclare XSLoader::load?) syntax error at /usr/local/lib/perl5/site_perl/mach/5.20/GDBM_File.pm line 75, near "XSLoader::load 'GDBM_File'" Compilation failed in require at ./test.pl line 3. the mentioned line in GDBM_File.pm is: XSLoader::load 'GDBM_File', $VERSION; If one adds a line of use XSLoader; XSLoader::load 'GDBM_File', $VERSION; it works fine. I'm not a perl expert (and not subscribed to perl@FreeBSD.org) and don't know if this is the right fix. Should I file a bugzilla issue? This is with ports from head of December, 30. matthias -- Matthias Apitz, ✉ guru@unixarea.de, 🌐 http://www.unixarea.de/ ☎ +49-176-38902045