databases/mongodb fails to start, assertion failure in unit test

2013-01-25 Thread Waitman Gobble

Hi,

I've installed databases/mongodb and get an error when starting.

# /usr/local/etc/rc.d/mongod start
Starting mongod.
forked process: 59576
all output going to: /var/db/mongodb/mongod.log
/usr/local/etc/rc.d/mongod: WARNING: failed to start mongod

# cat /var/db/mongodb/mongod.log

Fri Jan 25 00:30:57   Assertion failure l  bigl src/mongo/db/btree.cpp 1973
0x5a503d 0x5eb41d 0x74dce9 0x547638 0x545ed9 0x542bc1 
 0x5a503d _ZN5mongo12verifyFailedEPKcS1_j+285 at /usr/local/bin/mongod
 0x5eb41d _ZN5mongo10BTUnitTest3runEv+333 at /usr/local/bin/mongod
 0x74dce9 _ZN5mongo11StartupTest8runTestsEv+57 at /usr/local/bin/mongod
 0x547638 main+5992 at /usr/local/bin/mongod
 0x545ed9 main+9 at /usr/local/bin/mongod
 0x542bc1 _start+145 at /usr/local/bin/mongod
Fri Jan 25 00:30:57 Got signal: 6 (Abort trap: 6).



# portversion -v mongodb
mongodb-2.2.0_1 =  up-to-date with port

# uname -a
FreeBSD kamira.waitman.net 9.1-STABLE FreeBSD 9.1-STABLE #0 r245772M: Tue Jan 
22 06:09:00 PST 2013 r...@kamira.waitman.net:/usr/obj/usr/src/sys/BURPLEX  
amd64


I added a couple lines to print the values before the failure.


src/mongo/db/btree.h

..

struct BTUnitTest : public StartupTest {
void run() {
DiskLoc big(0xf12312, 0x70001234);
DiskLoc56Bit bigl;
{
bigl = big;
verify( big == bigl );
DiskLoc e = bigl;
verify( big == e );
}
{
DiskLoc d;
verify( d.isNull() );
DiskLoc56Bit l;
l = d;
verify( l.isNull() );
d = l;
verify( d.isNull() );

printf(bigl %s\n,bigl.toString().c_str());
printf(l %s\n,l.toString().c_str());

verify( l  bigl );
}
}
} btunittest;
..


output:
   
bigl f12312:70001234
l null
Thu Jan 24 23:18:17   Assertion failure l  bigl src/mongo/db/btree.cpp 1978
   

looking at
src/mongo/db/diskloc.h
   
bool isNull() const { return _a == -1; }
..   
int compare(const DiskLoc b) const {
int x = _a - b._a;
if ( x )
return x;
return ofs - b.ofs;
}
bool operator(const DiskLoc b) const {
return compare(b)  0;
}
..
void Null() {
_a = -1;
ofs = 0; /* note NullOfs is different. todo clean up.  see refs to 
NullOfs in code - use is valid but outside DiskLoc context so confusing as-is. 
*/
}


   
it seems that this should be working!

test model:

#include stdio.h

int
compare (int a, int b)
{
int x = a - b;
if ( x )
return x;
return 555;
}

bool
ncompare (int a, int b)
{
return compare(a,b)  0;
}

int
main (void)
{
int a, b;
a = -1;
b = 0xf12312;
int c = a - b;
printf(%d\n,c);
c = compare(a,b);
printf(%d\n,c);
bool d = ncompare(a,b);
printf(%d\n,d);
bool e = ncompare(b,a);
printf(%d\n,e);
return 0;
}

# clang++ -o test test.cpp
# ./test
-15803155
-15803155
1
0


I'm missing something...
 
Suggestions, tips, hints much appreciated. 

Thanks,

-- 
Waitman Gobble
San Jose California USA
___
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: devel/lua-sysctl broken with clang (patch)

2013-01-25 Thread Renato Botelho
On Wed, Jan 23, 2013 at 12:12:00PM +, Matt Burke wrote:
 ===  Building for lua-sysctl-0.2
 install -m 755 -d sysctl
 cc  -shared -soname lua_sysctl -O2 -pipe -fno-omit-frame-pointer
 -fno-strict-aliasing -fno-omit-frame-pointer  -Wall -Wextra -fPIC
 `pkg-config --cflags lua-5.1` -o sysctl/core.so src/lua_sysctl.c
 cc: error: no such file or directory: 'lua_sysctl'
 *** [sysctl/core.so] Error code 1
 
 Stop in /usr/ports/devel/lua-sysctl/work/lua-syscl-0.2.
 *** [do-build] Error code 1

Committed. Thanks!

-- 
Renato Botelho garga @ FreeBSD.org
   garga.bsd @ gmail.com
GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc
___
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: portsnap and the imminent demise of svn-cvs ports tree export

2013-01-25 Thread Thomas Mueller
 Date: Mon, 21 Jan 2013 12:01:05 +1100

 How do you work that out?  None of the headers you've included show
 any problem.  John sent his mail at 010105UT on 21st, and your headers
 say you received it at 095334UT on 21st - nearly 9 hours later.  The
 X-Apparently-To header is 010132UT on the 21st (about 3s after FreeBSD
 forwarded it to me, se quite realistic).

 --
 Peter Jeremy

I think I might have misread something mentally transferring 3 at the end of 
2013 to make Jan 21 into Jan 23: maybe the wrong time of day, too late going
to bed.

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


Build log attached... fail to build deskutils/clipit

2013-01-25 Thread Jeffrey Bouquet
I'd not be too concerned, but this same error is manifested in at least ten or 
so ports that refuse to build here... consistently month after month.

J. Bouquet

(PS. this may be a followup to the earlier post maybe last month with the same 
error or it and another, in which case it is a duplicate of sorts...)
___
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: Build log attached... fail to build deskutils/clipit

2013-01-25 Thread Chris Rees
On 25 Jan 2013 13:22, Jeffrey Bouquet jeffreybouq...@yahoo.com wrote:

 I'd not be too concerned, but this same error is manifested in at least
ten or so ports that refuse to build here... consistently month after month.

 J. Bouquet

 (PS. this may be a followup to the earlier post maybe last month with the
same error or it and another, in which case it is a duplicate of sorts...)

Error log?  Uname -a?

Chris
___
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/pacman: use in FreeBSD?

2013-01-25 Thread Shawn Webb
On Fri, Jan 25, 2013 at 2:28 AM, Thomas Mueller
mueller6...@bellsouth.netwrote:

 I see to my surprise, in http://www.freshports.org/commits.php ,
 that pacman from Archlinux has just been ported to FreeBSD.

 But how would pacman be used in FreeBSD, considering we already have ports
 and pkgng?  Would pacman in FreeBSD be only for binary packages, or would
 it
 be used with Arch Build System to build packages from source as is done
 with
 FreeBSD ports and NetBSD pkgsrc?


Take a look at http://archbsd.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: java/openjdk6 fails to build..

2013-01-25 Thread David Demelier
On 12/01/2013 18:11, Stephen Montgomery-Smith wrote:
 On 12/21/2012 05:07 PM, Eitan Adler wrote:
 On 21 December 2012 13:49, Ronald Klop ronald-freeb...@klop.yi.org wrote:

 Try to set the environment variable MAKE_JOBS_NUMBER=1 before building.

 If this fixes it please let us know - its a bug in the makefile that
 needs to be fixed.

 Also try -DMAKES_JOBS_UNSAFE instead of MAKE_JOBS_NUMBER=1

 the latter does -j1 which is subtly different than no -j at all.
 
 First, I wanted to correct a typo - it is -DMAKE_JOBS_UNSAFE (no S).
 
 Secondly, as of today, this bug must still be present, because I
 couldn't build devel/openjdk6 without the -DMAKE_JOBS_UNSAFE on my amd64
 Intel i5 computer.
 
 ___
 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
 

Same for me, I can't build openjdk6 without the jobs setting.
___
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: Build log attached... fail to build deskutils/clipit

2013-01-25 Thread Jason Helfman
On Fri, Jan 25, 2013 at 10:50 AM, Jeffrey Bouquet
jeffreybouq...@yahoo.comwrote:

 Resent with the attachment which apparently did not attach, pasted below
 it (courtesy of xfw...) . Sorry for the duplicate.

 --- On Fri, 1/25/13, Jeffrey Bouquet jeffreybouq...@yahoo.com wrote:

 From: Jeffrey Bouquet jeffreybouq...@yahoo.com
 Subject: Build log attached... fail to build deskutils/clipit
 To: freebsd-ports@freebsd.org
 Date: Friday, January 25, 2013, 5:20 AM

 I'd not be too concerned, but this same error is manifested in at least
 ten or so ports that refuse to build here... consistently month after month.

 J. Bouquet

 (PS. this may be a followup to the earlier post maybe last month with the
 same error or it and another, in which case it is a duplicate of sorts...)

 2.0  -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lgobject-2.0 -lgthread-2.0
 -lgmodule-2.0 -pthread -lglib-2.0 -lfreetype -L/usr/local/lib
 -lfontconfig-lX11
 /usr/local/bin/ld: main.o: undefined reference to symbol
 'libintl_bindtextdomain'
 /usr/local/bin/ld: note: 'libintl_bindtextdomain' is defined in DSO
 //usr/local/lib/libintl.so.9 so try adding it to the linker command line
 //usr/local/lib/libintl.so.9: could not read symbols: Invalid operation
 collect2: ld returned 1 exit status
 gmake[2]: *** [clipit] Error 1
 gmake[2]: Leaving directory
 `/usr/ports/deskutils/clipit/work/clipit-1.4.2/src'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/ports/deskutils/clipit/work/clipit-1.4.2'
 gmake: *** [all] Error 2
 *** [do-build] Error code 1

 Stop in /usr/ports/deskutils/clipit.
 *** [build] Error code 1

 Stop in /usr/ports/deskutils/clipit.

 Script done on Fri Jan 25 04:42:35 2013

 ___
 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 committed this, and tested on CURRENT, 8.3, 9.0, and 9.1 for amd64, and
i386 respectively. I didn't see this error on any of these builds.

Can you please list some more details of your system, and setup.

Thanks!
-jgh
___
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


gvfs 100%

2013-01-25 Thread ajtiM
I didn't subscribe on freebsg. gnome list but maybe someone knows something 
abot the problem:

On 21/01/2013 03:47, edwin at FreeBSD.org wrote:
 Synopsis: devel/gvfs: process gvfs* take 100% of CPU
 
 Responsible-Changed-From-To: freebsd-ports-bugs-gnome
 Responsible-Changed-By: edwin
 Responsible-Changed-When: Mon Jan 21 06:47:38 UTC 2013
 Responsible-Changed-Why: 
 Over to maintainer (via the GNATS Auto Assign Tool)
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=174900
 ___
 freebsd-gnome at freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
 To unsubscribe, send any mail to freebsd-gnome-unsubscribe at freebsd.org
 

On the new version of this port the afc-volume-monitor was disabled. But
s necessary remove by hand some files of the older port because these
files were not on pkg-plist

I did install new version but which files should be removed? There are no info 
in /usr/ports/UPDATING.

Thanks in advance.

-- 
Mitja
--
http://www.redbubble.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


gegl-update

2013-01-25 Thread ajtiM
Hi!

I try to update gegl on FreeBSD 9.1-RELEASE with clang and than I tried ith 
gcc but I got the same error:

GEGL_SWAP=RAM GEGL_PATH=../operations \
../tools/introspect  class-hierarchy.html
mkdir -p images
../tools/gobj2dot.rb .. | /usr/local/bin/dot png  images/inheritance.png
Error: dot: can't open png
gmake[3]: *** [images/inheritance.png] Error 2
gmake[3]: Leaving directory `/usr/ports/graphics/gegl/work/gegl-0.1.8/docs'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/graphics/gegl/work/gegl-0.1.8/docs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/gegl/work/gegl-0.1.8'
gmake: *** [all] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/graphics/gegl.
*** [build] Error code 1

Stop in /usr/ports/graphics/gegl.

=== make failed for graphics/gegl
=== Aborting update

Terminated

Thanks in advance.

-- 
Mitja
--
http://www.redbubble.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


Re: Build log attached... fail to build deskutils/clipit

2013-01-25 Thread Jeffrey Bouquet
BTW the same error occured not three minutes ago with 
/zathura/ ...

9.1-PRERELEASE r243371 
/bin:...  ... :/usr/local/clip/bin
gettext-0.18.1.1
ncurses-devel-5.9.20110507_1
pkgconf-0.8.9
zsh 5.x
/usr/local/lib/compat/pkg has an older libintl.so.6 for some reason...
vs. the current so.9


--- On Fri, 1/25/13, Jason Helfman j...@freebsd.org wrote:

From: Jason Helfman j...@freebsd.org
Subject: Re: Build log attached... fail to build deskutils/clipit
To: Jeffrey Bouquet jeffreybouq...@yahoo.com
Cc: FreeBSD Ports List freebsd-ports@freebsd.org
Date: Friday, January 25, 2013, 1:15 PM

On Fri, Jan 25, 2013 at 10:50 AM, Jeffrey Bouquet
jeffreybouq...@yahoo.comwrote:

 Resent with the attachment which apparently did not attach, pasted below
 it (courtesy of xfw...) . Sorry for the duplicate.

 --- On Fri, 1/25/13, Jeffrey Bouquet jeffreybouq...@yahoo.com wrote:

 From: Jeffrey Bouquet jeffreybouq...@yahoo.com
 Subject: Build log attached... fail to build deskutils/clipit
 To: freebsd-ports@freebsd.org
 Date: Friday, January 25, 2013, 5:20 AM

 I'd not be too concerned, but this same error is manifested in at least
 ten or so ports that refuse to build here... consistently month after month.

 J. Bouquet

 (PS. this may be a followup to the earlier post maybe last month with the
 same error or it and another, in which case it is a duplicate of sorts...)

 2.0  -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lgobject-2.0 -lgthread-2.0
 -lgmodule-2.0 -pthread -lglib-2.0 -lfreetype -L/usr/local/lib
 -lfontconfig    -lX11
 /usr/local/bin/ld: main.o: undefined reference to symbol
 'libintl_bindtextdomain'
 /usr/local/bin/ld: note: 'libintl_bindtextdomain' is defined in DSO
 //usr/local/lib/libintl.so.9 so try adding it to the linker command line
 //usr/local/lib/libintl.so.9: could not read symbols: Invalid operation
 collect2: ld returned 1 exit status
 gmake[2]: *** [clipit] Error 1
 gmake[2]: Leaving directory
 `/usr/ports/deskutils/clipit/work/clipit-1.4.2/src'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/ports/deskutils/clipit/work/clipit-1.4.2'
 gmake: *** [all] Error 2
 *** [do-build] Error code 1

 Stop in /usr/ports/deskutils/clipit.
 *** [build] Error code 1

 Stop in /usr/ports/deskutils/clipit.

 Script done on Fri Jan 25 04:42:35 2013

 ___
 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 committed this, and tested on CURRENT, 8.3, 9.0, and 9.1 for amd64, and
i386 respectively. I didn't see this error on any of these builds.

Can you please list some more details of your system, and setup.

Thanks!
-jgh


..
_
J   Bouquet

___
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