Re: RFC: svn for make fetch

2009-11-13 Thread Eitan Adler
Actually I was thinking of eventually adding non-svn support as well

The reason I started on this project is because the version of mplayer in
ports is severely out of date. When I tried to update to port I noticed that
the project wants you to compile and install from svn. I also noticed a few
other ports that have hacks to let the maintainers "use his/her custom
scripts" stuck into the port's Makefile. I think it would be good if there
was some standardized way of solving both of these problems...

On Fri, Nov 13, 2009 at 3:10 AM, Wesley Shields  wrote:

> On Tue, Nov 10, 2009 at 10:28:17PM +0200, Eitan Adler wrote:
> > Alright - I updated the wiki page to summarize the thread so far.
> > I'd appreciate if people could comment on the "spec" part
> > specifically. I'd like to see that section become much more specific
> > (so that I could use it to unambiguously write something based off of
> > it)
> >
> > I'm holding off on writing any new implementations at the moment to
> > see where things head in terms of how things should be done.
> > http://wiki.freebsd.org/EitanAdler/ports-svn
>
> Why only SVN? I'm not trying to be picky but if we start supporting this
> for SVN it's very easy to argue we should support it for some other VCS.
> Personally I think this kind of thing is best left up to the maintainer
> to use his/her custom scripts and not stuff support for it into the
> ports infrastructure.
>
> -- WXS
>
___
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: security/gnupg installing pth-2.0.7 causing problems

2009-11-13 Thread David Southwell
> 2009/11/9 David Southwell :
> >> 2009/11/8 David Southwell :
> >
> > What puzzles me is why the gnupg maintainer is so reluctant to
> > provide alternative options to using pth when there are both system
> > libraries and libpthread-stubs-0.1 available as an alternative.
> >  Dependencuy upon libpthread-stubs-0.1 enables gnupg to function without
> > causing unnecessary problems. My understand is the pth was written for
> > those systems which do not have alternative  libraries for handling
> > threads.
> 
> My understanding is, stock gnupg dist depends on pth (even if
> described as optional).
> 
> It seems using libpthread-stubs needs to modify configure script.  Do you
>  have a patch for this?
> 
I am not experienced at creating the scripts and am not confident in that 
area. My focus is on building and testing as many ports as possible and 
reporting problems!!!

The way I tackle the gnupg problem on my running systems is when gnupg is 
built I immediately delete pth and replace gnupg's dependency. However I get 
caught out when gnupg gets upgraded on systems during a portupgrade -a run and 
other ports become comprised due to the presence of pth!! It then takes a lot 
of effort to sort out resultant difficulties. On one occasion I had to 
completely rebuild all python ports and those dependent upon it. At first it 
seemed as though the problems were due to a screwed up python installation -- 
but the problems came from pth!

I would appreciate it if someone were able to produce an appropriate patch for 
this!!

Thanks in advance
___
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"


Question about creating a port for saga gis

2009-11-13 Thread Rainer Hurling
This is my first try to create a port and I may need some help. I am 
working on porting the linux version of SAGA GIS (see 
http://www.saga-gis.org/).


Unfortunately I have problems to let the port fetch the distfile. I 
tried many ways described in the porters handbook without success.


The distfile is located at

http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.0/SAGA%202.0.4/saga_2.0.4_src_linux.tar.gz/download

I tried for example with combinations of

PORTNAME=  saga
PORTVERSION=   2.0.4
DISTNAME=  saga_2.0.4_src_linux
MASTER_SITES= 
http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.0/SAGA%202.0.4/


but the main problem seems to be the '/download' after the filename.

Fetching the file by hand works but I have no clue how to describe this 
path in the ports Makefile.


Your help is greatly appreciated,
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: Question about creating a port for saga gis

2009-11-13 Thread Sergey V. Dyatko
В Fri, 13 Nov 2009 10:48:15 +0100
Rainer Hurling  пишет:

RH> This is my first try to create a port and I may need some help. I
RH> am working on porting the linux version of SAGA GIS (see 
RH> http://www.saga-gis.org/).
RH> 
RH> Unfortunately I have problems to let the port fetch the distfile. I 
RH> tried many ways described in the porters handbook without success.
RH> 
RH> The distfile is located at
RH> 
RH> 
http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.0/SAGA%202.0.4/saga_2.0.4_src_linux.tar.gz/download
RH> 
direct link is
http://$MIRROR/project/saga-gis/SAGA%20-%202.0/SAGA%202.0.4/saga_2.0.4_src_linux.tar.gz

RH> I tried for example with combinations of
RH> 
RH> PORTNAME=  saga
RH> PORTVERSION=   2.0.4
RH> DISTNAME=  saga_2.0.4_src_linux
RH> MASTER_SITES= 
RH> http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.0/SAGA%202.0.4/

MASTER_SITES= SF/${PORTNAME}-gis/SAGA%20-%202.0/SAGA%20${PORTVERSION}

RH> but the main problem seems to be the '/download' after the filename.
RH> 
RH> Fetching the file by hand works but I have no clue how to describe
RH> this path in the ports Makefile.
RH> 
RH> Your help is greatly appreciated,
RH> Rainer Hurling



--
wbr, tiger
___
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: Question about creating a port for saga gis

2009-11-13 Thread Eygene Ryabinkin
Rainer, good day.

Fri, Nov 13, 2009 at 10:48:15AM +0100, Rainer Hurling wrote:
> Unfortunately I have problems to let the port fetch the distfile. I 
> tried many ways described in the porters handbook without success.
> 
> The distfile is located at
> 
> http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.0/SAGA%202.0.4/saga_2.0.4_src_linux.tar.gz/download

No, this is the location of the fancy page with ads that will allow one
to select mirrors and other stuff.  It will select the mirror
automatically, so you're seeing it as the download URL, but it's not so,
it is just a redirector.

> I tried for example with combinations of
> 
> PORTNAME=  saga
> PORTVERSION=   2.0.4
> DISTNAME=  saga_2.0.4_src_linux
> MASTER_SITES= 
> http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.0/SAGA%202.0.4/
> 
> but the main problem seems to be the '/download' after the filename.
> 
> Fetching the file by hand works but I have no clue how to describe this 
> path in the ports Makefile.

The following mini-Makefile does the trick for me:
-
PORTNAME=   saga
PORTVERSION=2.0.4
DISTNAME=   saga_2.0.4_src_linux
MASTER_SITES=   
SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]*$//}/SAGA%20${PORTVERSION}/

CATEGORIES= devel

.include 
-

Please, note that the "SF" word is expanded to the full list of the
SourceForge mirrors known to the FreeBSD ports subsystem, so you need
not to explicitely list any URLs -- just use "SF" for SourceForce
mirrors.

And the snippet I showed above is yet better rewritten as
-
PORTNAME=   saga
PORTVERSION=2.0.4
DISTNAME=   saga_2.0.4_src_linux
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= 
saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]*$//}/SAGA%20${PORTVERSION}

CATEGORIES= devel

.include 
-
It does the same, but has better semantics.
-- 
Eygene
 ____   _.--.   #
 \`.|\.....-'`   `-._.-'_.-'`   #  Remember that it is hard
 /  ' ` ,   __.--'  #  to read the on-line manual
 )/' _/ \   `-_,   /#  while single-stepping the kernel.
 `-'" `"\_  ,_.-;_.-\_ ',  fsc/as   #
 _.-'_./   {_.'   ; /   #-- FreeBSD Developers handbook
{_.-``-' {_/#
___
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: Question about creating a port for saga gis

2009-11-13 Thread Rainer Hurling

Eygene and Sergey,

thank you for your answers. Now I am able to fetch directly :-)

Am 13.11.2009 11:42 (UTC+1) schrieb Eygene Ryabinkin:

Rainer, good day.

Fri, Nov 13, 2009 at 10:48:15AM +0100, Rainer Hurling wrote:
Unfortunately I have problems to let the port fetch the distfile. I 
tried many ways described in the porters handbook without success.


The distfile is located at

http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.0/SAGA%202.0.4/saga_2.0.4_src_linux.tar.gz/download


No, this is the location of the fancy page with ads that will allow one
to select mirrors and other stuff.  It will select the mirror
automatically, so you're seeing it as the download URL, but it's not so,
it is just a redirector.


I knew of the redirection method (because it had been discussed on 
ports@ for some days in september) but had no clues for the right 
notation ;-)



I tried for example with combinations of

PORTNAME=  saga
PORTVERSION=   2.0.4
DISTNAME=  saga_2.0.4_src_linux
MASTER_SITES= 
http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.0/SAGA%202.0.4/


but the main problem seems to be the '/download' after the filename.

Fetching the file by hand works but I have no clue how to describe this 
path in the ports Makefile.


The following mini-Makefile does the trick for me:
-
PORTNAME=   saga
PORTVERSION=2.0.4
DISTNAME=   saga_2.0.4_src_linux
MASTER_SITES=   
SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]*$//}/SAGA%20${PORTVERSION}/

CATEGORIES= devel

.include 
-

Please, note that the "SF" word is expanded to the full list of the
SourceForge mirrors known to the FreeBSD ports subsystem, so you need
not to explicitely list any URLs -- just use "SF" for SourceForce
mirrors.

And the snippet I showed above is yet better rewritten as
-
PORTNAME=   saga
PORTVERSION=2.0.4
DISTNAME=   saga_2.0.4_src_linux
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= 
saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]*$//}/SAGA%20${PORTVERSION}


I will apply this version with SUBDIR. It shows clearer the use of a 
mirror list for me.



CATEGORIES= devel


My plans are to use math for SAGA GIS because there is no 'gis' 
category. And 'graphics' or 'database' do not suit well enough I think.



.include 
-
It does the same, but has better semantics.


Many thanks again,
Rainer
___
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: Question about creating a port for saga gis

2009-11-13 Thread Eygene Ryabinkin
Fri, Nov 13, 2009 at 11:54:08AM +0100, Rainer Hurling wrote:
> thank you for your answers. Now I am able to fetch directly :-)

You're welcome ;))

> > CATEGORIES= devel
> 
> My plans are to use math for SAGA GIS because there is no 'gis'
> category. And 'graphics' or 'database' do not suit well enough I
> think.

I used "devel" just to stuff some CATEGORIES into the test Makefile --
this variable is mandatory and bsd.port.mk will error us out if this
won't be specified.  You can use any category that suits you.  By
the way, you can specify multiple categories and, probably, "astro"
is worth considering too.  But the primary category is "math", so
you're right and the port most probably should go into math/saga.
-- 
Eygene
 ____   _.--.   #
 \`.|\.....-'`   `-._.-'_.-'`   #  Remember that it is hard
 /  ' ` ,   __.--'  #  to read the on-line manual
 )/' _/ \   `-_,   /#  while single-stepping the kernel.
 `-'" `"\_  ,_.-;_.-\_ ',  fsc/as   #
 _.-'_./   {_.'   ; /   #-- FreeBSD Developers handbook
{_.-``-' {_/#
___
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"


Is multi-session DVD writing broken for cdrtools-devel a65 and later?

2009-11-13 Thread Neil Darlow
Hi,

I've been using cdrtools-devel as part of my backup-to-DVD scheme for a
number of years. I switched from using cdrtools to cdrtools-devel due to a
problem with DMA alignment which was fixed in cdrtools-devel.

My regime consists of performing a full backup on a Sunday and differential
backups against it on subsequent days (I use dar to create the backups).

The full backup session is created with "growisofs -Z" and the differential
backup sessions with "growisofs -M". growisofs is a dvd+rw-tools program that
serves as a high-level interface to cdrtools' mkisofs.

This setup has been working fine until cdrtools-devel-2.01.01a65 where the
second and later sessions (the differential backups) started to fail with an
error to the effect that the DVD doesn't contain an ISO fs. This seems a
bogus error because the initial session has been written to the DVD correctly
and it most certainly is an ISO fs.

For now, I've been able to downgrade to cdrtools and multi-session appears to
work fine there. My concern is that cdrtools is nearing a new stable release
and this errant behaviour I've experienced could find its way into the coming
release.

Has anyone else experienced multi-session write failures with recent builds
of cdrtools-devel (a65 and later)? I would like some confirmation before I
progress any bug report towards Schilly.

Regards,
Neil Darlow

-- 
This e-mail contains an attached digital signature. Please do not remove it.


signature.asc
Description: PGP signature


Re: devel/pear1.9.0 build problems

2009-11-13 Thread freebsd
Martin wrote:
  >Date: Thu, 12 Nov 2009 22:34:20 +0100
  >From: Martin Wilke 
  >Subject: Re: devel/pear1.9.0 build problems
  >To: Agrapha 
  >Cc: freebsd-ports@freebsd.org
  >Message-ID: <20091112213420.gk98...@bsdcrew.de>
  >Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed
  >
  >-BEGIN PGP SIGNED MESSAGE-
  >Hash: SHA1
  >
  >Rebuild php5 and try again.

Rebuilt php5 as directed via the port. Everything installs fine no errors.
Next cd to devel/pear and the same crash. This system had pear-1.8.1 before
but 1.9.0 just refuses to build.

===>   Compressing manual pages for php5-5.2.11_1
===>   Registering installation for php5-5.2.11_1
===> SECURITY REPORT:
  This port has installed the following files which may act as network
  servers and may therefore pose a remote security risk to the system.
/usr/local/libexec/apache22/libphp5.so
/usr/local/bin/php
/usr/local/bin/php-cgi

  If there are vulnerabilities in these programs there may be a security
  risk to the system. FreeBSD makes no guarantee about the security of
  ports included in the Ports Collection. Please type 'make deinstall'
  to deinstall the port if this is a concern.

  For more information, and contact details about the security
  status of this software, see the following webpage:
http://www.php.net/

/usr/ports/lang/pear>cd ../../devel/pear

/usr/ports/devel/pear> make reinstall clean
===>  Installing for pear-1.9.0
===>   pear-1.9.0 depends on file: /usr/local/include/php/main/php.h - found
===>   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/pcre.so -
found
===>   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/xml.so -
found
===>   Generating temporary packing list
===>  Checking if devel/pear already installed

Bootstrapping Installer...
Using previously install ... ok

Extracting installer..
Using previously installed installer ... ok

Preparing installer..
Updating channel "doc.php.net"
Channel "doc.php.net" is up to date
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date

Installing selected packages..
Package: PEAR-stable.. already installed ... ok
Package: Structures_Graph-stable.. already installed ... ok
Package: Archive_Tar-stable... already installed ... ok
Package: Console_Getopt-stable already installed ... ok
*** Signal 11

Stop in /usr/ports/devel/pear.
*** Error code 1

Stop in /usr/ports/devel/pear.

/usr/ports/devel/pear>

Can I delete what pear has already installed? 

___
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/pear1.9.0 build problems

2009-11-13 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

free...@box201.com wrote:
> Martin wrote:
>   >Date: Thu, 12 Nov 2009 22:34:20 +0100
>   >From: Martin Wilke 
>   >Subject: Re: devel/pear1.9.0 build problems
>   >To: Agrapha 
>   >Cc: freebsd-ports@freebsd.org
>   >Message-ID: <20091112213420.gk98...@bsdcrew.de>
>   >Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed
>   >
>   >-BEGIN PGP SIGNED MESSAGE-
>   >Hash: SHA1
>   >
>   >Rebuild php5 and try again.
> 
> Rebuilt php5 as directed via the port. Everything installs fine no errors.
> Next cd to devel/pear and the same crash. This system had pear-1.8.1 before
> but 1.9.0 just refuses to build.
> 
> ===>   Compressing manual pages for php5-5.2.11_1
> ===>   Registering installation for php5-5.2.11_1
> ===> SECURITY REPORT:
>   This port has installed the following files which may act as network
>   servers and may therefore pose a remote security risk to the system.
> /usr/local/libexec/apache22/libphp5.so
> /usr/local/bin/php
> /usr/local/bin/php-cgi
> 
>   If there are vulnerabilities in these programs there may be a security
>   risk to the system. FreeBSD makes no guarantee about the security of
>   ports included in the Ports Collection. Please type 'make deinstall'
>   to deinstall the port if this is a concern.
> 
>   For more information, and contact details about the security
>   status of this software, see the following webpage:
> http://www.php.net/
> 
> /usr/ports/lang/pear>cd ../../devel/pear
> 
> /usr/ports/devel/pear> make reinstall clean
> ===>  Installing for pear-1.9.0
> ===>   pear-1.9.0 depends on file: /usr/local/include/php/main/php.h - found
> ===>   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/pcre.so -
> found
> ===>   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/xml.so -
> found
> ===>   Generating temporary packing list
> ===>  Checking if devel/pear already installed
> 
> Bootstrapping Installer...
> Using previously install ... ok
> 
> Extracting installer..
> Using previously installed installer ... ok
> 
> Preparing installer..
> Updating channel "doc.php.net"
> Channel "doc.php.net" is up to date
> Updating channel "pear.php.net"
> Channel "pear.php.net" is up to date
> Updating channel "pecl.php.net"
> Channel "pecl.php.net" is up to date
> 
> Installing selected packages..
> Package: PEAR-stable.. already installed ... ok
> Package: Structures_Graph-stable.. already installed ... ok
> Package: Archive_Tar-stable... already installed ... ok
> Package: Console_Getopt-stable already installed ... ok
> *** Signal 11
> 
> Stop in /usr/ports/devel/pear.
> *** Error code 1
> 
> Stop in /usr/ports/devel/pear.
> 
> /usr/ports/devel/pear>
> 
> Can I delete what pear has already installed? 

Hi there,

I apologize if someone already pointed this resource to you, but have
you looked at the Signal 11 FAQ page? http://bit.ly/3eTHHt

It's quite possible that you've got a hard-to-trigger hardware problem
in one of your memory chips.  It would probably help to follow some of
the recommendations in the FAQ, and do an exhaustive memory test with
memtest86+: http://bit.ly/18ql4I

Let us know what the results are, and we can troubleshoot further if
that testing doesn't reveal anything.

Best regards,
Greg
- --
Greg Larkin

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

iD8DBQFK/XVJ0sRouByUApARAjraAKDGMNKqurTG+IVOwvRecc7HayWtXQCcDBGF
WB+LJQwQ6wxK8JQtWPLSHA0=
=ImJH
-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: RFC: svn for make fetch

2009-11-13 Thread Wesley Shields
On Fri, Nov 13, 2009 at 10:00:08AM +0200, Eitan Adler wrote:
> Actually I was thinking of eventually adding non-svn support as well

I don't think bloating bsd.*.mk for the most common VCS out there is a
good idea, not to mention what happens when someone wants support for
some oddball VCS that is not normally used?

> The reason I started on this project is because the version of mplayer in
> ports is severely out of date. When I tried to update to port I noticed that
> the project wants you to compile and install from svn. I also noticed a few
> other ports that have hacks to let the maintainers "use his/her custom
> scripts" stuck into the port's Makefile. I think it would be good if there
> was some standardized way of solving both of these problems...

Sure, but it doesn't belong in bsd.*.mk. Turn it into a script and
submit it as a regular port.

-- WXS
___
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/pear1.9.0 build problems

2009-11-13 Thread Agrapha

Ok Greg,
My memory is perfect so is my hard drives. as per the website 
suggested I ran the DD clean.
What should I try next as this seems to be a specific pear problem. How 
can I deinstall what pear has already installed? are there distribution 
files I can safely remove to force the building of pear to re-download 
everything from scratch?  


/usr/ports> dd if=/dev/ad4 of=/dev/null bs=1024k count=2090655744
476940+1 records in
476940+1 records out
500107862016 bytes transferred in 7958.472257 secs (62839682 bytes/sec)

/usr/ports> cd devel/pear
/usr/ports/devel/pear> make install clean
===>  Installing for pear-1.9.0
===>   pear-1.9.0 depends on file: /usr/local/include/php/main/php.h - found
===>   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/pcre.so - 
found
===>   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/xml.so - 
found

===>   Generating temporary packing list
===>  Checking if devel/pear already installed

Bootstrapping Installer...
Using previously install ... ok

Extracting installer..
Using previously installed installer ... ok

Preparing installer..
Updating channel "doc.php.net"
Channel "doc.php.net" is up to date
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date

Installing selected packages..
Package: PEAR-stable.. already installed ... ok
Package: Structures_Graph-stable.. already installed ... ok
Package: Archive_Tar-stable... already installed ... ok
Package: Console_Getopt-stable already installed ... ok
*** Signal 11

Stop in /usr/ports/devel/pear.
/usr/ports/devel/pear>


Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

free...@box201.com wrote:
  

Martin wrote:
  >Date: Thu, 12 Nov 2009 22:34:20 +0100
  >From: Martin Wilke 
  >Subject: Re: devel/pear1.9.0 build problems
  >To: Agrapha 
  >Cc: freebsd-ports@freebsd.org
  >Message-ID: <20091112213420.gk98...@bsdcrew.de>
  >Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed
  >
  >-BEGIN PGP SIGNED MESSAGE-
  >Hash: SHA1
  >
  >Rebuild php5 and try again.

Rebuilt php5 as directed via the port. Everything installs fine no errors.
Next cd to devel/pear and the same crash. This system had pear-1.8.1 before
but 1.9.0 just refuses to build.

===>   Compressing manual pages for php5-5.2.11_1
===>   Registering installation for php5-5.2.11_1
===> SECURITY REPORT:
  This port has installed the following files which may act as network
  servers and may therefore pose a remote security risk to the system.
/usr/local/libexec/apache22/libphp5.so
/usr/local/bin/php
/usr/local/bin/php-cgi

  If there are vulnerabilities in these programs there may be a security
  risk to the system. FreeBSD makes no guarantee about the security of
  ports included in the Ports Collection. Please type 'make deinstall'
  to deinstall the port if this is a concern.

  For more information, and contact details about the security
  status of this software, see the following webpage:
http://www.php.net/

/usr/ports/lang/pear>cd ../../devel/pear

/usr/ports/devel/pear> make reinstall clean
===>  Installing for pear-1.9.0
===>   pear-1.9.0 depends on file: /usr/local/include/php/main/php.h - found
===>   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/pcre.so -
found
===>   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/xml.so -
found
===>   Generating temporary packing list
===>  Checking if devel/pear already installed

Bootstrapping Installer...
Using previously install ... ok

Extracting installer..
Using previously installed installer ... ok

Preparing installer..
Updating channel "doc.php.net"
Channel "doc.php.net" is up to date
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date

Installing selected packages..
Package: PEAR-stable.. already installed ... ok
Package: Structures_Graph-stable.. already installed ... ok
Package: Archive_Tar-stable... already installed ... ok
Package: Console_Getopt-stable already installed ... ok
*** Signal 11

Stop in /usr/ports/devel/pear.
*** Error code 1

Stop in /usr/ports/devel/pear.

/usr/ports/devel/pear>

Can I delete what pear has already installed? 



Hi there,

I apologize if someone already pointed this resource to you, but have
you looked at the Signal 11 FAQ page? http://bit.ly/3eTHHt

It's quite possible that you've got a hard-to-trigger hardware problem
in one of your memory chips.  It would probably help to follow some of
the recommendations in the FAQ, and do an exhaustive memory test with
memtest86+: http://bit.ly/18ql4I

Let us know 

Re: devel/pear1.9.0 build problems

2009-11-13 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Agrapha wrote:
> Ok Greg,
> My memory is perfect so is my hard drives. as per the website
> suggested I ran the DD clean.
> What should I try next as this seems to be a specific pear problem. How
> can I deinstall what pear has already installed? are there distribution
> files I can safely remove to force the building of pear to re-download
> everything from scratch? 
> /usr/ports> dd if=/dev/ad4 of=/dev/null bs=1024k count=2090655744
> 476940+1 records in
> 476940+1 records out
> 500107862016 bytes transferred in 7958.472257 secs (62839682 bytes/sec)
> 
> /usr/ports> cd devel/pear
> /usr/ports/devel/pear> make install clean
> ===>  Installing for pear-1.9.0
> ===>   pear-1.9.0 depends on file: /usr/local/include/php/main/php.h -
> found
> ===>   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/pcre.so -
> found
> ===>   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/xml.so -
> found
> ===>   Generating temporary packing list
> ===>  Checking if devel/pear already installed
> 
> Bootstrapping Installer...
> Using previously install ... ok
> 
> Extracting installer..
> Using previously installed installer ... ok
> 
> Preparing installer..
> Updating channel "doc.php.net"
> Channel "doc.php.net" is up to date
> Updating channel "pear.php.net"
> Channel "pear.php.net" is up to date
> Updating channel "pecl.php.net"
> Channel "pecl.php.net" is up to date
> 
> Installing selected packages..
> Package: PEAR-stable.. already installed ... ok
> Package: Structures_Graph-stable.. already installed ... ok
> Package: Archive_Tar-stable... already installed ... ok
> Package: Console_Getopt-stable already installed ... ok
> *** Signal 11
> 
> Stop in /usr/ports/devel/pear.
> /usr/ports/devel/pear>
> 

Hi there,

Can you post the output of the following commands for me?

pkg_info | grep ^php

cat /usr/local/etc/php/extensions.ini

This may help me troubleshoot the problem further.

Thank you,
Greg
- --
Greg Larkin

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

iD8DBQFK/eVk0sRouByUApARAtLiAJ47w6bOmHM5aOmhFWITOThx6NMG3ACfcJ0U
tT2LjDLwGUFurLTOcSwRnEI=
=WSGb
-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: devel/pear1.9.0 build problems

2009-11-13 Thread Brian Duke

Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
  
Hi there,

Can you post the output of the following commands for me?

pkg_info | grep ^php

cat /usr/local/etc/php/extensions.ini

This may help me troubleshoot the problem further.

Thank you,
Greg
- --
Greg Larkin

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

iD8DBQFK/eVk0sRouByUApARAtLiAJ47w6bOmHM5aOmhFWITOThx6NMG3ACfcJ0U
tT2LjDLwGUFurLTOcSwRnEI=
=WSGb
-END PGP SIGNATURE-

  


Certainly Greg,  Thank you for your help!

/usr/ports/devel/pear> pkg_info | grep ^php
php5-5.2.11_1   PHP Scripting Language
php5-bcmath-5.2.11_1 The bcmath shared extension for php
php5-bz2-5.2.11_1   The bz2 shared extension for php
php5-calendar-5.2.11_1 The calendar shared extension for php
php5-ctype-5.2.11_1 The ctype shared extension for php
php5-curl-5.2.11_1  The curl shared extension for php
php5-dom-5.2.11_1   The dom shared extension for php
php5-extensions-1.3 A "meta-port" to install PHP extensions
php5-filter-5.2.11_1 The filter shared extension for php
php5-ftp-5.2.11_1   The ftp shared extension for php
php5-gd-5.2.11_1The gd shared extension for php
php5-gettext-5.2.11_1 The gettext shared extension for php
php5-gmp-5.2.11_1   The gmp shared extension for php
php5-hash-5.2.11_1  The hash shared extension for php
php5-iconv-5.2.11_1 The iconv shared extension for php
php5-imap-5.2.11_1  The imap shared extension for php
php5-json-5.2.11_1  The json shared extension for php
php5-ldap-5.2.11_1  The ldap shared extension for php
php5-mbstring-5.2.11_1 The mbstring shared extension for php
php5-mcrypt-5.2.11_1 The mcrypt shared extension for php
php5-mysql-5.2.11_1 The mysql shared extension for php
php5-openssl-5.2.11_1 The openssl shared extension for php
php5-pcre-5.2.11_1  The pcre shared extension for php
php5-pdo-5.2.11_1   The pdo shared extension for php
php5-pdo_sqlite-5.2.11_1 The pdo_sqlite shared extension for php
php5-pgsql-5.2.11_1 The pgsql shared extension for php
php5-posix-5.2.11_1 The posix shared extension for php
php5-pspell-5.2.11_1 The pspell shared extension for php
php5-readline-5.2.11_1 The readline shared extension for php
php5-session-5.2.11_1 The session shared extension for php
php5-simplexml-5.2.11_1 The simplexml shared extension for php
php5-spl-5.2.11_1   The spl shared extension for php
php5-sqlite-5.2.11_1 The sqlite shared extension for php
php5-tokenizer-5.2.11_1 The tokenizer shared extension for php
php5-xml-5.2.11_1   The xml shared extension for php
php5-xmlreader-5.2.11_1 The xmlreader shared extension for php
php5-xmlwriter-5.2.11_1 The xmlwriter shared extension for php
php5-zip-5.2.11_1   The zip shared extension for php
php5-zlib-5.2.11_1  The zlib shared extension for php

/usr/ports/devel/pear> cat /usr/local/etc/php/extensions.ini
extension=fileinfo.so
extension=ssh2.so
extension=geoip.so
extension=mcrypt.so
extension=session.so
extension=pspell.so
extension=pdo.so
extension=simplexml.so
extension=mbstring.so
extension=ldap.so
extension=bz2.so
extension=pdo_sqlite.so
extension=ftp.so
extension=hash.so
extension=gettext.so
extension=tokenizer.so
extension=pgsql.so
extension=zlib.so
extension=calendar.so
extension=posix.so
extension=pcre.so
extension=openssl.so
extension=xmlwriter.so
extension=json.so
extension=spl.so
extension=zip.so
extension=sqlite.so
extension=imap.so
extension=gmp.so
extension=mysql.so
extension=bcmath.so
extension=ctype.so
extension=readline.so
extension=curl.so
extension=xml.so
extension=filter.so
extension=gd.so
extension=dom.so
extension=xmlreader.so
extension=iconv.so
extension=memcache.so


___
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/pear1.9.0 build problems

2009-11-13 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Brian Duke wrote:
> Greg Larkin wrote:
> pkg_info | grep ^php
> 
> cat /usr/local/etc/php/extensions.ini
> 
> This may help me troubleshoot the problem further.
> 
> Thank you,
> Greg
>>

> Certainly Greg,  Thank you for your help!

> /usr/ports/devel/pear> pkg_info | grep ^php
> php5-5.2.11_1   PHP Scripting Language
> php5-bcmath-5.2.11_1 The bcmath shared extension for php
[...]

Hi Brian,

I have used the script on this site (http://bit.ly/41TDBP) before to
re-order my extensions.ini file because of core dumps when starting up
Apache.  I ran the script against the extension.ini file that you
posted, and it changed the order slightly.

I have included the updated file here, so please give it a try and post
back here if it cures the signal 11 core dump.


extension=fileinfo.so
extension=ssh2.so
extension=geoip.so
extension=mcrypt.so
extension=session.so
extension=pdo.so
extension=simplexml.so
extension=mbstring.so
extension=ldap.so
extension=bz2.so
extension=pdo_sqlite.so
extension=ftp.so
extension=hash.so
extension=gettext.so
extension=tokenizer.so
extension=pgsql.so
extension=zlib.so
extension=calendar.so
extension=posix.so
extension=pcre.so
extension=openssl.so
extension=xmlwriter.so
extension=json.so
extension=zip.so
extension=gmp.so
extension=bcmath.so
extension=ctype.so
extension=readline.so
extension=curl.so
extension=filter.so
extension=gd.so
extension=dom.so
extension=xmlreader.so
extension=iconv.so
extension=memcache.so
extension=spl.so
extension=sqlite.so
extension=mysql.so
extension=imap.so
extension=pspell.so
extension=xml.so


Regards,
Greg
- --
Greg Larkin

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

iD8DBQFK/fbY0sRouByUApARAiR0AJ9ZaLFW4Uh4vevOqRrdnobOxTgymgCgl6RG
rKzh/C+6APPHd0KpEqnD6AA=
=9++K
-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: devel/pear1.9.0 build problems

2009-11-13 Thread Agrapha

Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
php5-bcmath-5.2.11_1 The bcmath shared extension for php
  


[...]

Hi Brian,

I have used the script on this site (http://bit.ly/41TDBP) before to
re-order my extensions.ini file because of core dumps when starting up
Apache.  I ran the script against the extension.ini file that you
posted, and it changed the order slightly.


[...]

Regards,
Greg
- --
Greg Larkin
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFK/fbY0sRouByUApARAiR0AJ9ZaLFW4Uh4vevOqRrdnobOxTgymgCgl6RG
rKzh/C+6APPHd0KpEqnD6AA=
=9++K
-END PGP SIGNATURE-
  

Perfect solution Greg,
   I too downloaded that shell script. Ran the script then went back 
and pear-1.9.0 installs perfectly. 
Thats the fix I was looking for. Two weeks without users getting mail 
now I can fire up horde again. I really appreciate the help.


Installing selected packages..
Package: PEAR-stable.. already installed ... ok
Package: Structures_Graph-stable.. already installed ... ok
Package: Archive_Tar-stable... already installed ... ok
Package: Console_Getopt-stable already installed ... ok

===>   Registering installation for pear-1.9.0

/usr/ports/devel/pear>

that a sweet ending.



___
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/pear1.9.0 build problems

2009-11-13 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Agrapha wrote:
> Greg Larkin wrote:
> [...]
> 
> Hi Brian,
> 
> I have used the script on this site (http://bit.ly/41TDBP) before to
> re-order my extensions.ini file because of core dumps when starting up
> Apache.  I ran the script against the extension.ini file that you
> posted, and it changed the order slightly.
> 
> 
> [...]
> 
> Regards,
> Greg

> Perfect solution Greg,
>I too downloaded that shell script. Ran the script then went back and
> pear-1.9.0 installs perfectly. Thats the fix I was looking for. Two
> weeks without users getting mail now I can fire up horde again. I really
> appreciate the help.

> Installing selected packages..
> Package: PEAR-stable.. already installed ... ok
> Package: Structures_Graph-stable.. already installed ... ok
> Package: Archive_Tar-stable... already installed ... ok
> Package: Console_Getopt-stable already installed ... ok

> ===>   Registering installation for pear-1.9.0

> /usr/ports/devel/pear>

> that a sweet ending.

Excellent - glad to hear it!  It's nice to have a success at the end of
a long week.

Best regards,
Greg
- --
Greg Larkin

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

iD8DBQFK/gsq0sRouByUApARAvTWAJ4z8vMqkq7xi3bN9wEV6oSu8TPJhACgoAc1
AVP4nSwm8/9vJ3UQzVbXzjg=
=CmiY
-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"


Getting MASTER_SITES for sourceforge ports more easily

2009-11-13 Thread Dmitry Marakasov
Hi!

Recently there have been at least two questions about a correct way
of defining MASTER_SITES for SourceForge-hosted projects. Here's a
way to make it a bit easier: it's a GreaseMonkey
(https://addons.mozilla.org/en-US/firefox/addon/748) script that
converts links on sourceforge pages to direct links.

http://userscripts.org/scripts/show/50136

With this, links like .../download will be changed to direct ones, which
can be copypasted to SF/...

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amd...@amdmi3.ru  ..:  jabber: amd...@jabber.ruhttp://www.amdmi3.ru
___
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: Getting MASTER_SITES for sourceforge ports more easily

2009-11-13 Thread Eygene Ryabinkin
Sat, Nov 14, 2009 at 07:04:17AM +0300, Dmitry Marakasov wrote:
> Recently there have been at least two questions about a correct way
> of defining MASTER_SITES for SourceForge-hosted projects. Here's a
> way to make it a bit easier: it's a GreaseMonkey
> (https://addons.mozilla.org/en-US/firefox/addon/748) script that
> converts links on sourceforge pages to direct links.
> 
> http://userscripts.org/scripts/show/50136
> 
> With this, links like .../download will be changed to direct ones, which
> can be copypasted to SF/...

The attached shell script should produce the MASTER_SITE_SUBDIR for the
SF-hosted ports for each URL given in the command-line.
-- 
Eygene
 ____   _.--.   #
 \`.|\.....-'`   `-._.-'_.-'`   #  Remember that it is hard
 /  ' ` ,   __.--'  #  to read the on-line manual
 )/' _/ \   `-_,   /#  while single-stepping the kernel.
 `-'" `"\_  ,_.-;_.-\_ ',  fsc/as   #
 _.-'_./   {_.'   ; /   #-- FreeBSD Developers handbook
{_.-``-' {_/#
___
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: Getting MASTER_SITES for sourceforge ports more easily

2009-11-13 Thread Eygene Ryabinkin
Sat, Nov 14, 2009 at 09:16:47AM +0300, Eygene Ryabinkin wrote:
> The attached shell script should produce the MASTER_SITE_SUBDIR for the
> SF-hosted ports for each URL given in the command-line.

Inlining the script -- it was dropped by the Mailman:
-
#!/bin/sh

while [ -n "$1" ]; do
echo "$1" | sed 
-Ee's%^htt(p|ps)://(sourceforge|sf)\.net/projects/(.*)/[^/]*/download$%MASTER_SITE_SUBDIR=
  \3%'
shift
done
-
-- 
Eygene
 ____   _.--.   #
 \`.|\.....-'`   `-._.-'_.-'`   #  Remember that it is hard
 /  ' ` ,   __.--'  #  to read the on-line manual
 )/' _/ \   `-_,   /#  while single-stepping the kernel.
 `-'" `"\_  ,_.-;_.-\_ ',  fsc/as   #
 _.-'_./   {_.'   ; /   #-- FreeBSD Developers handbook
{_.-``-' {_/#
___
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"