Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Cannot emerge kernel sources
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Scriptod
n00b
n00b


Joined: 05 Sep 2019
Posts: 24

PostPosted: Fri Dec 13, 2019 2:00 pm    Post subject: [SOLVED] Cannot emerge kernel sources Reply with quote

Hi, guys, it's me again, installing gentoo with musl and libressl this time, described the issue in the title. Here's the output of "emerge sys-kernel/gentoo-sources"

Code:
(chroot) livecd / # emerge sys-kernel/gentoo-sources

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 4) dev-libs/elfutils-0.177::gentoo
 * Fetching files in the background.
 * To view fetch progress, run in another terminal:
 * tail -f /var/log/emerge-fetch.log
 * elfutils-0.177.tar.bz2 BLAKE2B SHA512 size ;-) ...                            [ ok ]
>>> Unpacking source...
>>> Unpacking elfutils-0.177.tar.bz2 to /var/tmp/portage/dev-libs/elfutils-0.177/work
>>> Source unpacked in /var/tmp/portage/dev-libs/elfutils-0.177/work
>>> Preparing source in /var/tmp/portage/dev-libs/elfutils-0.177/work/elfutils-0.177 ...
 * Applying elfutils-0.118-PaX-support.patch ...                                 [ ok ]
 * Applying elfutils-0.175-disable-biarch-test-PR24158.patch ...                 [ ok ]
 * Applying elfutils-0.177-disable-large.patch ...                               [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/elfutils-0.177/work/elfutils-0.177 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
 * econf: updating elfutils-0.177/config/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating elfutils-0.177/config/config.sub with /usr/share/gnuconfig/config.sub
/var/tmp/portage/dev-libs/elfutils-0.177/work/elfutils-0.177/configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/elfutils-0.177 --htmldir=/usr/share/doc/elfutils-0.177/html --libdir=/usr/lib --enable-nls --disable-thread-safety --program-prefix=eu- --with-zlib --with-bzlib --without-lzma
checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-gentoo-linux-musl
checking host system type... x86_64-gentoo-linux-musl
checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes
checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed
checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of x86_64-gentoo-linux-musl-gcc... none
checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for x86_64-gentoo-linux-musl-ar... x86_64-gentoo-linux-musl-ar
checking the archiver (x86_64-gentoo-linux-musl-ar) interface... ar
checking for x86_64-gentoo-linux-musl-readelf... x86_64-gentoo-linux-musl-readelf
checking for x86_64-gentoo-linux-musl-nm... x86_64-gentoo-linux-musl-nm
checking for gcc with GNU99 support... yes
checking whether gcc supports __attribute__((visibility()))... yes
checking whether gcc supports __attribute__((gcc_struct))... yes
checking whether gcc supports -fPIC... yes
checking whether gcc supports -fPIE... yes
checking whether gcc supports -Wl,-z,defs... yes
checking whether gcc supports -Wl,-z,relro... yes
checking for __thread support... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether fts.h is bad when included (with LFS)... yes
checking whether to add -D_FORTIFY_SOURCE=2 to CFLAGS... yes
checking for library containing gzdirect... -lz
checking for library containing BZ2_bzdopen... -lbz2
checking whether memrchr is declared... yes
checking whether rawmemchr is declared... no
checking whether powerof2 is declared... yes
checking whether mempcpy is declared... yes
checking for process_vm_readv... yes
checking for __cxa_demangle in -lstdc++... yes
checking whether symbol versioning is supported... yes
checking whether gcc accepts -Wstack-usage... yes
checking whether gcc has a sane -Wlogical-op... yes
checking whether gcc accepts -Wduplicated-cond... yes
checking whether gcc accepts -Wnull-dereference... yes
checking whether gcc accepts -Wimplicit-fallthrough... yes
configure: WARNING: "libc does not have argp"
checking for argp_parse in -largp... no
configure: error: "no libargp found"

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/elfutils-0.177/work/elfutils-0.177-abi_x86_64.amd64/config.log
 * ERROR: dev-libs/elfutils-0.177::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  125:  Called src_configure
 *             environment, line 1964:  Called multilib-minimal_src_configure
 *             environment, line 1309:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 1536:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1239:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1237:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  402:  Called multilib-minimal_abi_src_configure
 *             environment, line 1303:  Called multilib_src_configure
 *             environment, line 1756:  Called econf '--enable-nls' '--disable-thread-safety' '--program-prefix=eu-' '--with-zlib' '--with-bzlib' '--without-lzma'
 *        phase-helpers.sh, line  681:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=dev-libs/elfutils-0.177::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/elfutils-0.177::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/elfutils-0.177/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/elfutils-0.177/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/elfutils-0.177/work/elfutils-0.177-abi_x86_64.amd64'
 * S: '/var/tmp/portage/dev-libs/elfutils-0.177/work/elfutils-0.177'

>>> Failed to emerge dev-libs/elfutils-0.177, Log file:

>>>  '/var/tmp/portage/dev-libs/elfutils-0.177/temp/build.log'

 * Messages for package dev-libs/elfutils-0.177:

 * ERROR: dev-libs/elfutils-0.177::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  125:  Called src_configure
 *             environment, line 1964:  Called multilib-minimal_src_configure
 *             environment, line 1309:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 1536:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1239:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1237:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  402:  Called multilib-minimal_abi_src_configure
 *             environment, line 1303:  Called multilib_src_configure
 *             environment, line 1756:  Called econf '--enable-nls' '--disable-thread-safety' '--program-prefix=eu-' '--with-zlib' '--with-bzlib' '--without-lzma'
 *        phase-helpers.sh, line  681:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=dev-libs/elfutils-0.177::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/elfutils-0.177::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/elfutils-0.177/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/elfutils-0.177/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/elfutils-0.177/work/elfutils-0.177-abi_x86_64.amd64'
 * S: '/var/tmp/portage/dev-libs/elfutils-0.177/work/elfutils-0.177'
(chroot) livecd / #


Last edited by Scriptod on Sun Dec 22, 2019 7:59 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24022
Location: here

PostPosted: Fri Dec 13, 2019 2:06 pm    Post subject: Reply with quote

I think you should add musl overlay, in this overlay there are patches for elfutils (see https://cgit.gentoo.org/proj/musl.git/tree/dev-libs/elfutils)
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Scriptod
n00b
n00b


Joined: 05 Sep 2019
Posts: 24

PostPosted: Sat Dec 14, 2019 6:24 am    Post subject: Reply with quote

fedeliallalinea wrote:
I think you should add musl overlay, in this overlay there are patches for elfutils (see https://cgit.gentoo.org/proj/musl.git/tree/dev-libs/elfutils)


what

how

which
Back to top
View user's profile Send private message
Scriptod
n00b
n00b


Joined: 05 Sep 2019
Posts: 24

PostPosted: Sat Dec 14, 2019 8:29 am    Post subject: Reply with quote

fedeliallalinea wrote:
I think you should add musl overlay, in this overlay there are patches for elfutils (see https://cgit.gentoo.org/proj/musl.git/tree/dev-libs/elfutils)


Which one of them I should apply
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3768
Location: Hamburg

PostPosted: Sat Dec 14, 2019 9:52 am    Post subject: Reply with quote

Scriptod wrote:
fedeliallalinea wrote:
I think you should add musl overlay, in this overlay there are patches for elfutils (see https://cgit.gentoo.org/proj/musl.git/tree/dev-libs/elfutils)


Which one of them I should apply
You usually don't have to apply them manually. Please see https://overlays.gentoo.org/ for details.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24022
Location: here

PostPosted: Sat Dec 14, 2019 11:34 am    Post subject: Reply with quote

For add an overlay you can use layman or eselect-repository and you should activate overlay named musl
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Scriptod
n00b
n00b


Joined: 05 Sep 2019
Posts: 24

PostPosted: Sun Dec 22, 2019 7:58 am    Post subject: Reply with quote

Thank you guys, solved by adding musl overlay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum