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

Perl expects xvcat #3

Open
unxmaal opened this issue Feb 10, 2019 · 2 comments
Open

Perl expects xvcat #3

unxmaal opened this issue Feb 10, 2019 · 2 comments
Assignees

Comments

@unxmaal
Copy link

unxmaal commented Feb 10, 2019

[root@blue:/usr/pkgsrc/lang/perl5] # bmake PKG_OPTIONS.perl="64bitauto"  install
=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20151004nb1
===> Checking for vulnerabilities in perl-5.28.1
=> Checksum SHA1 OK for perl-5.28.1.tar.xz
=> Checksum RMD160 OK for perl-5.28.1.tar.xz
=> Checksum SHA512 OK for perl-5.28.1.tar.xz
===> Extracting for perl-5.28.1
/usr/pkg/bin/xzcat: error: '/usr/pkg/bin/.libs/xz' does not exist
This script is just a wrapper for xz.
See the libtool documentation for more information.
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
*** Error code 1```
@unxmaal unxmaal self-assigned this Feb 10, 2019
@unxmaal
Copy link
Author

unxmaal commented Feb 10, 2019

libtool: link: gcc -std=gnu99 -D_REENTRANT -fvisibility=hidden -Wall -Wextra -Wvla -Wformat=2 -Winit-self -Wmissing-include-dirs -Wstrict-aliasing -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wlogical-op -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wredundant-decls -O2 -Wl,-R/usr/lib32 -Wl,-R/usr/pkg/lib -o .libs/xzdec xzdec-xzdec.o xzdec-tuklib_progname.o xzdec-tuklib_exit.o  ../../src/liblzma/.libs/liblzma.so -L/usr/pkgsrc/archivers/xz/work/.buildlink/lib ../../lib/libgnu.a -lpthread -lrt -Wl,-rpath -Wl,/usr/pkgsrc/archivers/xz/work/xz-5.2.4/src/liblzma/.libs -Wl,-rpath -Wl,/usr/pkg/lib
xzdec-xzdec.o: In function `main':
(.text.startup+0x6c): undefined reference to `rpl_getopt_long'
xzdec-xzdec.o: In function `main':
(.text.startup+0xcc): undefined reference to `rpl_getopt_long'
xzdec-xzdec.o: In function `main':
(.text.startup+0x134): undefined reference to `rpl_optind'
xzdec-xzdec.o: In function `main':
(.text.startup+0x1a8): undefined reference to `rpl_optind'
collect2: error: ld returned 1 exit status
*** Error code 1

Stop.
bmake[3]: stopped in /usr/pkgsrc/archivers/xz/work/xz-5.2.4/src/xzdec
*** Error code 1

Stop.
bmake[2]: stopped in /usr/pkgsrc/archivers/xz/work/xz-5.2.4/src
*** Error code 1```

@onre
Copy link

onre commented Feb 10, 2019

First one is a symptom of the libtool issue - binaries are replaced with libtool wrapper scripts because linking fails, but the build system does not notice.

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