pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wip/py-hkdf: TEST_DEPENDS fails with "don't know how to make generate-wrappers"



On Sun, Jun 27, 2021 at 02:27:19PM -0400, Greg Troxel wrote:
> I wonder if this is just py-nose, or if it's more widespread.

apparently more widespread

devel/py-selectors2:

    # grep TEST_DEPENDS Makefile
    TEST_DEPENDS+=  ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock
    TEST_DEPENDS+=  ${PYPKGPREFIX}-psutil>=5.2.2:../../sysutils/py-psutil

    (py38-mock is installed, py38-psutils is not)
    # bmake test
    ...
    bmake[2]: don't know how to make generate-wrappers. Stop

    bmake[2]: stopped in /opt/pkgsrc/usr/pkgsrc/sysutils/py-psutil
    *** Error code 2


devel/binutils:

    # grep TEST_DEPENDS Makefile
    TEST_DEPENDS+=  dejagnu-[0-9]*:../../devel/dejagnu

    (dejagnu not installed; no distfile yet)
    # bmake test
    ...
    => Test dependency dejagnu-[0-9]*: NOT found
    => Verifying package-install for ../../devel/dejagnu
    ===> Checking for vulnerabilities in dejagnu-1.6.2
    ===> Overriding tools for dejagnu-1.6.2
    ===> Extracting for dejagnu-1.6.2
    gzip: /opt/pkgsrc/distfiles//dejagnu-1.6.2.tar.gz: No such file or directory
    tar: This does not look like a tar archive
    tar: Exiting with failure status due to previous errors
    *** Error code 2

    (dejagnu not installed; distfile downloaded)
    # bmake test
    ...
    => Test dependency dejagnu-[0-9]*: NOT found
    => Verifying package-install for ../../devel/dejagnu
    ===> Checking for vulnerabilities in dejagnu-1.6.2
    ===> Extracting for dejagnu-1.6.2
    ===> Patching for dejagnu-1.6.2
    ===> Creating toolchain wrappers for dejagnu-1.6.2
    bmake[2]: don't know how to make generate-wrappers. Stop

    bmake[2]: stopped in /opt/pkgsrc/usr/pkgsrc/devel/dejagnu
    *** Error code 2


Apparently there are some steps missing when installing a TEST_DEPENDS
package. Perhaps some bmake variables from the first package have leaked
to the TEST_DEPENDS package? Might explain the missing fetch step.


Matthias


Home | Main Index | Thread Index | Old Index