shp2pgsql core dumps when using -G and -g together

2011-06-02 Thread Rainer Hurling
I am trying to use the converter 'shp2pgsql' from database/postgis 
version 1.5.2 to convert an ESRI shapefile into the geography data type 
of postgis/postgresql.


It core dumps when using the two options '-G' and '-g' at the same time, 
at least on FreeBSD. Option '-G' switches from geometry to geography 
data type. With option '-g' I want to set another than the default name 
of the geography column.


--
shp2pgsql -G -g geog_newname world.shp
shp2pgsql: (malloc) /usr/src/lib/libc/stdlib/malloc.c:4287: Failed 
assertion: arena != NULL

Abbruch(core dumped)
--

This is reproducable with other shapefiles, too. It does not happen, if 
'-G' is used without the '-g' option.


It seems there is a problem with memory allocation? As far as I know 
this works on other platforms than FreeBSD.


As test data may serve the world shape from
http://www.vdstech.com/mapdata/world.zip


Any help is really appreciated. And please let me know if I can help or 
test something.


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


Re: lang/guile build fails for me

2011-06-02 Thread Andriy Gapon
on 01/06/2011 09:14 Andriy Gapon said the following:
 
 lang/guile build fails in my environment with CURRENT amd64 FreeBSD and gcc45 
 as
 ports compiler:
 
 ./guile_filter_doc_snarfage --filter-snarfage)  regex-posix.doc || { rm
 regex-posix.doc; false; }
 cat alist.doc arbiters.doc async.doc backtrace.doc boolean.doc chars.doc
 continuations.doc debug.doc deprecation.doc deprecated.doc discouraged.doc
 dynl.doc dynwind.doc environments.doc eq.doc error.doc eval.doc evalext.doc
 extensions.doc feature.doc fluids.doc fports.doc futures.doc gc.doc goops.doc
 gsubr.doc gc-mark.doc gc-segment.doc gc-malloc.doc gc-card.doc guardians.doc
 hash.doc hashtab.doc hooks.doc i18n.doc init.doc ioext.doc keywords.doc 
 lang.doc
 list.doc load.doc macros.doc mallocs.doc modules.doc numbers.doc objects.doc
 objprop.doc options.doc pairs.doc ports.doc print.doc procprop.doc procs.doc
 properties.doc random.doc rdelim.doc read.doc root.doc rw.doc scmsigs.doc
 script.doc simpos.doc smob.doc sort.doc srcprop.doc stackchk.doc stacks.doc
 stime.doc strings.doc srfi-4.doc srfi-13.doc srfi-14.doc strorder.doc
 strports.doc struct.doc symbols.doc threads.doc throw.doc values.doc
 variable.doc vectors.doc version.doc vports.doc weaks.doc ramap.doc unif.doc
 dynl.doc filesys.doc posix.doc net_db.doc socket.doc regex-posix.doc |
 GUILE=/usr/obj/usr/ports/lang/guile/work/guile-1.8.6/pre-inst-guile
 ../scripts/snarf-check-and-output-texi   guile-procedures.texi || { 
 rm
 guile-procedures.texi; false; }
 ERROR: unknown doc attribute: (location (string . alist.c) (int . 40) (hash . 
 hash))
 gmake[3]: *** [guile-procedures.texi] Error 1
 gmake[3]: Leaving directory
 `/usr/obj/usr/ports/lang/guile/work/guile-1.8.6/libguile'
 gmake[2]: *** [all] Error 2

This one seems to be a known and fixed issue:
http://bugs.gentoo.org/show_bug.cgi?id=317175

I guess we could either update to a version that has the fix (when it's
released) or use the following simple patch:
--- libguile/guile-snarf-docs.in.orig   2011-06-02 11:49:24.423491408 +0300
+++ libguile/guile-snarf-docs.in2011-06-02 11:49:26.174492567 +0300
@@ -23,4 +23,4 @@
 ## Let the user override the preprocessor autoconf found.
 test -n ${CPP+set} || CPP=@CPP@

-${CPP} -DSCM_MAGIC_SNARF_DOCS $@
+${CPP} -P -DSCM_MAGIC_SNARF_DOCS $@



-- 
Andriy Gapon
___
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


problem with INDEX-5

2011-06-02 Thread DLF Sp . z o . o . - Sebastian Turzyński
Hi,

 

I have a problem that when I run make fetchindex there is an error:

fetch: http://www.FreeBSD.org/ports/INDEX-5.bz2: Not Found

 

I have 5.5-RELEASE-p13.

 

Kind regards.

Sebastian Turzyński



 

___
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: problem with INDEX-5

2011-06-02 Thread Erwin Lansing
On Thu, Jun 02, 2011 at 07:08:38AM +0200, DLF Sp. z o.o. - Sebastian Turzy?ski 
wrote:
 Hi,
 
  
 
 I have a problem that when I run make fetchindex there is an error:
 
 fetch: http://www.FreeBSD.org/ports/INDEX-5.bz2: Not Found
 
  
 
 I have 5.5-RELEASE-p13.
 
FreeBSD 5.x has not been supported for quite some time.  Please see the
support document at for more information:
http://www.freebsd.org/portmgr/policies_eol.html

Best,
-erwin

-- 
Erwin Lansing   http://droso.org
Prediction is very difficult
especially about the futureer...@freebsd.org


pgpViR1vSYLV9.pgp
Description: PGP signature


Re: problem with INDEX-5

2011-06-02 Thread Greg Byshenk
On Thu, Jun 02, 2011 at 07:08:38AM +0200, DLF Sp. z o.o. - Sebastian Turzy?ski 
wrote:
 
 I have a problem that when I run make fetchindex there is an error:
 
 fetch: http://www.FreeBSD.org/ports/INDEX-5.bz2: Not Found
 
 I have 5.5-RELEASE-p13.

If I'm not mistaken, FreeBSD-5 (with 5.5 as its last member) was
End of Life and stopped being supported three years ago. Even
FreeBSD-6 was EoL last year.

I think everyone would very strongly recommend that you update to a
more recent (and supported!) version, either 7 or 8.

Should you really need something from 5.5, you can probably find it
in the archives, in:

ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/

The index for 5.5-RELEASE appears to be at:


ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-5.5-release/INDEX

But updating to something more recent -- and supported -- would be
a very good idea.

-- 
greg byshenk  -  gbysh...@byshenk.net  -  Leiden, NL
___
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


cvsup servers down

2011-06-02 Thread David Demelier

Hello,

It is more likely than the cvsup servers are done for 2 weeks now and 
nobody complains about it. I usually use csup to fetch the ports tree 
but it seems I am the only one to do this :-p.


Cheers,

--
David Demelier
___
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: cvsup servers down

2011-06-02 Thread Chris Rees
On 2 June 2011 13:10, David Demelier demelier.da...@gmail.com wrote:
 Hello,

 It is more likely than the cvsup servers are done for 2 weeks now and nobody
 complains about it. I usually use csup to fetch the ports tree but it seems
 I am the only one to do this :-p.


Which server do you use?

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: cvsup servers down

2011-06-02 Thread Ivan Klymenko
В Thu, 02 Jun 2011 14:10:15 +0200
David Demelier demelier.da...@gmail.com пишет:

 Hello,
 
 It is more likely than the cvsup servers are done for 2 weeks now and 
 nobody complains about it. I usually use csup to fetch the ports tree 
 but it seems I am the only one to do this :-p.
 
 Cheers,
 
I also noticed this ;) and therefore use an alternative server (Primary
Mirror Sites) for updates ...
any of the available:
cvsup1.FreeBSD.org
cvsup2.FreeBSD.org
cvsup3.FreeBSD.org
cvsup4.FreeBSD.org
cvsup5.FreeBSD.org
cvsup6.FreeBSD.org
cvsup7.FreeBSD.org
cvsup8.FreeBSD.org
cvsup9.FreeBSD.org
cvsup10.FreeBSD.org
cvsup11.FreeBSD.org
cvsup12.FreeBSD.org
cvsup13.FreeBSD.org
cvsup14.FreeBSD.org
cvsup15.FreeBSD.org
cvsup16.FreeBSD.org
cvsup18.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


Re: problem with INDEX-5

2011-06-02 Thread Carsten Jensen
On 2011-06-02 13:58, Carsten Jensen wrote:
 On 2011-06-02 07:08, DLF Sp. z o.o. - Sebastian Turzyński wrote:
 Hi,

  

 I have a problem that when I run make fetchindex there is an error:

 fetch: http://www.FreeBSD.org/ports/INDEX-5.bz2: Not Found

  

 I have 5.5-RELEASE-p13.

  

 Kind regards.

 Sebastian Turzyński



  

 ___
 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 don't think that FreeBSD 5 is supported by the ports framework
 anymore, the earliest I can see is working is for FreeBSD 6.

 you can make your own index of the ports you have by  make index

 cheers
 Carsten

___
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


databases/frontbase -- candidate for DEPRECATION

2011-06-02 Thread Chris Rees
Hi all,

I'm working on getting ports to use USERS= and GROUPS= rather than
creating users/groups in pkg-install, to ease the implementation of
pkgng.

I've discovered that databases/frontbase uses a UID that conflicts
with halcluster -- this needs to be changed.

Does anyone still use frontbase or could it be deprecated?

Also, if you use frontbase and are willing to fix it, would you also
be willing to maintain it?

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: cvsup servers down

2011-06-02 Thread Michal Varga
On Thu, 2011-06-02 at 14:10 +0200, David Demelier wrote:
 Hello,
 
 It is more likely than the cvsup servers are done for 2 weeks now and 
 nobody complains about it. I usually use csup to fetch the ports tree 
 but it seems I am the only one to do this :-p.
 
 Cheers,
 

Well you're definitely not the only one :)
(Like, hell, is there any other option?)

Still, when such things happen, I just move up/down a digit (to cvsup3.,
cvsup4., cvsup5., etc) without so much complaining, you know - unless
one definitely runs out of numbers...

m.

-- 
Michal Varga,
Stonehenge (Gmail account)


___
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: cvsup servers down

2011-06-02 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6/2/11 8:19 AM, Michal Varga wrote:
 On Thu, 2011-06-02 at 14:10 +0200, David Demelier wrote:
 Hello,

 It is more likely than the cvsup servers are done for 2 weeks now and 
 nobody complains about it. I usually use csup to fetch the ports tree 
 but it seems I am the only one to do this :-p.

 Cheers,

 
 Well you're definitely not the only one :)
 (Like, hell, is there any other option?)
 
 Still, when such things happen, I just move up/down a digit (to cvsup3.,
 cvsup4., cvsup5., etc) without so much complaining, you know - unless
 one definitely runs out of numbers...
 
 m.
 

It's also handy to use fastest_cvsup
(http://www.freshports.org/sysutils/fastest_cvsup), and then you'll
always get the best choice of server:

$ fastest_cvsup -Q -c us,ca,mx
cvsup14.us.freebsd.org
$

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3nh5oACgkQ0sRouByUApCVswCfeArc4ZiT5Ngp4K0hTF8Y9PRV
SDIAn0hJ082C3RmN6tgvf9BNZj7Gsim4
=G4ki
-END PGP SIGNATURE-
___
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: cvsup servers down

2011-06-02 Thread Robert Huff

Michal Varga writes:

   It is more likely than the cvsup servers are done for 2 weeks now and 
   nobody complains about it. I usually use csup to fetch the ports tree 
   but it seems I am the only one to do this :-p.
  
  Well you're definitely not the only one :)
  (Like, hell, is there any other option?)
  
  Still, when such things happen, I just move up/down a digit (to
  cvsup3., cvsup4., cvsup5., etc) without so much complaining, you
  know - unless one definitely runs out of numbers...

To those who don't know about it, take a look at
sysutils/fastest_cvsup.


Robert Huff


___
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


mail/sympa now obeys hier!

2011-06-02 Thread Chris Rees
Hi all,

I've restructured the installation dirs for mail/sympa so we no longer
have a nasty /usr/local/sympa directory.

I'm asking for anyone to test the update as well as me -- I haven't
found any problems but if there's anything major I need to fix it
before it goes for committing!

It also removes a superfluous dependency (thanks to Igor Zabelin).

Thanks,

Chris

[1] http://www.bayofrum.net/~crees/patches/sympa-depfix.patch
___
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: GPC 2006 (Pascal) -- deprecated or expired??

2011-06-02 Thread Peter Jeremy
On 2011-Jun-01 17:23:37 -0500, Rugxulo rugx...@gmail.com wrote:
It seems somebody isn't very knowledgeable about GPC.   :-(
...
the real deal: *BSD hates GPL, esp. GPLv3,

Please stop spreading FUD.

 and I think GPC is indeed v3

Does that make you the somebody who isn't very knowledgeable about GPC?

BTW, two more corrections:  the latest version is not from 2006 but
instead 20070904.

Looking at http://www.gnu-pascal.de/gpc (which is listed as the
project homepage), the latest version shown on the downloads
page is 20060325.  Even if there was another release 20070904,
that is 3½ years ago - which seems to justify the development
has ceased statement in the removal message.

 gpc 20060325_2 lang Deleted  on this many watch lists=1 search for
ports that depend on this port
Deprecated DEPRECATED: development has ceased; use lang/fpc instead
Expired This port expired on: 2011-04-11
GNU Pascal compiler

There is no maintainer for this port.

no maintainer means no-one in the FreeBSD Community has expressed
any interest in maintaining the port.  Each port requires Project
resources just leave lying around.  Since no-one has expressed any
interest in maintaining this port and the underlying GPC project
appears to have died, there is no reason to keep it around.

If you believe there is a need for a port of GPC, you are welcome
to submit a PR to update the port to the current version and take
over the responsibility for maintaining it.

-- 
Peter Jeremy


pgp2U0tbnOj9Q.pgp
Description: PGP signature


Re: GPC 2006 (Pascal) -- deprecated or expired??

2011-06-02 Thread Rugxulo
Hi,

On Thu, Jun 2, 2011 at 7:12 PM, Peter Jeremy peterjer...@acm.org wrote:
 On 2011-Jun-01 17:23:37 -0500, Rugxulo rugx...@gmail.com wrote:
It seems somebody isn't very knowledgeable about GPC.   :-(
 ...
the real deal: *BSD hates GPL, esp. GPLv3,

 Please stop spreading FUD.

Sorry, not trying to be rude here (honestly), but it is GPLv3, which
clearly is not popular with *BSD. Please don't act like licenses don't
matter.

The whole point is, even if GPLv3 isn't your favorite, you shouldn't
throw away GPC without a suitable replacement. Sure, FPC is
semi-related (barely), but it's a whole different dialect, so the code
is NOT compatible!

In other words, if you can temporarily get GPC up to speed, you can
then compile Scott Moore's (ISO 7185) P5 with it, which is public
domain. (FPC won't compile it as-is.) That's better than just dumping
everything in favor of FPC only (incompatible), IMO.

 and I think GPC is indeed v3

 Does that make you the somebody who isn't very knowledgeable about GPC?

Eh? It's definitely GPL v3, here's what my GPC344B.ZIP (DJGPP) has:

http://www.gnu-pascal.de/contrib/maurice/djgpp/

http://www.gnu-pascal.de/contrib/maurice/gpc-20070904.pdf

37552  09-05-2007 13:29   doc/gpc/copying

Hmmm, I don't know why they don't have patches in the obvious place.
Lemme find Waldek's homepage ...

http://www.math.uni.wroc.pl/~hebisch/gpc/

http://www.math.uni.wroc.pl/~hebisch/gpc/gpc-20070904.tar.bz2

BTW, two more corrections:  the latest version is not from 2006 but
instead 20070904.

 Looking at http://www.gnu-pascal.de/gpc (which is listed as the
 project homepage), the latest version shown on the downloads
 page is 20060325.

Their webpage is definitely outdated, I don't know why. But I'm 100%
positive that 20070904 is the latest version.

 Even if there was another release 20070904,
 that is 3½ years ago - which seems to justify the development
 has ceased statement in the removal message.

Development has ceased, yes. There were only a handful of maintainers
over the years. Plus the real dealbreaker is that GCC has backend bugs
(and incompatibilities) which the GPC devs either didn't understand or
couldn't afford the time to fix. So it stagnated. Hence latest is
only unofficial patches against GCC 3.4.4 (stable) and 4.1.2 (buggy).

 gpc 20060325_2 lang Deleted  on this many watch lists=1 search for
ports that depend on this port
    Deprecated DEPRECATED: development has ceased; use lang/fpc instead
    Expired This port expired on: 2011-04-11
    GNU Pascal compiler

    There is no maintainer for this port.

 no maintainer means no-one in the FreeBSD Community has expressed
 any interest in maintaining the port.  Each port requires Project
 resources just leave lying around.  Since no-one has expressed any
 interest in maintaining this port and the underlying GPC project
 appears to have died, there is no reason to keep it around.

There can't be any big maintenance except making sure it actually
builds, esp. with newer GCCs. Other than that, I see no problems here.

No reason to keep it around is silly. Practically speaking, I know
most of you probably don't need or want Pascal, but it exists. And
suggesting FPC as an alternative is not an answer since it lacks
support for ISO 7185 (original, Wirth) or ISO 10206 (Extended). That's
the big reason to keep it around (obviously?), though I admit FPC is
much easier to build / bootstrap.

Don't take this all the wrong way, I'm trying to point you in the
right direction.

 If you believe there is a need for a port of GPC, you are welcome
 to submit a PR to update the port to the current version and take
 over the responsibility for maintaining it.

How hard can it be to rebuild GCC 3.4.4?? Seriously, it can't be that
hard for you guys. I've (rarely) even rebuilt DJGPP on Windows, and
surely it's 1000x easier on *nix!!
___
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