awesomeWM / awesome

awesome window manager
https://awesomewm.org/
GNU General Public License v2.0
6.36k stars 598 forks source link

Cannot Upgrade to Git from Repo [debian] #3106

Open SquirrelSenpai opened 4 years ago

SquirrelSenpai commented 4 years ago

Output of awesome --version:

awesome v4.3 (Too long) • Compiled against Lua 5.3.3 (running with Lua 5.3) • D-Bus support: ✔ • execinfo support: ✔ • xcb-randr version: 1.6 • LGI version: 0.9.2

How to reproduce the issue: sudo apt install awesome sudo apt build-dep awesome git clone https://github.com/awesomewm/awesome cd awesome make package cd build sudo dpkg -i *.deb

Actual result: Awesome breaks and doesn't show in DM, and is broken

Expected result: Updated brinaries

Outcome: https://pastebin.com/mwV8a62g Expected: https://pastebin.com/WDuSDhCG

psychon commented 4 years ago

I am a bit confused. Is the problem /usr/local vs /usr? If so, you need make distclean package CMAKE_ARGS=" -DSYSCONFDIR=/etc -DCMAKE_INSTALL_PREFIX=/usr".

Debian seems to call cmake directly:

    cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/arm-linux-gnueabi -DSYSCONFDIR=/etc ..

https://buildd.debian.org/status/fetch.php?pkg=awesome&arch=armel&ver=4.3-4&stamp=1551208550&raw=0

SquirrelSenpai commented 4 years ago

I am a bit confused. Is the problem /usr/local vs /usr? If so, you need make distclean package CMAKE_ARGS=" -DSYSCONFDIR=/etc -DCMAKE_INSTALL_PREFIX=/usr".

Debian seems to call cmake directly:

  cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/arm-linux-gnueabi -DSYSCONFDIR=/etc ..

https://buildd.debian.org/status/fetch.php?pkg=awesome&arch=armel&ver=4.3-4&stamp=1551208550&raw=0

Amazing support, thank you.

Yes, this was indeed the problem. The ran the below as per the repo installation approach for the AMD64 arch https://buildd.debian.org/status/fetch.php?pkg=awesome&arch=amd64&ver=4.3-4&stamp=1551209081&raw=0

make distclean package CMAKE_ARGS="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DSYSCONFDIR=/etc"

Are you able to update the readme to specify the cmake arguments required for Debian? or would you prefer a pull request for debian installation instructions?

LeftoverChineseFood commented 3 years ago

I have this exact same problem with awesome-git on my Debian distro, and when I attempt to install it shows no traces of the install, and does not show up in my KDM. I just found this at school and I'll try this when i get home :)