The following line in vmd 1.9.1 ebuild breaks the build for any gcc version other than 4.4: local gcc44_bindir="$(ls -d ${EPREFIX}/usr/*pc-linux-gnu/gcc-bin/4.4*)" I've fixed this in my overlay: http://git.overlays.gentoo.org/gitweb/?p=user/jtriley.git;a=blob;f=sci-chemistry/vmd/vmd-1.9.1.ebuild The fix is to use "gcc-config -B" to get the gcc bin directory rather than hard-coding gcc 4.4 in the ebuild. Reproducible: Always Steps to Reproduce: 1. Use gcc > 4.4 2. emerge -va vmd
gcc-4.4 is needed because the nvidia cuda compilers and friends only work with that version.
But newer cuda stuff should work with 4.5 as well
(In reply to comment #2) > But newer cuda stuff should work with 4.5 as well Hmm perhaps we should require certain versions of gcc/CUDA in deps then?
(In reply to comment #3) > (In reply to comment #2) > > But newer cuda stuff should work with 4.5 as well > > Hmm perhaps we should require certain versions of gcc/CUDA in deps then? BTW, I'm using gcc 4.5.3 and cuda 4.1
you are right, > 4 support gcc-4.5 http://developer.download.nvidia.com/compute/cuda/4_1/rel/toolkit/docs/CUDA_Toolkit_Release_Notes_And_Errata.txt we should depend on > cuda-toolkit-4 to have recent compilers supported and take your patch. BTW, please attach a patch of your changes.
Created attachment 303553 [details, diff] vmd-1.9.1 ebuild patch that gets proper gcc bin patch from gcc-config -B Still need to fix the deps for CUDA 4+ as mentioned by Justin Lecher.
(In reply to comment #6) > Created attachment 303553 [details, diff] [details, diff] > vmd-1.9.1 ebuild patch that gets proper gcc bin patch from gcc-config -B > > Still need to fix the deps for CUDA 4+ as mentioned by Justin Lecher. *proper gcc bin path
+*vmd-1.9.1-r1 (14 Nov 2012) + + 14 Nov 2012; Justin Lecher <jlec@gentoo.org> +vmd-1.9.1-r1.ebuild: + Fix detection of netcdf; #406737, thanks Reinis Danne preparing the patch; + Loosen dep for cuda support, #406083 +