sysutils/zfs-stats update

2011-04-05 Thread jhell

Hi Martin,

Would you mind adding the following to sysutils/zfs-stats/pkg-descr as
well here, http://www.vx.sk/zfs-stats/.

{{{

zfs-stats was branched from a previous revision of the original authors
code that is still maintained at the following URL. You may be interested
in some of the improvements that were made.

http://jhell.googlecode.com/hg/base/head/scripts/zfs/arc_summary/arc_summary.pl

}}}

A shorter URL for that is: http://bit.ly/arc_summary


If not, I do not mind taking maintainership of that port and rolling out
dated revisions in the download section that would coinside with the
release of the port.

The current version that I have up now is up-to-date as of ZFSv28,
supports flags to display single pages of information and defaults to a
display of all pages as well has human readable output for all the
values + increased system memory display in the header.

As I cleaned this up quite a bit from what it used to be before I got my
hands on it for FreeBSD usage I would like to contain the differences in
the least amount of branches for the users sake. As for right now ? I do
not plan on not maintaining it and have further improvements on the way.

You can consider this a public request for maintainership.

I see a much simpler port that doesnt need to fetch a tarball in the
near future and would appreciate your support in doing so.

-- 

  Regards,

  J. Hellenthal
  JJH48-ARIN
  0x89D8547E



pgpgdQR1ai61V.pgp
Description: PGP signature


libxul dumps core with 'illegal hardware instruction' with newly ported 'pytrainer'

2011-04-05 Thread Stefan Walter
(I didn't get any replies on freebsd-gecko@, so I thought I'd just send it
on freebsd-ports@, too.)

Hi,

I'm working on a port for pytrainer (see [1]), which uses libxul to
display GPS tracks via Google Maps or OSM. Starting the software, it
crashes with illegal hardware instruction and leaves a core dump behind.
The backtrace (see [2] for the complete one) looks like the problem is
somewhere in libxul:

#0  0x00080cc78c52 in SearchTable () from 
/usr/local/lib/libxul/sdk/lib/libxul.so
#1  0x00080cc78de8 in PL_DHashTableOperate () from 
/usr/local/lib/libxul/sdk/lib/libxul.so
#2  0x00080ccb1fa8 in nsComponentManagerImpl::GetService () from 
/usr/local/lib/libxul/sdk/lib/libxul.so
#3  0x00080cc7b1c6 in CallGetService () from 
/usr/local/lib/libxul/sdk/lib/libxul.so
#4  0x00080cc7b1ec in nsGetServiceByCIDWithError::operator() () from 
/usr/local/lib/libxul/sdk/lib/libxul.so
#5  0x00080cc7a528 in nsCOMPtr_base::assign_from_gs_cid_with_error () from 
/usr/local/lib/libxul/sdk/lib/libxul.so
#6  0x00080ccbcbf3 in NS_GetProxyForObject () from 
/usr/local/lib/libxul/sdk/lib/libxul.so
#7  0x00080ccb517f in nsNativeModuleLoader::LoadModule () from 
/usr/local/lib/libxul/sdk/lib/libxul.so
[...#7 repeated lots of times...]
#3355 0x00080ccb0762 in nsComponentManagerImpl::AutoRegisterComponent () 
from /usr/local/lib/libxul/sdk/lib/libxul.so
#3356 0x00080ccb0fee in nsComponentManagerImpl::AutoRegisterDirectory () 
from /usr/local/lib/libxul/sdk/lib/libxul.so
#3357 0x00080ccb11bc in nsComponentManagerImpl::AutoRegisterImpl () from 
/usr/local/lib/libxul/sdk/lib/libxul.so
#3358 0x00080ccb1421 in nsComponentManagerImpl::AutoRegister () from 
/usr/local/lib/libxul/sdk/lib/libxul.so
#3359 0x00080cc85ca3 in NS_InitXPCOM3_P () from 
/usr/local/lib/libxul/sdk/lib/libxul.so
#3360 0x00080c1f3ebc in XRE_InitEmbedding () from 
/usr/local/lib/libxul/sdk/lib/libxul.so
#3361 0x00080c1e5220 in EmbedPrivate::PushStartup () from 
/usr/local/lib/libxul/sdk/lib/libxul.so
#3362 0x00080c1e532b in EmbedPrivate::EmbedPrivate () from 
/usr/local/lib/libxul/sdk/lib/libxul.so
#3363 0x00080c1e1b6b in gtk_moz_embed_init () from 
/usr/local/lib/libxul/sdk/lib/libxul.so
#3364 0x00080175a870 in g_type_create_instance () from 
/usr/local/lib/libgobject-2.0.so.0
#3365 0x00080173e0bc in g_object_set () from 
/usr/local/lib/libgobject-2.0.so.0
#3366 0x00080173e5af in g_object_newv () from 
/usr/local/lib/libgobject-2.0.so.0
#3367 0x00080240fcb1 in init_gobject () from 
/usr/local/lib/python2.7/site-packages/gtk-2.0/gobject/_gobject.so
#3368 0x00080bc69ca7 in initgtkmozembed () from 
/usr/local/lib/python2.7/site-packages/gtk-2.0/gtkmozembed.so
#3369 0x004560e8 in PyType_IsSubtype ()
#3370 0x00418b9d in PyObject_Call ()
#3371 0x004815a4 in PyEval_EvalFrameEx ()
#3372 0x00485140 in PyEval_EvalCodeEx ()
#3373 0x004d4699 in PyClassMethod_New ()
#3374 0x00418b9d in PyObject_Call ()
#3375 0x0041e51d in PyClass_IsSubclass ()
#3376 0x00418b9d in PyObject_Call ()
#3377 0x0047dee6 in PyEval_CallObjectWithKeywords ()
#3378 0x00421e66 in PyInstance_New ()
#3379 0x00418b9d in PyObject_Call ()
#3380 0x004815a4 in PyEval_EvalFrameEx ()
#3381 0x00483a25 in PyEval_EvalFrameEx ()
#3382 0x00483a25 in PyEval_EvalFrameEx ()
#3383 0x00485140 in PyEval_EvalCodeEx ()
#3384 0x004d4699 in PyClassMethod_New ()
#3385 0x00418b9d in PyObject_Call ()
#3386 0x0041e51d in PyClass_IsSubclass ()
#3387 0x00418b9d in PyObject_Call ()
#3388 0x0047dee6 in PyEval_CallObjectWithKeywords ()
#3389 0x00421e66 in PyInstance_New ()
#3390 0x00418b9d in PyObject_Call ()
#3391 0x004815a4 in PyEval_EvalFrameEx ()
#3392 0x00483a25 in PyEval_EvalFrameEx ()
#3393 0x00485140 in PyEval_EvalCodeEx ()
#3394 0x00485232 in PyEval_EvalCode ()
#3395 0x0049f0c2 in Py_CompileString ()
#3396 0x0049f196 in PyRun_FileExFlags ()
#3397 0x004a066f in PyRun_SimpleFileExFlags ()
#3398 0x00414962 in Py_Main ()
#3399 0x00413cba in main ()

I don't have any other apparent problems with Mozilla/libxul stuff here.
Any idea what could cause this? (Since pytrainer is a Python application
and only uses libxul, I guess it's not pytrainer's fault, but I could be
wrong, of course...)

In case someone would like to run pytrainer locally, the port can be found
at [3].

Best regards,
Stefan

[1]: http://sourceforge.net/apps/trac/pytrainer/
[2]: http://people.freebsd.org/~stefan/pytrainer-backtrace.txt
[3]: http://people.freebsd.org/~stefan/pytrainer-1.8.0-port.tar.gz
___
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: libxul dumps core with 'illegal hardware instruction' with newly ported 'pytrainer'

2011-04-05 Thread Andrew W. Nosenko
On Tue, Apr 5, 2011 at 10:06, Stefan Walter ste...@freebsd.org wrote:
 (I didn't get any replies on freebsd-gecko@, so I thought I'd just send it
 on freebsd-ports@, too.)

 Hi,

 I'm working on a port for pytrainer (see [1]), which uses libxul to
 display GPS tracks via Google Maps or OSM. Starting the software, it
 crashes with illegal hardware instruction and leaves a core dump behind.

Something compiled for CPU model higher than CPU, which actually run
the resulting binary?

For example, if I compile with -march=native on the Core2 machine and
then try to run resulting binary on Pentium4, then I will obtain
Illegal Instruction with very high probability.

-- 
Andrew W. Nosenko andrew.w.nose...@gmail.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


sysutils/fusefs-ntfs broken due to devel/libublio being marked deprecated

2011-04-05 Thread Bruce Cran
Hi,

devel/libublio has recently been marked DEPRECATED (there's a spelling
mistake - Abandonned and no distfiles provided should be
Abandoned...) so if sysutils/fusefs-ntfs was built with the UBLIO
option enabled (which is the default), it now fails when being
upgrading.

-- 
Bruce Cran

___
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: sysutils/fusefs-ntfs broken due to devel/libublio being marked deprecated

2011-04-05 Thread Matthias Andree
Am 05.04.2011 14:23, schrieb Bruce Cran:
 Hi,
 
 devel/libublio has recently been marked DEPRECATED (there's a spelling
 mistake - Abandonned and no distfiles provided should be
 Abandoned...) so if sysutils/fusefs-ntfs was built with the UBLIO
 option enabled (which is the default), it now fails when being
 upgrading.

There must be a different reason for the failure, I can fetch the
distfile (from alepulver's local distfiles) and build the port.  Perhaps
we should un-deprecate it. :)
___
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: ports/156144: emulators/vice: fix patch build

2011-04-05 Thread Barbara

So how can you explain that?
http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.8.20110404110656/vice-
gnome-2.3.log

___
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


Google-earth: memory fault

2011-04-05 Thread Paul Schenkeveld
Hi,

Until a couple of months ago, I was happily using google-earth on all
my desktops and laptops.  Now, it exits with Memory Fault after
creating the startup window, the main window and a tiny pop-up window.
The pop-up window does not have a title not contents so I don't know
what it's trying to tell me.  After this message, I'm back at the
shell prompt, the three google-earth windows stay on the screen and
do not react to resize or cancel messages from the window manager.
There are 30 ./googleearth-bin processes still running and if I
killall -1 googleearth-bin the window these processes and the windows
on my screen disappear.

One laptop had google-earth running fo nearly two years but one day,
probably after the upgrade to google-earth-6.0.1.2032,1, it started
exiting with the above message.  The notebook is running FreeBSD
8.2-STABLE #4: Sun Feb 27 12:28:14 CET 2011 i386, has an Intel T7500
Core 2 duo CPU and 3 GB RAM.

The other laptop runs FreeBSD 8.2-RELEASE #0: Fri Mar 11 21:52:10 CET
2011 amd64 on an Intel Q9100 CPU with 4 GB RAM.

I can't get googleearth-bin to dump core, it just prints Memory Fault
and exits.

Any ideas ow to debug this?

Regards,

Paul Schenkeveld
___
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


[CFT] databases/ruby-bdb update (portupgrade dependency)

2011-04-05 Thread Steve Wills
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I would like to commit the attached update to databases/ruby-bdb so that
it will work with Ruby 1.9. I believe with this, portupgrade should work
with Ruby 1.9 as well. Note this doesn't fix any existing bugs in
portupgrade. Please test this and let me know if you have success or
find problems. If you find problems, please include uname -a and
pkg_info output, as well info on your latest and previous ports tree
updates.

Thanks,
Steve
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (FreeBSD)

iQEcBAEBAgAGBQJNm73MAAoJEPXPYrMgexuhG1wH/A3tKi4/LGEb5IwVq5wkna5J
hFvBMB9Ggwfhq5tpYISmv7p8cyufEuTseWwUVddtBUdJGpJ3BhgQiiwgZvCI4lTG
+54bDM1PX7pUAjn7NgvHf+PYsSsvI2kCVg9H+I5CO5MxGsgsUo9QqopVQJCJg6L8
+ISjPSR//ifuT7eck6bGRXLWT3AmD/0EosAWmYoPqdhDRrRhmyiH8gC58ESDDkd4
z1qejvCZuVn86SAqFm0Zmfad4K5oH0QQ6WxgTgcZfGVDtnqqRW/FM/ihMAjiSnPl
jZceDcnYq8HwdUuXYf0mWa9/TFQ3BDD7CML8TOb9/cqMueHhFesMUm+6qlZcYnc=
=x3gf
-END PGP SIGNATURE-
Index: Makefile
===
RCS file: /home/ncvs/ports/databases/ruby-bdb/Makefile,v
retrieving revision 1.61
diff -u -r1.61 Makefile
--- Makefile7 Jun 2010 20:48:38 -   1.61
+++ Makefile3 Apr 2011 05:56:09 -
@@ -7,12 +7,13 @@
 
 PORTNAME=  bdb
 PORTVERSION=   0.6.5
-PORTREVISION=  1
+PORTREVISION=  2
 CATEGORIES=databases ruby
-MASTER_SITES=  RF
+MASTER_SITES=  ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR=swills
 PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
 PKGNAMESUFFIX= ${WITH_BDB_VER}
-DIST_SUBDIR=   ruby
+DISTNAME=  knu-ruby-bdb-v0.6.5-8-g6feba54
 
 MAINTAINER=k...@freebsd.org
 COMMENT=   Ruby interface to Sleepycat's Berkeley DB revision 2 or later
@@ -30,11 +31,11 @@
--with-db-version=${BDB_LIB_NAME:S/^db//}
 INSTALL_TARGET=site-install
 
+WRKSRC=${WRKDIR}/knu-ruby-bdb-6feba54
+
 DOCS=  Changes \
README.en \
-   bdb.html \
bdb.rd \
-   docs/*.html \
docs/*.rd
 
 .include bsd.port.pre.mk
@@ -53,14 +54,13 @@
 post-build:
 .if !defined(NOPORTDOCS)
( cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} \
-   ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} rdoc )
+   ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${RUBY_RDOC} )
 .endif
 
 post-install:
 .if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/doc
(cd ${WRKSRC}  ${INSTALL_MAN} ${DOCS} ${DOCSDIR})
-   (cd ${WRKSRC}/docs/doc  ${COPYTREE_SHARE} \* ${DOCSDIR}/doc)
 .endif
 .if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}/
Index: distinfo
===
RCS file: /home/ncvs/ports/databases/ruby-bdb/distinfo,v
retrieving revision 1.44
diff -u -r1.44 distinfo
--- distinfo20 Mar 2011 12:47:58 -  1.44
+++ distinfo24 Mar 2011 03:08:00 -
@@ -1,2 +1,2 @@
-SHA256 (ruby/bdb-0.6.5.tar.gz) = 
edba29bb720fa32a93a80b2746667d52a30d63e418e89958b17896ef0f25889d
-SIZE (ruby/bdb-0.6.5.tar.gz) = 321865
+SHA256 (knu-ruby-bdb-v0.6.5-8-g6feba54.tar.gz) = 
88582a29003fa0fb61c9136187db9cca575f5d11d64d5f5eec6e0c49f5416067
+SIZE (knu-ruby-bdb-v0.6.5-8-g6feba54.tar.gz) = 286058
Index: files/patch-src_common.c
===
RCS file: files/patch-src_common.c
diff -N files/patch-src_common.c
--- files/patch-src_common.c7 May 2009 16:12:59 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,20 +0,0 @@
 src/common.c.orig  2009-05-02 19:19:39.0 +0400
-+++ src/common.c   2009-05-02 19:20:04.0 +0400
-@@ -941,7 +941,7 @@
-   }
-   }
-   if (!(dbst-options  BDB_NOT_OPEN)) {
--  bdb_test_error(dbst-dbp-close(dbst-dbp, flags));
-+  dbst-dbp-close(dbst-dbp, flags);
-   }
-   }
-   else {
-@@ -950,7 +950,7 @@
-   bdb_ary_delete(envst-db_ary, dbst-ori_val);
-   }
-   if (!(dbst-options  BDB_NOT_OPEN)) {
--  bdb_test_error(dbst-dbp-close(dbst-dbp, flags));
-+  dbst-dbp-close(dbst-dbp, flags);
-   }
-   }
- }


ruby-bdb-patch2.txt.sig
Description: Binary data
___
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

Fwd: Deprecation campaign

2011-04-05 Thread Ruslan Mahmatkhanov

Hi!

So can please anybody commit this? This patch unbreaks devel/ucpp.
Build patches are from Michel Talon ta...@lpthe.jussieu.fr.
(Should be applied with -p0)

Thanks.

--
Regards,
Ruslan

diff -ruNa ucpp.orig/Makefile ucpp/Makefile
--- ucpp.orig/Makefile  2011-03-16 16:55:41.0 +0300
+++ ucpp/Makefile   2011-03-17 21:03:33.0 +0300
@@ -9,16 +9,16 @@
 PORTNAME=  ucpp
 PORTVERSION=   1.3
 CATEGORIES=devel
-MASTER_SITES=  http://pornin.nerim.net/ucpp/
+MASTER_SITES=  GOOGLE_CODE
 
 MAINTAINER=po...@freebsd.org
 COMMENT=   A C preprocessor and lexer
 
-DEPRECATED= Upstream disapear and distfile is no more available
-EXPIRATION_DATE=2011-05-01
+LICENSE=   BSD
 
 MAN1=  ucpp.1
 PLIST_FILES=   bin/ucpp
+USE_GMAKE= yes
 
 do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
diff -ruNa ucpp.orig/distinfo ucpp/distinfo
--- ucpp.orig/distinfo  2005-11-24 18:40:02.0 +0300
+++ ucpp/distinfo   2011-03-17 21:03:33.0 +0300
@@ -1,3 +1,2 @@
-MD5 (ucpp-1.3.tar.gz) = f6f508ab42dd3eb57c0411a25429c9e8
-SHA256 (ucpp-1.3.tar.gz) = 
6057028d96d349acd3de39a83f88f5772c422f822beb7f139dca8eabcf058bfa
-SIZE (ucpp-1.3.tar.gz) = 91537
+SHA256 (ucpp-1.3.tar.gz) = 
d81bff52769325497d7663356ebebb358991e4c820b43aa60c40d65a29e9c376
+SIZE (ucpp-1.3.tar.gz) = 91626
diff -ruNa ucpp.orig/files/patch-Makefile ucpp/files/patch-Makefile
--- ucpp.orig/files/patch-Makefile  2003-07-29 00:59:02.0 +0400
+++ ucpp/files/patch-Makefile   2011-03-17 21:06:08.0 +0300
@@ -1,22 +1,31 @@
 Makefile.orig  Wed Jan 15 02:07:44 2003
-+++ Makefile   Sun Jul 27 14:51:51 2003
+--- Makefile.orig  2008-10-01 21:15:41.0 +0400
 Makefile   2011-03-17 21:05:49.0 +0300
 @@ -56,8 +56,8 @@
  #FLAGS = -O -m -DMEM_CHECK
  
  # for gcc
 -CC = gcc
--FLAGS = -g -W -Wall -ansi -DAUDIT -DMEM_DEBUG
+-FLAGS = -O3 -W -Wall -ansi
 +CC ?= gcc
 +FLAGS = -ansi -DAUDIT -DMEM_DEBUG
+ #FLAGS = -g -W -Wall -ansi -DAUDIT -DMEM_DEBUG
  #FLAGS = -O3 -mcpu=pentiumpro -fomit-frame-pointer -W -Wall -ansi -DMEM_CHECK
  #FLAGS = -O -pg -W -Wall -ansi -DMEM_CHECK
- #LDFLAGS = -pg
-@@ -80,7 +80,7 @@
+@@ -78,7 +78,7 @@
+ #LIBS = libefence.a
+ #LIBS = -lgc_dbg
+ 
+-#STAND_ALONE = -DSTAND_ALONE
++STAND_ALONE = -DSTAND_ALONE
+ 
+ ifdef STAND_ALONE
+   FINAL_STEP = $(CC) $(LDFLAGS) -o ucpp $(COBJ) $(LIBS)
+@@ -87,7 +87,7 @@
  # - nothing should be changed below this line -
  
  COBJ = mem.o nhash.o cpp.o lexer.o assert.o macro.o eval.o
--CFLAGS = $(FLAGS) -DSTAND_ALONE
-+CFLAGS += $(FLAGS) -DSTAND_ALONE
+-CFLAGS = $(FLAGS) $(STAND_ALONE)
++CFLAGS += $(FLAGS) $(STAND_ALONE)
  
  all: ucpp
- 
+   @ar cq libucpp.a *.o
diff -ruNa ucpp.orig/files/patch-cpp.c ucpp/files/patch-cpp.c
--- ucpp.orig/files/patch-cpp.c 1970-01-01 03:00:00.0 +0300
+++ ucpp/files/patch-cpp.c  2011-03-17 21:08:34.0 +0300
@@ -0,0 +1,22 @@
+--- cpp.c.orig 2008-10-01 21:15:41.0 +0400
 cpp.c  2011-03-17 21:08:15.0 +0300
+@@ -65,8 +65,8 @@
+ FILE *emit_output;
+ 
+ #ifdef STAND_ALONE
+-static char *system_macros_def[] = { STD_MACROS, 0 };
+-static char *system_assertions_def[] = { STD_ASSERT, 0 };
++static char *system_macros_def[] = { /usr/include, 0 };
++static char *system_assertions_def[] = { , 0 };
+ #endif
+ 
+ char *current_filename = 0, *current_long_filename = 0;
+@@ -2364,7 +2364,7 @@
+   char *filename = 0;
+   int with_std_incpath = 1;
+   int print_version = 0, print_defs = 0, print_asserts = 0;
+-  int system_macros = 0, standard_assertions = 1;
++  int system_macros = 0, standard_assertions = 0;
+ 
+   init_lexer_state(ls);
+   ls-flags = DEFAULT_CPP_FLAGS;
diff -ruNa ucpp.orig/pkg-descr ucpp/pkg-descr
--- ucpp.orig/pkg-descr 2002-08-19 15:44:39.0 +0400
+++ ucpp/pkg-descr  2011-03-17 21:03:33.0 +0300
@@ -6,4 +6,4 @@
- Possibility to use the code as a lexer (that outputs tokens
  directly) 
 
-WWW: http://pornin.nerim.net/ucpp/
+WWW: http://code.google.com/p/ucpp/
___
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