Re: Error in Fink's netcdf-fortran7.info (4.4.0-1)

Alexander Hansen <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Organization Fink Core Team
Message-ID <[email protected]>
On 7/29/14, 4:30 AM, Remko Scharroo wrote:
> Hi Alexander,
>
> I just tried compiling and installing the new netcdf-fortran7 pack for Fink.
>
> Alas, there is an error in the package description that makes it impossible to install netcdf-fortran5.
>
> Here is the log:
>
> $ fink install netcdf-fortran7
> Information about 10098 packages read in 1 seconds.
> The following package will be installed or updated:
>   netcdf-fortran7
> Reading buildlock packages...
> /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/sci/netcdf-fortran7_4.4.0-1_darwin-x86_64.deb
> (Reading database ... 128299 files and directories currently installed.)
> Preparing to replace netcdf-fortran7 4.4.0-1 (using .../netcdf-fortran7_4.4.0-1_darwin-x86_64.deb) ...
> install-info(netcdf-f77.info): no entry for file `netcdf-f77'.
> install-info(netcdf-f90.info): no entry for file `netcdf-f90'.
> Unpacking replacement netcdf-fortran7 ...
> Setting up netcdf-fortran7 (4.4.0-1) ...
> Clearing dependency_libs of .la files being installed
> install-info(/sw/share/info/netcdf-f77.info): read < /sw/share/info/netcdf-f77.info: No such file or directory
> /sw/bin/dpkg: error processing netcdf-fortran7 (--install):
>   subprocess post-installation script returned error exit status 2
> Errors were encountered while processing:
>   netcdf-fortran7
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1
> Failed: can't install package netcdf-fortran7-4.4.0-1
>
>
> You can see that there are no netcdf-f77.info and netcdf-f90.info files (any more).
> The package does have a netcdf-f77.md file in docs ... That I guess is a doxygen file.
>

No, that's a markdown file, so that one can view the document with 
formatting on github.  Those are still reasonably readable as text 
files, fortunately.

> I actually think that doxygen (a BuildDepends for the package) actually does nothing during the building of this package. I even added --enable-doxygen to the configure step, but doxygen is still never called.
>

You're right, it does nothing.

> If you go to netcdf-fortran-4.4.0/docs/Makefile.in then you'll see that info_docs is totally commented out. Hence, .info files will never be built.
>
> Hence, I think you need to remove
> InfoDocs: netcdf-f77.info netcdf-f90.info
> from the netcdf-fortran7.info file.
>
> Thanks in advance!
> Remko
>

Revision 2 addresses that.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&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.