Red Hat Bugzilla – Bug 9894
some (non linux) systems have broken glob() functions which break rpm
Last modified: 2008-05-01 11:37:54 EDT
solaris 2.6 (spit) has a broken glob call which cannot detect
dangling symlinks. eg
ln -s /some/place $RPM_BUILD_ROOT/etc/cron.daily/
Solaris 2.6 has a glob which is detected by autoconf.
However in the case above it fails to expand /etc/cron.daily/*
and the build fails. [using a relative link works round the
problem since then they are normally within the package].
Although this doesn't affect RHL, and is pretty small potatoes to
rpm, having an easy means in autoconf to shut out the system
glob could be useful.
Also, if config.cache is hacked to say that <glob.h> and glob()
do not exist on the system, the build attempts to make misc/glob.o
and fails due to the #undef of half the useful defines from misc/glob.h
Ah, thanks for identifying. BTW, solaris2.6 also has trouble with
I anticipate re-adding GNU glob to rpm and always using, although
for slightly different reasons. The latest GNU glob provides private
vectors for opendir/readdir/closedir/stat/lstat that will be used to
implement transport independent remote globbing.
GNU glob has been internalized in rpm-3.0.4.