tech-pkg archive

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

Re: devel/dmalloc: libdmalloc.a stripped and unusable



Am 20.04.2019 um 18:17 schrieb tlaronde%polynum.com@localhost:
> Hello,
>
> The static library libdmalloc.a is stripped at install time (the index
> is generated by ranlib when building, but the installed version is
> totally stripped rending it unable to be linked).
>
> I fail to see where this "strip -s" happens.
>
> Can someone with a better knowledge of the process of pkgsrc provide any
> clue about where it happens?

Did you look in work/.wrapper.log? Since strip has a wrapper, that
wrapper should be called during the build.

If you find the command there, you can define:

TOOLS_SCRIPT.strip= \
    echo "strip is called with $$*" 1>/dev/tty; \
    read line; \
    ${TOOLS_PLATFORM.strip}

This will pause the build whenever the strip wrapper is called.

If that doesn't help, you will probably have to make /usr/bin/strip a
wrapper that logs all its calls.


Home | Main Index | Thread Index | Old Index