Hi Riccardo,

Am 02.06.2015 um 15:20 schrieb Riccardo Mottola <[email protected]>:
> what do alternatives do?

This is explained here:
  http://wiki.opencsw.org/project-alternatives

> I'm rebuilding gcc 4.6 from the branch and the only serious looking problem I 
> have is this one:
> 
> CHECKPKG_OVERRIDES_CSWgcc4java += 
> file-needed-but-no-package-satisfies-it|/opt/csw/bin/grmregistry-4.6|CSWgcc4java|contains|symlink|/opt/csw/gcc4/bin/grmregistry|which|needs|the|target|file:|/opt/csw/bin/grmregistry-4.6
> 
> Which means I suppose the receipe symlinks to a non-existing file.
> 
> in the receipe I see these:
> Makefile:ALTERNATIVE_$(PKG_VERSION_TOKEN)java += $(bindir)/grmregistry 
> gcc_gjava $(bindir)/grmregistry$(PROGRAM_SUFFIX)
> Makefile:ALTERNATIVE_$(PKG_VERSION_TOKEN)java += $(bindir)/grmregistry 
> gcc_gjava $(bindir)/rebuild-gcj-db$(PROGRAM_SUFFIX)
> Makefile:JAVA_BINARIES += gkeytool gnative2ascii gorbd grmic grmid grmregistry
> 
> What are these alternatives supposed to do? Create the symlink perhaps?
> 
> I checked the gcc 4.8 branch and trunk and these lines are gone? perhaps they 
> were broken :(
> 
> Trying to look for the said file in the work dir:
> find . -name grmregistry\*
> <nothing>

This typo has been fixed in the main trunk a long time ago:
  
https://buildfarm.opencsw.org/source/diff/opencsw/csw/mgar/pkg/gcc4/trunk/Makefile?r2=%2Fopencsw%2Fcsw%2Fmgar%2Fpkg%2Fgcc4%2Ftrunk%2FMakefile%4022062&r1=%2Fopencsw%2Fcsw%2Fmgar%2Fpkg%2Fgcc4%2Ftrunk%2FMakefile%4022040

Please make sure to merge in all the changes since your branch.


Best regards

  — Dago

-- 
"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to