gcc4: alternatives and symlinks
Riccardo Mottola
rmottola at opencsw.org
Tue Jun 2 15:20:20 CEST 2015
Hi,
what do alternatives do?
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>
Riccardo
More information about the maintainers
mailing list