Mailing List Archive

meson causes system freeze
Dear friends,




I am using an Yeeloong netbook and it freezed when I was doing the

usual update of the world. I found that it was stoped at the step of

configuring the glib. The glib uses the meson to config it. Before

this freeze, it also froze at configuring the systemd-253.5 and I masked

the systemd. Systemd is also using the meson to do the configuration. I

suspect that the meson seems to conflict with something. I have tried

meson 1.1.1 and also downgraded the meson to 1.0.1, the same thing happens.




The "emerge --info" shows




[code]

Portage 3.0.48.1 (python 3.11.4-final-0, default/linux/mips/17.0/mipsel/n32/systemd/merged-usr, gcc-13, glibc-2.37-r3, 6.3.4-gentoo-Yeeloong mips64)

=================================================================

System uname: Linux-6.3.4-gentoo-Yeeloong-mips64-ICT_Loongson-2_V0.3_FPU_V0.1-with-glibc2.37

KiB Mem: 1025664 total, 65408 free

KiB Swap: 8388592 total, 8387568 free

Timestamp of repository gentoo: Mon, 12 Jun 2023 10:15:01 +0000

Head commit of repository gentoo: 6de146db15fb2000c53d0af5fb284a1d34f9ea3d

sh bash 5.2_p15-r3

ld GNU ld (Gentoo 2.40 p5) 2.40.0

ccache version 4.8 [enabled]

app-misc/pax-utils: 1.3.7::gentoo

app-shells/bash: 5.2_p15-r3::gentoo

dev-lang/perl: 5.36.1-r2::gentoo

dev-lang/python: 3.10.12::gentoo, 3.11.4::gentoo, 3.12.0_beta2::gentoo

dev-util/ccache: 4.8-r2::gentoo

dev-util/cmake: 3.26.4-r1::gentoo

dev-util/meson: 1.0.1::gentoo

sys-apps/baselayout: 2.13-r1::gentoo

sys-apps/sandbox: 2.30-r1::gentoo

sys-apps/systemd: 253.4::gentoo

sys-devel/autoconf: 2.71-r6::gentoo

sys-devel/automake: 1.16.5-r1::gentoo

sys-devel/binutils: 2.40-r5::gentoo

sys-devel/binutils-config: 5.5::gentoo

sys-devel/gcc: 11.3.1_p20230518::gentoo, 13.1.1_p20230520::gentoo

sys-devel/gcc-config: 2.11::gentoo

sys-devel/libtool: 2.4.7-r1::gentoo

sys-devel/make: 4.4.1-r1::gentoo

sys-kernel/linux-headers: 6.3::gentoo (virtual/os-headers)

sys-libs/glibc: 2.37-r3::gentoo

Repositories:




gentoo

location: /var/db/repos/gentoo

sync-type: rsync

sync-uri: rsync://mirrors.ustc.edu.cn/gentoo-portage

priority: -1000

volatile: False

sync-rsync-verify-jobs: 1

sync-rsync-extra-opts:

sync-rsync-verify-max-age: 24

sync-rsync-verify-metamanifest: no




ACCEPT_KEYWORDS="mips ~mips"

ACCEPT_LICENSE="@FREE"

CBUILD="mips64el-unknown-linux-gnu"

CFLAGS="-O2 -march=loongson2f -mhard-float -mplt -Wa,-mfix-loongson2f-nop -pipe"

CHOST="mips64el-unknown-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/revdep-rebuild /etc/sandbox.d"

CXXFLAGS="-O2 -march=loongson2f -mhard-float -mplt -Wa,-mfix-loongson2f-nop -pipe"

DISTDIR="/var/cache/distfiles"

EMERGE_DEFAULT_OPTS="--usepkg --with-bdeps=y"

ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"

FCFLAGS=""

FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live ccache 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=""

GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo https://mirrors.163.com/gentoo"

LANG="C"

LDFLAGS="-Wl,-O1 -Wl,--as-needed"

LEX="flex"

LINGUAS="en zh"

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"

SHELL="/bin/bash"

USE="X acl bzip2 cjk cli crypt gdbm iconv ipv6 mips ncurses nls nptl pam pcre readline seccomp ssl systemd test-rust udev unicode xattr zlib" ABI_MIPS="n32" ADA_TARGET="gnat_2021" 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" 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" L10N="en zh" 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-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby30 ruby31" VIDEO_CARDS="video_cards_siliconmotion fbdev video_cards_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: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

[/code]




The build.log files for glib and systemd are attached.




I've also tried "meson _build" in the "/var/tmp/.../glib-2.76.3/work/glib-2.76.3/".

The meson stops at:

[code]

...

Dependency mount found: YES 2.38.1 (cached)

Found pkg-config: /usr/bin/pkg-config (1.8.1)

[/code]




A previous run with a higher version meson (I forgot which version) just stops at the

[code]

...

Run-time dependency mount found: YES 2.38.1

[/code]







Any help is appreciated. Thanks.
Re: meson causes system freeze [ In reply to ]
To be precise, when I tried "meson _build" in the "/var/tmp/.../glib-2.76.3/work/glib-2.76.3/", the system froze at the step I mentioned in my last email, not "stop".













At 2023-06-13 09:39:14, "johnstrass" <johnstrass@163.com> wrote:

Dear friends,




I am using an Yeeloong netbook and it freezed when I was doing the

usual update of the world. I found that it was stoped at the step of

configuring the glib. The glib uses the meson to config it. Before

this freeze, it also froze at configuring the systemd-253.5 and I masked

the systemd. Systemd is also using the meson to do the configuration. I

suspect that the meson seems to conflict with something. I have tried

meson 1.1.1 and also downgraded the meson to 1.0.1, the same thing happens.




The "emerge --info" shows




[code]

Portage 3.0.48.1 (python 3.11.4-final-0, default/linux/mips/17.0/mipsel/n32/systemd/merged-usr, gcc-13, glibc-2.37-r3, 6.3.4-gentoo-Yeeloong mips64)

=================================================================

System uname: Linux-6.3.4-gentoo-Yeeloong-mips64-ICT_Loongson-2_V0.3_FPU_V0.1-with-glibc2.37

KiB Mem: 1025664 total, 65408 free

KiB Swap: 8388592 total, 8387568 free

Timestamp of repository gentoo: Mon, 12 Jun 2023 10:15:01 +0000

Head commit of repository gentoo: 6de146db15fb2000c53d0af5fb284a1d34f9ea3d

sh bash 5.2_p15-r3

ld GNU ld (Gentoo 2.40 p5) 2.40.0

ccache version 4.8 [enabled]

app-misc/pax-utils: 1.3.7::gentoo

app-shells/bash: 5.2_p15-r3::gentoo

dev-lang/perl: 5.36.1-r2::gentoo

dev-lang/python: 3.10.12::gentoo, 3.11.4::gentoo, 3.12.0_beta2::gentoo

dev-util/ccache: 4.8-r2::gentoo

dev-util/cmake: 3.26.4-r1::gentoo

dev-util/meson: 1.0.1::gentoo

sys-apps/baselayout: 2.13-r1::gentoo

sys-apps/sandbox: 2.30-r1::gentoo

sys-apps/systemd: 253.4::gentoo

sys-devel/autoconf: 2.71-r6::gentoo

sys-devel/automake: 1.16.5-r1::gentoo

sys-devel/binutils: 2.40-r5::gentoo

sys-devel/binutils-config: 5.5::gentoo

sys-devel/gcc: 11.3.1_p20230518::gentoo, 13.1.1_p20230520::gentoo

sys-devel/gcc-config: 2.11::gentoo

sys-devel/libtool: 2.4.7-r1::gentoo

sys-devel/make: 4.4.1-r1::gentoo

sys-kernel/linux-headers: 6.3::gentoo (virtual/os-headers)

sys-libs/glibc: 2.37-r3::gentoo

Repositories:




gentoo

location: /var/db/repos/gentoo

sync-type: rsync

sync-uri: rsync://mirrors.ustc.edu.cn/gentoo-portage

priority: -1000

volatile: False

sync-rsync-verify-jobs: 1

sync-rsync-extra-opts:

sync-rsync-verify-max-age: 24

sync-rsync-verify-metamanifest: no




ACCEPT_KEYWORDS="mips ~mips"

ACCEPT_LICENSE="@FREE"

CBUILD="mips64el-unknown-linux-gnu"

CFLAGS="-O2 -march=loongson2f -mhard-float -mplt -Wa,-mfix-loongson2f-nop -pipe"

CHOST="mips64el-unknown-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/revdep-rebuild /etc/sandbox.d"

CXXFLAGS="-O2 -march=loongson2f -mhard-float -mplt -Wa,-mfix-loongson2f-nop -pipe"

DISTDIR="/var/cache/distfiles"

EMERGE_DEFAULT_OPTS="--usepkg --with-bdeps=y"

ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"

FCFLAGS=""

FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live ccache 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=""

GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo https://mirrors.163.com/gentoo"

LANG="C"

LDFLAGS="-Wl,-O1 -Wl,--as-needed"

LEX="flex"

LINGUAS="en zh"

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"

SHELL="/bin/bash"

USE="X acl bzip2 cjk cli crypt gdbm iconv ipv6 mips ncurses nls nptl pam pcre readline seccomp ssl systemd test-rust udev unicode xattr zlib" ABI_MIPS="n32" ADA_TARGET="gnat_2021" 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" 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" L10N="en zh" 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-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby30 ruby31" VIDEO_CARDS="video_cards_siliconmotion fbdev video_cards_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: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

[/code]




The build.log files for glib and systemd are attached.




I've also tried "meson _build" in the "/var/tmp/.../glib-2.76.3/work/glib-2.76.3/".

The meson stops at:

[code]

...

Dependency mount found: YES 2.38.1 (cached)

Found pkg-config: /usr/bin/pkg-config (1.8.1)

[/code]




A previous run with a higher version meson (I forgot which version) just stops at the

[code]

...

Run-time dependency mount found: YES 2.38.1

[/code]







Any help is appreciated. Thanks.
Re: Re: meson causes system freeze [ In reply to ]
Sounds like it may be overheating, laptops do that when they get dirty (so do desktops).  It can be amazingly consistent about which point they freeze.  I've had it happen 3 times trying to install the os that shall not be named with some time between each occurrence.  Compiling uses a lot of resources, which is why I have an old server, specifically for compiling and possible other heavy lifting.  HP dl575 g7 with 4 processor chips, 12 cores each.  I'm about to update the cpu's 2 generations and to 16 cores each.  It's loud but powerful.  Also an embarrassingly large amount of memory.  I got a real deal on it.

--"Fascism begins the moment a ruling class, fearing the people may use their political democracy to gain economic democracy, begins to destroy political democracy in order to retain its power of exploitation and special privilege." Tommy Douglas




Jun 12, 2023, 19:47 by johnstrass@163.com:

>
>
>
>
> To be precise, when I tried "meson _build" in the "/var/tmp/.../glib-2.76.3/work/glib-2.76.3/", the system froze at the step I mentioned in my last email, not "stop".
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> At 2023-06-13 09:39:14, "johnstrass" <johnstrass@163.com> wrote:
>
>
>>
>> Dear friends,
>>
>>
>>
>>
>>
>> I am using an Yeeloong netbook and it freezed when I was doing the
>>
>>
>> usual update of the world. I found that it was stoped at the step of
>>
>>
>> configuring the glib. The glib uses the meson to config it. Before
>>
>>
>> this freeze, it also froze at configuring the systemd-253.5 and I masked
>>
>>
>> the systemd. Systemd is also using the meson to do the configuration. I
>>
>>
>> suspect that the meson seems to conflict with something. I have tried
>>
>>
>> meson 1.1.1 and also downgraded the meson to 1.0.1, the same thing happens. 
>>
>>
>>
>>
>>
>> The "emerge --info" shows
>>
>>
>>
>>
>>
>> [code]
>>
>>
>> Portage 3.0.48.1 (python 3.11.4-final-0, default/linux/mips/17.0/mipsel/n32/systemd/merged-usr, gcc-13, glibc-2.37-r3, 6.3.4-gentoo-Yeeloong mips64)
>>
>>
>> =================================================================
>>
>>
>> System uname: Linux-6.3.4-gentoo-Yeeloong-mips64-ICT_Loongson-2_V0.3_FPU_V0.1-with-glibc2.37
>>
>>
>> KiB Mem:     1025664 total,     65408 free
>>
>>
>> KiB Swap:    8388592 total,   8387568 free
>>
>>
>> Timestamp of repository gentoo: Mon, 12 Jun 2023 10:15:01 +0000
>>
>>
>> Head commit of repository gentoo: 6de146db15fb2000c53d0af5fb284a1d34f9ea3d
>>
>>
>> sh bash 5.2_p15-r3
>>
>>
>> ld GNU ld (Gentoo 2.40 p5) 2.40.0
>>
>>
>> ccache version 4.8 [enabled]
>>
>>
>> app-misc/pax-utils:        1.3.7::gentoo
>>
>>
>> app-shells/bash:           5.2_p15-r3::gentoo
>>
>>
>> dev-lang/perl:             5.36.1-r2::gentoo
>>
>>
>> dev-lang/python:           3.10.12::gentoo, 3.11.4::gentoo, 3.12.0_beta2::gentoo
>>
>>
>> dev-util/ccache:           4.8-r2::gentoo
>>
>>
>> dev-util/cmake:            3.26.4-r1::gentoo
>>
>>
>> dev-util/meson:            1.0.1::gentoo
>>
>>
>> sys-apps/baselayout:       2.13-r1::gentoo
>>
>>
>> sys-apps/sandbox:          2.30-r1::gentoo
>>
>>
>> sys-apps/systemd:          253.4::gentoo
>>
>>
>> sys-devel/autoconf:        2.71-r6::gentoo
>>
>>
>> sys-devel/automake:        1.16.5-r1::gentoo
>>
>>
>> sys-devel/binutils:        2.40-r5::gentoo
>>
>>
>> sys-devel/binutils-config: 5.5::gentoo
>>
>>
>> sys-devel/gcc:             11.3.1_p20230518::gentoo, 13.1.1_p20230520::gentoo
>>
>>
>> sys-devel/gcc-config:      2.11::gentoo
>>
>>
>> sys-devel/libtool:         2.4.7-r1::gentoo
>>
>>
>> sys-devel/make:            4.4.1-r1::gentoo
>>
>>
>> sys-kernel/linux-headers:  6.3::gentoo (virtual/os-headers)
>>
>>
>> sys-libs/glibc:            2.37-r3::gentoo
>>
>>
>> Repositories:
>>
>>
>>
>>
>>
>> gentoo
>>
>>
>>     location: /var/db/repos/gentoo
>>
>>
>>     sync-type: rsync
>>
>>
>>     sync-uri: rsync://mirrors.ustc.edu.cn/gentoo-portage
>>
>>
>>     priority: -1000
>>
>>
>>     volatile: False
>>
>>
>>     sync-rsync-verify-jobs: 1
>>
>>
>>     sync-rsync-extra-opts: 
>>
>>
>>     sync-rsync-verify-max-age: 24
>>
>>
>>     sync-rsync-verify-metamanifest: no
>>
>>
>>
>>
>>
>> ACCEPT_KEYWORDS="mips ~mips"
>>
>>
>> ACCEPT_LICENSE="@FREE"
>>
>>
>> CBUILD="mips64el-unknown-linux-gnu"
>>
>>
>> CFLAGS="-O2 -march=loongson2f -mhard-float -mplt -Wa,-mfix-loongson2f-nop -pipe"
>>
>>
>> CHOST="mips64el-unknown-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/revdep-rebuild /etc/sandbox.d"
>>
>>
>> CXXFLAGS="-O2 -march=loongson2f -mhard-float -mplt -Wa,-mfix-loongson2f-nop -pipe"
>>
>>
>> DISTDIR="/var/cache/distfiles"
>>
>>
>> EMERGE_DEFAULT_OPTS="--usepkg --with-bdeps=y"
>>
>>
>> ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
>>
>>
>> FCFLAGS=""
>>
>>
>> FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live ccache 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=""
>>
>>
>> GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo  https://mirrors.163.com/gentoo"
>>
>>
>> LANG="C"
>>
>>
>> LDFLAGS="-Wl,-O1 -Wl,--as-needed"
>>
>>
>> LEX="flex"
>>
>>
>> LINGUAS="en zh"
>>
>>
>> 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"
>>
>>
>> SHELL="/bin/bash"
>>
>>
>> USE="X acl bzip2 cjk cli crypt gdbm iconv ipv6 mips ncurses nls nptl pam pcre readline seccomp ssl systemd test-rust udev unicode xattr zlib" ABI_MIPS="n32" ADA_TARGET="gnat_2021" 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" 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" L10N="en zh" 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-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby30 ruby31" VIDEO_CARDS="video_cards_siliconmotion fbdev video_cards_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:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
>>
>>
>> [/code]
>>
>>
>>
>>
>>
>> The build.log files for glib and systemd are attached.
>>
>>
>>
>>
>>
>> I've also tried "meson _build" in the "/var/tmp/.../glib-2.76.3/work/glib-2.76.3/". 
>>
>>
>> The meson stops at:
>>
>>
>> [code]
>>
>>
>> ...
>>
>>
>> Dependency mount found: YES 2.38.1 (cached)
>>
>>
>> Found pkg-config: /usr/bin/pkg-config (1.8.1)
>>
>>
>> [/code]
>>
>>
>>
>>
>>
>> A previous run with a higher version meson (I forgot which version) just stops at the 
>>
>>
>> [code]
>>
>>
>> ...
>>
>>
>> Run-time dependency mount found: YES 2.38.1
>>
>>
>> [/code]
>>
>>
>>
>>
>>
>>
>>
>>
>> Any help is appreciated. Thanks.
>>
>>
Re:Re: Re: meson causes system freeze [ In reply to ]
I also suspected that it could be overheating, and I also set up a small fan just beside it to blow some wind towords it in order to cool it. It can even compile the gcc without freeze. But every time it goes to glib or systemd, it will freeze.


I have also an older gentoo installation on that netbook on another partition. I remember that I tried "meson _build" for the same glib version in the older gentoo, it passed the configuration. I guess there could be some conflict between meson and something else or meson uses some libs with conflicts. I will provide the older gentoo system configuration later.


Do I need to report this to the meson developer to see whether they could be of any help?

















At 2023-06-13 11:13:32, mad.scientist.at.large@tutanota.com wrote:
>Sounds like it may be overheating, laptops do that when they get dirty (so do desktops). It can be amazingly consistent about which point they freeze. I've had it happen 3 times trying to install the os that shall not be named with some time between each occurrence. Compiling uses a lot of resources, which is why I have an old server, specifically for compiling and possible other heavy lifting. HP dl575 g7 with 4 processor chips, 12 cores each. I'm about to update the cpu's 2 generations and to 16 cores each. It's loud but powerful. Also an embarrassingly large amount of memory. I got a real deal on it.
>
>--"Fascism begins the moment a ruling class, fearing the people may use their political democracy to gain economic democracy, begins to destroy political democracy in order to retain its power of exploitation and special privilege." Tommy Douglas
>
>
>
>
>Jun 12, 2023, 19:47 by johnstrass@163.com:
>
>>
>>
>>
>>
>> To be precise, when I tried "meson _build" in the "/var/tmp/.../glib-2.76.3/work/glib-2.76.3/", the system froze at the step I mentioned in my last email, not "stop".
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> At 2023-06-13 09:39:14, "johnstrass" <johnstrass@163.com> wrote:
>>
>>
>>>
>>> Dear friends,
>>>
>>>
>>>
>>>
>>>
>>> I am using an Yeeloong netbook and it freezed when I was doing the
>>>
>>>
>>> usual update of the world. I found that it was stoped at the step of
>>>
>>>
>>> configuring the glib. The glib uses the meson to config it. Before
>>>
>>>
>>> this freeze, it also froze at configuring the systemd-253.5 and I masked
>>>
>>>
>>> the systemd. Systemd is also using the meson to do the configuration. I
>>>
>>>
>>> suspect that the meson seems to conflict with something. I have tried
>>>
>>>
>>> meson 1.1.1 and also downgraded the meson to 1.0.1, the same thing happens.
>>>
>>>
>>>
>>>
>>>
>>> The "emerge --info" shows
>>>
>>>
>>>
>>>
>>>
>>> [code]
>>>
>>>
>>> Portage 3.0.48.1 (python 3.11.4-final-0, default/linux/mips/17.0/mipsel/n32/systemd/merged-usr, gcc-13, glibc-2.37-r3, 6.3.4-gentoo-Yeeloong mips64)
>>>
>>>
>>> =================================================================
>>>
>>>
>>> System uname: Linux-6.3.4-gentoo-Yeeloong-mips64-ICT_Loongson-2_V0.3_FPU_V0.1-with-glibc2.37
>>>
>>>
>>> KiB Mem: 1025664 total, 65408 free
>>>
>>>
>>> KiB Swap: 8388592 total, 8387568 free
>>>
>>>
>>> Timestamp of repository gentoo: Mon, 12 Jun 2023 10:15:01 +0000
>>>
>>>
>>> Head commit of repository gentoo: 6de146db15fb2000c53d0af5fb284a1d34f9ea3d
>>>
>>>
>>> sh bash 5.2_p15-r3
>>>
>>>
>>> ld GNU ld (Gentoo 2.40 p5) 2.40.0
>>>
>>>
>>> ccache version 4.8 [enabled]
>>>
>>>
>>> app-misc/pax-utils: 1.3.7::gentoo
>>>
>>>
>>> app-shells/bash: 5.2_p15-r3::gentoo
>>>
>>>
>>> dev-lang/perl: 5.36.1-r2::gentoo
>>>
>>>
>>> dev-lang/python: 3.10.12::gentoo, 3.11.4::gentoo, 3.12.0_beta2::gentoo
>>>
>>>
>>> dev-util/ccache: 4.8-r2::gentoo
>>>
>>>
>>> dev-util/cmake: 3.26.4-r1::gentoo
>>>
>>>
>>> dev-util/meson: 1.0.1::gentoo
>>>
>>>
>>> sys-apps/baselayout: 2.13-r1::gentoo
>>>
>>>
>>> sys-apps/sandbox: 2.30-r1::gentoo
>>>
>>>
>>> sys-apps/systemd: 253.4::gentoo
>>>
>>>
>>> sys-devel/autoconf: 2.71-r6::gentoo
>>>
>>>
>>> sys-devel/automake: 1.16.5-r1::gentoo
>>>
>>>
>>> sys-devel/binutils: 2.40-r5::gentoo
>>>
>>>
>>> sys-devel/binutils-config: 5.5::gentoo
>>>
>>>
>>> sys-devel/gcc: 11.3.1_p20230518::gentoo, 13.1.1_p20230520::gentoo
>>>
>>>
>>> sys-devel/gcc-config: 2.11::gentoo
>>>
>>>
>>> sys-devel/libtool: 2.4.7-r1::gentoo
>>>
>>>
>>> sys-devel/make: 4.4.1-r1::gentoo
>>>
>>>
>>> sys-kernel/linux-headers: 6.3::gentoo (virtual/os-headers)
>>>
>>>
>>> sys-libs/glibc: 2.37-r3::gentoo
>>>
>>>
>>> Repositories:
>>>
>>>
>>>
>>>
>>>
>>> gentoo
>>>
>>>
>>> location: /var/db/repos/gentoo
>>>
>>>
>>> sync-type: rsync
>>>
>>>
>>> sync-uri: rsync://mirrors.ustc.edu.cn/gentoo-portage
>>>
>>>
>>> priority: -1000
>>>
>>>
>>> volatile: False
>>>
>>>
>>> sync-rsync-verify-jobs: 1
>>>
>>>
>>> sync-rsync-extra-opts:
>>>
>>>
>>> sync-rsync-verify-max-age: 24
>>>
>>>
>>> sync-rsync-verify-metamanifest: no
>>>
>>>
>>>
>>>
>>>
>>> ACCEPT_KEYWORDS="mips ~mips"
>>>
>>>
>>> ACCEPT_LICENSE="@FREE"
>>>
>>>
>>> CBUILD="mips64el-unknown-linux-gnu"
>>>
>>>
>>> CFLAGS="-O2 -march=loongson2f -mhard-float -mplt -Wa,-mfix-loongson2f-nop -pipe"
>>>
>>>
>>> CHOST="mips64el-unknown-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/revdep-rebuild /etc/sandbox.d"
>>>
>>>
>>> CXXFLAGS="-O2 -march=loongson2f -mhard-float -mplt -Wa,-mfix-loongson2f-nop -pipe"
>>>
>>>
>>> DISTDIR="/var/cache/distfiles"
>>>
>>>
>>> EMERGE_DEFAULT_OPTS="--usepkg --with-bdeps=y"
>>>
>>>
>>> ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
>>>
>>>
>>> FCFLAGS=""
>>>
>>>
>>> FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live ccache 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=""
>>>
>>>
>>> GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo https://mirrors.163.com/gentoo"
>>>
>>>
>>> LANG="C"
>>>
>>>
>>> LDFLAGS="-Wl,-O1 -Wl,--as-needed"
>>>
>>>
>>> LEX="flex"
>>>
>>>
>>> LINGUAS="en zh"
>>>
>>>
>>> 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"
>>>
>>>
>>> SHELL="/bin/bash"
>>>
>>>
>>> USE="X acl bzip2 cjk cli crypt gdbm iconv ipv6 mips ncurses nls nptl pam pcre readline seccomp ssl systemd test-rust udev unicode xattr zlib" ABI_MIPS="n32" ADA_TARGET="gnat_2021" 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" 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" L10N="en zh" 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-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby30 ruby31" VIDEO_CARDS="video_cards_siliconmotion fbdev video_cards_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: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
>>>
>>>
>>> [/code]
>>>
>>>
>>>
>>>
>>>
>>> The build.log files for glib and systemd are attached.
>>>
>>>
>>>
>>>
>>>
>>> I've also tried "meson _build" in the "/var/tmp/.../glib-2.76.3/work/glib-2.76.3/".
>>>
>>>
>>> The meson stops at:
>>>
>>>
>>> [code]
>>>
>>>
>>> ...
>>>
>>>
>>> Dependency mount found: YES 2.38.1 (cached)
>>>
>>>
>>> Found pkg-config: /usr/bin/pkg-config (1.8.1)
>>>
>>>
>>> [/code]
>>>
>>>
>>>
>>>
>>>
>>> A previous run with a higher version meson (I forgot which version) just stops at the
>>>
>>>
>>> [code]
>>>
>>>
>>> ...
>>>
>>>
>>> Run-time dependency mount found: YES 2.38.1
>>>
>>>
>>> [/code]
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Any help is appreciated. Thanks.
>>>
>>>
>