From mezz at FreeBSD.org Thu Oct 2 22:36:35 2008 From: mezz at FreeBSD.org (mezz@FreeBSD.org) Date: Thu Oct 2 22:36:41 2008 Subject: ports/121472: Loading perl scripts causes irc/xchat segmentation fault Message-ID: <200810022236.m92MaXtf071161@freefall.freebsd.org> Synopsis: Loading perl scripts causes irc/xchat segmentation fault State-Changed-From-To: analyzed->open State-Changed-By: mezz State-Changed-When: Thu Oct 2 22:35:45 UTC 2008 State-Changed-Why: analyzed -> open and gnome -> perl. Responsible-Changed-From-To: gnome->perl Responsible-Changed-By: mezz Responsible-Changed-When: Thu Oct 2 22:35:45 UTC 2008 Responsible-Changed-Why: analyzed -> open and gnome -> perl. http://www.freebsd.org/cgi/query-pr.cgi?pr=121472 From bugmaster at FreeBSD.org Mon Oct 6 11:08:06 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Oct 6 11:09:49 2008 Subject: Current problem reports assigned to perl@FreeBSD.org Message-ID: <200810061108.m96B861H036790@freefall.freebsd.org> Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/127720 perl [update] update net/p5-perl-ldap to 0.38 o ports/127709 perl update www/p5-IMDB-Film to 0.3.5 o ports/123912 perl [PATCH] Mk/bsd.perl.mk: Fix WANT_PERL5 related typos o ports/121472 perl Loading perl scripts causes irc/xchat segmentation fau 4 problems total. From leeym at FreeBSD.org Fri Oct 10 15:32:59 2008 From: leeym at FreeBSD.org (leeym@FreeBSD.org) Date: Fri Oct 10 15:33:05 2008 Subject: ports/127709: update www/p5-IMDB-Film to 0.3.5 Message-ID: <200810101532.m9AFWxms074783@freefall.freebsd.org> Synopsis: update www/p5-IMDB-Film to 0.3.5 State-Changed-From-To: open->closed State-Changed-By: leeym State-Changed-When: Fri Oct 10 15:32:42 UTC 2008 State-Changed-Why: Upgraded, thanks. http://www.freebsd.org/cgi/query-pr.cgi?pr=127709 From jjr at alisa.org Mon Oct 13 02:57:01 2008 From: jjr at alisa.org (John Rushford) Date: Mon Oct 13 02:57:35 2008 Subject: DBD::Pg is broken - coredumps Message-ID: Greetings, I'm having trouble with DBD::Pg on a FreeBSD 7.1-PRERELEASE machine. When connecting to a postgresql database, the perl script coredumps. See attached back trace, version info, and test perl script. Is there some issue with pthreads? Any ideas? John Rushford jjr@alisa.org Details: FreeBSD 7.1-PRERELEASE built after cvsup Sun Oct 12, 2008 kernel GENERIC amd64 p5-DBD-Pg-2.10.7 Provides access to PostgreSQL databases through the DBI p5-DBD-SQLite-1.14 Provides access to SQLite3 databases through the DBI p5-DBD-mysql-4.006 MySQL driver for the Perl5 Database Interface (DBI) p5-DBI-1.60.4 The perl5 Database Interface. Required for DBD::* modules postgresql-client-8.2.9 PostgreSQL database (client) postgresql-server-8.2.9 The most advanced open-source database available anywhere Gdb backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x523000 (LWP 100225)] 0x0000000801c65afb in pthread_cond_init () from /lib/libthr.so.3 (gdb) bt #0 0x0000000801c65afb in pthread_cond_init () from /lib/libthr.so.3 #1 0x0000000801434aa0 in pq_block_sigpipe () from /usr/local/lib/libpq.so.5 #2 0x0000000801434c28 in pqsecure_write () from /usr/local/lib/libpq.so.5 #3 0x000000080142da5e in pqReadData () from /usr/local/lib/libpq.so.5 #4 0x0000000801427691 in pqPacketSend () from /usr/local/lib/libpq.so.5 #5 0x0000000801428c32 in PQconnectPoll () from /usr/local/lib/libpq.so.5 #6 0x0000000801428dae in PQresetPoll () from /usr/local/lib/libpq.so.5 #7 0x000000080142a3cf in PQconnectdb () from /usr/local/lib/libpq.so.5 #8 0x0000000801311bc6 in pg_db_login () from /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/DBD/Pg/Pg.so #9 0x0000000801302b9a in XS_DBD__Pg__db__login () from /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/DBD/Pg/Pg.so #10 0x00000008006bf17c in Perl_pp_entersub () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so #11 0x00000008006b7e1e in Perl_runops_standard () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so #12 0x0000000800668aa5 in Perl_call_sv () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so #13 0x0000000800db8446 in XS_DBI_dispatch () from /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/DBI/DBI.so #14 0x00000008006bf17c in Perl_pp_entersub () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so #15 0x00000008006b7e1e in Perl_runops_standard () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so #16 0x0000000800669632 in perl_run () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so #17 0x00000000004015cf in main () (gdb) This perl script works fine with mysql but coredumps at DBI->connect with postgresql. #!/usr/bin/perl use strict; use CGI qw(:standard); use DBI; my $seq = 0; my @array; my $dbname = $ENV{'DBNAME'}; my $dbuser = $ENV{'DBUSER'}; my $dbpasswd = $ENV{'DBPASSWD'}; my $dsn = "dbi:Pg:dbname=$dbname;host=127.0.0.1;port=5432"; #my $dsn = "dbi:mysql:database=$dbname;host=127.0.0.1;port=3306"; my $dbh; if (length ($dbname) == 0) { print "DBNAME is not set\n"; exit 0; } if (length ($dbuser) == 0) { print "DBUSER is not set\n"; exit 0; } if (length ($dbpasswd) == 0) { print "DBPASSWD is not set\n"; exit 0; } $dbh = DBI->connect($dsn,"$dbuser","$dbpasswd", {'AutoCommit' => 1,RaiseError => 1, P rintError => 0}) or die ("can't connect to $dbname"); my $sth = $dbh->prepare ("SELECT * from x"); $sth->execute; while ( @array = $sth->fetchrow()) { print "val = $array[0]\n"; } $sth->finish; From tobez at tobez.org Mon Oct 13 08:06:13 2008 From: tobez at tobez.org (Anton Berezin) Date: Mon Oct 13 08:06:19 2008 Subject: DBD::Pg is broken - coredumps In-Reply-To: References: Message-ID: <20081013074656.GA95961@heechee.tobez.org> On Sun, Oct 12, 2008 at 08:17:34PM -0600, John Rushford wrote: > Greetings, > > I'm having trouble with DBD::Pg on a FreeBSD 7.1-PRERELEASE machine. When > connecting to a postgresql database, the perl script coredumps. See > attached back trace, version info, and test perl script. Is there some > issue with pthreads? Any ideas? John, I cannot reproduce it in my configuration, which is slightly different from what you have. Before I try the identical config, could you post the output produced by the following? $ perl -V $ ldd /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/DBD/Pg/Pg.so $ ldd /usr/local/bin/perl $ pkg_info | grep perl Cheers, \Anton. -- We're going for 'working' here. 'clean' is for people with skills... -- Flemming Jacobsen From bugmaster at FreeBSD.org Mon Oct 13 11:07:57 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Oct 13 11:10:08 2008 Subject: Current problem reports assigned to perl@FreeBSD.org Message-ID: <200810131107.m9DB7vfL030783@freefall.freebsd.org> Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/127720 perl [update] update net/p5-perl-ldap to 0.38 o ports/123912 perl [PATCH] Mk/bsd.perl.mk: Fix WANT_PERL5 related typos o ports/121472 perl Loading perl scripts causes irc/xchat segmentation fau 3 problems total. From edwin at FreeBSD.org Sat Oct 18 03:00:33 2008 From: edwin at FreeBSD.org (edwin@FreeBSD.org) Date: Sat Oct 18 03:00:39 2008 Subject: ports/128190: [PATCH] mail/p5-MIME-Tools: Use dirrmtry for %%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME Message-ID: <200810180300.m9I30WrQ073983@freefall.freebsd.org> Synopsis: [PATCH] mail/p5-MIME-Tools: Use dirrmtry for %%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME Responsible-Changed-From-To: freebsd-ports-bugs->perl Responsible-Changed-By: edwin Responsible-Changed-When: Sat Oct 18 03:00:32 UTC 2008 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=128190 From sunpoet at sunpoet.net Sat Oct 18 03:19:25 2008 From: sunpoet at sunpoet.net (Sunpoet Po-Chuan Hsieh) Date: Sat Oct 18 03:19:32 2008 Subject: [PATCH] mail/p5-MIME-Tools: Use dirrmtry for %%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME Message-ID: <20081018025918.9C2401ED4@sunpoet.net> >Submitter-Id: current-users >Originator: Sunpoet Po-Chuan Hsieh >Organization: SUNPOET.net >Confidential: no >Synopsis: [PATCH] mail/p5-MIME-Tools: Use dirrmtry for %%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 7.1-PRERELEASE amd64 >Environment: System: FreeBSD bonjour.sunpoet.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #12: Thu Sep 4 10:55:47 CST >Description: Since other p5-MIME-* ports use %%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME also, use dirrmtry instead of dirrm. Port maintainer (perl@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: % cd /usr/ports/mail/p5-MIME-Tools/ % make deinstall ===> Deinstalling p5-MIME-Tools-5.427,2 pkg_delete: unable to completely remove directory '/usr/local/lib/perl5/site_perl/5.8.8/mach/auto/MIME' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) % find /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/MIME /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/MIME /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/MIME/Base64 /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/MIME/Base64/Base64.bs /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/MIME/Base64/Base64.so /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/MIME/Base64/.packlist /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/MIME/Types /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/MIME/Types/.packlist >Fix: --- p5-MIME-Tools-5.427,2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/mail/p5-MIME-Tools/pkg-plist /usr/ports/sunpoet/p5-MIME-Tools/pkg-plist --- /usr/ports/mail/p5-MIME-Tools/pkg-plist 2008-09-12 09:31:08.447131774 +0800 +++ /usr/ports/sunpoet/p5-MIME-Tools/pkg-plist 2008-10-18 10:53:58.041410229 +0800 @@ -22,7 +22,7 @@ %%SITE_PERL%%/MIME/Words.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME/tools/.packlist @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME/tools -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME @dirrm %%SITE_PERL%%/MIME/Field @dirrm %%SITE_PERL%%/MIME/Decoder @dirrm %%SITE_PERL%%/MIME/Parser --- p5-MIME-Tools-5.427,2.patch ends here --- From leeym at FreeBSD.org Sat Oct 18 05:39:19 2008 From: leeym at FreeBSD.org (leeym@FreeBSD.org) Date: Sat Oct 18 05:39:24 2008 Subject: ports/128190: [PATCH] mail/p5-MIME-Tools: Use dirrmtry for %%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME Message-ID: <200810180539.m9I5dIYV094257@freefall.freebsd.org> Synopsis: [PATCH] mail/p5-MIME-Tools: Use dirrmtry for %%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME State-Changed-From-To: open->closed State-Changed-By: leeym State-Changed-When: Sat Oct 18 05:39:10 UTC 2008 State-Changed-Why: Committed, thanks. http://www.freebsd.org/cgi/query-pr.cgi?pr=128190 From dfilter at FreeBSD.ORG Sat Oct 18 05:40:04 2008 From: dfilter at FreeBSD.ORG (dfilter service) Date: Sat Oct 18 05:40:10 2008 Subject: ports/128190: commit references a PR Message-ID: <200810180540.m9I5e3AF094347@freefall.freebsd.org> The following reply was made to PR ports/128190; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/128190: commit references a PR Date: Sat, 18 Oct 2008 05:39:16 +0000 (UTC) leeym 2008-10-18 05:39:07 UTC FreeBSD ports repository Modified files: mail/p5-MIME-Tools pkg-plist Log: - use @dirrmtry instead of @dirrm PR: 128190 Submitted by: sunpoet at sunpoet.net Revision Changes Path 1.20 +5 -5 ports/mail/p5-MIME-Tools/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" From leeym at leeym.com Sat Oct 18 15:44:07 2008 From: leeym at leeym.com (Yen-Ming Lee) Date: Sat Oct 18 15:44:14 2008 Subject: ports/128187: [PATCH] devel/p5-Parse-RecDescent: simplfy dependency In-Reply-To: <200810181406.m9IE6jW8067588@freefall.freebsd.org> References: <200810181406.m9IE6jW8067588@freefall.freebsd.org> Message-ID: <759236930810180813r415eaae2of299ebed951632a8@mail.gmail.com> 2008/10/18 : > Synopsis: [PATCH] devel/p5-Parse-RecDescent: simplfy dependency > > State-Changed-From-To: open->feedback > State-Changed-By: tobez > State-Changed-When: Sat Oct 18 16:02:19 CEST 2008 > State-Changed-Why: > With regard making the dependency conditional on the perl version, > I actually think that the better way to do it is to add modifications > to bsd.perl.mk that we developed together with lth. But I do not have a > principal objection to this. > > With regard to getting rid of BUILD_DEPENDS altogether, could > you explain your reasoning behind it? In my view, by not > doing the BUILD_DEPENDS bit, we a) introduce a spurious warning > into the configure stage in at least some cases, and b) make it more > difficult than necessary to do the testing without installing the > modules. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=128187 > Hi, The main reason is to keep minimal dependencies. I explained once in another PR, and asked for feedbacks. However, nobody replied, so I just assume that everyone agreed. (see solution 2) About the dependencies, we have the following solutions: 1. (I did so before) put 'requires' in BUILD_DEPENDS and RUN_DEPENDS, and then append 'build_requires' to BUILD_DEPENDS. The trade-off is that we will bring a lot of unnecessary dependencies, like some dual-life modules or some p5-Test-* that only needed for tests, and des@ doesn't like that. http://lists.freebsd.org/pipermail/freebsd-perl/2008-February/001745.html http://lists.freebsd.org/pipermail/freebsd-perl/2008-February/001748.html 2. (I'm doing so now) put 'requires' in RUN_DEPENDS, and put something in BUILD_DEPENDS if really needed. Also use conditional dependencies to avoid dual-life modules. It complains during the configure stage, but it works well. http://lists.freebsd.org/pipermail/freebsd-perl/2008-July/001900.html 3. use PERL_DEPENDS, but we still need to find out the relationship between the minimum version of the required module and the package version fulfill that minimum version of the module. In fact I encounter this problem again recently: Net::Amazon::S3-0.45 requires IO::File-0.14, which is from IO, but obviously not IO-0.14 http://lists.freebsd.org/pipermail/freebsd-perl/2008-April/001834.html We discussed about it several times, please make a decision this time and put it somewhere in the porters handbook. Regards, -- Yen-Ming Lee From bugmaster at FreeBSD.org Mon Oct 20 11:07:59 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Oct 20 11:09:48 2008 Subject: Current problem reports assigned to perl@FreeBSD.org Message-ID: <200810201107.m9KB7w8l083988@freefall.freebsd.org> Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/127720 perl [update] update net/p5-perl-ldap to 0.38 o ports/123912 perl [PATCH] Mk/bsd.perl.mk: Fix WANT_PERL5 related typos o ports/121472 perl Loading perl scripts causes irc/xchat segmentation fau 3 problems total. From bugmaster at FreeBSD.org Mon Oct 27 11:08:36 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Oct 27 11:09:52 2008 Subject: Current problem reports assigned to perl@FreeBSD.org Message-ID: <200810271108.m9RB8ZxT003381@freefall.freebsd.org> Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/127720 perl [update] update net/p5-perl-ldap to 0.38 o ports/123912 perl [PATCH] Mk/bsd.perl.mk: Fix WANT_PERL5 related typos o ports/121472 perl Loading perl scripts causes irc/xchat segmentation fau 3 problems total.