You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build the watchman from source and it is successful with below files.
+ find built -ls
137309098 0 drwxrwxr-x 4 ubuntu ubuntu 28 Feb 16 09:29 built
268848602 0 drwxrwxr-x 2 ubuntu ubuntu 68 Feb 16 10:49 built/lib
268848603 1268 -rw-r--r-- 1 ubuntu ubuntu 1296864 Feb 16 10:49 built/lib/libglog.so.0
268848604 512 -rwxr-xr-x 1 ubuntu ubuntu 522360 Feb 16 10:49 built/lib/libunwind.so.8
268848618 756 -rwxr-xr-x 1 ubuntu ubuntu 774096 Feb 16 10:49 built/lib/liblzma.so.5
403124736 0 drwxrwxr-x 2 ubuntu ubuntu 41 Feb 16 10:49 built/bin
403124748 15844 -rwxr-xr-x 1 ubuntu ubuntu 16224064 Feb 16 10:49 built/bin/watchmanctl
403124749 344032 -rwxr-xr-x 1 ubuntu ubuntu 352286304 Feb 16 10:49 built/bin/watchman
However, whenever I try to build a deb package, it fails on the below step during the /lib directory deletion.
# This is an implicit assertion that the `lib` directory is empty.
# We statically link dependencies for packaging purposes.
rmdir "$BUILT/lib"
As per the comments, it is expected to not have any files inside the lib/ directory but the ./autogen.sh command is generating three lib files as mentioned above. I am not very good at building the packages and want to understand what will fix this. FYI, I tried sudo apt-get install libgoogle-glog-dev libunwind-dev liblzma-dev and it didn't help.
The text was updated successfully, but these errors were encountered:
Details about the machine
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.5 LTS"
I am trying to build the watchman from source and it is successful with below files.
However, whenever I try to build a deb package, it fails on the below step during the /lib directory deletion.
As per the comments, it is expected to not have any files inside the lib/ directory but the
./autogen.sh
command is generating three lib files as mentioned above. I am not very good at building the packages and want to understand what will fix this. FYI, I triedsudo apt-get install libgoogle-glog-dev libunwind-dev liblzma-dev
and it didn't help.The text was updated successfully, but these errors were encountered: