View previous topic :: View next topic |
Author |
Message |
chrootman Tux's lil' helper
Joined: 18 Aug 2020 Posts: 95
|
Posted: Sun Sep 25, 2022 2:44 am Post subject: dev-util/mingw64-runtime se queda congelado[resuelto] |
|
|
Hola,
Hace tiempo cuando instalé gentoo usé el stage3 hardened-selinux, ahora cuando hago un emerge world, al tratar de compilar dev-util/mingw64-runtime se queda congelado, dejan de funcionar teclado y mouse, muchas veces se solucione problemas similares compilando desde X-Windows o mediante chroot desde otra distro, pero esta vez no. También intenté con "j=1", no es que no compile, es que se queda congelado.
https://bugs.gentoo.org/644556
Quote: | USE="-tools -hardened" FEATURES="-fail-clean" crossdev --ov-output /var/portage/crossdev/ --overlays gentoo -t i686-w64-mingw32 |
Si ejecuto USE="-tools -hardened" emerge dev-util/mingw64-runtime" me sale:
Code: | USE="-tools -hardened" emerge dev-util/mingw64-runtime
* IMPORTANT: 7 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
Calculating dependencies... done!
!!! All ebuilds that could satisfy "dev-util/mingw64-runtime" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-util/mingw64-runtime-10.0.0-r1::gentoo (masked by: package.mask)
/home/chrootman/portage/profiles/package.mask:
# Diego E. Pettenò <flameeyes@gentoo.org> (2009-01-03)
# These packages are not supposed to be merged directly, instead
# please use sys-devel/crossdev to install them.
- dev-util/mingw64-runtime-9.0.0-r2::gentoo (masked by: package.mask)
- dev-util/mingw64-runtime-8.0.0-r3::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook. |
Sería buena idea desenmascararlo?
Code: | subl /etc/portage/package.unmask
......
dev-util/mingw64-runtime |
Code: | crossdev --target x86_64-w64-mingw32
--------------------------------------------------------------------------------
* crossdev version: 20220818
* Host Portage ARCH: amd64
* Host Portage System: x86_64-pc-linux-gnu (i686-pc-linux-gnu x86_64-pc-linux-gnu)
* Target Portage ARCH: amd64
* Target System: x86_64-w64-mingw32
* Stage: 4 (C/C++ compiler)
* USE=multilib: no
* Target ABIs: amd64
* binutils: binutils-[latest]
* gcc: gcc-[latest]
* libc: mingw64-runtime-[latest]
* CROSSDEV_OVERLAY: /var/db/repos/chrootm
* PORT_LOGDIR: /var/log/portage
* PORTAGE_CONFIGROOT: /
* Portage flags:
_ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ -
* error: please convert //etc/portage/package.accept_keywords to a directory
*
* If you file a bug, please attach the following logfiles:
* /var/log/portage/cross-x86_64-w64-mingw32-info.log |
Code: | cp /etc/portage/package.accept_keywords /etc/portage/package.accept_keywords_temp
mkdir -p /etc/portage/package.accept_keywords
mv /etc/portage/package.accept_keywords_temp /etc/portage/package.accept_keywords
cp
cd /etc/portage/package.accept_keywords
mv package.accept_keywords_temp package.accept_keywords |
Code: | crossdev --target x86_64-w64-mingw32
--------------------------------------------------------------------------------
* crossdev version: 20220818
* Host Portage ARCH: amd64
* Host Portage System: x86_64-pc-linux-gnu (i686-pc-linux-gnu x86_64-pc-linux-gnu)
* Target Portage ARCH: amd64
* Target System: x86_64-w64-mingw32
* Stage: 4 (C/C++ compiler)
* USE=multilib: no
* Target ABIs: amd64
* binutils: binutils-[latest]
* gcc: gcc-[latest]
* libc: mingw64-runtime-[latest]
* CROSSDEV_OVERLAY: /var/db/repos/chrootm
* PORT_LOGDIR: /var/log/portage
* PORTAGE_CONFIGROOT: /
* Portage flags:
_ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ -
* error: please convert //etc/portage/package.env to a directory
*
* If you file a bug, please attach the following logfiles:
* /var/log/portage/cross-x86_64-w64-mingw32-info.log |
Code: | cp /etc/portage/package.env /etc/portage/package.env_temp
rm /etc/portage/package.env
mkdir -p /etc/portage/package.env
mv /etc/portage/package.env_temp /etc/portage/package.env
cd /etc/portage/package.env
mv package.env_temp package.env |
Code: | error: please convert //etc/portage/package.mask to a directory |
Code: | cp /etc/portage/package.mask /etc/portage/package.mask_temp
rm /etc/portage/package.mask
mkdir -p /etc/portage/package.mask
mv /etc/portage/package.mask_temp /etc/portage/package.mask
cd /etc/portage/package.mask
mv package.mask_temp package.mask.env |
Code: | * error: please convert //etc/portage/profile/package.use.force to a directory |
Code: | cp /etc/portage/profile/package.use.force /etc/portage/profile/package.use.force_temp
rm /etc/portage/profile/package.use.force
mkdir -p /etc/portage/profile/package.use.force
mv /etc/portage/profile/package.use.force_temp /etc/portage/profile/package.use.force
cd /etc/portage/profile/package.use.force
mv package.use.force_temp package.use.forceenv |
Code: | * error: please convert //etc/portage/profile/package.use.mask to a directory |
Code: | cp /etc/portage/profile/package.use.mask /etc/portage/profile/package.use.mask_temp
rm /etc/portage/profile/package.use.mask
mkdir -p /etc/portage/profile/package.use.mask
mv /etc/portage/profile/package.use.mask_temp /etc/portage/profile/package.use.mask
cd /etc/portage/profile/package.use.mask
mv package.use.mask_temp package.use.mask |
Code: | crossdev --target x86_64-w64-mingw32
crossdev --target x86_64-w64-mingw32
--------------------------------------------------------------------------------
* crossdev version: 20220818
* Host Portage ARCH: amd64
* Host Portage System: x86_64-pc-linux-gnu (i686-pc-linux-gnu x86_64-pc-linux-gnu)
* Target Portage ARCH: amd64
* Target System: x86_64-w64-mingw32
* Stage: 4 (C/C++ compiler)
* USE=multilib: no
* Target ABIs: amd64
* binutils: binutils-[latest]
* gcc: gcc-[latest]
* libc: mingw64-runtime-[latest]
* CROSSDEV_OVERLAY: /var/db/repos/chrootm
* PORT_LOGDIR: /var/log/portage
* PORTAGE_CONFIGROOT: /
* Portage flags:
_ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ -
* leaving metadata/layout.conf alone in /var/db/repos/chrootm
_ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ -
* Log: /var/log/portage/cross-x86_64-w64-mingw32-binutils.log
* Emerging cross-binutils ... |
Y se quedó ahí! Tendré que esperar de nuevo!
Last edited by chrootman on Mon Sep 26, 2022 4:05 am; edited 1 time in total |
|
Back to top |
|
|
chrootman Tux's lil' helper
Joined: 18 Aug 2020 Posts: 95
|
Posted: Mon Sep 26, 2022 12:01 am Post subject: |
|
|
Htop no me muestra un uso excesivo de memoria ni de cpu, mingw64-toolchain se congela en:
Code: |
CC pe-x86_64.lo
GEN pex64igen.c
CC pex64igen.lo
CC cofflink.lo
CC coffgen.lo
CC dwarf2.lo
CC pei-x86_64.lo
CC elf64-x86-64.lo
CC elfxx-x86.lo
CC elf-ifunc.lo
CC elf-vxworks.lo
CC elf64.lo
CC elf.lo
CC elflink.lo |
Cree un /etc/portage/env/j1.conf
Code: | MAKEOPTS="-j1"
LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory" |
También uso ccache.
Me cambie también al kernel compilado con mis opciones, no el -dist por defecto con el problema de loading initial ramisk. No es que se quede congelado, es decir si presiono <Bloq mayús> prende la lucecita PERO a los 2 minutos, es decir hay un retardo en el tiempo de respuesta. Con F9 en htop he ido viendo como se comporta añadiendo Nice+ en ese proceso. Ahora no se congela, pero de nuevo a esperar a ver si se digna a terminar! Pero por lo menos ahora pasó de "CC elflink.lo" |
|
Back to top |
|
|
chrootman Tux's lil' helper
Joined: 18 Aug 2020 Posts: 95
|
Posted: Mon Sep 26, 2022 4:03 am Post subject: |
|
|
La última vez que se colgó la swap estaba casi en el 100%:
Code: |
Mem[1.45G/5.79G]
Swp[1.966G/2.0G]
|
Todo lo anterior que intenté fue en vano, lo único que me funcionó fue activar la swap en otro disco y suman 4GB
Code: |
Mem[893M/5.79G] Uptime: 01:31:43
Swp[1.63G/4.0G]
Mem[734M/5.79G] Uptime: 01:31:43
Swp[1.78G/4.0G]
Mem[716M/5.79G] Uptime: 01:40:43
Swp[1.87G/4.0G]
Mem[597M/5.79G] Uptime: 01:41:27
Swp[1.74G/4.0G]
Mem[597M/5.79G] Uptime: 01:42:58
Swp[1.77G/4.0G]
Mem[535M/5.79G] Uptime: 01:44:10
Swp[1.72G/4.0G]
>>> Installing (1 of 350) dev-util/mingw64-toolchain-10.0.0_p1-r1::gentoo
Mem[615M/5.79G] Uptime: 01:48:05
Swp[1.95G/4.0G]
Mem[643M/5.79G] Uptime: 01:48:53
Swp[1.90G/4.0G]
Mem[637M/5.79G] Uptime: 01:50:04
Swp[1.89G/4.0G]
Mem[782M/5.79G] Uptime: 01:51:13
Swp[1.85G/4.0G]
Mem[868M/5.79G] Uptime: 01:52:49
Swp[1.78G/4.0G]
/var/log/portage/dev-util\:mingw64-toolchain-10.0.0_p1-r1\:20220926-023230.log
[32;01m*[0m Note that this package is primarily intended for Wine and related
[32;01m*[0m packages to depend on without needing a manual crossdev setup.
[32;01m*[0m
[32;01m*[0m Settings are oriented only for what these need and simplicity.
[32;01m*[0m Use sys-devel/crossdev if need full toolchain/customization:
[32;01m*[0m https://wiki.gentoo.org/wiki/Mingw
[32;01m*[0m https://wiki.gentoo.org/wiki/Crossdev
[33;01m*[0m cross-x86_64-w64-mingw32/gcc is installed, note that mingw64-toolchain
[33;01m*[0m is redundant with the *-w64-mingw32/{binutils,gcc,mingw64-runtime}
[33;01m*[0m packages and optionally only one needs to be kept.
>>> dev-util/mingw64-toolchain-10.0.0_p1-r1 merged.
>>> Regenerating /etc/ld.so.cache...
Mem[675M/5.79G] Uptime: 01:54:09
Swp[430M/4.0G]
|
Ufff, casi tiro la toalla. |
|
Back to top |
|
|
|
|
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
|
|