Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --ask net-wireless/iw net-wireless/wpa_supplicant
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
gentoouser212
n00b
n00b


Joined: 12 Sep 2021
Posts: 43

PostPosted: Thu Sep 16, 2021 10:26 am    Post subject: emerge --ask net-wireless/iw net-wireless/wpa_supplicant Reply with quote

https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Tools
emerge --ask net-wireless/iw net-wireless/wpa_supplicant
Hello, after 2 hours of emerging i get an error:
Code:

 * ERROR: dev-lang/rust-1.53.0::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 127:  Called src_compile
 *   environment, line 3719:  Called die
 * The specific snippet of code:
 *       env $(cat "${S}"/config.env) RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die )
 *
 * If you need support, post the output of `emerge --info '=dev-lang/rust-1.53.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/rust-1.53.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/rust-1.53.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/rust-1.53.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/rust-1.53.0/work/rustc-1.53.0-src'
 * S: '/var/tmp/portage/dev-lang/rust-1.53.0/work/rustc-1.53.0-src'

>>> Failed to emerge dev-lang/rust-1.53.0, Log file:

>>>  '/var/tmp/portage/dev-lang/rust-1.53.0/temp/build.log'

 * Messages for package dev-lang/rust-1.53.0:

 * ERROR: dev-lang/rust-1.53.0::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 127:  Called src_compile
 *   environment, line 3719:  Called die
 * The specific snippet of code:
 *       env $(cat "${S}"/config.env) RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die )
 *
 * If you need support, post the output of `emerge --info '=dev-lang/rust-1.53.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/rust-1.53.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/rust-1.53.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/rust-1.53.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/rust-1.53.0/work/rustc-1.53.0-src'
 * S: '/var/tmp/portage/dev-lang/rust-1.53.0/work/rustc-1.53.0-src'

Whats thats supposed to mean?
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Thu Sep 16, 2021 10:59 am    Post subject: Reply with quote

If your machine is low on resources and/or you are not a rust enthusiast
plz use rust-bin instead
Code:

emerge -1av rust-bin
emerge -av net-wireless/iw net-wireless/wpa_supplicant

_________________
:)
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Thu Sep 16, 2021 12:24 pm    Post subject: Reply with quote

We'd need your /var/tmp/portage/dev-lang/rust-1.53.0/temp/build.log. Or if it's too big then say last 500 lines.

Is wgetpaste a familiar to you? Use it to paste logs. ;)
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
gentoouser212
n00b
n00b


Joined: 12 Sep 2021
Posts: 43

PostPosted: Thu Sep 16, 2021 1:15 pm    Post subject: Reply with quote

alamahant unfortunately this does not help. again stuck at 4th of 109 for about 3 hours
Back to top
View user's profile Send private message
gentoouser212
n00b
n00b


Joined: 12 Sep 2021
Posts: 43

PostPosted: Thu Sep 16, 2021 1:16 pm    Post subject: Reply with quote

Zucca is this what youre talking about?

GNU nano 5.6.1 /var/tmp/portage/dev-lang/rust-1.53.0/temp/build.log
^[[32;01m * ^[[39;49;00mPackage: dev-lang/rust-1.53.0
^[[32;01m * ^[[39;49;00mRepository: gentoo
^[[32;01m * ^[[39;49;00mMaintainer: gyakovlev@gentoo.org rust@gentoo.org
^[[32;01m * ^[[39;49;00mUSE: abi_x86_64 amd64 cpu_flags_x86_sse2 elibc_gli>
^[[32;01m * ^[[39;49;00mFEATURES: network-sandbox preserve-libs sandbox userpri>
^[[32;01m*^[[0m Checking for at least 11520 MiB disk space at "/var/tmp/portage/>
^[[A^[[109C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m Using python3.9 to build
>>> Unpacking source...
>>> Unpacking rustc-1.53.0-src.tar.xz to /var/tmp/portage/dev-lang/rust-1.53.0/wo>
>>> Unpacking rust-1.52.0-x86_64-unknown-linux-gnu.tar.xz to /var/tmp/portage/dev>
>>> Source unpacked in /var/tmp/portage/dev-lang/rust-1.53.0/work
>>> Preparing source in /var/tmp/portage/dev-lang/rust-1.53.0/work/rustc-1.53.0-s>
install: creating uninstall script at /var/tmp/portage/dev-lang/rust-1.53.0/work/>
install: installing component 'rustc'
install: installing component 'cargo'
install: installing component 'rls-preview'
install: installing component 'rust-analyzer-preview'
install: installing component 'clippy-preview'
install: installing component 'miri-preview'
install: installing component 'rustfmt-preview'
install: installing component 'llvm-tools-preview'
install: installing component 'rust-analysis-x86_64-unknown-linux-gnu'
install: installing component 'rust-std-x86_64-unknown-linux-gnu'

rust installed.

^[[32;01m*^[[0m Applying 1.47.0-ignore-broken-and-non-applicable-tests.patch ...
patching file src/test/codegen/sparc-struct-abi.rs
patching file src/test/run-make-fulldeps/c-link-to-rust-va-list-fn/Makefile
patching file src/test/run-make-fulldeps/long-linker-command-lines/Makefile
patching file src/test/run-make-fulldeps/sysroot-crates-are-unstable/Makefile
patching file src/test/ui/env-funky-keys.rs
Hunk #1 succeeded at 1 with fuzz 1.
^[[A^[[109C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m Applying 1.49.0-gentoo-musl-target-specs.patch ...
^[[A^[[109C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m Applying 1.53.0-rustversion-1.0.5.patch ...
^[[A^[[109C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m Applying 1.53.0-miri-vergen.patch ...
^[[A^[[109C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lang/rust-1.53.0/work/rustc-1.53.0>
^[[32;01m*^[[0m Rust configured with the following flags:

RUSTFLAGS=
RUSTFLAGS_BOOTSTRAP=
RUSTFLAGS_NOT_BOOTSTRAP=
CFLAGS_x86_64-unknown-linux-gnu=-m64

^[[32;01m*^[[0m config.toml contents:
changelog-seen = 2
[llvm]
download-ci-llvm = false
optimize = true
release-debuginfo = false
assertions = false
ninja = true
targets = "X86"
experimental-targets = ""
link-shared = false
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Thu Sep 16, 2021 1:33 pm    Post subject: Reply with quote

Plz try
Code:

emerge -Cav rust
emerge -1av rust-bin
emerge -av wpa...........

_________________
:)
Back to top
View user's profile Send private message
gentoouser212
n00b
n00b


Joined: 12 Sep 2021
Posts: 43

PostPosted: Fri Sep 17, 2021 3:36 am    Post subject: Reply with quote

alamahant the same problem
Code:



 * ERROR: sys-devel/llvm-12.0.1::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 distribution failed
 *
 * Call stack:
 *     ebuild.sh, line  127:  Called src_compile
 *   environment, line 3858:  Called multilib-minimal_src_compile
 *   environment, line 2631:  Called multilib_foreach_abi 'multilib-minimal_abi_                                                                                                                                                             src_compile'
 *   environment, line 2901:  Called multibuild_foreach_variant '_multilib_multi                                                                                                                                                             build_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2566:  Called _multibuild_run '_multilib_multibuild_wrapp                                                                                                                                                             er' 'multilib-minimal_abi_src_compile'
 *   environment, line 2564:  Called _multilib_multibuild_wrapper 'multilib-mini                                                                                                                                                             mal_abi_src_compile'
 *   environment, line  589:  Called multilib-minimal_abi_src_compile
 *   environment, line 2625:  Called multilib_src_compile
 *   environment, line 3113:  Called cmake_build 'distribution'
 *   environment, line 1319:  Called eninja 'distribution'
 *   environment, line 1826:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=sys-devel/llvm-12.0.                                                                                                                                                             1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/llvm-12.0.1                                                                                                                                                             ::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/llvm-12.0.1/                                                                                                                                                             temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/llvm-12                                                                                                                                                             .0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/llvm-12.0.1/work/llvm-12.0.1_b                                                                                                                                                             uild-abi_x86_64.amd64'
 * S: '/var/tmp/portage/sys-devel/llvm-12.0.1/work/llvm'

>>> Failed to emerge sys-devel/llvm-12.0.1, Log file:

>>>  '/var/tmp/portage/sys-devel/llvm-12.0.1/temp/build.log'

 * Messages for package sys-devel/llvm-12.0.1:

 * ERROR: sys-devel/llvm-12.0.1::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 distribution failed
 *
 * Call stack:
 *     ebuild.sh, line  127:  Called src_compile
 *   environment, line 3858:  Called multilib-minimal_src_compile
 *   environment, line 2631:  Called multilib_foreach_abi 'multilib-minimal_abi_                                                                                                                                                             src_compile'
 *   environment, line 2901:  Called multibuild_foreach_variant '_multilib_multi                                                                                                                                                             build_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2566:  Called _multibuild_run '_multilib_multibuild_wrapp                                                                                                                                                             er' 'multilib-minimal_abi_src_compile'
 *   environment, line 2564:  Called _multilib_multibuild_wrapper 'multilib-mini                                                                                                                                                             mal_abi_src_compile'
 *   environment, line  589:  Called multilib-minimal_abi_src_compile
 *   environment, line 2625:  Called multilib_src_compile
 *   environment, line 3113:  Called cmake_build 'distribution'
 *   environment, line 1319:  Called eninja 'distribution'
 *   environment, line 1826:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=sys-devel/llvm-12.0.                                                                                                                                                             1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/llvm-12.0.1                                                                                                                                                             ::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/llvm-12.0.1/                                                                                                                                                             temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/llvm-12                                                                                                                                                             .0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/llvm-12.0.1/work/llvm-12.0.1_b                                                                                                                                                             uild-abi_x86_64.amd64'
 * S: '/var/tmp/portage/sys-devel/llvm-12.0.1/work/llvm'

 * GNU info directory index is up-to-date.

 * IMPORTANT: config file '/etc/portage/package.use/freetype' needs updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

 * IMPORTANT: 11 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Fri Sep 17, 2021 5:26 am    Post subject: Reply with quote

You can post your emerge --info?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
gentoouser212
n00b
n00b


Joined: 12 Sep 2021
Posts: 43

PostPosted: Fri Sep 17, 2021 5:51 am    Post subject: Reply with quote

fedeliallalinea
Code:

Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/desktop/plasma, g                                                                                                                                                             cc-10.3.0, glibc-2.33-r1, 5.10.61-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.10.61-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i5-6300HQ_CPU                                                                                                                                                             _@_2.30GHz-with-glibc2.33
KiB Mem:     2036168 total,   1617332 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 15 Sep 2021 05:00:01 +0000
Head commit of repository gentoo: 851b2c3c1af187d6b3621dacb7fa0fcf54e3c780
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0::gentoo
dev-lang/python:          3.9.6_p2::gentoo
dev-lang/rust-bin:        1.53.0::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.43.5::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo, 2.36.1-r2::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -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/fonts/fonts.conf                                                                                                                                                              /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PER                                                                                                                                                             L5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG                                                                                                                                                             _CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=core2 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-pro                                                                                                                                                             tect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multil                                                                                                                                                             ib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-                                                                                                                                                             owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unm                                                                                                                                                             erge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=core2 -O2 -pipe"
GENTOO_MIRRORS="https://mirror.yandex.ru/gentoo-distfiles/ http://mirror.yandex.                                                                                                                                                             ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-                                                                                                                                                             times --compress --force --whole-file --delete --stats --human-readable --timeou                                                                                                                                                             t=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 branding bzip2 cairo cdda cdr cli                                                                                                                                                              crypt cups dbus declarative dri dts dvd dvdr elogind emboss encode exif flac for                                                                                                                                                             tran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kipi kwallet lcms libglvnd lib                                                                                                                                                             notify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp                                                                                                                                                              pam pango pcre pdf plasma png policykit ppds qml qt5 readline sdl seccomp seman                                                                                                                                                             tic-desktop spell split-usr ssl startup-notification svg tcpd tiff truetype udev                                                                                                                                                              udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xml xv xvid z                                                                                                                                                             lib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atii                                                                                                                                                             xp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-in                                                                                                                                                             tel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"                                                                                                                                                              APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_ba                                                                                                                                                             sic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_de                                                                                                                                                             fault 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 fi                                                                                                                                                             lter headers include info log_config logio mem_cache mime mime_magic negotiation                                                                                                                                                              rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIG                                                                                                                                                             RA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory                                                                                                                                                              rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PRO                                                                                                                                                             TOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis is                                                                                                                                                             ync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm10                                                                                                                                                             4v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="l                                                                                                                                                             ibinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 l                                                                                                                                                             cdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-                                                                                                                                                             minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION                                                                                                                                                             ="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres                                                                                                                                                             13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ru                                                                                                                                                             by26" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi ves                                                                                                                                                             a dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset i                                                                                                                                                             pp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipm                                                                                                                                                             ark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, L                                                                                                                                                             INGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMP                                                                                                                                                             RESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Fri Sep 17, 2021 5:56 am    Post subject: Reply with quote

With only 2GiB of RAM it would be a good idea to create a swap space, or if you are in a VM add more RAM.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
gentoouser212
n00b
n00b


Joined: 12 Sep 2021
Posts: 43

PostPosted: Fri Sep 17, 2021 6:04 am    Post subject: Reply with quote

so if im on VM i need more ram only?
Back to top
View user's profile Send private message
gentoouser212
n00b
n00b


Joined: 12 Sep 2021
Posts: 43

PostPosted: Fri Sep 17, 2021 6:05 am    Post subject: Reply with quote

because swap space i created is 2 G
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Fri Sep 17, 2021 6:09 am    Post subject: Reply with quote

gentoouser212 wrote:
so if im on VM i need more ram only?

No but in a VM is easly to add more ram :wink: .

gentoouser212 wrote:
because swap space i created is 2 G

Your emerge --info says you don't have any swap space
Code:
KiB Mem:     2036168 total,   1617332 free
KiB Swap:          0 total,         0 free

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
gentoouser212
n00b
n00b


Joined: 12 Sep 2021
Posts: 43

PostPosted: Fri Sep 17, 2021 6:31 am    Post subject: Reply with quote

fedeliallalinea whats that mean? I dont have FREE swap space? cause ive partition for swap space linux swap 2g
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Fri Sep 17, 2021 6:31 am    Post subject: Reply with quote

gentoouser212 wrote:
fedeliallalinea whats that mean? I dont have FREE swap space? cause ive partition for swap space

That mean that if you have a swap partition the system don't see it (you can check with swapon command).
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
gentoouser212
n00b
n00b


Joined: 12 Sep 2021
Posts: 43

PostPosted: Fri Sep 17, 2021 6:34 am    Post subject: Reply with quote

it says in fdisk /dev/sda
Command (m for help): swapon
Code:

Created a new partition 1 of type 'Linux native' and of size 87.6 GiB.
Created a new partition 2 of type 'Linux swap' and of size 47.1 MiB.
Created a new partition 3 of type 'Whole disk' and of size 87.6 GiB.
Created a new Sun disklabel.

but i do have swap partition
Code:

Command (m for help): p

Disk /dev/sda: 87.63 GiB, 94088986624 bytes, 183767552 sectors
Disk model: VBOX HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 6DDDD9DE-290C-6B42-A9FE-57D294330924

Device       Start       End   Sectors  Size Type
/dev/sda1     2048    526335    524288  256M EFI System
/dev/sda2   526336   4720639   4194304    2G Linux swap
/dev/sda3  4720640 183767518 179046879 85.4G Linux filesystem
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Fri Sep 17, 2021 6:39 am    Post subject: Reply with quote

Do you have formatted and activated the partition?
_________________
Questions are guaranteed in life; Answers aren't.


Last edited by fedeliallalinea on Fri Sep 17, 2021 6:40 am; edited 1 time in total
Back to top
View user's profile Send private message
gentoouser212
n00b
n00b


Joined: 12 Sep 2021
Posts: 43

PostPosted: Fri Sep 17, 2021 6:42 am    Post subject: Reply with quote

i have when i first created them since when rebooted i did all the mounts and chrooted in system
Back to top
View user's profile Send private message
gentoouser212
n00b
n00b


Joined: 12 Sep 2021
Posts: 43

PostPosted: Fri Sep 17, 2021 6:49 am    Post subject: Reply with quote

yeah i did everything as the wiki says
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Fri Sep 17, 2021 8:49 am    Post subject: Reply with quote

In /etc/fstab swap is correct configured? If you re-run two command for enable swap you see the partition with swapon command?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Fri Sep 17, 2021 8:52 am    Post subject: Reply with quote

if /etc/fstab is correctly set, then
Code:
swapon -a
...should active swap. Unless noauto has been used as an option.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
gentoouser212
n00b
n00b


Joined: 12 Sep 2021
Posts: 43

PostPosted: Fri Sep 17, 2021 9:22 am    Post subject: Reply with quote

fedeliallalinea
Code:

(chroot) livecd / # nano /etc/fstab
(chroot) livecd / # mkswap /dev/sda2
mkswap: /dev/sda2: warning: wiping old swap signature.
Setting up swapspace version 1, size = 2 GiB (2147479552 bytes)
no label, UUID=3482a3dc-ef7c-462f-8ec8-abbd59a8fa40
(chroot) livecd / # swapon /dev/sda2
(chroot) livecd / # swapon
NAME      TYPE      SIZE USED PRIO
/dev/sda2 partition   2G   0B   -2
(chroot) livecd / #
Back to top
View user's profile Send private message
gentoouser212
n00b
n00b


Joined: 12 Sep 2021
Posts: 43

PostPosted: Fri Sep 17, 2021 9:24 am    Post subject: Reply with quote

now is everything alright?
Code:

(chroot) livecd / # emerge --info
Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.3.0, glibc-2.33-r1, 5.10.61-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.10.61-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i5-6300HQ_CPU_@_2.30GHz-with-glibc2.33
KiB Mem:     2036168 total,   1599856 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Wed, 15 Sep 2021 05:00:01 +0000
Head commit of repository gentoo: 851b2c3c1af187d6b3621dacb7fa0fcf54e3c780
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0::gentoo
dev-lang/python:          3.9.6_p2::gentoo
dev-lang/rust-bin:        1.53.0::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.43.5::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo, 2.36.1-r2::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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="-march=core2 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=core2 -O2 -pipe"
GENTOO_MIRRORS="https://mirror.yandex.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/var/cache/binpkgs"
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 activities alsa amd64 branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit ppds qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" 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 sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" 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 proto 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, RUSTFLAGS

/etc/fstab
Code:


#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#
# NOTE: Even though we list ext4 as the type here, it will work with ext2/ext3
#       filesystems.  This just tells the kernel to use the ext4 driver.
#
# NOTE: You can use full paths to devices like /dev/sda3, but it is often
#       more reliable to use filesystem labels or UUIDs. See your filesystem
#       documentation for details on setting a label. To obtain the UUID, use
#       the blkid(8) command.

#LABEL=boot             /boot           ext4            noauto,noatime  1 2
#UUID=58e72203-57d1-4497-81ad-97655bd56494              /               ext4            noatime         0 1
#LABEL=swap             none            swap            sw              0 0
#/dev/cdrom             /mnt/cdrom      auto            noauto,ro       0 0
/dev/sda1   /boot        ext2    defaults,noatime     0 2
/dev/sda2   none         swap    sw                   0 0
/dev/sda3   /            ext4    noatime              0 1
/dev/cdrom  /mnt/cdrom   auto    noauto,user          0 0





Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Fri Sep 17, 2021 9:28 am    Post subject: Reply with quote

Now your system see the swap space.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
gentoouser212
n00b
n00b


Joined: 12 Sep 2021
Posts: 43

PostPosted: Fri Sep 17, 2021 9:36 am    Post subject: Reply with quote

ok, now im gonna reboot change ram from 2 to 4 G and check if emerge --ask net-wireless/iw net-wireless/wpa_supplicant would emerge better? And 1 core is enough?

Last edited by gentoouser212 on Fri Sep 17, 2021 9:39 am; edited 1 time in total
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
Goto page 1, 2  Next
Page 1 of 2

 
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