Re: Results of 2014 Fink buildworld run on 10.9

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Organization Snaggled Works
Message-ID <[email protected]>
On 9/20/2014 6:44 PM, Kevin Horton wrote:
>
>> On Sep 20, 2014, at 17:42 , Hanspeter Niederstrasser <[email protected]> wrote:
>>
>> Dear Fink developers:
>>
>> The recent buildworld run did not validate the .info and .deb files. I've manually run the builworld debs through the validator and the following debs came out with errors:
>>
>> Validating .deb file graphics/aquaterm-shlibs_1.1.1-2_darwin-x86_64.deb...
>> Error: Framework files not part of a specific library-version, but package does not declare BuildDependsOnly to be true (or false)
>> 	Offending file: /sw/Library/Frameworks/AquaTerm.framework/AquaTerm
>> 	Offending file: /sw/Library/Frameworks/AquaTerm.framework/Headers/
>> 	Offending file: /sw/Library/Frameworks/AquaTerm.framework/Resources/
>> 	Offending file: /sw/Library/Frameworks/AquaTerm.framework/Versions/Current/
>>
>>
>> Hanspeter
>
> I need some assistance resolving the reported validation issues with the aquaterm package.
>
> 1. Hanspeter - I don’t get the above errors when I build the package in maintainer mode, using fink 0.37.0.  What validation test are you running? In the future, I’d hope to catch these issues myself, before I release a package.
>
> 2. Reading the error message, and reviewing the Packaging Manual, it looks like I could avoid the error by adding “BuildDependsOnly: False”.  But, I don’t understand the implications of doing that, nor do I know what I should write in the DescPackaging field.  Or, is there a way to fix the root problem, rather than putting a bandage over the error?

1) I'm using a validator test that just went into git HEAD:
https://github.com/fink/fink/commit/c47d5780ba1b4d0954d1a655d6e2c6afd235e757

2) The proper fix is to move files in unversioned directories (those 
marked as offending above) to the BuildDependsOnly aquaterm-dev package. 
Bump %r to 3 or higher, and add "Replaces: aquaterm-shlibs (<= 1.1.1-2)" 
to the -dev SplitOff so that the new aquaterm-dev-1.1.1-3 package can 
overwrite the now overlapping files from the old aquaterm-shlibs_1.1.1-2 
package. You can see what I did to qt4-base-mac to fix the same error 
for comparison: 
<http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.7/stable/main/finkinfo/libs/qt4-base-mac.info?r1=1.13&r2=1.14>

Hanspeter


------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.