[lftp depency packages not auto-selected]

Andrew Schulman schulman.andrew@epamail.epa.gov
Tue Jul 21 19:55:00 GMT 2009

> Checking the lftp setup.hint, I see that it is missing a dependency
> on libstdc++6.  I can't explain the expat problem.
> Can anyone duplicate that problem?

Hm.  'cygport lftp-3.7.14-1 depends' doesn't include libstdc++6 or libexpat*,
and I was relying on that.  The problem occurs in cygport's __list_deps()
function, the key part of which is:

 find . \( -name '*.exe' -o -name '*.dll' -o -name '*.so' -o -name '*.oct' \) \
        -exec objdump -p '{}' + | grep "DLL Name:" | sort -u | \
        cut -d ' ' -f 3 | sed -e '/^[A-Z32]*\.[Dd][Ll][Ll]$/d' -e 's!mscoree.dll!mono.exe!' | \
        xargs -r which | xargs -r cygcheck -f | sort -fu | sed 's!^!  !'

Everything up through 'xargs -r which' on the last line gives:


which is correct.  But then the cygcheck -f step doesn't return all of the
containing packages.  In particular:

$ cygcheck -f \
  /usr/bin/cygstdc++-6.dll \
  /usr/bin/cygexpat-1.dll \

Not sure why.  Anyhow for lftp, I'll add the appropriate packages to
setup.hint and reupload it.


More information about the Cygwin-apps mailing list