Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]installing failure
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
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sat Nov 17, 2018 12:34 pm    Post subject: [SOLVED]installing failure Reply with quote

I'm trying to install GENTOO in debian like this topic:
https://forum.ayyildiz.org/konu/da%C4%9F%C4%B1t%C4%B1m-incelemesi-gentoo-linux.123887/
while installing sys-kernel/gentoo-sources I had this message:
Code:
!!! /var/tmp/portage/dev-libs/elfutils-0.170-r1/work/elfutils-0.170-abi_x86_64.amd64/config.log
 * ERROR: dev-libs/elfutils-0.170-r1::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 2728:  Called multilib-minimal_src_configure
 *             environment, line 1949:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 2164:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1879:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1877:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  400:  Called multilib-minimal_abi_src_configure
 *             environment, line 1943:  Called multilib_src_configure
 *             environment, line 2376:  Called econf '--enable-nls' '--disable-thread-safety' '--program-prefix=eu-' '--with-zlib' '--with-bzlib' '--without-lzma'
 *        phase-helpers.sh, line  718:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  121:  Called die
 * The specific snippet of code:
 *         die "$@"
 *
 * If you need support, post the output of `emerge --info '=dev-libs/elfutils-0.170-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/elfutils-0.170-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/elfutils-0.170-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/elfutils-0.170-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/elfutils-0.170-r1/work/elfutils-0.170-abi_x86_64.amd64'
 * S: '/var/tmp/portage/dev-libs/elfutils-0.170-r1/work/elfutils-0.170'

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

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

 * Messages for package dev-libs/elfutils-0.170-r1:

 * ERROR: dev-libs/elfutils-0.170-r1::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 2728:  Called multilib-minimal_src_configure
 *             environment, line 1949:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 2164:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1879:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1877:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  400:  Called multilib-minimal_abi_src_configure
 *             environment, line 1943:  Called multilib_src_configure
 *             environment, line 2376:  Called econf '--enable-nls' '--disable-thread-safety' '--program-prefix=eu-' '--with-zlib' '--with-bzlib' '--without-lzma'
 *        phase-helpers.sh, line  718:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  121:  Called die
 * The specific snippet of code:
 *         die "$@"
 *
 * If you need support, post the output of `emerge --info '=dev-libs/elfutils-0.170-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/elfutils-0.170-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/elfutils-0.170-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/elfutils-0.170-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/elfutils-0.170-r1/work/elfutils-0.170-abi_x86_64.amd64'
 * S: '/var/tmp/portage/dev-libs/elfutils-0.170-r1/work/elfutils-0.170'


Code:
# emerge --info '=dev-libs/elfutils-0.170-r1::gentoo'
Portage 2.3.51 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop, gcc-7.3.0, glibc-2.27-r6, 4.9.0-8-amd64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.0-8-amd64-x86_64-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.6
KiB Mem:     8084176 total,   3834376 free
KiB Swap:    8292348 total,   8292348 free
Timestamp of repository gentoo: Sat, 17 Nov 2018 00:45:01 +0000
Head commit of repository gentoo: c894be80ab28c389a39a3f7fea974120fff5b83b
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="X86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="X86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python qt5 readline sdl seccomp spell ssl startup-notification svg tcpd thunar tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


What should I do?


Last edited by hcyildiran on Sat Nov 17, 2018 7:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sat Nov 17, 2018 2:17 pm    Post subject: Reply with quote

hcyildiran,

Code:
 * If you need support, post the output of `emerge --info '=dev-libs/elfutils-0.170-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/elfutils-0.170-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/elfutils-0.170-r1/temp/build.log'.


Post the build log to a pastebin site and give us the link.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sat Nov 17, 2018 2:42 pm    Post subject: Reply with quote

Code:
 # emerge -pqv '=dev-libs/elfutils-0.170-r1::gentoo'
[ebuild  N    ] dev-libs/elfutils-0.170-r1  USE="bzip2 nls utils -lzma -static-libs -test (-threads)" ABI_X86="(64) -32 (-x32)"


/var/tmp/portage/dev-libs/elfutils-0.170-r1/temp/build.lo:
https://i.hizliresim.com/mMln3Y.png

Code:
# emerge --info '=dev-libs/elfutils-0.170-r1::gentoo
is above
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sat Nov 17, 2018 2:57 pm    Post subject: Reply with quote

hcyildiran,

It can't be a png.

Make friends with wgetpaste.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sat Nov 17, 2018 3:22 pm    Post subject: Reply with quote

OK I've just learned wgetpaste. That's it:

Last edited by hcyildiran on Sat Nov 17, 2018 3:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sat Nov 17, 2018 3:46 pm    Post subject: Reply with quote

Sorry made a mistake:
https://paste.pound-python.org/show/jlBGSINOabkPKqrdIC5o/
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sat Nov 17, 2018 4:15 pm    Post subject: Reply with quote

hcyildiran,

You have
Code:
CHOST="X86_64-pc-linux-gnu"
but
Code:
CHOST="x86_64-pc-linux-gnu"
is correct.
The lower case letter 'x' matters.

The same in CBUILD, which you don't normally set yourself.

How did you get that?
CHOST comes from the stage3 tarball and you should never change it.

Now the bad news. If you successfully rebuilt the toolchain since you changed CHOST, it probably won't work at all.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sat Nov 17, 2018 4:41 pm    Post subject: Reply with quote

There wasn't CHOST in /etc/portage/make.conf. And I wrote it myself
Installed gentoo-sources. Does it mean I didn't rebuild toolchain?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sat Nov 17, 2018 4:50 pm    Post subject: Reply with quote

hcyildiran,

That's correct.

I suspect that CHOST is correctly set in your profile. Remove the CHOST from make.conf and run
Code:
emerge --info
.
If I'm right, CHOST will be correctly set again.

As you did not build anything, installing the kernel sources does not compile anything, once CHOST is correct, it will work again.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sat Nov 17, 2018 5:09 pm    Post subject: Reply with quote

I've written myself
By the way, what does it mean:
Code:
emerge info | wgetpaste

I've coded and portage has been working for a long time
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sat Nov 17, 2018 5:20 pm    Post subject: Reply with quote

After all
Code:
emerge --info

https://paste.pound-python.org/show/LU050J6zwc1RdTJildel/
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sat Nov 17, 2018 5:30 pm    Post subject: Reply with quote

hcyildiran,

Its
Code:
emerge --info | wgetpaste

That means to execute the command emerge --info and pipe the out to the input of wgetpaste.
The effect is to put the emerge --info output onto a pastebinp

Your paste at https://paste.pound-python.org/show/LU050J6zwc1RdTJildel/ shows portage building and installing 27 packages.
That works
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sat Nov 17, 2018 7:57 pm    Post subject: Reply with quote

A little carelessness, enormous bad results and rescuers, thank you.
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