Created
August 18, 2020 17:02
-
-
Save Necktwi/896df26281da60f05fa89201082af626 to your computer and use it in GitHub Desktop.
emerge perl on gentoo-prefix fails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo ebuild /var/db/repos/gentoo/dev-lang/perl/perl-5.30.3.ebuild merge | |
* perl-5.30.3.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] | |
* perl-5.30.0-patches-1.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] | |
* perl-cross-1.3.2.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] | |
>>> Unpacking source... | |
>>> Unpacking perl-5.30.3.tar.xz to /var/tmp/portage/dev-lang/perl-5.30.3/work | |
>>> Unpacking perl-5.30.0-patches-1.tar.xz to /var/tmp/portage/dev-lang/perl-5.30.3/work | |
>>> Unpacking perl-cross-1.3.2.tar.gz to /var/tmp/portage/dev-lang/perl-5.30.3/work | |
>>> Source unpacked in /var/tmp/portage/dev-lang/perl-5.30.3/work | |
>>> Preparing source in /var/tmp/portage/dev-lang/perl-5.30.3/work/perl-5.30.3 ... | |
* Applying patches from perl-5.30.0-patches-1 ... | |
* gentoo/hints_hpux.diff ... [ ok ] | |
* gentoo/aix_soname.diff ... [ ok ] | |
* gentoo/EUMM-RUNPATH.diff ... [ ok ] | |
* gentoo/config_over.diff ... [ ok ] | |
* gentoo/opensolaris_headers.diff ... [ ok ] | |
* gentoo/patchlevel.diff ... [ ok ] | |
* gentoo/cleanup-paths.diff ... [ ok ] | |
* gentoo/enc2xs.diff ... [ ok ] | |
* gentoo/darwin-cc-ld.diff ... [ ok ] | |
* gentoo/cpan_definstalldirs.diff ... [ ok ] | |
* gentoo/interix.diff ... [ ok ] | |
* gentoo/create_libperl_soname.diff ... [ ok ] | |
* gentoo/mod_paths.diff ... [ ok ] | |
* gentoo/EUMM_perllocalpod.diff ... [ ok ] | |
* gentoo/drop_fstack_protector.diff ... [ ok ] | |
* gentoo/usr_local.diff ... [ ok ] | |
* gentoo/D-SHA-CFLAGS.diff ... [ ok ] | |
* gentoo/io_socket_ip_tests.diff ... [ ok ] | |
* gentoo/tests.diff ... [ ok ] | |
* gentoo/no-nsl-cl.patch ... [ ok ] | |
* gentoo/no_porting_tests.diff ... [ ok ] | |
* gentoo/pathtools_enoent.diff ... [ ok ] | |
* debian/cpan-missing-site-dirs.diff ... [ ok ] | |
* debian/makemaker-pasthru.diff ... [ ok ] | |
* fixes/memoize_storable_nstore.diff ... [ ok ] | |
* fixes/podman-pipe.diff ... [ ok ] | |
* fixes/respect_umask.diff ... [ ok ] | |
* fixes/net_smtp_docs.diff ... [ ok ] | |
* fixes/document_makemaker_ccflags.diff ... [ ok ] | |
* fixes/parallel-manisort.patch ... [ ok ] | |
>>> Source prepared. | |
>>> Configuring source in /var/tmp/portage/dev-lang/perl-5.30.3/work/perl-5.30.3 ... | |
* This version of perl may partially support modules previously | |
* installed in any of the following paths: | |
* /usr/lib/perl5/vendor_perl/5.30.0/aarch64-linux | |
* /usr/lib/perl5/vendor_perl/5.30.0 | |
* This is a temporary measure and you should aim to cleanup these paths | |
* via world updates and perl-cleaner | |
First let's make sure your kit is complete. Checking... | |
Locating common programs... | |
Checking compatibility between /bin/echo and builtin echo (if any)... | |
Symbolic links are supported. | |
Checking how to test for symbolic links... | |
You can test for symbolic links with 'test -h'. | |
Checking for cross-compile | |
No targethost for running compiler tests against defined, running locally | |
Good, your tr supports [:lower:] and [:upper:] to convert case. | |
Using [:upper:] and [:lower:] to convert case. | |
aix dragonfly irix_5 nonstopux sunos_4_0 | |
aix_3 dynix irix_6 openbsd sunos_4_1 | |
aix_4 dynixptx irix_6_0 opus super-ux | |
altos486 epix irix_6_1 os2 svr4 | |
amigaos esix4 isc os390 svr5 | |
atheos fps isc_2 os400 ti1500 | |
aux_3 freebsd linux-android posix-bc ultrix_4 | |
bitrig freemint linux qnx umips | |
bsdos gnu lynxos riscos unicos | |
catamount gnukfreebsd midnightbsd sco unicosmk | |
convexos gnuknetbsd minix sco_2_3_0 unisysdynix | |
cxux greenhills mips sco_2_3_1 utekv | |
cygwin haiku mirbsd sco_2_3_2 uwin | |
darwin hpux mpc sco_2_3_3 vos | |
dcosx i386 ncr_tower sco_2_3_4 | |
dec_osf interix netbsd solaris_2 | |
dos_djgpp irix_4 newsos4 stellar | |
Which of these apply, if any? [linux-android] | |
./hints/linux-android.sh: line 277: getprop: command not found | |
* Unable to trace static ELF: /usr/bin/ldd: ldd --version | |
./hints/linux.sh: line 247: 28631 Segmentation fault ${sh:-/bin/sh} -c exit | |
*********************** Warning! ********************* | |
It would appear you have a defective bash shell installed. This is likely to | |
give you a failure of op/exec test #5 during the test phase of the build, | |
Upgrading to a recent version (1.14.4 or later) should fix the problem. | |
****************************************************** | |
Operating system name? [linux-android] | |
Operating system version? [none] | |
Installation prefix to use? (~name ok) [/usr] | |
AFS does not seem to be running... | |
What installation prefix should I use for installing files? (~name ok) | |
[/usr] | |
Getting the current patchlevel... | |
Build a threading Perl? [n] | |
Build Perl for multiplicity? [n] | |
Use which C compiler? [aarch64-unknown-linux-musl-gcc] | |
Checking for GNU cc in disguise and/or its version number... | |
Now, how can we feed standard input to your C preprocessor... | |
Directories to use for library searches? [/usr/lib /usr/lib/../lib64 /lib] | |
What is the file extension used for shared libraries? [so] | |
Make shared library basenames unique? [n] | |
Hmm. Based on the hints in hints/linux-android.sh, | |
the recommended value for $d_libname_unique on this machine was "define"! | |
Keep the recommended value? [y] | |
Build Perl for SOCKS? [n] | |
Try to use long doubles if available? [n] | |
Checking for optional libraries... | |
What libraries to use? [-lgdbm -ldl -lm -lcrypt -lutil -lc] | |
What optimizer/debugger flag should be used? | |
[-O2 -O2 -mcpu=cortex-a55 -pipe] | |
Any additional cc flags? [-D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe] | |
Let me guess what the preprocessor flags are... | |
Any additional ld flags (NOT including libraries)? [-Wl,-O1 -Wl,--as-needed] | |
Checking your choice of C compiler and flags for coherency... | |
Checking to see how big your integers are... | |
Checking to see if you have long long... | |
Checking to see how big your long longs are... | |
Computing filename position in cpp output for #include directives... | |
<inttypes.h> found. | |
Checking to see if you have int64_t... | |
Checking which 64-bit integer type we could use... | |
We could use 'long' for 64-bit integers. | |
Try to use maximal 64-bit support, if available? [y] | |
Checking if your C library has broken 64-bit functions... | |
Checking for GNU C Library... | |
Shall I use /usr/bin/nm to extract C symbols from the libraries? [n] | |
Checking for C++... | |
Checking to see how big your double precision numbers are... | |
Checking to see if you have long double... | |
ldexpl() found. | |
Checking to see how big your long doubles are... | |
Checking the kind of long doubles you have... | |
You have IEEE 754 128-bit little endian long doubles. | |
What is your architecture name [aarch64-linux] | |
Add the Perl API version to your archname? [n] | |
This architecture is naturally 64-bit, not changing architecture name. | |
Pathname where the public executables will reside? (~name ok) [/usr/bin] | |
Use relocatable @INC? [y] | |
Pathname where the private library files will reside? (~name ok) | |
[/usr/lib/perl5/5.30.3] | |
Where do you want to put the public architecture-dependent libraries? (~name ok) | |
[/usr/lib/perl5/5.30.3/aarch64-linux] | |
Other username to test security of setuid scripts with? [none] | |
Well, the recommended value is *not* secure. | |
Does your kernel have *secure* setuid scripts? [n] | |
Installation prefix to use for add-on modules and utilities? (~name ok) | |
[/usr/local] | |
Pathname for the site-specific library files? (~name ok) | |
[/usr/local/lib/perl5/5.30.3] | |
List of earlier versions to include in @INC? [5.30.0/aarch64-linux 5.30.0 ] | |
<malloc/malloc.h> NOT found. | |
<malloc.h> found. | |
Checking to see how big your pointers are... | |
Do you wish to wrap malloc calls to protect against potential overflows? [y] | |
Do you wish to attempt to use the malloc that comes with perl5? [n] | |
Your system wants malloc to return 'void *', it would seem. | |
Your system uses void free(), it would seem. | |
Pathname for the site-specific architecture-dependent library files? (~name ok) | |
[/usr/local/lib/perl5/5.30.3/aarch64-linux] | |
Do you want to configure vendor-specific add-on directories? [y] | |
Installation prefix to use for vendor-supplied add-ons? (~name ok) [/usr] | |
Pathname for the vendor-supplied library files? (~name ok) | |
[/usr/lib/perl5/vendor_perl/5.30.3] | |
Pathname for vendor-supplied architecture-dependent files? (~name ok) | |
[/usr/lib/perl5/vendor_perl/5.30.3/aarch64-linux] | |
Colon-separated list of additional directories for perl to search? [none] | |
Support DTrace if available? [n] | |
Install any extra modules (y or n)? [n] | |
Directory for the main Perl5 html pages? (~name ok) [none] | |
Directory for the Perl5 module html pages? (~name ok) [none] | |
dlopen() found. | |
<unistd.h> found. | |
Do you wish to use dynamic loading? [y] | |
Source file to use for dynamic loading [ext/DynaLoader/dl_dlopen.xs] | |
Any special flags to pass to aarch64-unknown-linux-musl-gcc -c to compile shared library modules? | |
[-fPIC] | |
What command should be used to create dynamic libraries? | |
[aarch64-unknown-linux-musl-gcc] | |
Any special flags to pass to aarch64-unknown-linux-musl-gcc to create a dynamically loaded library? | |
[-shared -O2 -O2 -mcpu=cortex-a55 -pipe] | |
Any special flags to pass to aarch64-unknown-linux-musl-gcc to use dynamic linking? | |
[-Wl,-E] | |
ld supports scripting | |
Build a shared libperl.so (y/n) [y] | |
Cannot build with both -Duserelocatableinc and -Duseshrplib | |
See INSTALL for an explanation why that won't work. | |
* ERROR: dev-lang/perl-5.30.3::gentoo failed (configure phase): | |
* Unable to configure | |
* | |
* Call stack: | |
* ebuild.sh, line 125: Called src_configure | |
* environment, line 2609: Called die | |
* The specific snippet of code: | |
* sh Configure -des -Dinstallprefix="${EPREFIX}"'/usr' -Dinstallusrbinperl='n' "${myconf[@]}" || die "Unable to configure"; | |
* | |
* If you need support, post the output of `emerge --info '=dev-lang/perl-5.30.3::gentoo'`, | |
* the complete build log and the output of `emerge -pqv '=dev-lang/perl-5.30.3::gentoo'`. | |
* The complete build log is located at '/var/tmp/portage/dev-lang/perl-5.30.3/temp/build.log'. | |
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/perl-5.30.3/temp/environment'. | |
* Working directory: '/var/tmp/portage/dev-lang/perl-5.30.3/work/perl-5.30.3' | |
* S: '/var/tmp/portage/dev-lang/perl-5.30.3/work/perl-5.30.3' | |
* Messages for package dev-lang/perl-5.30.3: | |
* ERROR: dev-lang/perl-5.30.3::gentoo failed (configure phase): | |
* Unable to configure | |
* | |
* Call stack: | |
* ebuild.sh, line 125: Called src_configure | |
* environment, line 2609: Called die | |
* The specific snippet of code: | |
* sh Configure -des -Dinstallprefix="${EPREFIX}"'/usr' -Dinstallusrbinperl='n' "${myconf[@]}" || die "Unable to configure"; | |
* | |
* If you need support, post the output of `emerge --info '=dev-lang/perl-5.30.3::gentoo'`, | |
* the complete build log and the output of `emerge -pqv '=dev-lang/perl-5.30.3::gentoo'`. | |
* The complete build log is located at '/var/tmp/portage/dev-lang/perl-5.30.3/temp/build.log'. | |
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/perl-5.30.3/temp/environment'. | |
* Working directory: '/var/tmp/portage/dev-lang/perl-5.30.3/work/perl-5.30.3' | |
* S: '/var/tmp/portage/dev-lang/perl-5.30.3/work/perl-5.30.3' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment