Re: portlint(1) knobs order: let's make things more logical
23 июня 2011 г. 7:30 пользователь Alexey Dokuchaev da...@freebsd.orgнаписал: On Wed, Jun 22, 2011 at 11:39:54PM +0400, Ilya A. Arkhipov wrote: Hi danfe@ http://micro.heavennet.ru/ports/portlint/portlint.patch please see it? thanks, seems to work fine. I've beautified it a bit (see attach; sections become badly numbered and some whitespace nits). marcus@ is CCed. I'm not sure if we need to check/enforce any specific order of auxiliarly LICENSE_ knobs (LICENSE_PERMS, LICENSE_GROUPS, LICENSE_NAME, LICENSE_FILE, LICENSE_TEXT). ./danfe Hi danfe@ marcus@ if I've got it right for group we need have specific order + checkorder('LICENSE', $tmp, $file, qw( +LICENSE LICENSE_COMB LICENSE_PERMS LICENSE_GROUPS +LICENSE_NAME LICENSE_FILE LICENSE_TEXT+)); what you say if we do that? -- Best regards. Ilya A. Arkhipov ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: portlint(1) knobs order: let's make things more logical
On Thu, Jun 23, 2011 at 11:41:17AM +0400, Ilya A. Arkhipov wrote: Hi danfe@ marcus@ if I've got it right for group we need have specific order + checkorder('LICENSE', $tmp, $file, qw( +LICENSE LICENSE_COMB LICENSE_PERMS LICENSE_GROUPS +LICENSE_NAME LICENSE_FILE LICENSE_TEXT+ )); what you say if we do that? This is excerpt from x11/nvidia-driver Makefile, which I think uses natural order of LICENSE knobs: LICENSE=NVIDIA LICENSE_NAME= License For Customer Use of NVIDIA Software LICENSE_FILE= ${WRKSRC}/doc/license.txt LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept I would probably suggest this order: LICENSE LICENSE_COMB LICENSE_GROUPS LICENSE_NAME LICENSE_TEXT LICENSE_FILE LICENSE_PERMS ./danfe ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: FreeBSD Port games/hlstats
On 06/22/2011 04:30 PM, Chris Rees wrote: On 22 June 2011 08:08, Bananaban...@hlstats-community.org wrote: On 15.06.11 17:17, wen heping wrote: 2011/6/15 Bananaban...@hlstats-community.org: Hello, i'm the current developer of HLStats (http://www.hlstats-community.org) and I would offer my help about the hlstats port. Currently games/hlstats is unmaintained and mark BROKEN , if it remain for a long time , it should be removed from FreeBSD portstree. Would you maintain it and unbreak it ? If somebody could tell me what to do, or where I can find more information about managing a port I would do it. Here is the first step: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ wen well, I've copied the ports dir and modified the files. Ran portlint and it says looks fine Gonna try the installation next. What needs to be done, or what are the next steps ? Where should I send the diff patch or do I upload the changed files somewhere ? I've a long free weekend ahead and I'm not sure if I'm online, but I will work further with this port and I'm willing to take the mantainer part for the hlstats port. Thx, Banana Have a look in the Porter's Handbook about sending us patches -- Wen sent you the link earlier. http://www.freebsd.org/doc/en/books/porters-handbook/port-upgrading.html One of us will pick up the problem report and deal with it for you. Thank you for helping to make FreeBSD better! Chris Since this is my first port I want to make sure everything works fine and yes the portes handbook does help. Thank you all for the fast and friendly reply. regards, banana ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: can't build graphics/xfig-3.2.5b on 8.2-STABLE
On Wed, Jun 22, 2011 at 03:15:59PM -0400, William Bulley wrote: No matter what the setting for I18N is (WITH or WITHOUT) there is this: cc -c -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/libpng -I/usr/local/include/X11 -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_INLINE -DUSE_XPM -DXAW3D -DXAW3D1_5E -DUSE_JPEG -DI18N -DNEWARROWTYPESe_edit.c e_edit.c: In function 'generic_window': e_edit.c:3214: warning: cast from pointer to integer of different size e_edit.c: In function 'str_panel': e_edit.c:4252: error: 'XtNinternational' undeclared (first use in this function) e_edit.c:4252: error: (Each undeclared identifier is reported only once e_edit.c:4252: error: for each function it appears in.) *** Error code 1 Stop in /usr/ports/graphics/xfig/work/xfig.3.2.5b. *** Error code 1 Stop in /usr/ports/graphics/xfig. *** Error code 1 Perhaps x11-toolkits/Xaw3d and x11-toolkits/libXaw need updating. I got xfig-3.2.5b working fine on -current. Have you followed /usr/ports/UPDATING entry 20110605 (gnutls update) ? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: can't build graphics/xfig-3.2.5b on 8.2-STABLE
According to Anton Shterenlikht me...@bristol.ac.uk on Thu, 06/23/11 at 06:53: Perhaps x11-toolkits/Xaw3d and x11-toolkits/libXaw need updating. I got xfig-3.2.5b working fine on -current. Have you followed /usr/ports/UPDATING entry 20110605 (gnutls update) ? The entire system was upgraded June 21. The buildworld/installworld of FreeBSD 8.2-STABLE, every single port was rebuild from source. When I got to xfig (which normally builds just fine) it caused the error. I have these ports: Xaw3d-1.5E_4A 3-D Athena Widget set that looks like Motif libXaw-1.0.8,1 X Athena Widgets library How do I know if these are in need of updating or not? I did the normal csup -L2 ports-supfile as part of the above rebuild, so I expect these two ports are as up-to-date as could be as of 6/21. Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template -| ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Spamassassin vs Perl
Dear list, I have updated my Perl version yesterday but now my Spamd doesn't work anymore. Can someone hint me how to solve this? thanks, Jos Chrispijn Pls see output: Can't locate Net/DNS.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80. BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80. Can't locate Net/DNS.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80. BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/local/bin/spamassassin line 80. BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 80. ClamAV update process started at Thu Jun 23 15:43:00 2011 main.cld is up to date (version: 53, sigs: 846214, f-level: 53, builder: sven) daily.cld is up to date (version: 13231, sigs: 130699, f-level: 60, builder: arnaud) bytecode.cld is up to date (version: 143, sigs: 40, f-level: 60, builder: edwin) spamd not running? (check /var/run/spamd/spamd.pid). Starting spamd. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/local/bin/spamd line 85. BEGIN failed--compilation aborted at /usr/local/bin/spamd line 85. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/local/bin/spamassassin line 80. BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 80. --- cut --- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Spamassassin vs Perl
23.06.2011 18:00, Jos Chrispijn пишет: Dear list, I have updated my Perl version yesterday but now my Spamd doesn't work anymore. Can someone hint me how to solve this? thanks, Jos Chrispijn Did you run perl-after-upgrade command after update? Pls see output: Can't locate Net/DNS.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80. BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80. Can't locate Net/DNS.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80. BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/local/bin/spamassassin line 80. BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 80. ClamAV update process started at Thu Jun 23 15:43:00 2011 main.cld is up to date (version: 53, sigs: 846214, f-level: 53, builder: sven) daily.cld is up to date (version: 13231, sigs: 130699, f-level: 60, builder: arnaud) bytecode.cld is up to date (version: 143, sigs: 40, f-level: 60, builder: edwin) spamd not running? (check /var/run/spamd/spamd.pid). Starting spamd. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/local/bin/spamd line 85. BEGIN failed--compilation aborted at /usr/local/bin/spamd line 85. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/local/bin/spamassassin line 80. BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 80. --- cut --- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org -- Regards, Ruslan ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
math/ggobi: compile error with clang
I just discovered, that math/ggobi does not compile with clang, see: http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110616185105/ggobi-2.1.9.log It seems, the main error is in 'line control' statement of src/ggobi-data.c, l.45 #line 0 data.gob static void ggobi_data_class_init (GGobiDataClass * c) G_GNUC_UNUSED; The official cpp online docs on http://gcc.gnu.org/onlinedocs/cpp/Line-Control.html defines #line linenum linenum is a non-negative decimal integer constant. It specifies the line number which should be reported for the following line of input. Subsequent lines are counted from linenum. It seems gcc accepts the 0 (zero) as valid, whilst clang produces an error '#line directive requires a positive integer argument'. What is the meaning of line 0 in this context? At line 1 (the first line in src/data.gob) there is the initiation '%h{' for the whole file contents. Does 0 mean, take the whole file? Would it be correct to change value 0 into 1 (#line 1)? At least, gcc is able to build that and it seems to work fine. My system is compiled with gcc, so it would be nice, if someone would give it a try with clang. Many thanks in advance, Rainer Hurling ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
can't build graphics/xfig-3.2.5b on 8.2-STABLE nor databases/p5-DBD-Oracle with lang/perl5.14
First there is the xfig issue: No matter what the setting is for I18N (WITH or WITHOUT) there is this: cc -c -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/libpng -I/usr/local/include/X11 -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_INLINE -DUSE_XPM -DXAW3D -DXAW3D1_5E -DUSE_JPEG -DI18N -DNEWARROWTYPESe_edit.c e_edit.c: In function 'generic_window': e_edit.c:3214: warning: cast from pointer to integer of different size e_edit.c: In function 'str_panel': e_edit.c:4252: error: 'XtNinternational' undeclared (first use in this function) e_edit.c:4252: error: (Each undeclared identifier is reported only once e_edit.c:4252: error: for each function it appears in.) *** Error code 1 Stop in /usr/ports/graphics/xfig/work/xfig.3.2.5b. *** Error code 1 Stop in /usr/ports/graphics/xfig. *** Error code 1 I tracked this down to a problem in the Imakefile around line 153: #define I18N This line was not commented out when building xfig using: # make install (and WITHOUT_I18N=true inside /var/db/ports/xfig/options) Looking further I found these two lines: -XCOMM #define I18N +#define I18N inside the /usr/ports/graphics/xfig/files/patch-Imakefile patch file. I think this may be incorrect. After commenting out the #define in the Imakefile, the build of xfig was successful. Secondly, I found that building databases/p5-DBD-Oracle when Perl 5.14 (from lang/perl5.14) was present failed in the compilation of the Oracle.c file. It seems that several Perl constants sv_undef, sv_yes, and sv_no (and others) changed between Perl 5.12.3 and Perl 5.14 to PL_sv_undef, PL_yes, and PL_sv_no, respectively. I didn't take the time to debug this further since I had other Perl 5.14 issues that forced me to completely rebuild my system from scratch starting with Perl 5.12.3 (lang/perl5.12) this time. Once I had Perl 5.12.3 built, databases/p5-DBD-Oracle built just fine. My other problems with Perl 5.14 were observed trying to launch apache2 (2.2.19) with mod_perl2 (2.0.5). Those problems also went away once I rebuilt my ports starting with Perl 5.12.3 version. This makes me suspect Perl 5.14 changes or the effect those changes have had on other ports in the ports tree. Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template -| ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: math/ggobi: compile error with clang
On 6/23/2011 18:51 , Rainer Hurling wrote: I just discovered, that math/ggobi does not compile with clang, see: http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110616185105/ggobi-2.1.9.log It seems, the main error is in 'line control' statement of src/ggobi-data.c, l.45 #line 0 data.gob static void ggobi_data_class_init (GGobiDataClass * c) G_GNUC_UNUSED; The official cpp online docs on http://gcc.gnu.org/onlinedocs/cpp/Line-Control.html defines #line linenum linenum is a non-negative decimal integer constant. It specifies the line number which should be reported for the following line of input. Subsequent lines are counted from linenum. It seems gcc accepts the 0 (zero) as valid, whilst clang produces an error '#line directive requires a positive integer argument'. What is the meaning of line 0 in this context? At line 1 (the first line in src/data.gob) there is the initiation '%h{' for the whole file contents. Does 0 mean, take the whole file? Would it be correct to change value 0 into 1 (#line 1)? At least, gcc is able to build that and it seems to work fine. My system is compiled with gcc, so it would be nice, if someone would give it a try with clang. Many thanks in advance, Rainer Hurling I had the same problem with devel/gob2 ages ago. This following is the solution I settled on. I don't know if this is correct or not but it seems to work fine. http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/devel/gob2/files/patch-src_out.c?rev=1.1;content-type=text%2Fplain -Koop ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Spamassassin vs Perl
Quoth Ruslan Mahmatkhanov on Thursday, 23 June 2011: 23.06.2011 18:00, Jos Chrispijn пишет: Dear list, I have updated my Perl version yesterday but now my Spamd doesn't work anymore. Can someone hint me how to solve this? thanks, Jos Chrispijn Did you run perl-after-upgrade command after update? FWIW, I don't think perl-after-upgrade does the job for the latest 5.14. The perl extensions for rxvt-unicode wouldn't work afterwards. Rebuilding rxvt-unicode didn't help either. I had to do the more draconian and lengthy process of portupgrade -fr perl Then the extensions came back to life. Might want to try the same for your problem. -- .O. | Sterling (Chip) Camden | http://camdensoftware.com ..O | sterl...@camdensoftware.com | http://chipsquips.com OOO | 2048R/D6DBAF91 | http://chipstips.com pgpKxxSxfnrH0.pgp Description: PGP signature
Re: Spamassassin vs Perl
Hi! I have updated my Perl version yesterday but now my Spamd doesn't work anymore. Did you run perl-after-upgrade command after update? Same perl upgrade, yes, I ran perl-after-upgrade after the upgrade, similar problem: fa8# /usr/local/etc/rc.d/sa-spamd start Starting spamd. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/local/bin/spamd line 85. BEGIN failed--compilation aborted at /usr/local/bin/spamd line 85. /usr/local/etc/rc.d/sa-spamd: WARNING: failed to start spamd -- p...@opsec.eu+49 171 3101372 9 years to go ! ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: math/ggobi: compile error with clang
On 23.06.2011 19:05 (UTC+1), Koop Mast wrote: On 6/23/2011 18:51 , Rainer Hurling wrote: I just discovered, that math/ggobi does not compile with clang, see: http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110616185105/ggobi-2.1.9.log It seems, the main error is in 'line control' statement of src/ggobi-data.c, l.45 #line 0 data.gob static void ggobi_data_class_init (GGobiDataClass * c) G_GNUC_UNUSED; The official cpp online docs on http://gcc.gnu.org/onlinedocs/cpp/Line-Control.html defines #line linenum linenum is a non-negative decimal integer constant. It specifies the line number which should be reported for the following line of input. Subsequent lines are counted from linenum. It seems gcc accepts the 0 (zero) as valid, whilst clang produces an error '#line directive requires a positive integer argument'. What is the meaning of line 0 in this context? At line 1 (the first line in src/data.gob) there is the initiation '%h{' for the whole file contents. Does 0 mean, take the whole file? Would it be correct to change value 0 into 1 (#line 1)? At least, gcc is able to build that and it seems to work fine. My system is compiled with gcc, so it would be nice, if someone would give it a try with clang. Many thanks in advance, Rainer Hurling I had the same problem with devel/gob2 ages ago. This following is the solution I settled on. I don't know if this is correct or not but it seems to work fine. http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/devel/gob2/files/patch-src_out.c?rev=1.1;content-type=text%2Fplain Koop, many thanks for the fast reaction. This is exactly what I did (=changing 0 in 1), gcc accepted that and until now it seems to work. Does anybody knows if changing 0 into 1 is ok in this context? I am not able to test, if this works with clang. If someone is willing to try, there is a diff attached. Rainer -Koop diff -Naur ggobi.origin/Makefile ggobi/Makefile --- ggobi.origin/Makefile 2011-05-25 16:54:44.0 +0200 +++ ggobi/Makefile 2011-06-23 19:15:49.0 +0200 @@ -2,11 +2,12 @@ # Date created:31 January 2010 # Whom:rhurlin # -# $FreeBSD: ports/math/ggobi/Makefile,v 1.4 2011/05/25 13:18:55 pav Exp $ +# $FreeBSD$ # PORTNAME= ggobi PORTVERSION= 2.1.9 +PORTREVISION= 1 CATEGORIES=math graphics MASTER_SITES= http://www.ggobi.org/downloads/ @@ -26,6 +27,11 @@ post-patch: @${REINPLACE_CMD} -e 's|ND_coord_i|ND_coord|' \ ${WRKSRC}/plugins/GraphLayout/graphviz.c + @${REINPLACE_CMD} -e 's|#line 0|#line 1|' \ + ${WRKSRC}/src/ggobi-data.c \ + ${WRKSRC}/src/ggobi-renderer.c \ + ${WRKSRC}/src/ggobi-renderer-cairo.c \ + ${WRKSRC}/src/ggobi-renderer-factory.c \ post-install: ${MKDIR} ${PREFIX}/etc/xdg/ggobi ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: portlint(1) knobs order: let's make things more logical
СС: to ei...@eitanadler.com ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: math/ggobi: compile error with clang
On 23.06.2011 20:09 (UTC+1), Koop Mast wrote: On 6/23/2011 19:39 , Rainer Hurling wrote: On 23.06.2011 19:05 (UTC+1), Koop Mast wrote: On 6/23/2011 18:51 , Rainer Hurling wrote: I just discovered, that math/ggobi does not compile with clang, see: http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110616185105/ggobi-2.1.9.log It seems, the main error is in 'line control' statement of src/ggobi-data.c, l.45 #line 0 data.gob static void ggobi_data_class_init (GGobiDataClass * c) G_GNUC_UNUSED; The official cpp online docs on http://gcc.gnu.org/onlinedocs/cpp/Line-Control.html defines #line linenum linenum is a non-negative decimal integer constant. It specifies the line number which should be reported for the following line of input. Subsequent lines are counted from linenum. It seems gcc accepts the 0 (zero) as valid, whilst clang produces an error '#line directive requires a positive integer argument'. What is the meaning of line 0 in this context? At line 1 (the first line in src/data.gob) there is the initiation '%h{' for the whole file contents. Does 0 mean, take the whole file? Would it be correct to change value 0 into 1 (#line 1)? At least, gcc is able to build that and it seems to work fine. My system is compiled with gcc, so it would be nice, if someone would give it a try with clang. Many thanks in advance, Rainer Hurling I had the same problem with devel/gob2 ages ago. This following is the solution I settled on. I don't know if this is correct or not but it seems to work fine. http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/devel/gob2/files/patch-src_out.c?rev=1.1;content-type=text%2Fplain Koop, many thanks for the fast reaction. This is exactly what I did (=changing 0 in 1), gcc accepted that and until now it seems to work. Does anybody knows if changing 0 into 1 is ok in this context? I am not able to test, if this works with clang. If someone is willing to try, there is a diff attached. Rainer -Koop No port revision bump is needed here. Of course, you are right. Thanks, Rainer -Koop ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: math/ggobi: compile error with clang
On 6/23/2011 19:39 , Rainer Hurling wrote: On 23.06.2011 19:05 (UTC+1), Koop Mast wrote: On 6/23/2011 18:51 , Rainer Hurling wrote: I just discovered, that math/ggobi does not compile with clang, see: http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110616185105/ggobi-2.1.9.log It seems, the main error is in 'line control' statement of src/ggobi-data.c, l.45 #line 0 data.gob static void ggobi_data_class_init (GGobiDataClass * c) G_GNUC_UNUSED; The official cpp online docs on http://gcc.gnu.org/onlinedocs/cpp/Line-Control.html defines #line linenum linenum is a non-negative decimal integer constant. It specifies the line number which should be reported for the following line of input. Subsequent lines are counted from linenum. It seems gcc accepts the 0 (zero) as valid, whilst clang produces an error '#line directive requires a positive integer argument'. What is the meaning of line 0 in this context? At line 1 (the first line in src/data.gob) there is the initiation '%h{' for the whole file contents. Does 0 mean, take the whole file? Would it be correct to change value 0 into 1 (#line 1)? At least, gcc is able to build that and it seems to work fine. My system is compiled with gcc, so it would be nice, if someone would give it a try with clang. Many thanks in advance, Rainer Hurling I had the same problem with devel/gob2 ages ago. This following is the solution I settled on. I don't know if this is correct or not but it seems to work fine. http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/devel/gob2/files/patch-src_out.c?rev=1.1;content-type=text%2Fplain Koop, many thanks for the fast reaction. This is exactly what I did (=changing 0 in 1), gcc accepted that and until now it seems to work. Does anybody knows if changing 0 into 1 is ok in this context? I am not able to test, if this works with clang. If someone is willing to try, there is a diff attached. Rainer -Koop No port revision bump is needed here. -Koop ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: can't build graphics/xfig-3.2.5b on 8.2-STABLE nordatabases/p5-DBD-Oracle with lang/perl5.14
Ok Ce message a été envoyé depuis un terminal BlackBerry de Bouygues Telecom -Original Message- From: William Bulley w...@umich.edu Sender: owner-freebsd-questi...@freebsd.org Date: Thu, 23 Jun 2011 12:39:17 To: freebsd-ports@freebsd.org Cc: freebsd-questi...@freebsd.org Subject: can't build graphics/xfig-3.2.5b on 8.2-STABLE nor databases/p5-DBD-Oracle with lang/perl5.14 First there is the xfig issue: No matter what the setting is for I18N (WITH or WITHOUT) there is this: cc -c -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/libpng -I/usr/local/include/X11 -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_INLINE -DUSE_XPM -DXAW3D -DXAW3D1_5E -DUSE_JPEG -DI18N -DNEWARROWTYPESe_edit.c e_edit.c: In function 'generic_window': e_edit.c:3214: warning: cast from pointer to integer of different size e_edit.c: In function 'str_panel': e_edit.c:4252: error: 'XtNinternational' undeclared (first use in this function) e_edit.c:4252: error: (Each undeclared identifier is reported only once e_edit.c:4252: error: for each function it appears in.) *** Error code 1 Stop in /usr/ports/graphics/xfig/work/xfig.3.2.5b. *** Error code 1 Stop in /usr/ports/graphics/xfig. *** Error code 1 I tracked this down to a problem in the Imakefile around line 153: #define I18N This line was not commented out when building xfig using: # make install (and WITHOUT_I18N=true inside /var/db/ports/xfig/options) Looking further I found these two lines: -XCOMM #define I18N +#define I18N inside the /usr/ports/graphics/xfig/files/patch-Imakefile patch file. I think this may be incorrect. After commenting out the #define in the Imakefile, the build of xfig was successful. Secondly, I found that building databases/p5-DBD-Oracle when Perl 5.14 (from lang/perl5.14) was present failed in the compilation of the Oracle.c file. It seems that several Perl constants sv_undef, sv_yes, and sv_no (and others) changed between Perl 5.12.3 and Perl 5.14 to PL_sv_undef, PL_yes, and PL_sv_no, respectively. I didn't take the time to debug this further since I had other Perl 5.14 issues that forced me to completely rebuild my system from scratch starting with Perl 5.12.3 (lang/perl5.12) this time. Once I had Perl 5.12.3 built, databases/p5-DBD-Oracle built just fine. My other problems with Perl 5.14 were observed trying to launch apache2 (2.2.19) with mod_perl2 (2.0.5). Those problems also went away once I rebuilt my ports starting with Perl 5.12.3 version. This makes me suspect Perl 5.14 changes or the effect those changes have had on other ports in the ports tree. Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template -| ___ freebsd-questi...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
mencoder
Try to update mencodr on FreeBSD 8.2: In file included from libmpdemux/demuxer.h:29, from libmpdemux/aviheader.h:27, from codec-cfg.c:57: ./sub/ass_mp.h:31:21: error: ass/ass.h: No such file or directory In file included from libmpdemux/demuxer.h:29, from libmpdemux/aviheader.h:27, from codec-cfg.c:57: ./sub/ass_mp.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ./sub/ass_mp.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ./sub/ass_mp.h:49: error: expected ')' before '*' token ./sub/ass_mp.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ./sub/ass_mp.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ./sub/ass_mp.h:53: error: expected ')' before '*' token ./sub/ass_mp.h:54: error: expected ')' before '*' token ./sub/ass_mp.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ./sub/ass_mp.h:58: error: expected specifier-qualifier-list before 'ASS_Image' ./sub/ass_mp.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ./sub/ass_mp.h:68: error: expected ')' before '*' token gmake: *** [codec-cfg] Error 1 gmake: *** Waiting for unfinished jobs *** Error code 1 Stop in /usr/ports/multimedia/mencoder. *** Error code 1 Stop in /usr/ports/multimedia/mencoder. === make failed for multimedia/mencoder === Aborting update === Update for multimedia/mencoder failed === Aborting update Thanks in advance. Mitja http://jpgmag.com/people/lumiwa ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org