Re: [Fink-devel] possible dpkg fix

2007-02-10 Thread Robert T Wyatt
Nevermind. The solutions for the two computers were:

sudo dpkg -i --force-overwrite 
/sw/var/cache/apt/archives/coreutils-default_1%3a5.96-5_darwin-powerpc.deb

and

sudo dpkg -i --force-overwrite 
/sw/fink/dists/unstable/main/binary-darwin-powerpc/utils/coreutils-default_5.96-5_darwin-powerpc.deb

That fixed the coreutils-default problem. I still don't know how to get 
rid of the half-installed mysql-ssl though.

Thanks,
Robert

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] possible dpkg fix

2007-02-10 Thread Robert T Wyatt
Benjamin Reed wrote:
> Since this discussion resurfaced, I've updated the dpkg in our vendor
> branch to the latest version, and it appears to work OK.  If people want
> to try it out, I would appreciate it.
> 
> http://svn.finkproject.org/svn/users/ranger/trunk/experimental/3rdparty/10.4/main/finkinfo/base/

I'm using this dpkg on two machines. It did build and install successfully.

Unfortunately I've come across a problem and I'm not sure where the 
cause lies (quite likely it is user error). Let me try to describe the 
situation. I noticed that mysql.info was updated recently so I went to 
upgrade my package. That's when I realized that I somehow got non-ssl 
packages mixed in with -ssl packages. So I tried to install mysql-ssl 
along with mysql-ssl-client mysql-ssl15-dev mysql-ssl15-shlibs. At which 
point I had to remove a few dependent packages as well as 
coreutils-default because dpkg complained that mysql-ssl was trying to 
overwrite package /sw/bin/test which is also in coreutils-default. I 
also ran into other difficulties with mysql-ssl so I tried to remove all 
of these packages and reinstall coreutils-default.

Anyhow, I'm now at a point (on both computers) where mysql-ssl is not 
installed but I cannot install coreutils-default because it is trying to 
overwrite /sw/bin/test which is also in mysql-ssl (which is not installed).

I'll happily try any recommendations. --Robert

Here are a few of things I've tried:

bash-3.2$ fink list mysql-ssl; fink install coreutils-default
Information about 6829 packages read in 5 seconds.
  mysql-ssl 5.0.34-1002 Open Source SQL database
  mysql-ssl-client 5.0.34-1002 Open Source SQL database - Client
  mysql-ssl15-dev 5.0.34-1002 Open Source SQL database - Development 
headers and libraries
  mysql-ssl15-shlibs 5.0.34-1002 Open Source SQL database - Shared 
libraries
Password:
Information about 6829 packages read in 4 seconds.
The package 'coreutils-default' will be installed.
Reading dependency for coreutils-default-5.96-5...
The following package will be installed or updated:
  coreutils-default
Reading buildlock packages...
 All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i 
/sw/var/cache/apt/archives/coreutils-default_1%3a5.96-5_darwin-powerpc.deb
(Reading database ... 273297 files and directories currently installed.)
Unpacking coreutils-default (from 
.../coreutils-default_1%3a5.96-5_darwin-powerpc.deb) ...
/sw/bin/dpkg: error processing 
/sw/var/cache/apt/archives/coreutils-default_1%3a5.96-5_darwin-powerpc.deb 
(--install):
  trying to overwrite `/sw/bin/test', which is also in package mysql-ssl
Errors were encountered while processing:
  /sw/var/cache/apt/archives/coreutils-default_1%3a5.96-5_darwin-powerpc.deb
### execution of /sw/bin/dpkg-lockwait failed, exit code 1
Failed: can't install package coreutils-default-5.96-5
bash-3.2$ sudo dpkg -i --force-overwrite mysql-ssl
/sw/bin/dpkg: error processing mysql-ssl (--install):
  cannot access archive: No such file or directory
Errors were encountered while processing:
  mysql-ssl
bash-3.2$ sudo dpkg --purge mysql-ssl
(Reading database ... 479263 files and directories currently installed.)
Removing mysql-ssl ...
No matching service found for "mysql", skipping.
/sw/bin/dpkg: error processing mysql-ssl (--purge):
  subprocess pre-removal script returned error exit status 1
/sw/bin/mysql_install_db: line 1: /sw/bin/hostname: No such file or 
directory
WARNING: The host '' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing all prepared tables
070210 21:19:50 [Warning] Setting lower_case_table_names=2 because file 
system for /sw/var/mysql/ is case insensitive
Fill help tables
070210 21:19:50 [Warning] Setting lower_case_table_names=2 because file 
system for /sw/var/mysql/ is case insensitive

To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/sw/bin/mysqladmin -u root password 'new-password'
/sw/bin/mysqladmin -u root -h  password 'new-password'
See the manual for more instructions.

NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
the /sw/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!

You can start the MySQL daemon with:
cd /sw ; /sw/bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' 
directory:
cd sql-bench ; perl run-all-tests

Please report any problems with the /sw/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buyi

Re: [Fink-devel] libtool file pointing to fink build dir

2007-02-10 Thread Peter O'Gorman

On Feb 11, 2007, at 12:52 AM, Alexander Hansen wrote:

> Can somebody remind me what the fix is when a .la file points to the
> fink build directory?
>
> I'm going to start a wiki page for validation errors and their fixes.

Most of the time this is due to an upstream error, they have '-L./foo/ 
bar -lbar' in their Makefile.am where they should have './foo/bar/ 
libbar.la'. If libtool recognizes a library as being relative to the  
build directory and not an installed library, then it will not add it  
to dependency_libs.

Peter

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Do we now allow "-" in revision strings? (package validation results)

2007-02-10 Thread Max Horn

Am 10.02.2007 um 16:59 schrieb Max Horn:

> Hi folks,
>
> I felt a bit bored today and thus decided to run the validator over  
> all .info files in the 10.4 unstable tree. I got a smattering of  
> errors and warnings (see the attached file).

[...]

Oops, please substitute "smattering" with "load" in the above  
sentence (and consider this as yet another example of why cut&paste  
should be used with utmost care ;).

Bye,
Max

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] Do we now allow "-" in revision strings? (package validation results)

2007-02-10 Thread Max Horn

Hi folks,

I felt a bit bored today and thus decided to run the validator over  
all .info files in the 10.4 unstable tree. I got a smattering of  
errors and warnings (see the attached file). I already emailed some  
maintainers to ask them specifically to fix some of the issues listed  
there. But I am wondering about the following one:


Error: Package revision may only contain lowercase letters,  
numbers,'.' and '+' (emacs21-nox.info)
Error: Package revision may only contain lowercase letters,  
numbers,'.' and '+' (emacs21-xaw3d.info)
Error: Package revision may only contain lowercase letters,  
numbers,'.' and '+' (emacs21.info)
Error: Package revision may only contain lowercase letters,  
numbers,'.' and '+' (emacs22.info)
Error: Package revision may only contain lowercase letters,  
numbers,'.' and '+' (g77-3.4-20031015-2.info)



So right now, our validator doesn't allow "-" in the package  
revisions. I think this has (or at least, used to have) a good reason  
-- the dash is used as a separator and various fink commands use it  
to parse version-revision strings. This becomes ambiguous if the  
revision (or version, for that matter) contains dashes.


OTOH, as far as I can tell, we do not properly specify the allowed  
values for "Revision" (at least  doesn't).



Hence we should

1) Decide whether we want to allow "-" in revision or not; in fact,  
decide what specifically we want to allow (only numbers? the same as  
in the name field? maybe only numbers? only numbers and  
underscores?... ?)


2) Document the outcome of this decision in the packaging manual.

3) Fix affected packages, if necessary.

Any opinions on this?

Bye,
Max


validation-results.txt.bz2
Description: Binary data
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] libtool file pointing to fink build dir

2007-02-10 Thread Alexander Hansen
Can somebody remind me what the fix is when a .la file points to the
fink build directory?

I'm going to start a wiki page for validation errors and their fixes.
-- 
Alexander K. Hansen
(akh)
Fink Documenter (still)

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] PDB pages

2007-02-10 Thread Max Horn
Hi Chris, hi all,

Am 05.02.2007 um 22:40 schrieb Christian Schaffner:

[...]

> I implemented your suggestion. And I just committed the supporting  
> scripts and php packages using this new schema on the  
> 'pdb_redesign' branch.

Very good!

> There are still a couple of issues left (see new file TODO, HOWTO  
> is updated as well). But I think the general concept seems to work  
> fine. It would be great if you could look at the commits and  
> comment on the wiki or here on the mailing list.

The whole thing looks quite promising to me -- good work so far! From  
the DB layout side, it seems to be mostly there now. I am not sure  
whether you expect me to comment on a specific thing?

Personally, the next thing I'd do would be to try to cleanup the  
branch -- remove obsolete files (or, in the case of maintainer.php  
etc., replace them with redirects to browse.php). That way it's  
easier for people not yet familiar with the PDB code to help out, as  
they don't have to first figure out which files are used and which  
are old leftovers.

Some specific points (partially from the TODO):

* Could you please clarify these TODOs a bit? What exactly is to be  
done, and for what reason?
- More than one pkg in a release
- Timestamp
- auto_increment of pkg_id vs. incremental update
- check for packages that need testing
- decide what to do with 'htdocs/pdb/db.inc.php' used in header.inc

* The user interface (esp. browse.php) still needs lots of polish,  
but of course this is clear to you, and it has rightfully been  
postponed till until after the infrastructure is complete

* The other points in the TODO seem to be postponable to me. (BTW, if  
it's possible w/o any headache, I'd keep the 10.1 release in there,  
but it's of course not required).



Bye,
Max

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel