Closed stephenh closed 1 year ago
I just manually installed Regolith 20.04 and Regolith 22.04, downloaded the appropriate .deb files, and they run fine for me. That looks like a google logging package mismatch. Did you install the correct .deb?
:thinking: hm, yeah:
$ sudo dpkg -i watchman_ubuntu22.04_v2022.10.17.00.deb
[sudo] password for stephen:
(Reading database ... 367709 files and directories currently installed.)
Preparing to unpack watchman_ubuntu22.04_v2022.10.17.00.deb ...
Unpacking watchman (20221016.020512.0) over (20221009.103647.0) ...
Setting up watchman (20221016.020512.0) ...
[I] ~/Downloads $ sudo apt install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[I] ~/Downloads $ watchman --version
watchman: symbol lookup error: watchman: undefined symbol: _ZN6google21kLogSiteUninitializedE
I tried reinstalling the google logging:
$ sudo apt-get --reinstall install libgoogle-glog0v5
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/60.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 367709 files and directories currently installed.)
Preparing to unpack .../libgoogle-glog0v5_0.5.0+really0.4.0-2_amd64.deb ...
Unpacking libgoogle-glog0v5 (0.5.0+really0.4.0-2) over (0.5.0+really0.4.0-2) ...
Setting up libgoogle-glog0v5 (0.5.0+really0.4.0-2) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
And yeah I have 22.04:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
And in my original post the jammy
repo was used to download the libgoogle package...
I just manually installed Regolith 20.04 and Regolith 22.04, downloaded the appropriate .deb files, and they run fine for me.
Ah wow, thanks for taking the time to check both of those!
It looks like some symbols are working:
1791887: symbol=_ZTIN6google7LogSinkE; lookup in file=watchman [0]
1791887: symbol=_ZTIN6google7LogSinkE; lookup in file=/usr/local/lib/libglog.so.0 [0]
1791887: symbol=_ZN6google7LogSink12WaitTillSentEv; lookup in file=watchman [0]
1791887: symbol=_ZN6google7LogSink12WaitTillSentEv; lookup in file=/usr/local/lib/libglog.so.0 [0]
1791887: symbol=_ZN6google10LogMessage19WriteToStringAndLogEv; lookup in file=watchman [0]
1791887: symbol=_ZN6google10LogMessage19WriteToStringAndLogEv; lookup in file=/usr/local/lib/libglog.so.0 [0]
1791887: symbol=_ZN6google10LogMessage9SendToLogEv; lookup in file=watchman [0]
1791887: symbol=_ZN6google10LogMessage9SendToLogEv; lookup in file=/usr/local/lib/libglog.so.0 [0]
1791887: symbol=_ZN6google19g_logging_fail_funcE; lookup in file=watchman [0]
1791887: symbol=_ZN6google19g_logging_fail_funcE; lookup in file=/usr/local/lib/libglog.so.0 [0]
1791887: symbol=_ZN6google10LogMessage13num_messages_E; lookup in file=watchman [0]
1791887: symbol=_ZN6google10LogMessage13num_messages_E; lookup in file=/usr/local/lib/libglog.so.0 [0]
1791887: symbol=_ZTVN6google12base_logging12LogStreamBufE; lookup in file=watchman [0]
1791887: symbol=_ZTVN6google12base_logging12LogStreamBufE; lookup in file=/usr/local/lib/libglog.so.0 [0]
1791887: symbol=_ZN6google16LogSeverityNamesE; lookup in file=watchman [0]
1791887: symbol=_ZN6google16LogSeverityNamesE; lookup in file=/usr/local/lib/libglog.so.0 [0]
1791887: symbol=_ZN6google10LogMessage10SendToSinkEv; lookup in file=watchman [0]
1791887: symbol=_ZN6google10LogMessage10SendToSinkEv; lookup in file=/usr/local/lib/libglog.so.0 [0]
1791887: symbol=_ZN6google10LogMessage16SendToSinkAndLogEv; lookup in file=watchman [0]
1791887: symbol=_ZN6google10LogMessage16SendToSinkAndLogEv; lookup in file=/usr/local/lib/libglog.so.0 [0]
1791887: symbol=_ZN6google10LogMessage15SaveOrSendToLogEv; lookup in file=watchman [0]
1791887: symbol=_ZN6google10LogMessage15SaveOrSendToLogEv; lookup in file=/usr/local/lib/libglog.so.0 [0]
1791887: symbol=_ZN6google10LogMessage9SendToLogEv; lookup in file=watchman [0]
1791887: symbol=_ZN6google10LogMessage9SendToLogEv; lookup in file=/usr/local/lib/libglog.so.0 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=watchman [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/usr/local/lib/libglog.so.0 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/lib/x86_64-linux-gnu/libpcre2-8.so.0 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/lib/x86_64-linux-gnu/libcrypto.so.3 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/lib/x86_64-linux-gnu/libboost_context.so.1.74.0 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/usr/local/lib/libgflags.so.2.2 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/lib/x86_64-linux-gnu/libdouble-conversion.so.3 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/usr/local/lib/libevent-2.1.so.7 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/lib/x86_64-linux-gnu/libz.so.1 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/lib/x86_64-linux-gnu/libbz2.so.1.0 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/lib/x86_64-linux-gnu/liblzma.so.5 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/lib/x86_64-linux-gnu/liblz4.so.1 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/usr/local/lib/libzstd.so.1 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/usr/local/lib/libsnappy.so.1 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/lib/x86_64-linux-gnu/libunwind.so.8 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/lib/x86_64-linux-gnu/libstdc++.so.6 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/lib/x86_64-linux-gnu/libm.so.6 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/lib/x86_64-linux-gnu/libgcc_s.so.1 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/lib/x86_64-linux-gnu/libc.so.6 [0]
1791887: symbol=_ZN6google21kLogSiteUninitializedE; lookup in file=/lib64/ld-linux-x86-64.so.2 [0]
1791887: watchman: error: symbol lookup error: undefined symbol: _ZN6google21kLogSiteUninitializedE (fatal)
I wonder if the error is because I'd been running a locally-built version of watchman...
Ah! Yep:
$ sudo rm /usr/local/lib/libglog.so.0
Fixed it. The ubuntu package was putting libglog some place else:
$ dpkg -L libgoogle-glog0v5
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libglog.so.0.4.0
That I guess was further back in the resolution chain than the one I'd manually built from the watchman repo awhile ago, so my old/manually-built one got hit first I guess.
This is great, thanks again!
Great, thanks for confirmation!
Really excited to try the watchman binaries again (I had been using a ~20220707 locally built version iirc); I just tried downloading the deb and followed the
dpkg -i
+sudo apt-get -f install
install instructions but am getting this error:cc @chadaustin
Thank you!
Not sure what would help debug this:
And I'm using Regolith Desktop 2.1, which is a Ubuntu 22.04+i3wm based distro.