Re: iconv in base breaks multiple ports

2013-10-23 Thread Sergio de Almeida Lenzi


 
 ... and the verdict is in. Building src w/o iconv, then re-installing
 converters/libiconv and rebuilding the ports fixes at least
 newsbeuter, I'll now let multimedia/xbmc (and requirements) rebuild
 over night and then prepare a patch to allow -CURRENT + libiconv for
 those people that like a working system.
 
 I'm also looping re@ in, as they might want to hear about showstoppers
 for the 10.0 release.
 
 Cheers,
 Uli
 ___
 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


I have built a system from scratch freeBSD11 all without libiconv
because I need to test the radeonkm (everything works as expected with
accelerated video)
and than full gnome2 (about 980 packages) including libreoffice,
firefox, vlc, 
mono, monodevelop, gnome-subtilles... and everything works 
in the libiconv port there is a trap that prevents it from building in a
system  freeBSD10...
the only problem was: inkscape and net-snmp... but the last version of
svn works...


Hope clarify things for you  if you need the packages I can give
access in the internet...



___
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


amavis[12345]: (12345-02) (!)file utility failed: exit 1

2013-10-23 Thread Michael Grimm
Hi --

This is FreeBSD (9.2-STABLE, r256062), amavisd-new 2.8.0, and file 5.15. 
Mailserver including amavisd is running in a service jail.

After a recent port upgrade of file to 5.15, I do get warnings like shown in 
the subject line. In order to debug that issue I did replace the file 5.15 by 
the file 5.11 executable, and well, now those warning messages disappeared.

Here my questions:

1. Do others see those warning messages as well, running the combination 
amavisd-new 2.8.0 and file 5.15?
2. Can one safely ignore those messages?
3. May $file = '/usr/bin/file'; in amavisd.conf function as a valid 
workaround for the time being?
  (I have to admit that I didn't dare testing that, yet)

Thanks and with kind regards,
Michael
___
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/scilab] configuration failure by error in version check of hdf5

2013-10-23 Thread Max Brazhnikov
On Tue, 22 Oct 2013 16:19:55 -0700 Don Lewis wrote:
 On  9 Oct, Mamoru Iwaki wrote:
  Hi,
  
  Re: math/scilab (Revision 327746)
  
  I have failed to configure this port in compilation stage these days.
  It is caused by an error in version check code for hdf5.  Because the
  code writen in Java uses String.compareTo() for numeric comparision,
  1.8.10 is not recognized as a newer one than 1.8.4.
  Could somebody correct this easy bug?
 
 Scilab 5.4.1 is out now, so the port should probably be updated.  This
 version of scilab removed the version check for hdf5.
 
 This is the patch that I'm using with the current port.  Just drop it in
 the files directory, run make clean, and then rebuild.
 
 --- configure.orig2013-10-09 00:04:19.0 -0700
 +++ configure 2013-10-09 10:41:39.0 -0700
 @@ -12226,14 +12226,15 @@
  
  public class conftest {
  public static void main(String[] argv) {
 -String minVersion=1.8.4;
 +int minVersion=10804;
  int[] vers = new int[3];
  try { H5.H5get_libversion(vers); }
  catch (Throwable ex) {System.exit(-1);}
  String ver = vers[0] + .+ vers[1] +.+vers[2];
 +int Version = 1*vers[0] + 100*vers[1] + vers[2];
  
  System.out.println(ver);
 -  if (minVersion.compareTo(ver)  0) {
 +  if (minVersion  Version) {
 System.exit(-1);
  }

I've committed this patch, thanks!

Max

___
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: Port for latest skype skype-4.2.0.11

2013-10-23 Thread Artyom Mirgorodskiy
Please backup you ports, unpack attached archive and copy to /usr/ports
Please deinstall all linux* ports

Add to /etc/make.conf the following lines
OVERRIDE_LINUX_BASE_PORTS= c6
OVERRIDE_LINUX_NONBASE_PORTS= c6

Please install the following ports:
emulators/linux_base-c6
audio/linux-c6-alsa-lib
audio/linux-c6-alsa-plugins-oss
textproc/linux-c6-expat
x11-fonts/linux-c6-fontconfig
graphics/linux-c6-png
devel/linux-c6-dbus-libs
databases/linux-c6-sqlite3
security/linux-c6-openssl098e
devel/linux-c6-qt47
x11-toolkits/linux-c6-qt47-x11
www/linux-c6-qt47-webkit
net-im/skype4

Skype should work

PS
I plan to port also linux flash plugin next week

On Tuesday 22 October 2013 20:38:00 Carlos Jacobo Puga Medina wrote:
 I think you should take a look to Leidinger's weblog [1]
 
 Regards,
 
 --CJPM
 
 [1] http://www.leidinger.net/blog/category/freebsd/linuxolator/
-- 
Artyom Mirgorodskiy___
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: amavis[12345]: (12345-02) (!)file utility failed: exit 1

2013-10-23 Thread Mark Martinec
Michael,

 amavis[12345]: (12345-02) (!)file utility failed: exit 1
 This is FreeBSD (9.2-STABLE, r256062), amavisd-new 2.8.0, and file 5.15.
 Mailserver including amavisd is running in a service jail.
 
 After a recent port upgrade of file to 5.15, I do get warnings like shown
 in the subject line. In order to debug that issue I did replace the file
 5.15 by the file 5.11 executable, and well, now those warning messages
 disappeared.
 
 Here my questions:
 
 1. Do others see those warning messages as well, running the combination
 amavisd-new 2.8.0 and file 5.15? 2. Can one safely ignore those messages?

If it occurs on a rare occasion, it is probably safe to ignore,
otherwise it would be worth investigating. Find a mail message
which causes such warning, unpack its attachments, and try
to run the 'file' command on resulting files in the same jail
and by the same UID under which amavisd is running, checking
the resulting exit code.

Other option is to enable debug logging (e.g. '# amavisd debug'),
and grep for 'result line from file' in the log.

 3. May $file = '/usr/bin/file'; in amavisd.conf function as a valid
 workaround for the time being? (I have to admit that I didn't dare testing
 that, yet)

Yes, that is certainy a viable option.

  Mark
___
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: iconv in base breaks multiple ports

2013-10-23 Thread Ulrich Spörlein
2013/10/23 Sergio de Almeida Lenzi lenzi.ser...@gmail.com:
 ... and the verdict is in. Building src w/o iconv, then re-installing
 converters/libiconv and rebuilding the ports fixes at least
 newsbeuter, I'll now let multimedia/xbmc (and requirements) rebuild
 over night and then prepare a patch to allow -CURRENT + libiconv for
 those people that like a working system.

 I'm also looping re@
  in, as they might want to hear about showstoppers
 for the 10.0 release.

 Cheers,
 Uli

 I have built a system from scratch freeBSD11 all without libiconv
 because I need to test the radeonkm (everything works as expected with
 accelerated video)
 and than full gnome2 (about 980 packages) including libreoffice, firefox,
 vlc,
 mono, monodevelop, gnome-subtilles... and everything works
 in the libiconv port there is a trap that prevents it from building in a
 system  freeBSD10...
 the only problem was: inkscape and net-snmp... but the last version of svn
 works...


 Hope clarify things for you  if you need the packages I can give access
 in the internet...

Well, it doesn't match my experience. xbmc also seems to no longer
spew thousands of errors per second now that I've rebuild it with
ports' libiconv.

Could you please install www/newsbeuter on your system and see if it
starts up correctly? (you might need to wait for my build-fix on
-CURRENT to go in). Are you actually using a locale/encoding different
from 'C'? Are you using a wide encoding like UTF-8? Maybe that can
narrow down the source of the problem.

Cheers,
Uli
___
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


FreeBSD Port: barnyard2-1.12

2013-10-23 Thread Nicolas Edel
Hi,

Just to let you be aware of the following pb when using barnyard2 with
prelude output enabled but without being able to do any reverse lookup
for hostname.
Populating /etc/resolv.conf helps resolving this, but a core dump
isn't that so nice and won't help without a debugger since no error
message is printed anywhere.
Please find below gdb output:

(gdb) core barnyard2.core
Core was generated by `barnyard2'.
Program terminated with signal 11, Segmentation fault.
Loaded symbols for /usr/local/lib/libpcap.so.1
Loaded symbols for /lib/libm.so.5
Loaded symbols for /usr/local/lib/libprelude.so.21
Loaded symbols for /usr/local/lib/libltdl.so.7
Loaded symbols for /usr/local/lib/libgnutls.so.26
Loaded symbols for /usr/local/lib/libnettle.so.4
Loaded symbols for /usr/local/lib/libgmp.so.10
Loaded symbols for /usr/local/lib/libhogweed.so.2
Loaded symbols for /lib/libz.so.6
Loaded symbols for /usr/local/lib/libtasn1.so.5
Loaded symbols for /usr/local/lib/libp11-kit.so.0
Loaded symbols for /usr/local/lib/libgcrypt.so.19
Loaded symbols for /usr/local/lib/libgpg-error.so.0
Loaded symbols for /usr/local/lib/libintl.so.9
Loaded symbols for /usr/local/lib/libiconv.so.3
Loaded symbols for /lib/libthr.so.3
Loaded symbols for /lib/libc.so.7
Loaded symbols for /usr/local/lib/nss_ldap.so.1
Loaded symbols for /usr/local/lib/pkcs11/p11-kit-trust.so
Loaded symbols for /libexec/ld-elf.so.1
#0  0x2812a091 in get_fqdn (analyzer=0x28e62f80, nodename=0xbfbfe250
monitor) at prelude-client.c:381
381 in prelude-client.c
[New Thread 28804f00 (LWP 101446/barnyard2)]
[New Thread 28804300 (LWP 100080/barnyard2)]
(gdb) where
#0  0x2812a091 in get_fqdn (analyzer=0x28e62f80, nodename=0xbfbfe250
monitor) at prelude-client.c:381
#1  0x2812a29b in get_sys_info (analyzer=0x28e62f80) at prelude-client.c:419
#2  0x2812a44b in fill_client_infos (client=0x28e60ac0, program=0x0)
at prelude-client.c:451
#3  0x2812c3d7 in prelude_client_init (client=0x28e60ac0) at
prelude-client.c:1363
#4  0x2812c49d in prelude_client_start (client=0x28e60ac0) at
prelude-client.c:1400
#5  0x08071e3d in AlertPreludeSetupAfterSetuid () at spo_alert_prelude.c:795
#6  0x0804e1f0 in Barnyard2PostInit () at barnyard2.c:1838
#7  0x0804b762 in Barnyard2Main (argc=12, argv=0xbfbfec24) at barnyard2.c:320
#8  0x0804b721 in main (argc=Cannot access memory at address 0x0
) at barnyard2.c:285



Regards,

:Nicolas
___
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


recent perl mach/auto not found error

2013-10-23 Thread John Marino
I'm getting this error:

find:
/wrkdirs/devel/bzapi/work/stage/usr/local/lib/perl5/site_perl/5.14/mach/auto:
No such file or directory

On the following ports:
  devel/bzapi
  www/p5-RT-Authen-ExternalAuth
  www/p5-RT-Extension-LDAPImport
  www/p5-RT-Extension-MandatoryOnTransition
  www/p5-RT-Extension-SLA
  www/p5-RTx-Calendar

It seems to come from r330925 (sunpoet) on Mk/Uses/perl5.mk (~line 265)

Is anyone else seeing this?
Is perl5.mk wrong to assume auto directory exists?

John
___
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: amavis[12345]: (12345-02) (!)file utility failed: exit 1

2013-10-23 Thread Michael Grimm
Hi Marc --

On 23.10.2013, at 16:49, Mark Martinec mark.martinec+free...@ijs.si wrote:

 amavis[12345]: (12345-02) (!)file utility failed: exit 1
 
 1. Do others see those warning messages as well, running the combination
 amavisd-new 2.8.0 and file 5.15? 2. Can one safely ignore those messages?
 
 If it occurs on a rare occasion, it is probably safe to ignore,
 otherwise it would be worth investigating.

It is happening on every single mail passing amavisd. 

 Other option is to enable debug logging (e.g. '# amavisd debug'),
 and grep for 'result line from file' in the log.

Here is the log file's excerpt for a plain ASCII mail message with 1000 'x' 
in the body, sent to an echo mailer:

| (50329-01) Issued a new file name: p001
| (50329-01) Charging 1000 bytes to remaining quota 792500 (out of 792500, 
(0%)) - by mime_decode
| (50329-01) p001 1 Content-Type: text/plain, size: 1000 B, name: 
| (50329-01) get_deadline mime_decode - deadline in 270.0 s, set to 189.000 s
| (50329-01) prolong_timer mime_decode: timer 189, was 189, deadline in 270.0 s
| (50329-01) get_deadline mime_decode-1 - deadline in 270.0 s, set to 189.000 s
| (50329-01) prolong_timer mime_decode-1: timer 189, was 189, deadline in 270.0 
s
| (50329-01) inspect_dsn: parts: text/plain
| (50329-01) inspect_dsn: not a bounce
| (50329-01) get_deadline dsn_parse - deadline in 270.0 s, set to 189.000 s
| (50329-01) prolong_timer dsn_parse: timer 189, was 189, deadline in 270.0 s
| (50329-01) decode_parts: level=1, #parts=1 : p001
| (50329-01) running file(1) on 1 files, arglist size 24
| (50329-01) run_command: [3984] /usr/local/bin/file p001 /dev/null 21
| (50329-01) result line from file(1): p001: ERROR: line 163: regex error 17, 
(illegal byte sequence)\n
| (50329-01) lookup_re(ERROR: line 163: regex error 17, (illegal byte 
sequence)) matches key (?^:^ERROR:), result=dat
| (50329-01) lookup [map_full_type_to_short_type] = true,  ERROR: line 163: 
regex error 17, (illegal byte sequence) matches, result=dat, 
matching_key=(?^:^ERROR:)
| (50329-01) File-type of p001: ERROR: line 163: regex error 17, (illegal byte 
sequence); (dat)
| (50329-01) (!)file utility failed: exit 1

Well, I have to admit: The interpretation of those lines are far beyond my 
scope ...

Questions:

1) Is the file utility to blame?
2) My setup?
3) What else might I do to investigate this issue?

 3. May $file = '/usr/bin/file'; in amavisd.conf function as a valid
 workaround for the time being? (I have to admit that I didn't dare testing
 that, yet)
 
 Yes, that is certainy a viable option.

After activating that option, and testing with amavisd debug as outlined
above, I'll get:

| (71656-01) Issued a new file name: p001
| (71656-01) Charging 1000 bytes to remaining quota 792500 (out of 792500, 
(0%)) - by mime_decode
| (71656-01) p001 1 Content-Type: text/plain, size: 1000 B, name: 
| (71656-01) get_deadline mime_decode - deadline in 270.0 s, set to 189.000 s
| (71656-01) prolong_timer mime_decode: timer 189, was 189, deadline in 270.0 s
| (71656-01) get_deadline mime_decode-1 - deadline in 270.0 s, set to 189.000 s
| (71656-01) prolong_timer mime_decode-1: timer 189, was 189, deadline in 270.0 
s
| (71656-01) inspect_dsn: parts: text/plain
| (71656-01) inspect_dsn: not a bounce
| (71656-01) get_deadline dsn_parse - deadline in 270.0 s, set to 189.000 s
| (71656-01) prolong_timer dsn_parse: timer 189, was 189, deadline in 270.0 s
| (71656-01) decode_parts: level=1, #parts=1 : p001
| (71656-01) running file(1) on 1 files, arglist size 18
| (71656-01) run_command: [71668] /usr/bin/file p001 /dev/null 21
| (71656-01) result line from file(1): p001: ASCII text\n

JYFI and with kind regards,
Michael 


___
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: Port for latest skype skype-4.2.0.11

2013-10-23 Thread Carlos Jacobo Puga Medina
I suppose that you have done some performance testing audio/video on Skype
4.x. How works the audio/video in general terms?
Have you picked up some image capture related to video test?



2013/10/22 Carlos Jacobo Puga Medina cjpug...@gmail.com

 I think you should take a look to Leidinger's weblog [1]

 Regards,

 --CJPM

 [1] http://www.leidinger.net/blog/category/freebsd/linuxolator/

___
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: Port for latest skype skype-4.2.0.11

2013-10-23 Thread Artyom Mirgorodskiy
Old Skype (2.1.0.81) doesn't show video at all for modern version (windows). 
This version works fine for me

On Wednesday 23 October 2013 19:42:56 Carlos Jacobo Puga Medina wrote:
 I suppose that you have done some performance testing audio/video on Skype 
 4.x. How works the audio/video in general terms? 
 Have you picked up some image capture related to video test?
-- 
Artyom Mirgorodskiy
___
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: Port for latest skype skype-4.2.0.11

2013-10-23 Thread Matthias Apitz
El día Wednesday, October 23, 2013 a las 08:46:38PM +0300, Artyom Mirgorodskiy 
escribió:

 Old Skype (2.1.0.81) doesn't show video at all for modern version (windows). 
 This version works fine for me
 
 On Wednesday 23 October 2013 19:42:56 Carlos Jacobo Puga Medina wrote:
  I suppose that you have done some performance testing audio/video on Skype 
  4.x. How works the audio/video in general terms? 
  Have you picked up some image capture related to video test?

Can you please stop this top posting? Thx

matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ f: +49-170-4527211
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
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: recent perl mach/auto not found error

2013-10-23 Thread Sunpoet Po-Chuan Hsieh
On Thu, Oct 24, 2013 at 12:59 AM, John Marino freebsd.cont...@marino.stwrote:

 I'm getting this error:

 find:

 /wrkdirs/devel/bzapi/work/stage/usr/local/lib/perl5/site_perl/5.14/mach/auto:
 No such file or directory

 On the following ports:
   devel/bzapi
   www/p5-RT-Authen-ExternalAuth
   www/p5-RT-Extension-LDAPImport
   www/p5-RT-Extension-MandatoryOnTransition
   www/p5-RT-Extension-SLA
   www/p5-RTx-Calendar

 It seems to come from r330925 (sunpoet) on Mk/Uses/perl5.mk (~line 265)

 Is anyone else seeing this?
 Is perl5.mk wrong to assume auto directory exists?

 John


Good catch!
This should be fixed in r331398.
Please try again.
Thanks!

Regards,
sunpoet
___
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: amavis[12345]: (12345-02) (!)file utility failed: exit 1

2013-10-23 Thread Mark Martinec
Michael,

 | (50329-01) run_command: [3984] /usr/local/bin/file p001 /dev/null 21
 | (50329-01) result line from file(1): p001:
 |   ERROR: line 163: regex error 17, (illegal byte sequence)\n
 | (50329-01) (!)file utility failed: exit 1

The text ERROR: line 163: regex error 17, (illegal byte sequence)
comes from the file utility, unmodified.

 1) Is the file utility to blame?

Yes.

 2) My setup?

Possibly (e.g. broken magic database).


Looks like a known bug in the file utility, already fixed upstream:

  http://bugs.gw.com/my_view_page.php
(search for: illegal byte sequence)

Should be reproducible by running the file(1) from a command line
(in the same/similar environment as amavisd is running, just in case).

  Mark
___
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: amavis[12345]: (12345-02) (!)file utility failed: exit 1

2013-10-23 Thread Mark Martinec
Michael,

 | (50329-01) run_command: [3984] /usr/local/bin/file p001 /dev/null 21
 | (50329-01) result line from file(1): p001:
 |   ERROR: line 163: regex error 17, (illegal byte sequence)\n
 | (50329-01) (!)file utility failed: exit 1

The text ERROR: line 163: regex error 17, (illegal byte sequence)
comes from the file utility, unmodified.

 1) Is the file utility to blame?

Yes.

 2) My setup?

Possibly (e.g. broken magic database).


Looks like a known bug in the file utility, already fixed upstream:

  http://bugs.gw.com/my_view_page.php
(search for: illegal byte sequence)

Should be reproducible by running the file(1) from a command line
(in the same/similar environment as amavisd is running, just in case).

  Mark
___
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: Port for latest skype skype-4.2.0.11

2013-10-23 Thread Carlos Jacobo Puga Medina
Because you read a written dialog on paper from top to down, do you?

Well, I'm not sure if works or not. I can say that is crappy the old
version.


2013/10/23 Matthias Apitz g...@unixarea.de

 El día Wednesday, October 23, 2013 a las 07:52:35PM +0200, Carlos Jacobo
 Puga Medina escribió:

  Can you please stop this top posting? Thx
 
  Yes, I'll do it, but why I should stop it? What's the reason?

 Because you read a written dialog on paper from top to down, do you?

 matthias

 --
 Sent from my FreeBSD netbook

 Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ f:
 +49-170-4527211
 UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
 UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5

___
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: amavis[12345]: (12345-02) (!)file utility failed: exit 1

2013-10-23 Thread Michael Grimm
Hi --

On 23.10.2013, at 20:03, Mark Martinec mark.martinec+free...@ijs.si wrote:

 The text ERROR: line 163: regex error 17, (illegal byte sequence)
 comes from the file utility, unmodified.
 
 1) Is the file utility to blame?
 
 Yes.
 
 2) My setup?
 
 Possibly (e.g. broken magic database).
 
 Looks like a known bug in the file utility, already fixed upstream:
 
  http://bugs.gw.com/my_view_page.php
(search for: illegal byte sequence)
 
 Should be reproducible by running the file(1) from a command line
 (in the same/similar environment as amavisd is running, just in case).

Confirmed, it's throwing the same error message[1]:

| mail /usr/local/bin/file zzz
| zzz: ERROR: line 163: regex error 17, (illegal byte sequence)

Thank you for helping me understand that issue. Now, I will wait for
a corrected file port.

With kind regards,
Michael


[1] Sorry, I should have tested it this way already.
___
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: recent perl mach/auto not found error

2013-10-23 Thread Matthew Seaman
On 23/10/2013 18:51, Sunpoet Po-Chuan Hsieh wrote:
 On Thu, Oct 24, 2013 at 12:59 AM, John Marino 
 freebsd.cont...@marino.stwrote:
 
 I'm getting this error:

 find:

 /wrkdirs/devel/bzapi/work/stage/usr/local/lib/perl5/site_perl/5.14/mach/auto:
 No such file or directory

 On the following ports:
   devel/bzapi
   www/p5-RT-Authen-ExternalAuth
   www/p5-RT-Extension-LDAPImport
   www/p5-RT-Extension-MandatoryOnTransition
   www/p5-RT-Extension-SLA
   www/p5-RTx-Calendar

 It seems to come from r330925 (sunpoet) on Mk/Uses/perl5.mk (~line 265)

 Is anyone else seeing this?
 Is perl5.mk wrong to assume auto directory exists?

 John

 
 Good catch!
 This should be fixed in r331398.
 Please try again.
 Thanks!

Cool.  Those are mostly my ports -- I was just about to investigate, but
it seems this is already solved.

Curious as to why it hit the RT extension ports in particular though?

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: [math/scilab] configuration failure by error in version check of hdf5

2013-10-23 Thread Don Lewis
On 23 Oct, Max Brazhnikov wrote:
 On Tue, 22 Oct 2013 16:19:55 -0700 Don Lewis wrote:
 On  9 Oct, Mamoru Iwaki wrote:
  Hi,
  
  Re: math/scilab (Revision 327746)
  
  I have failed to configure this port in compilation stage these days.
  It is caused by an error in version check code for hdf5.  Because the
  code writen in Java uses String.compareTo() for numeric comparision,
  1.8.10 is not recognized as a newer one than 1.8.4.
  Could somebody correct this easy bug?
 
 Scilab 5.4.1 is out now, so the port should probably be updated.  This
 version of scilab removed the version check for hdf5.
 
 This is the patch that I'm using with the current port.  Just drop it in
 the files directory, run make clean, and then rebuild.
 
 --- configure.orig   2013-10-09 00:04:19.0 -0700
 +++ configure2013-10-09 10:41:39.0 -0700
 @@ -12226,14 +12226,15 @@
  
  public class conftest {
  public static void main(String[] argv) {
 -String minVersion=1.8.4;
 +int minVersion=10804;
  int[] vers = new int[3];
  try { H5.H5get_libversion(vers); }
  catch (Throwable ex) {System.exit(-1);}
  String ver = vers[0] + .+ vers[1] +.+vers[2];
 +int Version = 1*vers[0] + 100*vers[1] + vers[2];
  
  System.out.println(ver);
 -  if (minVersion.compareTo(ver)  0) {
 +  if (minVersion  Version) {
 System.exit(-1);
  }
 
 I've committed this patch, thanks!

Thanks!

Could you also take a look at ports/177364?  I need it when building
with the UMFPACK option enabled, which is off by default.

___
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


Broken port libcheck-0.9.10 in 32 bits?

2013-10-23 Thread Luis P. Mendes
 # uname -a
 FreeBSD atom0 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27
 03:52:52 UTC 2013
 r...@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386


This is stock 9.2-RELEASE, ports updated, but the `make build` fails
for libcheck-0.9.10.

Please, can somebody check the build of libcheck in another
9.2-RELEASE 32 bits system?


In http://forums.freebsd.org/showthread.php?t=42521
one user has the same problem with a freshly downloaded FreeBSD
9.2 DVD1.


The output of `cd /usr/ports/devel/libcheck; make build`

config.status: creating check_stdint.h : _CHECK_CHECK_STDINT_H
config.status: executing checkmk-x commands
===  Building for libcheck-0.9.10
gmake  all-recursive
gmake[1]: Entering directory
`/usr/ports/devel/libcheck/work/check-0.9.10'
Making all in lib
gmake[2]: Entering directory
`/usr/ports/devel/libcheck/work/check-0.9.10/lib'
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.
-I.. -O2 -pipe -fno-strict-aliasing -Wall -ansi -pedantic -Wextra
-Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings
-Wno-variadic-macros -MT libcompat.lo -MD -MP -MF .deps/libcompat.Tpo
-c -o libcompat.lo libcompat.c
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.
-I.. -O2 -pipe -fno-strict-aliasing -Wall -ansi -pedantic -Wextra
-Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings
-Wno-variadic-macros -MT timer_create.lo -MD -MP -MF
.deps/timer_create.Tpo -c -o timer_create.lo timer_create.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe
-fno-strict-aliasing -Wall -ansi -pedantic -Wextra -Wstrict-prototypes
-Wmissing-prototypes -Wwrite-strings -Wno-variadic-macros -MT
libcompat.lo -MD -MP -MF .deps/libcompat.Tpo -c libcompat.c  -fPIC
-DPIC -o .libs/libcompat.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe
-fno-strict-aliasing -Wall -ansi -pedantic -Wextra -Wstrict-prototypes
-Wmissing-prototypes -Wwrite-strings -Wno-variadic-macros -MT
timer_create.lo -MD -MP -MF .deps/timer_create.Tpo -c timer_create.c
-fPIC -DPIC -o .libs/timer_create.o
In file included from timer_create.c:1:
libcompat.h:133: error: conflicting types for 'timer_t'
/usr/include/sys/types.h:215: error: previous declaration of 'timer_t'
was here
libcompat.h:136: error: conflicting types for 'timer_create'
/usr/include/time.h:150: error: previous declaration of 'timer_create'
was hereIn file included from libcompat.c:1:
libcompat.h:133: error: conflicting types for 'timer_t'
/usr/include/sys/types.h:215: error: previous declaration of 'timer_t'
was here
libcompat.h:136: error: conflicting types for 'timer_create'
/usr/include/time.h:150: error: previous declaration of 'timer_create'
was here
libcompat.h:137: error: conflicting types for 'timer_settime'
/usr/include/time.h:155: error: previous declaration of
'timer_settime' was here
libcompat.h:138: error: conflicting types for 'timer_delete'
/usr/include/time.h:151: error: previous declaration of 'timer_delete'
was here

libcompat.h:137: error: conflicting types for 'timer_settime'
/usr/include/time.h:155: error: previous declaration of
'timer_settime' was here
libcompat.h:138: error: conflicting types for 'timer_delete'
/usr/include/time.h:151: error: previous declaration of 'timer_delete'
was here
timer_create.c:6: error: conflicting types for 'timer_create'
/usr/include/time.h:150: error: previous declaration of 'timer_create'
was here
gmake[2]: *** [libcompat.lo] Error 1
gmake[2]: *** Waiting for unfinished jobs
gmake[2]: *** [timer_create.lo] Error 1
gmake[2]: Leaving directory
`/usr/ports/devel/libcheck/work/check-0.9.10/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/devel/libcheck/work/check-0.9.10'
gmake: *** [all] Error 2
=== Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/devel/libcheck.
*** [build] Error code 1


-- 


Luis P. Mendes
___
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: barnyard2-1.12

2013-10-23 Thread Nicolas Edel
On Wed, Oct 23, 2013 at 5:55 PM, Nicolas Edel nicolas.e...@gmail.com wrote:
 Hi,

 Just to let you be aware of the following pb when using barnyard2 with
 prelude output enabled but without being able to do any reverse lookup
 for hostname.
 [...]
 (gdb) core barnyard2.core
 Core was generated by `barnyard2'.
 Program terminated with signal 11, Segmentation fault.
 [...]
 #0  0x2812a091 in get_fqdn (analyzer=0x28e62f80, nodename=0xbfbfe250
 monitor) at prelude-client.c:381
 381 in prelude-client.c
 [New Thread 28804f00 (LWP 101446/barnyard2)]
 [New Thread 28804300 (LWP 100080/barnyard2)]
 (gdb) where
 #0  0x2812a091 in get_fqdn (analyzer=0x28e62f80, nodename=0xbfbfe250
 monitor) at prelude-client.c:381
 [...]

So I fetched the sources and have a look at the code.
The bug is clearly in libprelude port since prelude-client.c belongs to it.
Please let me know if you want me to send this bug (and a trivial
patch) to (lib)prelude staff.
Regards,

:Nicolas
___
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: barnyard2-1.12

2013-10-23 Thread Paul Schmehl
I don't maintain the prelude port.  It looks like nobody does, since the 
maintainer address is po...@freebsd.org.


I think if you submit the PR somebody will pick it up and commit it.

--On October 24, 2013 12:00:43 AM +0200 Nicolas Edel 
nicolas.e...@gmail.com wrote:



On Wed, Oct 23, 2013 at 5:55 PM, Nicolas Edel nicolas.e...@gmail.com
wrote:

Hi,

Just to let you be aware of the following pb when using barnyard2 with
prelude output enabled but without being able to do any reverse lookup
for hostname.
[...]
(gdb) core barnyard2.core
Core was generated by `barnyard2'.
Program terminated with signal 11, Segmentation fault.
[...]
# 0  0x2812a091 in get_fqdn (analyzer=0x28e62f80, nodename=0xbfbfe250
monitor) at prelude-client.c:381
381 in prelude-client.c
[New Thread 28804f00 (LWP 101446/barnyard2)]
[New Thread 28804300 (LWP 100080/barnyard2)]
(gdb) where
# 0  0x2812a091 in get_fqdn (analyzer=0x28e62f80, nodename=0xbfbfe250
monitor) at prelude-client.c:381
[...]


So I fetched the sources and have a look at the code.
The bug is clearly in libprelude port since prelude-client.c belongs to
it. Please let me know if you want me to send this bug (and a trivial
patch) to (lib)prelude staff.
Regards,

:Nicolas
___
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





Paul Schmehl (pa...@utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

___
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: py27-httplib2-0.8

2013-10-23 Thread Douglas Thrift
On 10/22/2013 8:45 PM, Kubilay Kocak wrote:
 On 21/10/2013 12:07 PM, Douglas Thrift wrote:
 Hello,

 This seems to be affecting the httplib2 package on FreeBSD as well:

 https://code.google.com/p/httplib2/issues/detail?id=251

 
 Hi Douglas,
 
 Can you submit a PR for www/py-httplib2 so it can be tracked and resolved
 
 Thanks for the report :)
 
 Koobs
 

Submitted last night:

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/183220

-- 
Douglas William Thrift
doug...@douglasthrift.net
http://douglasthrift.net/
___
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: amavis[12345]: (12345-02) (!)file utility failed: exit 1

2013-10-23 Thread Scot Hetzel
On Wed, Oct 23, 2013 at 1:25 PM, Michael Grimm
trash...@odo.in-berlin.de wrote:
 Hi --

 On 23.10.2013, at 20:03, Mark Martinec mark.martinec+free...@ijs.si wrote:

 The text ERROR: line 163: regex error 17, (illegal byte sequence)
 comes from the file utility, unmodified.

 1) Is the file utility to blame?

 Yes.

 2) My setup?

 Possibly (e.g. broken magic database).

 Looks like a known bug in the file utility, already fixed upstream:

  http://bugs.gw.com/my_view_page.php
(search for: illegal byte sequence)

 Should be reproducible by running the file(1) from a command line
 (in the same/similar environment as amavisd is running, just in case).

 Confirmed, it's throwing the same error message[1]:

 | mail /usr/local/bin/file zzz
 | zzz: ERROR: line 163: regex error 17, (illegal byte sequence)

 Thank you for helping me understand that issue. Now, I will wait for
 a corrected file port.

 With kind regards,

To cause the error to occur do the following:

cd /usr/ports/sysutils/file
make install
cd /usr/ports/sysutils/file/work/file-5.15/magic/Magdir
LC_ALL=en_US.UTF-8 /usr/local/bin/file -d -m windows
/usr/ports/sysutils/file/Makefile

I tested all the magic files in the directory using:

sh
(for i in `ls` ; do echo  $i  ; LC_ALL=en_US.UTF-8
/usr/local/bin/file -d -m $i /usr/ports/sysutils/file/Makefile ; done)
21  ../fine.test

The only one that failed was the 'windows' magic file.  Which is bug 292

http://bugs.gw.com/view.php?id=292

I was able to resolve the bug in PR 183257.

http://www.freebsd.org/cgi/query-pr.cgi?pr=183257

Could someone check that the regex is correct an commit it to the port
and submit it upstream.

Thanks,

Scot
___
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