Re: [Fink-devel] validation question

2008-03-30 Thread David Fang
>> % pwd >> /sw/src/fink.build/root-magic74-7.4.59-1/sw/lib/magic/tcl >> % otool -L exttosim.dylib >> exttosim.dylib: >> exttosim.dylib (compatibility version 0.0.0, current version >> 0.0.0) >> >>> OTOH, that looks a lot like an upstream bug in the package too >>> (similar to what dbreise

Re: [Fink-devel] validation question

2008-03-26 Thread Peter O'Gorman
David Fang wrote: >>> The package update I'm working on: >>> http://sourceforge.net/tracker/index.php?func=detail&aid=1926383&group_id=17203&atid=414256 >>> >>> The error message: >>> Error: package contains a dylib with no corresponding Shlibs entry >>> (/sw/lib/magic/tcl/exttosim.dylib -> exttosi

Re: [Fink-devel] validation question

2008-03-26 Thread David Fang
>> So it looks like we only get a simple filename, no full path. >> What corrective action should be taken? >> I only need this to work as a private shared library for this package. > > > What I had to do to quiet the validator in a more recent related > problem was include: > install_name_tool -id

Re: [Fink-devel] validation question

2008-03-26 Thread David Reiser
On Mar 26, 2008, at 9:01 PM, David Fang wrote: >>> The package update I'm working on: >>> http://sourceforge.net/tracker/index.php?func=detail&aid=1926383&group_id=17203&atid=414256 >>> >>> The error message: >>> Error: package contains a dylib with no corresponding Shlibs entry >>> (/sw/lib/magi

Re: [Fink-devel] validation question

2008-03-26 Thread David Fang
>> The package update I'm working on: >> http://sourceforge.net/tracker/index.php?func=detail&aid=1926383&group_id=17203&atid=414256 >> >> The error message: >> Error: package contains a dylib with no corresponding Shlibs entry >> (/sw/lib/magic/tcl/exttosim.dylib -> exttosim.dylib 0.0.0) >>

Re: [Fink-devel] validation question

2008-03-26 Thread Daniel Macks
On Wed, Mar 26, 2008 at 02:21:29PM -0400, David Fang wrote: > > On Jan 13, 2008, at 8:09 PM, Daniel Johnson wrote: > > > >> It doesn't actually check if private libraries are specified. So that's > >> two > >> private-shlibs bugs. :) > > > > The whitespace bug is fixed in HEAD now, but the deb fi

Re: [Fink-devel] validation question

2008-03-26 Thread David Fang
> On Jan 13, 2008, at 8:09 PM, Daniel Johnson wrote: > >> It doesn't actually check if private libraries are specified. So that's two >> private-shlibs bugs. :) > > The whitespace bug is fixed in HEAD now, but the deb file validator is still > having problems. I think this patch might fix it: Hi

Re: [Fink-devel] validation question

2008-01-14 Thread Daniel Johnson
On Jan 13, 2008, at 8:09 PM, Daniel Johnson wrote: It doesn't actually check if private libraries are specified. So that's two private-shlibs bugs. :) The whitespace bug is fixed in HEAD now, but the deb file validator is still having problems. I think this patch might fix it: Index: per

Re: [Fink-devel] validation question

2008-01-13 Thread Daniel Johnson
On Jan 13, 2008, at 7:30 PM, Daniel Johnson wrote: On Jan 13, 2008, at 7:09 PM, Koen van der Drift wrote: On Jan 13, 2008, at 6:59 PM, Daniel Johnson wrote: But why does it work in octave which only BuildDepends on fink >= 0.27.9, instead of fink >= 0.27.99. Since now I get the following

Re: [Fink-devel] validation question

2008-01-13 Thread Daniel Johnson
On Jan 13, 2008, at 7:09 PM, Koen van der Drift wrote: On Jan 13, 2008, at 6:59 PM, Daniel Johnson wrote: But why does it work in octave which only BuildDepends on fink >= 0.27.9, instead of fink >= 0.27.99. Since now I get the following error: Error: private-library entry in Shlibs req

Re: [Fink-devel] validation question

2008-01-13 Thread Koen van der Drift
On Jan 13, 2008, at 6:59 PM, Daniel Johnson wrote: >> But why does it work in octave which only BuildDepends on fink >= >> 0.27.9, instead of fink >= 0.27.99. Since now I get the following >> error: >> >> Error: private-library entry in Shlibs requires declaring a >> BuildDepends on fink (>

Re: [Fink-devel] validation question

2008-01-13 Thread Daniel Johnson
On Jan 13, 2008, at 6:27 PM, Koen van der Drift wrote: On Jan 13, 2008, at 6:15 PM, Jean-François Mertens wrote: But as coded e.g. in octave.info it does pass validation with fink (>= 0.27.99) Just figured out that it only works when there are no trailing spaces before the exclamation

Re: [Fink-devel] validation question

2008-01-13 Thread Koen van der Drift
On Jan 13, 2008, at 6:15 PM, Jean-François Mertens wrote: > But as coded e.g. in octave.info it does pass validation with fink > (>= 0.27.99) Just figured out that it only works when there are no trailing spaces before the exclamation mark. So we should not use indentation in a multiple l

Re: [Fink-devel] validation question

2008-01-13 Thread Jean-François Mertens
On 14 Jan 2008, at 00:03, Daniel Johnson wrote: > > On Jan 13, 2008, at 5:46 PM, Jean-François Mertens wrote: > >> On 13 Jan 2008, at 19:49, Koen van der Drift wrote: >> >>> Warning: Malformed line in field "shlibs". (massxpert.info) >>> !/sw/lib/massxpert/plugins/libmassListSorterPlugin.dyli

Re: [Fink-devel] validation question

2008-01-13 Thread Daniel Johnson
On Jan 13, 2008, at 5:46 PM, Jean-François Mertens wrote: On 13 Jan 2008, at 19:49, Koen van der Drift wrote: Warning: Malformed line in field "shlibs". (massxpert.info) !/sw/lib/massxpert/plugins/libmassListSorterPlugin.dylib If I replace /sw with %p in the info file, I still get t

Re: [Fink-devel] validation question

2008-01-13 Thread Jean-François Mertens
On 13 Jan 2008, at 19:49, Koen van der Drift wrote: > Warning: Malformed line in field "shlibs". (massxpert.info) > !/sw/lib/massxpert/plugins/libmassListSorterPlugin.dylib > > > If I replace /sw with %p in the info file, I still get the same error: > > Warning: Malformed line in field "shl

[Fink-devel] validation question

2008-01-13 Thread Koen van der Drift
Hi, The infofile for the package massxpert doesn't pass validation because of: Warning: Malformed line in field "shlibs". (massxpert.info) !/sw/lib/massxpert/plugins/libmassListSorterPlugin.dylib If I replace /sw with %p in the info file, I still get the same error: Warning: Malforme

Re: [Fink-devel] validation question

2007-04-29 Thread Koen van der Drift
I can confirm Daniel's analysis: Exile:/sw/fink/dists/unstable/main/binary-darwin-powerpc/libs/ perlmods koen$ fink validate bio-emboss-pm586_4.1.0-1_darwin-powerpc.deb Validating .deb file bio-emboss-pm586_4.1.0-1_darwin-powerpc.deb... Package looks good! Can I go ahead and commit the new info

Re: [Fink-devel] validation question

2007-04-29 Thread Daniel Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Apr 28, 2007, at 5:12 PM, Benjamin Reed wrote: > David R. Morrison wrote: >> I guess you are using fink from CVS HEAD? >> >> There are some extensions to the validator which check on the >> validitiy >> of the Shlibs fields and dependencies in f

Re: [Fink-devel] validation question

2007-04-28 Thread Koen van der Drift
On Apr 28, 2007, at 4:03 PM, David R. Morrison wrote: > I guess you are using fink from CVS HEAD? Yes. - Koen. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and ta

Re: [Fink-devel] validation question

2007-04-28 Thread Benjamin Reed
David R. Morrison wrote: > I guess you are using fink from CVS HEAD? > > There are some extensions to the validator which check on the validitiy > of the Shlibs fields and dependencies in fink packages. These > extensions are still under construction, so error messages might be > misleading. >

Re: [Fink-devel] validation question

2007-04-28 Thread David R. Morrison
I guess you are using fink from CVS HEAD? There are some extensions to the validator which check on the validitiy of the Shlibs fields and dependencies in fink packages. These extensions are still under construction, so error messages might be misleading. Ben, care to comment? -- Dave

[Fink-devel] validation question

2007-04-28 Thread Koen van der Drift
Hi, I am working on an new upstream version of the package bio-emboss-pm, and I get the following validation message: ... Validating .deb dir root-bio-emboss-pm586-4.1.0-1... /usr/bin/otool: can't open file: root-bio-emboss-pm586-4.1.0-1/sw/lib/ perl5/5.8.6/darwin-thread-multi-2level/auto/Bio/

Re: [Fink-devel] validation question

2005-11-03 Thread Koen van der Drift
On Nov 3, 2005, at 2:01 PM, Martin Costabel wrote: So, can I leave it the way it is, or do I need to adjust my info file? I am not very familiar with python (packages), so apolgies if this is an too obvious question :) I think if it works with install --root=%d instead of --prefix=%i, yo

Re: [Fink-devel] validation question

2005-11-03 Thread Martin Costabel
Koen van der Drift wrote: On Nov 2, 2005, at 10:45 PM, Daniel Macks wrote: [] InstallScript: << %p/bin/python%type_raw[python] setup.py install --prefix=%i When setup.py compiles .py->.pyc, it embeds --prefix in it. Just like autotools packages make a distinction between --prefix and DESTD

Re: [Fink-devel] validation question

2005-11-03 Thread Koen van der Drift
On Nov 2, 2005, at 10:45 PM, Daniel Macks wrote: The problem is that there are things embedded in the .pyc that indicate that the file thinks it will *actually* be in %i at runtime. Try running 'strings' on the .pyc to see what paths it contains. The result is the confusing situation that an er

Re: [Fink-devel] validation question

2005-11-02 Thread Daniel Macks
On Wed, Nov 02, 2005 at 10:23:53PM -0500, Koen van der Drift wrote: > Hi, > > For my package biopython-py, I get a lot of errors like these when I > vaildate the .deb file: > > Error: Compiled python module points to fink install dir. > Offending file: /sw/lib/python2.4/site-packages/Bi

[Fink-devel] validation question

2005-11-02 Thread Koen van der Drift
Hi, For my package biopython-py, I get a lot of errors like these when I vaildate the .deb file: Error: Compiled python module points to fink install dir. Offending file: /sw/lib/python2.4/site-packages/Bio/ __init__.pyc I guess the files get installed in the wrong place. What woul