Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bzip2 (and others): libtool/toolchain wrapper bug #1

Open
onre opened this issue Feb 9, 2019 · 1 comment
Open

bzip2 (and others): libtool/toolchain wrapper bug #1

onre opened this issue Feb 9, 2019 · 1 comment

Comments

@onre
Copy link

onre commented Feb 9, 2019

When building anything that has internal library dependencies, something goes wrong and libtool fails to produce the resulting executables. For example, bzip2 needs libbz2 but some part of the process fails to find this when linking the actual bzip2 executable.

A root cause for this should be found.

How to reproduce:

  • make install in archivers/bzip2
@unxmaal
Copy link

unxmaal commented Feb 18, 2019

Unsure of root cause, but here's a workaround:

In archivers/bzip2
bmake

Edit the Makefile, such that '/.libs' is inserted just after WRKSRC:

do-install:
        ......
        ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/.libs/bzip2 ${DESTDIR}${PREFIX}/bin

Then run bmake install.

This appears to be a libtool defect, but I'm currently unsure where it generates this part of the Makefile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants