Subject: Hidden(?) dependancy between devel/gmake and converters/libiconv
To: None <>
From: Lars Nordlund <>
List: tech-pkg
Date: 05/08/2005 23:20:55

I am trying to understand how there can be a dependancy between gmake
and libiconv and why it is _not_ showing up in the DEPENDS /
BUILD_DEPENDS variables.

Consider this:

===> lars@lagavulin:/usr/pkgsrc/devel/gmake %make show-depends-dirs

===> lars@lagavulin:/usr/pkgsrc/devel/gmake %make 
===> do-fetch [gmake-3.80nb4] ===> *** No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> do-fetch [gmake-3.80nb4] ===> *** skipping vulnerability checks. To fix, install
===> do-fetch [gmake-3.80nb4] ===> *** the pkgsrc/security/audit-packages package and run
===> do-fetch [gmake-3.80nb4] ===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> Checksum SHA1 OK for make-3.80.tar.gz.
=> Checksum RMD160 OK for make-3.80.tar.gz.
===> extract-message [gmake-3.80nb4] ===> Extracting for gmake-3.80nb4
The following variables will affect the build process of this package,
gmake-3.80nb4.  Their current value is shown below:

        * GMAKE_LOCALE = yes
        * GNU_PROGRAM_PREFIX = g

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
===> install-depends [gmake-3.80nb4] ===> Required package libiconv>=1.9.1nb4: NOT found
===> install-depends [gmake-3.80nb4] ===> Verifying reinstall for ../../converters/libiconv

Huh? show-depends-dirs gave the empty list, but it started installing
libiconv anyway. The only link to from gmake to libiconv I can find is
through the included gettext-lib/ file. A bit strange since
gettext-lib will never be installed. Most likely the reason for pulling
in libiconv, but there is still a problem. Doing a 'make clean-depends'
will _not_ clean libiconv.

Best regards,
	Lars Nordlund