Re: net-im/signal-desktop

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
On Oct 19, 2025, at 21:34, Mark Millard <[email protected]> wrote:

> void <void_at_f-m.fm> wrote on
> Date: Mon, 20 Oct 2025 02:25:46 UTC :
> 
>> On Sun, Oct 19, 2025 at 11:57:57AM +0100, void wrote:
>> 
>> Reboot happens in the same place. After electron completes
>> and a couple of minutes into signal-desktop build starting.
>> 
>> Here's top from exactly when it happened:
>> 
>> last pid: 17262; load averages: 1.58, 4.47, 7.38 up 0+19:12:53  13:55:30
>> 89 processes:  2 running, 87 sleeping
>> CPU:  5.9% user,  0.0% nice,  1.1% system,  0.2% interrupt, 92.8% idle
>> Mem: 13G Active, 5898M Inact, 1136K Laundry, 13G Wired, 986M Buf, 94G Free
> 
> That is a fairly sizable Active and the Wired is a lot bigger
> than the ARC Total below, basically matching the Active size.
> Also node shows only 187M RES(ident) below.
> 
> I wonder what makes up much of the Active and Wired.
> 
> While I can not match the time frame in the overall build
> sequence to the above at all, I did report:
> 
> 59254Mi MaxObsActive
> 17128Mi MaxObsWired (likely not from the same time point)
> 
> Your figures are not large compared to those.
> 
>> ARC: 5955M Total, 3855M MFU, 1260M MRU, 710K Anon, 39M Header, 766M Other
>>      4475M Compressed, 6925M Uncompressed, 1.55:1 Ratio
>>      Swap: 4034M Total, 4034M Free
>> 
>> PID   USERNAME    THR PRI NICE   SIZE    RES STATE    C   TIME    WCPU COMMAND
>> 8047  root          7  99    0   781M   187M CPU1     1   0:00  19.75% node
>> 30128 root          1  59    0    16M  5192K nanslp   0   3:13   0.87% sh
>> 8202  root          1   0    0    15M  4704K select   3   0:24   0.12% top
>> 39762 root          1   0    0    15M  4480K CPU19   19   0:03   0.11% top
>> 43542 void          1   0    0    25M    12M select   0   0:02   0.01% sshd-session
>> 87984 root          1   0    0    14M  2920K piperd  13   0:00   0.01% timestamp
>> 80631 ntpd          1   0    0    26M  8688K select  16   0:03   0.01% ntpd
>> 85841 void          1   0    0    25M    12M select   1   0:04   0.01% sshd-session
>> 51984 _pflogd       1   0    0    15M  3172K bpf      0   0:02   0.00% pflogd
>> 
>> last few lines of build log:
>> 
>> [00:01:34] Lockfile is up to date, resolution step is skipped
>> [00:01:34] Already up to date
>> [00:01:36] 
>> [00:01:36] 
>> [00:01:36] > [email protected] postinstall /wrkdirs/usr/ports/net-im/signal-desktop/work/Signal-Desktop-7.74.0
>> [00:01:36] > pnpm run build:acknowledgments && pnpm run electron:install-app-deps
>> [00:01:36] 
>> [00:01:38] 
>> [00:01:38] > [email protected] build:acknowledgments /wrkdirs/usr/ports/net-im/signal-desktop/work/Signal-Desktop-7.74.0
>> [00:01:38] > node scripts/generate-acknowledgments.js
>> [00:01:38]
> 
> The log file for my from scratch build has the "node
> scripts/generate-acknowledgments.js" line as 1210 of
> 1557.
> 
> After the above, my log file shows:
> 
>> [email protected] electron:install-app-deps /wrkdirs/usr/ports/net-im/signal-desktop/work/Signal-Desktop-7.74.0
>> electron-builder install-app-deps
> 
>  • electron-builder  version=26.0.14
>  • loaded configuration  file=package.json ("build" field)
>  • executing @electron/rebuild  electronVersion=38.2.0 arch=x64 buildFromSource=false appDir=./
>  • installing native dependencies  arch=x64
>  • preparing       moduleName=bufferutil arch=x64
>  • preparing       moduleName=utf-8-validate arch=x64
>  • preparing       moduleName=@indutny/mac-screen-share arch=x64
>  • preparing       moduleName=@signalapp/windows-ucv arch=x64
>  • preparing       moduleName=bufferutil arch=x64
>  • preparing       moduleName=canvas arch=x64
>  • preparing       moduleName=utf-8-validate arch=x64
>  • finished        moduleName=@signalapp/windows-ucv arch=x64
>  • finished        moduleName=@indutny/mac-screen-share arch=x64
>  • finished        moduleName=utf-8-validate arch=x64
>  • finished        moduleName=utf-8-validate arch=x64
>  • finished        moduleName=bufferutil arch=x64
>  • finished        moduleName=bufferutil arch=x64
>  • finished        moduleName=canvas arch=x64
>  • completed installing native dependencies
> Done in 27.8s using pnpm v10.6.4
> cd /wrkdirs/usr/ports/net-im/signal-desktop/work/Signal-Desktop-7.74.0/sticker-creator &&  /usr/bin/env ELECTRON_OVERRIDE_DIST_PATH=/usr/local/share/electron37  HOME=/wrkdirs/usr/ports/net-im/signal-desktop/work  USE_SYSTEM_APP_BUILDER=true  SOURCE_DATE_EPOCH=$(date +'%s')  PATH=/wrkdirs/usr/ports/net-im/signal-desktop/work/Signal-Desktop-7.74.0/node_modules/.bin:/usr/local/bin:/wrkdirs/usr/ports/net-im/signal-desktop/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin ELECTRON_SKIP_BINARY_DOWNLOAD=1 PYTHONDONTWRITEBYTECODE=1 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net-im/signal-desktop/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-im/signal-desktop/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-im/signal-desktop/work/.cache  HOME=/wrkdirs/usr/ports/net-im/signal-desktop/work TMPDIR="/tmp" PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-im/signal-desktop/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS="  " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing   " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" pnpm install
> Lockfile is up to date, resolution step is skipped
> Progress: resolved 1, reused 0, downloaded 0, added 0
> Packages: +581
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Progress: resolved 581, reused 581, downloaded 0, added 581, done
> 
> dependencies:
> + @formatjs/fast-memoize 1.2.8
> + @indutny/emoji-picker-react 4.10.0
> + @popperjs/core 2.11.8
> + @react-aria/interactions 3.19.0
> + @reduxjs/toolkit 1.9.5
> + @stablelib/x25519 1.0.3
> + base64-js 1.5.1
> + classnames 2.3.2
> + debug 4.3.4
> + focus-trap-react 10.1.1
> + memoizee 0.4.15
> + npm-run-all 4.1.5
> + protobufjs 7.2.5
> + protobufjs-cli 1.1.1
> + qrcode-generator 1.4.4
> + react 18.3.1
> + react-dom 18.3.1
> + react-dropzone 14.2.3
> + react-intl 6.4.1
> + react-popper 2.3.0
> + react-redux 8.0.5
> + react-router-dom 6.10.0
> + react-sortablejs 6.1.4
> + redux 4.2.1
> + reselect 4.1.8
> + sortablejs 1.15.0
> + zod 3.22.3
> 
> devDependencies:
> + @types/debug 4.1.7
> + @types/lodash 4.14.194
> + @types/memoizee 0.4.8
> + @types/react 18.3.20
> + @types/react-dom 18.3.6
> + @types/sortablejs 1.15.1
> + @typescript-eslint/eslint-plugin 5.59.0
> + @typescript-eslint/parser 5.59.0
> + @vitejs/plugin-react 3.1.0
> + emoji-datasource-apple 16.0.0
> + eslint 8.38.0
> + eslint-config-airbnb-typescript-prettier 5.0.0
> + eslint-config-prettier 8.8.0
> . . .
> 
> 
>> I'm out of ideas. I thought the problem may have been because CPUTYPE?= was defined within
>> src.conf but that has been removed and both the os and the builder built from its obj
>> have been rebuilt after clearing /usr/obj /var/cache/ccache and make cleanworld 
>> in /usr/src.
> 
> For amd64:
> 
> https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/pcd2ca5cd2643_s6fa18fe744/logs/signal-desktop-7.74.0_1.log
> 
> shows a successful main 16 latest build as of:
> 
> =>> Cleaning up wrkdir
> ===>  Cleaning for signal-desktop-7.74.0_1
> build of net-im/signal-desktop | signal-desktop-7.74.0_1 ended at Sun Oct 19 16:04:15 -00 2025
> build time: 00:04:36
> 
> (The above shows at https://www.freshports.org/net-im/signal-desktop/
> for FreeBSD:16:latest . The others below do not yet[?] show up.)
> 

It was silly to list the builder's end time instead of, say, the
last builder's end time, which could be much closer to the end
of the overall activity:

=>> Cleaning up wrkdir
===>  Cleaning for FreeCAD-1.0.2_2
build of cad/freecad | FreeCAD-1.0.2_2 ended at Sun Oct 19 17:29:55 -00 2025
build time: 01:07:46

(So, a crude 1.5 hrs later as it turns out.)

> and:
> 
> https://pkg-status.freebsd.org/beefy22/data/143amd64-default/cd2ca5cd2643/logs/signal-desktop-7.74.0_1.log
> 
> shows a successful 14.3 latest build as of:
> 
> =>> Cleaning up wrkdir
> ===>  Cleaning for signal-desktop-7.74.0_1
> build of net-im/signal-desktop | signal-desktop-7.74.0_1 ended at Sun Oct 19 20:52:37 -00 2025
> build time: 00:06:57

=>> Cleaning up wrkdir
===>  Cleaning for ttk-1.3.0_2
build of science/ttk | ttk-1.3.0_2 ended at Sun Oct 19 22:09:39 -00 2025
build time: 00:38:58

(So, a crude 1.0 hrs later as it turns out.)

> and:
> 
> https://pkg-status.freebsd.org/beefy23/data/150releng-amd64-default/774fe8f3f054/logs/signal-desktop-7.74.0.log
> 
> shows a successful 15.0 releng latest build as of:
> 
> =>> Cleaning up wrkdir
> ===>  Cleaning for signal-desktop-7.74.0
> build of net-im/signal-desktop | signal-desktop-7.74.0 ended at Sun Oct 19 01:17:50 -00 2025
> build time: 00:04:10
> 
> (I do not know if the 150releng-amd64 builds are all being distributed
> vs. not. My build was of 7.74.0 as well.)

=>> Cleaning up wrkdir
===>  Cleaning for vscode-1.105.0
build of editors/vscode | vscode-1.105.0 ended at Sun Oct 19 01:33:37 -00 2025
build time: 00:19:56

(So, about 5 min later as it turns out.)

> I never have used ccache or the like so that is another
> environmental difference. I've no clue if such is
> important.
> 
> 
> 
> The processor used was an AMD 7950X3D, which is far more recent
> than the Xeon E5-2690v2 , not that I know if that distinction
> is involved.
> 


===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.