gnucash on amd64 6.2-stable pkg_add runs, but app fails

2007-03-01 Thread perlcat
Having no end of trouble getting gnucash going. 

Running pkg_add -r gnucash installs the app with minor dependency issues 
(fixed the major ones already)

 ran cvsup yesterday, so sources are pretty current. make buildworld and 
rebuilt kernel (to add options SMP...) ran without error 4 days ago. Linux 
compat and all other apps I've installed run great (except acpi -- it freaks 
when the sleep button is pressed...)




When I run gnucash from command line, it waits about 3 minutes before the 
splash comes up, and eventually fails with this message:

Backtrace:
In unknown file:
   ?: 0* [primitive-load-path "hbci/hbci.scm"]

: In procedure primitive-load-path in expression 
(primitive-load-path name):
: Unable to find file "hbci/hbci.scm" in load path

I'm not in the slightest interested in the home banking client interface. Is 
there a place to remark that out?




If I cd to /usr/ports/finance/gnucash and do a make install clean, that fails 
with:

configure: error: "libffi has not been ported to amd64-portbld-freebsd6.2."
configure: error: /bin/sh './configure' failed for libffi

libffi isn't ported to amd64, so you can't get there from here. I found a new 
port of it, but it doesn't seem to be recognized after I'd built and 
installed it. 




downloaded source for gnucash 2.0.5 -- it fails on configure with this 
message:

checking for popt.h... yes
checking for poptStrippedArgv in -lpopt... no
configure: error:

  popt 1.5 or newer is required to build gnucash.

I'm wondering if I need to do something about my libpath for the second two 
errors -- but it's late, I'm about to give up, and I need to wake up in an 
hour or so to go to work. Once again, I've "Just one more thing'ed" myself 
into 3:00 am, right at the point where I am doing more harm than good. Am I 
on the right track with libpath? Any pointers?

Thanks!
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


freebsd-snapshot [fsync: giving up on dirty]

2007-03-01 Thread bazzoola

After installing freebsd-snapshot

I am getting this error:

fsync: giving up on dirty
0xc23c7880: tag devfs, type VCHR
usecount 1, writecount 0, refcount 185 mountedhere 0xc2352300
flags ()
v_object 0xc1050420 ref 0 pages 15362
 lock type devfs: EXCL (count 1) by thread 0xc25ef480 (pid 15164)
dev ad0s1f


then I get this email from cron:
Subject: Cron /usr/local/sbin/periodic-snapshot hourly
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 

mount: /usr/.snap/hourly.0: Resource temporarily unavailable

P.S CC me I am not on the list
Thanks
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


python 2.4.4, 1 vs 2.4.3, 1 - zope trouble - python version downgrade

2007-03-01 Thread Le Cocq Michel
Yesterday I try to install a python module after a 'portsnap fetch
update', during the install python upgrade from version  2.4.3,1 to 2.4.4,1.

python-2.4.3,1   The "meta-port" for the stable version of Python interprete
vs
python-2.4.4,1   [...]

since these upgrade my zope (zope29-2.9.6) won't start anymore !

How can I come back to version python-2.4.3,1 ?

Michel
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Can't Get MySQL Port Up

2007-03-01 Thread Drew Jenkins
Hi;
I am about ready to give up on this port and try the source code...but I'd 
really like to work with the port! I built out mysql51-server on both my 
experimental and new production server. I thought I had them both working, but 
maybe my mind's playing tricks on me. I accidentally deleted /usr/local/include 
on my new production server (that I'm still building). I rebuilt it 
successfully by rebuilding all the ports and filling in the blanks with a 
tarball of the same dir on my experimental server, which I had built with the 
same commands. I have been getting all sorts of errors trying to run either 
"mysql" or "/usr/local/bin/mysqld_safe &", the latter giving more feedback and 
the former complaining about a socket binding problem (" Can't connect to local 
MySQL server through socket '/tmp/mysql.sock'"). However, when I went to try 
the same commands on my experimental server, much to my surprise I got the 
exact same errors! The only thing I did to that server was run a tar -cvf
 command on /usr/local/include and all that would have done is walk the 
directory and read it, so what's causing this problem? Is this port buggy? 
Below is a snip from the error log:

070301 06:58:39  mysqld started
InnoDB: Error: auto-extending data file ./ibdata1 is of a different size
InnoDB: 0 pages (rounded down to MB) than specified in the .cnf file:
InnoDB: initial 640 pages, max 0 (relevant if non-zero) pages!
InnoDB: Could not open or create data files.
InnoDB: If you tried to add new data files, and it failed here,
InnoDB: you should now edit innodb_data_file_path in my.cnf back
InnoDB: to what it was, and remove the new ibdata files InnoDB created
InnoDB: in this failed attempt. InnoDB only wrote those files full of
InnoDB: zeros, but did not yet use them in any way. But be careful: do not
InnoDB: remove old data files which contain your precious data!
^G/usr/local/libexec/mysqld: Can't find file: './mysql/general_log.frm' (errno: 
13)
070301  6:58:39 [ERROR] /usr/local/libexec/mysqld: Can't create/write to file 
'/var/db/mysql/server312.web.vi.pid' (Errcode:
13)
070301  6:58:39 [ERROR] Can't start server: can't create PID file: Permission 
denied
070301 06:58:39  mysqld ended

TIA,
Drew




 

8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Python 2.4.4 and devel/ncurses

2007-03-01 Thread Johan Grahn

On Wed, Feb 28, 2007 at 04:16:09AM +0800, Rong-En Fan wrote:

On Tue, Feb 27, 2007 at 02:46:13PM +0100, Kirill Ponomarew wrote:

On Tue, Feb 27, 2007 at 09:02:04PM +0800, Rong-En Fan wrote:
> On Tue, Feb 27, 2007 at 03:58:57PM +0800, Rong-En Fan wrote:
> For those who have problems with devel/ncurses and python (2.4 or 2.5).
> Please try this patch:
> 
> http://people.freebsd.org/~rafan/python-ncurses.diff
> 
> Apply it under /usr/ports/lang.
> 
> It forces python to pick up ncurses (and readline) in base in instead

> of LOCALBASE.

Now it compiles, thanks a lot.

-Kirill


Thanks! I just committed the fix. 

Thanks for the fast commit, works here to.

// Johan


Regards,
Rong-En Fan



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't Get MySQL Port Up

2007-03-01 Thread Jeremy Chadwick
On Thu, Mar 01, 2007 at 05:56:27AM -0800, Drew Jenkins wrote:
> Hi;
> I am about ready to give up on this port and try the source code...but I'd 
> really like to work with the port! I built out mysql51-server on both my 
> experimental and new production server. I thought I had them both working, 
> but maybe my mind's playing tricks on me. I accidentally deleted 
> /usr/local/include on my new production server (that I'm still building). I 
> rebuilt it successfully by rebuilding all the ports and filling in the blanks 
> with a tarball of the same dir on my experimental server, which I had built 
> with the same commands. I have been getting all sorts of errors trying to run 
> either "mysql" or "/usr/local/bin/mysqld_safe &", the latter giving more 
> feedback and the former complaining about a socket binding problem (" Can't 
> connect to local MySQL server through socket '/tmp/mysql.sock'"). However, 
> when I went to try the same commands on my experimental server, much to my 
> surprise I got the exact same errors! The only thing I did to that server was 
> run a tar -cvf
>  command on /usr/local/include and all that would have done is walk the 
> directory and read it, so what's causing this problem? Is this port buggy? 
> Below is a snip from the error log:

I'll be frank -- I've read this massive run-on three times now, and I
cannot make heads or tails of what you're trying to say.  All I can
make out is that when you bring up mysqld, it doesn't stay up, thus
mysql and other applications that try to talk to the MySQL server
cannot, since it's not running.

The fact that you broke /usr/local/include is probably not a good
thing either.  Have you considered doing something like pkg_info,
making a list of all the packages you have installed, doing
pkg_delete -a -f && rm -fr /var/db/ports/*, then reinstalling all of
the ports in question?

Are you _building_ MySQL or are you using the package (pre-compiled
binary package)?  What version of MySQL are you choosing to use?

> 070301 06:58:39  mysqld started
> InnoDB: Error: auto-extending data file ./ibdata1 is of a different size
> InnoDB: 0 pages (rounded down to MB) than specified in the .cnf file:
> InnoDB: initial 640 pages, max 0 (relevant if non-zero) pages!
> InnoDB: Could not open or create data files.
> InnoDB: If you tried to add new data files, and it failed here,
> InnoDB: you should now edit innodb_data_file_path in my.cnf back
> InnoDB: to what it was, and remove the new ibdata files InnoDB created
> InnoDB: in this failed attempt. InnoDB only wrote those files full of
> InnoDB: zeros, but did not yet use them in any way. But be careful: do not
> InnoDB: remove old data files which contain your precious data!

What exactly is in your my.cnf?  This looks suspicious.

> ^G/usr/local/libexec/mysqld: Can't find file: './mysql/general_log.frm' 
> (errno: 13)

There is no such table "general_log" in database "mysql" in MySQL
4.0 nor 4.1.  errno 13 is Permission denied, by the way.  So how is
this table getting loaded?

Maybe this table exists in the beta (5.0), but I choose not to use
that for obvious reasons.

> 070301  6:58:39 [ERROR] /usr/local/libexec/mysqld: Can't create/write to file 
> '/var/db/mysql/server312.web.vi.pid' (Errcode:
> 13)

This also looks indicative of a permissions problem with your
/var/db/mysql directory.  The directory should be identical in
ownership and permissions to this:

drwx--7 mysql mysql 512 26 Feb 09:46 /var/db/mysql/

Ensure that all underlying directories and files are also as such
(ownership/group; permissions don't matter so much, other than
executable on directories, obviously).

> 070301  6:58:39 [ERROR] Can't start server: can't create PID file: Permission 
> denied

Another example of a permissions problem, and this is why mysqld
won't start, thus why your applications say they can't talk to
mysql via /tmp/mysql.sock and what not.

-- 
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networkinghttp://www.parodius.com/ |
| UNIX Systems Administrator   Mountain View, CA, USA |
| Making life hard for others since 1977.   PGP: 4BD6C0CB |

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OSS sound for linux-flashplugin9

2007-03-01 Thread Michael Nottebrock
On Wednesday, 28. February 2007 23:30, Jeremy Messenger wrote:
> On Tue, 27 Feb 2007 17:33:22 -0600, Pav Lucistnik <[EMAIL PROTECTED]> wrote:
> > Lofi, can you check the attached patch, if it works for ya?
>
> I went ahead to test the 9 version for first time and I am getting a
> complain about missing dependency. It needs linux-gtk2.
>
> 
> operapluginwrapper: [plugin failed ]
> /usr/local/lib/npapi/symlinks/linux-opera/libflashplayer.so,
> libgtk-x11-2.0.so.0: cannot open shared object file: No such file or
> directory

Makes sense, I only tested with linux-firefox, which already pulls in gtk.

-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgprd3V22YaWU.pgp
Description: PGP signature


Re: Can't Get MySQL Port Up

2007-03-01 Thread Jeremy Chadwick
On Thu, Mar 01, 2007 at 07:29:26AM -0800, Jeremy Chadwick wrote:
> > ^G/usr/local/libexec/mysqld: Can't find file: './mysql/general_log.frm' 
> > (errno: 13)
> 
> There is no such table "general_log" in database "mysql" in MySQL
> 4.0 nor 4.1.  errno 13 is Permission denied, by the way.  So how is
> this table getting loaded?
> 
> Maybe this table exists in the beta (5.0), but I choose not to use
> that for obvious reasons.

Clarification: this should have read (note version numbers):

There is no such table "general_log" in database "mysql" in MySQL
4.0, 4.1, nor 5.0.  errno 13 is Permission denied, by the way.  So how
is this table getting loaded?

Maybe this table exists in the beta (5.1), but I choose not to use
that for obvious reasons.

-- 
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networkinghttp://www.parodius.com/ |
| UNIX Systems Administrator   Mountain View, CA, USA |
| Making life hard for others since 1977.   PGP: 4BD6C0CB |

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade query

2007-03-01 Thread Jim Trigg
On Thu, March 1, 2007 10:02 am, Vizion wrote:
> I have multiple lines of stale dependencies reported from pkgdb -F all of
> which relate to bsdpan-Archive-Tar-1.30 or 1.16 witha report that the
> package is held.
>
> The lines are
> Stale dependency:bsdpan-Archive-Tar-[version] -> [see NOTE below]: ->
> Ignored (the package is held; specify -f to force)
>
> How do I get out of the following loop!
> :
> I run
> # pkgdb -f
> Then try
> # portupgrade -a
> and get
> Stale dependency . manuall run 'pkgdb -F to fix or specify -O to
> force
> I run
> # pkgdb -O

You're misreading the message -- you need to run "pkgdb -F" to fix the
database or run "portupgrade -a -O" to force the portupgrade to ignore the
stale dependencies.

Jim
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portupgrade query

2007-03-01 Thread Vizion
I have multiple lines of stale dependencies reported from pkgdb -F all of which 
relate to bsdpan-Archive-Tar-1.30 or 1.16 witha report that the package is held.

The lines are
Stale dependency:bsdpan-Archive-Tar-[version] -> [see NOTE below]: -> Ignored 
(the package is held; specify -f to force)

How do I get out of the following loop!
:
I run 
# pkgdb -f
Then try 
# portupgrade -a
and get
Stale dependency . manuall run 'pkgdb -F to fix or specify -O to force
I run
# pkgdb -O
then run
# portupgrade -a
and get
Stale dependencies ..manually run 'pkgdb -F' to fix or specify -O to force
NOTE
the references are to
p5-Text-Diff-0.35 (textproc/p5-Text-Diff)
etc
p5-PathTools [ver] [port]
p5- [App] [ver] [port]
thanks in advance

david

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: python 2.4.4, 1 vs 2.4.3, 1 - zope trouble - python version downgrade

2007-03-01 Thread gnn
This needs to go to ports@ not net@

Thanks,
George


At Thu, 01 Mar 2007 12:16:09 +0100,
Le Cocq Michel wrote:
> 
> Yesterday I try to install a python module after a 'portsnap fetch
> update', during the install python upgrade from version  2.4.3,1 to 2.4.4,1.
> 
> python-2.4.3,1   The "meta-port" for the stable version of Python interprete
> vs
> python-2.4.4,1   [...]
> 
> since these upgrade my zope (zope29-2.9.6) won't start anymore !
> 
> How can I come back to version python-2.4.3,1 ?
> 
> Michel
> 
> ___
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't Get MySQL Port Up

2007-03-01 Thread Drew Jenkins
- Original Message 
From: Jeremy Chadwick <[EMAIL PROTECTED]>
To: Drew Jenkins <[EMAIL PROTECTED]>
Cc: freebsd-ports@freebsd.org
Sent: Thursday, March 1, 2007 11:29:26 AM
Subject: Re: Can't Get MySQL Port Up

>The fact that you broke /usr/local/include is probably not a good
>thing either.  

To clarify, I broke it in one server but not the other *and* the problem exists 
on *both* servers. So I don't believe it's a factor.

>Have you considered doing something like pkg_info,

That command brings up many ports that are not listed in /var/db/ports/*

>making a list of all the packages you have installed, doing
>pkg_delete -a -f && rm -fr /var/db/ports/*

Will that delete *only* the ports listed in /var/db/ports/*, or will that 
delete *all* the ports listed from pkg_info?

>then reinstalling all of the ports in question?

To be absolutely clear, you mean the ports deleted from /var/db/ports/* only, 
correct? Easy enough to do.

>Are you _building_ MySQL or are you using the package (pre-compiled
>binary package)?  What version of MySQL are you choosing to use?

I am using the port: 5.1 server.

>What exactly is in your my.cnf?  This looks suspicious.

Um...dunno. I just ran a find for "*.cnf" and up popped three files (small, 
med, large) like this:
/usr/local/share/mysql/my-small.cnf
I decided to copy this over to /etc/my.cnf. I left the defaults. I didn't edit 
it. I ran mysqld_safe again, but got the same errors.

>There is no such table "general_log" in database "mysql" in MySQL
>4.0 nor 4.1.  errno 13 is Permission denied, by the way.  So how is
>this table getting loaded?

No idea. Didn't use any beta.

> 070301  6:58:39 [ERROR] /usr/local/libexec/mysqld: Can't create/write to file 
> '/var/db/mysql/server312.web.vi.pid' (Errcode:
> 13)

This also looks indicative of a permissions problem with your
/var/db/mysql directory.  The directory should be identical in
ownership and permissions to this:

drwx--7 mysql mysql 512 26 Feb 09:46 /var/db/mysql/

Strange. I know I changed that once, but the ownership was wrong. Fixed that 
and the folder contents as well. However, the permissions read:

drwxr-xr-x

I don't imagine that matters for these purposes, but it could invite a hack. 
How do I change that? I'm used to +x or whatever, but here I need numbers, I 
guess.
Also, doing that and then running mysqld_safe gave the same error in the error 
log plus this:

^G/usr/local/libexec/mysqld: Can't find file: './mysql/general_log.frm' (errno: 
13)
070301 10:25:13 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/host.frm' (errno: 13)
070301 10:25:13 [ERROR] Fatal error: Can't open and lock privilege tables: 
Can't find file: './mysql/host.frm' (errno: 13)
070301 10:25:13  mysqld ended

So, it didn't look for a pid file (nor did it create one), and now it is 
looking for a host file.

TIA,
Drew




 

Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't Get MySQL Port Up

2007-03-01 Thread Jeremy Chadwick
On Thu, Mar 01, 2007 at 08:33:16AM -0800, Drew Jenkins wrote:
> {snip}

Drew, I've figured out what has caused the errors you're seeing.  I'll
respond later in the day, as I'm at work right now and incredibly
swamped (keep getting interrupted writing this Email to you).

-- 
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networkinghttp://www.parodius.com/ |
| UNIX Systems Administrator   Mountain View, CA, USA |
| Making life hard for others since 1977.   PGP: 4BD6C0CB |

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gnucash on amd64 6.2-stable pkg_add runs, but app fails

2007-03-01 Thread Peter Jeremy
On 2007-Mar-01 02:58:36 -0600, perlcat <[EMAIL PROTECTED]> wrote:
>When I run gnucash from command line, it waits about 3 minutes before the 
>splash comes up,

libltdl-1.5.22_2 will fix this.

>: Unable to find file "hbci/hbci.scm" in load path
>
>I'm not in the slightest interested in the home banking client interface. Is 
>there a place to remark that out?

There's a build-time configuration option (AQBANKING) that defaults to
off so I'm not sure why you are seeing that.

>If I cd to /usr/ports/finance/gnucash and do a make install clean, that fails 
>with:
>
>configure: error: "libffi has not been ported to amd64-portbld-freebsd6.2."
>configure: error: /bin/sh './configure' failed for libffi
>
>libffi isn't ported to amd64, so you can't get there from here. I found a new 
>port of it, but it doesn't seem to be recognized after I'd built and 
>installed it. 

This looks like it's fixed in g-wrap-1.9.6_1,1

>downloaded source for gnucash 2.0.5 -- it fails on configure with this 
>message:
>
>checking for popt.h... yes
>checking for poptStrippedArgv in -lpopt... no
>configure: error:
>
>  popt 1.5 or newer is required to build gnucash.

The current version is popt-1.7_2.  It was upgraded to 1.7 in 2004 so
you must have some really old ports installed.  Try upgrading popt.

-- 
Peter Jeremy


pgpeuMnZgUl56.pgp
Description: PGP signature


Re: gnucash on amd64 6.2-stable pkg_add runs, but app fails

2007-03-01 Thread Jeremy Messenger
On Thu, 01 Mar 2007 12:07:43 -0600, Peter Jeremy  
<[EMAIL PROTECTED]> wrote:



On 2007-Mar-01 02:58:36 -0600, perlcat <[EMAIL PROTECTED]> wrote:


configure: error: "libffi has not been ported to  
amd64-portbld-freebsd6.2."

configure: error: /bin/sh './configure' failed for libffi

libffi isn't ported to amd64, so you can't get there from here. I found  
a new

port of it, but it doesn't seem to be recognized after I'd built and
installed it.


This looks like it's fixed in g-wrap-1.9.6_1,1


Try here: http://people.freebsd.org/~mezz/diff/g-wrap.diff

I have no idea if the patch-configure is correct, but I do for  
CONFIGURE_TARGET in Makefile.


Cheers,
Mezz


--
[EMAIL PROTECTED]  -  [EMAIL PROTECTED]
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  [EMAIL PROTECTED]
http://wiki.freebsd.org/multimedia  -  [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade of xorg - imake not found

2007-03-01 Thread gareth
On Sat 2006-02-11 (23:24), Rob B wrote:
> I'm having all sorts of bother trying to build anything related to xorg.
> 
> Seems as though imake has it's knickers in a twist:
> 
> ===>  Applying FreeBSD patches for xorg-libraries-6.9.0
> /bin/cp 
> /usr/ports/x11/xorg-libraries/files/nls-Compose-microsoft-cp1251 
> /usr/work/usr/ports/x11/xorg-libraries/work/xc/nls/Compose/microsoft-cp1251
> /bin/mkdir -p /usr/work/usr/ports/x11/xorg-libraries/work/xc/lib/XThrStub
> /bin/cp /usr/ports/x11/xorg-libraries/files/XThrStub-Imakefile 
> /usr/work/usr/ports/x11/xorg-libraries/work/xc/lib/XThrStub/Imakefile
> ===>   xorg-libraries-6.9.0 depends on executable: imake - found
> ===>   xorg-libraries-6.9.0 depends on shared library: drm - found
> ===>   xorg-libraries-6.9.0 depends on shared library: freetype.9 - found
> ===>   xorg-libraries-6.9.0 depends on shared library: fontconfig.1 - found
> ===>  Configuring for xorg-libraries-6.9.0
> cd ./config/imake && make  -D INSTALLS_DEPENDS -f Makefile.ini 
> BOOTSTRAPCFLAGS="" CC="cc"
> rm -f ./config/makedepend/Makefile.proto
> ./config/imake/imake -I./config/cf  -s 
> ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile 
> -DTOPDIR=../.. -DCURDIR=./config/makedepend
> ./config/imake/imake: not found
> *** Error code 127
> 
> Stop in /usr/work/usr/ports/x11/xorg-libraries/work/xc.
> *** Error code 1
> 
> Stop in /usr/ports/x11/xorg-libraries.
> *** Error code 1
> 
> Anyone else seeing this?  I've tried re-updating my ports tree, I've 
> blown away the workdir ... still happens.


i've been getting similar for awhile:

===>  Installing for imake-6.9.0_1
===>   imake-6.9.0_1 depends on file: /usr/local/bin/perl5.8.8 - found
===>   Generating temporary packing list
===>  Checking if devel/imake-6 already installed
===>   imake-6.9.0_1 is already installed
  You may wish to `make deinstall'' and install this port again
  by `make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of devel/imake-6
  without deleting it first, set the variable "FORCE_PKG_REGISTER"
  in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/devel/imake-6.
*** Error code 1

Stop in /usr/ports/x11/xorg-libraries.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.63866.114 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=xorg-libraries-6.9.0 
UPGRADE_PORT_VER=6.9.0 make
** Fix the problem and try again.
--->  Skipping 'x11-servers/xorg-server' (xorg-server-6.9.0_5) because a 
requisite package 'xorg-libraries-6.9.0' (x11/xorg-libraries) failed (specify 
-k to force)

etcetc.

i've deinstalled and rebuilt imake but the same error comes up. is it
safe to set FORCE_PKG_REGISTER? would that even make a difference since
reinstalling doesn't?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade of xorg - imake not found

2007-03-01 Thread gareth
On Thu 2007-03-01 (20:27), gareth wrote:
> On Sat 2006-02-11 (23:24), Rob B wrote:
> i've deinstalled and rebuilt imake but the same error comes up. is it
> safe to set FORCE_PKG_REGISTER? would that even make a difference since
> reinstalling doesn't?

woa, sorry looks like i replied to the wrong year ..
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache13/MoinMoin/Python vs PATH? What changed?

2007-03-01 Thread Daniel Eischen

On Thu, 1 Mar 2007, Andrew Reilly wrote:


Hi Daniel,

On Wed, Feb 28, 2007 at 08:41:00AM -0500, Daniel Eischen wrote:

On Wed, 28 Feb 2007, Andrew Reilly wrote:

Funny thing happened after the last upgrade (upgraded to
6-STABLE yesterday): the moinmoin wiki that I've been
playing with stopped working.  A little fiddling found
that I could make it work again by changing the shebang
at the top of /usr/local/www/wiki/moin.cgi (ScriptAlias
points there, in httpd.conf) from #!/usr/bin/env python to
#!/usr/local/bin/python


See this thread:

  
http://groups.google.com/group/mailing.freebsd.cvs/browse_thread/thread/a0344851d94df36f/e94a3c524ff22732?lnk=st&q=&rnum=3#e94a3c524ff22732

If that link doesn't work, search groups.google.com,
"/usr/bin/env python group:*freebsd*" and see the
"cvs commit: src/etc rc.subr" thread.


Thanks for the link: it worked fine for me.

I'm a little surprised that I appear to be the first one bringing up a
problem with this change, given that it happened three months ago.
Since there was no warning in UPDATING, were all of the python ports
patched at about the same time?  (I haven't done a portupgrade all that
recently: just FreeBSD itself.)

What is the approved "fix" for this problem?  Setting a PATH that
includes /usr/local/bin in /usr/local/etc/rc.d/apache.sh?  Or the
shebang patch to the python script itself, that I have already made?


Has anyone answered this yet?  I do not know myself.

--
DE
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


OpenSSL 0.9.8e seems to cause libwww port build failure on 6.2-STABLE

2007-03-01 Thread bf
OpenSSL 0.9.8e seems to cause libwww build failure on
6.2-STABLE.  I didn't see a PR on it , so I decided to
give you a heads-up.

A partial build log output:

mkdir .libs
cc -O2 -fno-strict-aliasing -pipe -march=athlon-tbird
-Wall -o .libs/head head.o  ../src/.libs/libwwwinit.so
-L/usr/lib ../src/.libs/libwwwapp.so
../../Library/src/.libs/libwwwxml.so
../../modules/expat/xmlparse/.libs/libxmlparse.so
../../modules/expat/xmltok/.libs/libxmltok.so
../src/.libs/libwwwhtml.so
../src/.libs/libwwwtelnet.so
../src/.libs/libwwwnews.so ../src/.libs/libwwwhttp.so
../src/.libs/libwwwmime.so
../src/.libs/libwwwgopher.so ../src/.libs/libwwwftp.so
../src/.libs/libwwwdir.so ../src/.libs/libwwwcache.so
../src/.libs/libwwwstream.so
../src/.libs/libwwwfile.so ../src/.libs/libwwwmux.so
../src/.libs/libwwwtrans.so ../src/.libs/libwwwcore.so
../src/.libs/libwwwutils.so
../../Library/src/SSL/.libs/libwwwssl.so -lm
../../Library/src/.libs/libwwwzip.so
../../modules/md5/.libs/libmd5.so -lz -lssl -lcrypto
-Wl,--rpath -Wl,/usr/local/lib
../src/.libs/libwwwcore.so: warning: warning: tmpnam()
possibly used unsafely; consider using mkstemp()
../src/.libs/libwwwcore.so: warning: warning:
tempnam() possibly used unsafely; consider using
mkstemp()
../../Library/src/SSL/.libs/libwwwssl.so: undefined
reference to `SSL_CTX_set_info_callback'
gmake[3]: *** [head] Error 1
gmake[3]: Leaving directory
`/usr/tmp/usr/ports/www/libwww/work/w3c-libwww-5.4.0/Library/Examples'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/tmp/usr/ports/www/libwww/work/w3c-libwww-5.4.0/Library'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/tmp/usr/ports/www/libwww/work/w3c-libwww-5.4.0'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/www/libwww.



 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't Get MySQL Port Up

2007-03-01 Thread Jeremy Chadwick
On Thu, Mar 01, 2007 at 08:33:16AM -0800, Drew Jenkins wrote:
> >Have you considered doing something like pkg_info,
> 
> That command brings up many ports that are not listed in /var/db/ports/*

pkg_info will show you all ports and packages you have installed.  These
are usually installed in /usr/local.

/var/db/ports is for storing options (WITH_xxx) for each individual
port.  Sometimes when ports are updated, new OPTIONS are added, and the
logic of old ones changed.

> >making a list of all the packages you have installed, doing
> >pkg_delete -a -f && rm -fr /var/db/ports/*
> 
> Will that delete *only* the ports listed in /var/db/ports/*, or will that 
> delete *all* the ports listed from pkg_info?

pkg_delete -a -f will delete all installed ports on your system.  That
means, /usr/local will essentially be empty (minus any tweaks to
configuration files you changed there, yadda yadda).  pkg_delete -a -f
should be used with caution.

The reason I recommended it, is that you nuked /usr/local/include, which
I'm sure some of your ports installed data in (MySQL being one of them,
e.g. /usr/local/include/mysql).  Depending upon how you "restored
/usr/local", you may have gotten permissions wrong.

Removing /var/db/ports/* will just remove all the options you had set
for ports during build/compile.

> >then reinstalling all of the ports in question?
> 
> To be absolutely clear, you mean the ports deleted from /var/db/ports/* only, 
> correct? Easy enough to do.

See above.  pkg_delete actually "removes ports", while rm'ing content in
/var/db/ports/* just removes options you've picked when building a port.

Based on all of your questions, you should read the Ports section of the
FreeBSD Handbook.  It's apparent (and that's OK!) that you're not
familiar with FreeBSD Ports, and this may be your first time dealing
with them.  :-)

> >Are you _building_ MySQL or are you using the package (pre-compiled
> >binary package)?  What version of MySQL are you choosing to use?
> 
> I am using the port: 5.1 server.

Which is beta software.  Be aware of this fact.  :-)  www.mysql.com
discusses the differences between alpha, beta, and stable releases.

> >What exactly is in your my.cnf?  This looks suspicious.
> 
> Um...dunno. I just ran a find for "*.cnf" and up popped three files (small, 
> med, large) like this:
> /usr/local/share/mysql/my-small.cnf
> I decided to copy this over to /etc/my.cnf. I left the defaults. I didn't 
> edit it. I ran mysqld_safe again, but got the same errors.

The port installs /usr/local/share/mysql and all files as root:wheel.
my.cnf needs to be readable by the MySQL server, which runs as user
mysql group mysql.

So chown mysql:mysql /etc/my.cnf && chmod 600 /etc/my.cnf.

> >There is no such table "general_log" in database "mysql" in MySQL
> >4.0 nor 4.1.  errno 13 is Permission denied, by the way.  So how is
> >this table getting loaded?
> 
> No idea. Didn't use any beta.

You're using 5.1, which is beta.  That's fine, just be aware of the fact
that things will break and odd behaviour may occur.

> > 070301  6:58:39 [ERROR] /usr/local/libexec/mysqld: Can't create/write to 
> > file '/var/db/mysql/server312.web.vi.pid' (Errcode:
> > 13)
> >
> > This also looks indicative of a permissions problem with your
> > /var/db/mysql directory.  The directory should be identical in
> > ownership and permissions to this:
> >
> > drwx--7 mysql mysql 512 26 Feb 09:46 /var/db/mysql/
> 
> Strange. I know I changed that once, but the ownership was wrong. Fixed that 
> and the folder contents as well. However, the permissions read:
> 
> drwxr-xr-x
> 
> I don't imagine that matters for these purposes, but it could invite a hack. 
> How do I change that? I'm used to +x or whatever, but here I need numbers, I 
> guess.

The fact the ownership was wrong is what was causing your pidfile not to
be created, which was ultimately causing your server not to start.

As for directory permissions, chmod 700 /var/db/mysql will do the trick.
Perhaps man chmod is in order?  :-)

> Also, doing that and then running mysqld_safe gave the same error in the 
> error log plus this:
> 
> ^G/usr/local/libexec/mysqld: Can't find file: './mysql/general_log.frm' 
> (errno: 13)
> 070301 10:25:13 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
> './mysql/host.frm' (errno: 13)
> 070301 10:25:13 [ERROR] Fatal error: Can't open and lock privilege tables: 
> Can't find file: './mysql/host.frm' (errno: 13)
> 070301 10:25:13  mysqld ended
> 
> So, it didn't look for a pid file (nor did it create one), and now it is 
> looking for a host file.

Ahhh, now I can see what's happened here...

You're missing a ton of necessary tables in /var/db/mysql/mysql, which
are all required for MySQL to run.  Authentication tables, host access
tables, etc..

The MySQL startup script /usr/local/etc/rc.d/mysql-server is supposed to
create all of these tables for you if the /var/db/mysql/mysql directory
does not exist (otherwise if it does, it assum

Re: Apache22 build fails on 6.2PRERELEASE? / libtool 1.5 fails to build

2007-03-01 Thread Karl Denninger
The gnats report I filed on the port was closed about 12 hours later; it is
now apparently fixed.

--
-- 
Karl Denninger ([EMAIL PROTECTED]) Internet Consultant & Kids Rights Activist
http://www.denninger.netMy home on the net - links to everything I do!
http://scubaforum.org   Your UNCENSORED place to talk about DIVING!
http://genesis3.blogspot.comMusings Of A Sentient Mind

On Wed, Feb 28, 2007 at 08:43:32AM -0500, Etienne Robillard wrote:
> 
> Hello Karl,
> 
> The devel/libtool15 port seems broken here.
> As a work-around, I suggest you try compiling
> the libtool-1.5.23b package.  
> 
> Maybe it would be a great idea to send a bug-report
> to the maintainer of this port?
> 
> HTH,
> Etienne
> 
> ftp://alpha.gnu.org/gnu/libtool/libtool-1.5.23b.tar.gz
> 
> --- Karl Denninger <[EMAIL PROTECTED]> wrote:
> 
> > Trying to upgrade my apache to 2.2 from the ports
> > collection.
> > 
> > Attempting to build it insists that I upgrade
> > libtool to >= 1.4.  There is
> > no 1.4 in the ports tree, but there is a 1.5.
> > 
> > Trying to build THAT returns:
> > 
> > checking for sys/dl.h... no
> > checking dld.h usability... no
> > checking dld.h presence... no
> > checking for dld.h... no
> > checking mach-o/dyld.h usability... no
> > checking mach-o/dyld.h presence... no
> > checking for mach-o/dyld.h... no
> > checking for string.h... (cached) yes
> > checking for strchr... yes
> > checking for strrchr... yes
> > checking for memcpy... yes
> > checking for memmove... yes
> > checking for strcmp... yes
> > checking for closedir... yes
> > checking for opendir... yes
> > checking for readdir... yes
> > configure: creating ./config.status
> > config.status: creating Makefile
> > config.status: creating config.h
> > config.status: executing depfiles commands
> > ===>  Building for libtool-1.5.22_3
> > Making all in .
> > CONFIG_FILES=libtoolize CONFIG_HEADERS= /bin/sh
> > ./config.status
> > config.status: creating libtoolize
> > config.status: executing depfiles commands
> > chmod +x libtoolize
> > Making all in libltdl
> > cd . && /bin/sh
> >
> /usr/ports/devel/libtool15/work/libtool-1.5.22/libltdl/missing
> > --run aclocal-1.9a 
> > aclocal-1.9a: not found
> > WARNING: `aclocal-1.9a' is missing on your system. 
> > You should only need it if
> >  you modified `acinclude.m4' or
> > `configure.ac'.  You might want
> >  to install the `Automake' and `Perl'
> > packages.  Grab them from
> >  any GNU archive site.
> > cd . && /bin/sh
> >
> /usr/ports/devel/libtool15/work/libtool-1.5.22/libltdl/missing
> > --run autoheader
> > /usr/local/bin/gm4: configure.in: No such file or
> > directory
> > rm -f stamp-h1
> > touch ./config-h.in
> > cd . && /bin/sh
> >
> /usr/ports/devel/libtool15/work/libtool-1.5.22/libltdl/missing
> > --run autoconf
> > autoconf: configure.in: No such file or directory
> > *** Error code 1
> > 
> > Stop in
> >
> /usr/ports/devel/libtool15/work/libtool-1.5.22/libltdl.
> > *** Error code 1
> > 
> > Stop in
> > /usr/ports/devel/libtool15/work/libtool-1.5.22.
> > *** Error code 1
> > 
> > Stop in /usr/ports/devel/libtool15.
> > 
> > FreeBSD 6.2-PRERELEASE #2: Thu Oct  5 16:31:49 CDT
> > 2006
> > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KSD-SMP 
> > 
> > Both Automake and Perl are present on the system.
> > 
> > --
> > -- 
> > Karl Denninger ([EMAIL PROTECTED]) Internet
> > Consultant & Kids Rights Activist
> > http://www.denninger.netMy home on the net - links
> > to everything I do!
> > http://scubaforum.org   Your UNCENSORED place to talk
> > about DIVING!
> > http://genesis3.blogspot.comMusings Of A Sentient
> > Mind
> > 
> > 
> > %SPAMBLOCK-SYS: Matched [EMAIL PROTECTED], message ok
> > ___
> > freebsd-ports@freebsd.org mailing list
> >
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
> > 
> 
> 
> 
> Etienne Robillard
> 7680 de jouvence, La Plaine
> J7M-2K9, Qu?bec
> Telephone: 450-478-5026
> Yahoo Messenger ID: granted14
> Skype ID: incidah
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> ___
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 
> %SPAMBLOCK-SYS: Matched [EMAIL PROTECTED], message ok
> 


%SPAMBLOCK-SYS: Matched [EMAIL PROTECTED], message ok
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


net-mgmt/flowscan and amd64

2007-03-01 Thread Michael W. Lucas

Hi,

ports@ is listed as the maintainer of this port, so here I am with my
pissant little problem.

Out-of-the-box, flowscan reads files is cflowd format.  Sensibly
enough, flowscan is set to require net-mgmt/cflowd.

With a little tweaking, flowscan reads files in flow-tools format.
(I'm not sure how to best automate this, although I have a good handle
on the manual process.)

Installing cflowd on i386 is not a problem, even if it's not necessary
for us flow-tools users.  But the flowscan port breaks on amd64
because cflowd is broken on amd64.  Cflowd requires an old gcc that
doesn't support amd64, so I believe this won't be fixed any time soon.

Being a lazy bastard, I just edit the Makefile to remove the cflowd
dependency line.  I'd be happy to prepare a proper patch, if I knew
what the correct path was.  I see the following options:

a) remove the cflowd requirement entirely, cflowd is basically
historical software used by people even more greybeard than myself.

b) require cflowd only on i386 -- as it's gcc2-based, I suspect this
is most realistic, although without a powerpc or arm box to test I
can't be sure.

c) the converse, unless arch==amd64 add a dependency for cflowd

Which is best?  Or is there another best way?

I'm happy to make and test a patch for any of a, b, or c and send-pr
it, as ports@ deems is best practice.

==ml

-- 
Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED]
http://www.BlackHelicopters.org/~mwlucas/
Latest book: PGP & GPG -- http://www.pgpandgpg.com
"The cloak of anonymity protects me from the nuisance of caring." -Non Sequitur
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't Get MySQL Port Up

2007-03-01 Thread Drew Jenkins
- Original Message 
From: Jeremy Chadwick <[EMAIL PROTECTED]>
To: Drew Jenkins <[EMAIL PROTECTED]>
Cc: freebsd-ports@freebsd.org
Sent: Thursday, March 1, 2007 4:53:45 PM
Subject: Re: Can't Get MySQL Port Up

First up, thank you very much for your detailed analysis and comments. 
Concerning rebuilding the ports, I don't believe this is necessary because I 
have the exact same problems on my home server, and I never deleted the 
/usr/local/include dir on my home server.

>So chown mysql:mysql /etc/my.cnf && chmod 600 /etc/my.cnf.

Okay, I did that.


>You're missing a ton of necessary tables in /var/db/mysql/mysql, which
>are all required for MySQL to run.  Authentication tables, host access
>tables, etc..
>
>The MySQL startup script /usr/local/etc/rc.d/mysql-server is supposed to
>create all of these tables for you if the /var/db/mysql/mysql directory
>does not exist (otherwise if it does, it assumes all the necessary
>tables exist).  The script that creates all the necessary tables is
>/usr/local/bin/mysql_install_db and it comes from the MySQL guys.  The
>script is also supposed to fix permissions on /var/db/mysql and friends
>-- so the fact that your mysql directory was not fixed up means this
>script didn't run at all, or bailed out for some reason.

No, I have a ton of files in said dir.

>Before you installed the port, did you have an existing /var/db/mysql
>directory?  

No. This is (was) a clean build.

>If not, then I'm stumped.  

Don't be. You led me to realize the ownership of /var/db/mysql/mysql was wrong 
:0 Changed it, cracked it up, and away she went!
Thanks!
Drew






 

8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade O(n^m)?

2007-03-01 Thread Coleman Kane

On 2/28/07, Sean Bryant <[EMAIL PROTECTED]> wrote:


[EMAIL PROTECTED] wrote:
> On Thu, 15 Feb 2007, Michel Talon wrote:
>
>>> Give me a few weeks, and if I can band together with a few people I
>>> wanted to try and port sections of portupgrade and its related tools
to
>>> C++ (and maybe do some code tweaks along the way). Most of the ruby
>>> files are over 400 lines long, sparsely commented, and I don't know
ruby
>>> enough to port right now, but I've been making some headway lately so
>>> I'll try porting some stuff soon.
>>
>> I think that porting portupgrade to C++ would be time spent in vain. In
>> my opinion, some of the basic ideas of portupgrade are deeply flawed,
>> and as much as one polishes the algorithms it will not gain much. The
>> idea of keeping state in databases is deeply flawed, it is constantly
>> broken, and doesn't help in speed at all. This was one of the
>> motivations of portmaster, get rid of database dependencies. In my
>> opinion, upgrading progressiveley, that is, port by port, is deeply
>> flawed. There is 90% chance that something will go wrong in the middle
>> and you will be stuck with an half upgraded system.
>>
>> So in my opinion, what is needed is thinking radically new about the
>> problem, write a prototype in a scripting language to experiment with
>> the solutions, and then code it in C++. Personnally i have done that, i
>> have written a python script, which can be found here:
>> http://www.lpthe.jussieu.fr/~talon/pkgupgrade
>> (it needs the companion
>> http://www.lpthe.jussieu.fr/~talon/save_pkg.py).
>> For the time being, i still have bugs, that i am working on, but at
>> least these bugs show that the problem is vastly more complicated that
>> one can imagine at first.
>>
>> Why python? because it is much more readable than perl or ruby, and
much
>> more performant than ruby. In may opinion ruby is vastly hyperhyped, it
>> is much closer to rubish than anything else.
>> What ideas? Don't use any database, database connector, do everything
>> in memory, recompute needed information on the fly. It works very well,
>> one can count on something of the order of 1mn to 2mn to perform the
>> necessary analysis for 700 ports. Second, download as much precompiled
>> packages as possible, at full speed, that is with the same connection
to
>> the ftp server. This works very well, if you have a good internet
>> connection, in 15 mn to 20 mn you have your packages.
>>
>> Why packages?
>> because packages don't break when compiling. Compiling from source is
>> asking for problems. If you minimise the number of compilations you
>> minimise the risk of breakage. Moreover simultaneously with downloading
>> one can backup old packages, and so, gain time. By contrast, for every
>> packages, portupgrade first does dependency analysis that could be done
>> once, then does backup, then fetches the binary package or compiles,
>> then installs it, then discards backup. Al this is terrible loss of
>> time.
>>
>> Finally my script produces a shell script able to do the upgrade. So
you
>> can look in written form to *exactly* what will be removed, what will
be
>> installed by binary packages, and what will be compiled. All necessary
>> packages for installation are already present on the machine. There is
>> absolutely no element of surprise, you can evaluate the risk soundly.
>> These are the ideas i have explored.
>>
>> Now, performance wise, when you run the shell script it takes around 2
>> hours. This is entirely time spent by pkg_delete ( roughly 15 mn) and
>> pkg_add (roughly 1h45mn) for around 500 ports replaced. This is very
>> long, sure, but it can be optimized only by working on pkg_delete and
>> pkg_add. No amount of work on portupgrade or a replacement will help in
>> any way.
>>
>> As for the remaining bugs i have, they are entirely due to the crappy
>> complexity that FreeBSD port developers introduce by constantly
>> modifying the origins of the ports. So for a given program, i can have
3
>> different origins, one when the port was previously installed on the
>> machine, another one when the last RELEASE was produced, and the last
>> one if i compile now the port on the machine with the present state of
>> the ports tree. These 3 origins may be different, i have examples.
>> These morons are *constantly* modifying the names, as an exercice in
>> bikeshed painting. For example pan -> pan2 -> pan, etc. Cycles don't
>> worry them at all!
>> Of course, for a given software, you may have all combinations, such as
>> inexistant or existant at the time the machine was installed, at the
>> time of the release, or at present.
>>
>> Compare that to the situation for Debian apt-get. The names are
>> conserved. They have strict rules about package naming, they stick to
>> them and don't change them arbitrarily. All packages exist in compiled
>> form, you don't have to worry about prepackaged or "to be compiled, so
>> has 50% chance to break". You have only 2 states to consider 

[Fwd: Clamav and Amavisd]

2007-03-01 Thread Carlos Fernando Assis Paniago

Hi: I was running clamav and amavisd with postfix... With the recent
change in clamav (0.90), I was receiving this error:
Mar  1 19:08:55 norma amavisd[75399]: Virus scanner failure:
/usr/local/bin/clamscan (error code: 40)

Looking this error I find out:

in amavisd I find the following line: (363 in /usr/local/sbin/amavisd)

chop($output = `$clamscan --stdout -r -w --one-virus $TEMPDIR/parts`);

And trying to use the clamscan with this options I find that:
"-w --one-virus" is deprecated.

What is the solution? (for now I changed the amavisd stuff), but is this
the correct solution? SOmeone is finding this error (in this case the
clamscan is not working).

Carlos Paniago


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

[Fwd: Clamav and Amavisd]

2007-03-01 Thread Carlos Fernando Assis Paniago

Hi: I was running clamav and amavisd with postfix... With the recent
change in clamav (0.90), I was receiving this error:
Mar  1 19:08:55 norma amavisd[75399]: Virus scanner failure:
/usr/local/bin/clamscan (error code: 40)

Looking this error I find out:

in amavisd I find the following line: (363 in /usr/local/sbin/amavisd)

chop($output = `$clamscan --stdout -r -w --one-virus $TEMPDIR/parts`);

And trying to use the clamscan with this options I find that:
"-w --one-virus" is deprecated.

What is the solution? (for now I changed the amavisd stuff), but is this
the correct solution? Is someone finding this error (in this case the
clamscan is not working) also?

The other solution is to come back this options in clamav.


Carlos Paniago


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: portupgrade O(n^m)?

2007-03-01 Thread youshi10

On Thu, 1 Mar 2007, Coleman Kane wrote:


On 2/28/07, Sean Bryant <[EMAIL PROTECTED]> wrote:


[EMAIL PROTECTED] wrote:
> On Thu, 15 Feb 2007, Michel Talon wrote:
>
>>> Give me a few weeks, and if I can band together with a few people I
>>> wanted to try and port sections of portupgrade and its related tools
to
>>> C++ (and maybe do some code tweaks along the way). Most of the ruby
>>> files are over 400 lines long, sparsely commented, and I don't know
ruby
>>> enough to port right now, but I've been making some headway lately so
>>> I'll try porting some stuff soon.
>>
>> I think that porting portupgrade to C++ would be time spent in vain. In
>> my opinion, some of the basic ideas of portupgrade are deeply flawed,
>> and as much as one polishes the algorithms it will not gain much. The
>> idea of keeping state in databases is deeply flawed, it is constantly
>> broken, and doesn't help in speed at all. This was one of the
>> motivations of portmaster, get rid of database dependencies. In my
>> opinion, upgrading progressiveley, that is, port by port, is deeply
>> flawed. There is 90% chance that something will go wrong in the middle
>> and you will be stuck with an half upgraded system.
>>
>> So in my opinion, what is needed is thinking radically new about the
>> problem, write a prototype in a scripting language to experiment with
>> the solutions, and then code it in C++. Personnally i have done that, i
>> have written a python script, which can be found here:
>> http://www.lpthe.jussieu.fr/~talon/pkgupgrade
>> (it needs the companion
>> http://www.lpthe.jussieu.fr/~talon/save_pkg.py).
>> For the time being, i still have bugs, that i am working on, but at
>> least these bugs show that the problem is vastly more complicated that
>> one can imagine at first.
>>
>> Why python? because it is much more readable than perl or ruby, and
much
>> more performant than ruby. In may opinion ruby is vastly hyperhyped, it
>> is much closer to rubish than anything else.
>> What ideas? Don't use any database, database connector, do everything
>> in memory, recompute needed information on the fly. It works very well,
>> one can count on something of the order of 1mn to 2mn to perform the
>> necessary analysis for 700 ports. Second, download as much precompiled
>> packages as possible, at full speed, that is with the same connection
to
>> the ftp server. This works very well, if you have a good internet
>> connection, in 15 mn to 20 mn you have your packages.
>>
>> Why packages?
>> because packages don't break when compiling. Compiling from source is
>> asking for problems. If you minimise the number of compilations you
>> minimise the risk of breakage. Moreover simultaneously with downloading
>> one can backup old packages, and so, gain time. By contrast, for every
>> packages, portupgrade first does dependency analysis that could be done
>> once, then does backup, then fetches the binary package or compiles,
>> then installs it, then discards backup. Al this is terrible loss of
>> time.
>>
>> Finally my script produces a shell script able to do the upgrade. So
you
>> can look in written form to *exactly* what will be removed, what will
be
>> installed by binary packages, and what will be compiled. All necessary
>> packages for installation are already present on the machine. There is
>> absolutely no element of surprise, you can evaluate the risk soundly.
>> These are the ideas i have explored.
>>
>> Now, performance wise, when you run the shell script it takes around 2
>> hours. This is entirely time spent by pkg_delete ( roughly 15 mn) and
>> pkg_add (roughly 1h45mn) for around 500 ports replaced. This is very
>> long, sure, but it can be optimized only by working on pkg_delete and
>> pkg_add. No amount of work on portupgrade or a replacement will help in
>> any way.
>>
>> As for the remaining bugs i have, they are entirely due to the crappy
>> complexity that FreeBSD port developers introduce by constantly
>> modifying the origins of the ports. So for a given program, i can have
3
>> different origins, one when the port was previously installed on the
>> machine, another one when the last RELEASE was produced, and the last
>> one if i compile now the port on the machine with the present state of
>> the ports tree. These 3 origins may be different, i have examples.
>> These morons are *constantly* modifying the names, as an exercice in
>> bikeshed painting. For example pan -> pan2 -> pan, etc. Cycles don't
>> worry them at all!
>> Of course, for a given software, you may have all combinations, such as
>> inexistant or existant at the time the machine was installed, at the
>> time of the release, or at present.
>>
>> Compare that to the situation for Debian apt-get. The names are
>> conserved. They have strict rules about package naming, they stick to
>> them and don't change them arbitrarily. All packages exist in compiled
>> form, you don't have to worry about prepackaged or "to be compiled, so
>> has 50% chance to b

Re: openoffice 2 (RC, devel) broken

2007-03-01 Thread Oliver Lehmann
Maho NAKATA wrote:

> gcc version 4.1.2 20070108 (prerelease)

this was probably the version I got a working version too. I'm now running

[EMAIL PROTECTED] olivleh1> gcc41 -v
Using built-in specs.
Target: x86_64-portbld-freebsd6.2
Configured with: ./..//gcc-4.1-20070205/configure --disable-nls 
--with-system-zlib --with-libiconv-prefix=/usr/local --program-suffix=41 
--libdir=/usr/local/lib/gcc-4.1.2 
--with-gxx-include-dir=/usr/local/lib/gcc-4.1.2/include/c++/ 
--infodir=/usr/local/info/gcc41 --disable-libgcj --prefix=/usr/local 
x86_64-portbld-freebsd6.2
Thread model: posix
gcc version 4.1.2 20070205 (prerelease)


-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ClamAv 0.90_3

2007-03-01 Thread Jack Raats
ClamAv 0.90_3 now compiles on FreeBSD 4.11-STABLE without any problem!

Perfect.  I would like to thank the maintainer!

Jack
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Fwd: Clamav and Amavisd]

2007-03-01 Thread Gabor Kovesdan

Carlos Fernando Assis Paniago schrieb:

Hi: I was running clamav and amavisd with postfix... With the recent
change in clamav (0.90), I was receiving this error:
Mar  1 19:08:55 norma amavisd[75399]: Virus scanner failure:
/usr/local/bin/clamscan (error code: 40)

Looking this error I find out:

in amavisd I find the following line: (363 in /usr/local/sbin/amavisd)

chop($output = `$clamscan --stdout -r -w --one-virus 
$TEMPDIR/parts`);


And trying to use the clamscan with this options I find that:
"-w --one-virus" is deprecated.

What is the solution? (for now I changed the amavisd stuff), but is this
the correct solution? Is someone finding this error (in this case the
clamscan is not working) also?

The other solution is to come back this options in clamav.


Carlos Paniago 

Hello,

thanks for pointing this issue out. I think the best solution is to 
contact the developer of amavisd-new and ask him to check it. I put him 
to the CC list. Mark, could you take a look, please?


Thanks in advance,
Gabor
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade query

2007-03-01 Thread Sergey Matveychuk
Vizion wrote:
> I have multiple lines of stale dependencies reported from pkgdb -F all of 
> which relate to bsdpan-Archive-Tar-1.30 or 1.16 witha report that the package 
> is held.
> 
> The lines are
> Stale dependency:bsdpan-Archive-Tar-[version] -> [see NOTE below]: -> Ignored 
> (the package is held; specify -f to force)
> 

bsdpan-* are not real ports. They can't be processed as real ports. So
they should be ignored (hold). Install them from ports or ignore the
messages.

-- 
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"