Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306893 - sci-chemistry/vmd does not build netcdfplugin
Summary: sci-chemistry/vmd does not build netcdfplugin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-26 01:22 UTC by Kamil Kisiel
Modified: 2010-05-18 07:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for vmd-1.8.7.ebuild (vmd-1.8.7-buildnetcdf.patch,399 bytes, text/plain)
2010-03-04 23:37 UTC, Kamil Kisiel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kamil Kisiel 2010-02-26 01:22:29 UTC
The netcdf plugin is not built. I believe this is because on lines 44-46 there is a check for NETCDFLIB, NETCDFINC, and NETCDFLDFLAGS. If you set these as options to make in the plugin compilation step the plugin compiles correctly.

Reproducible: Always

Steps to Reproduce:
Comment 1 Kamil Kisiel 2010-02-26 01:23:14 UTC
(In reply to comment #0)
> The netcdf plugin is not built. I believe this is because on lines 44-46 there
> is a check for NETCDFLIB, NETCDFINC, and NETCDFLDFLAGS. If you set these as
> options to make in the plugin compilation step the plugin compiles correctly.

That's lines 44-46 of plugins/molfile_plugin/Makefile
Comment 2 Kamil Kisiel 2010-03-04 23:37:32 UTC
Created attachment 222125 [details]
Patch for vmd-1.8.7.ebuild

I managed to get it to build by patching the ebuild. Patch has been attached.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2010-05-18 07:18:19 UTC
+*vmd-1.8.7-r1 (18 May 2010)
+
+  18 May 2010; Justin Lecher <jlec@gentoo.org> +vmd-1.8.7-r1.ebuild,
+  files/vmd-1.8.7-config.patch, +files/vmd-1.8.7-gentoo.patch:
+  Fix for new python ABIs, #316187; building netcdf plugin, #306893, thanks
+  Kamil Kisiel for the patch; LDFLAGS are respected now; EAPI=3 and basic
+  fixes for prefix, usability has to be tested
+