jaeger changed the topic of #crux to: CRUX 3.7 | Homepage: https://crux.nu/ | Ports: https://crux.nu/portdb/ https://crux.ninja/portdb/ | Logs: https://libera.irclog.whitequark.org/crux/
SiFuh has quit [Remote host closed the connection]
SiFuh has joined #crux
<brian|lfs> make -C client install
<brian|lfs> make[2]: Entering directory '/sources/work/src/LVM2.2.03.22/libdaemon/client'
<brian|lfs> make[2]: Nothing to be done for 'install'.
<brian|lfs> [INSTALL] dmsetup
<brian|lfs> make[2]: Leaving directory '/sources/work/src/LVM2.2.03.22/libdaemon/client'
<brian|lfs> make[1]: Leaving directory '/sources/work/src/LVM2.2.03.22/libdaemon'
<brian|lfs> make[1]: Leaving directory '/sources/work/src/LVM2.2.03.22/tools'
<brian|lfs> strip: unable to copy file 'usr/sbin/dmsetup'; reason: Permission denied
<brian|lfs> strip: unable to copy file 'usr/lib/libdevmapper.so.1.02'; reason: Permission denied
<brian|lfs> strip: unable to copy file 'usr/lib/liblvm2cmd.so.2.03'; reason: Permission denied
<brian|lfs> strip: unable to copy file 'usr/sbin/lvm'; reason: Permission denied
<brian|lfs> huh non root user trying to build llvm
ivandi has quit [Quit: WeeChat 4.0.5]
<ukky> 'make install' without target directory will try to install to root
<brian|lfs> ok uploading Pkgfile
<brian|lfs> becuase I'm using DESTDIR
ivandi has joined #crux
<brian|lfs> I'm guessing it must be a script inside the install script
<brian|lfs> in all likely hood root would be compiling and installing it anyhow so maybe not worth trying to fix
<ukky> can you build package with --log and upload the log? 'sudo prt-get update --margs="-f" --log lvm2'
<brian|lfs> ya
<brian|lfs> well if I build with sudo it has no errors because its using root
<brian|lfs> where would the log file be saved at?
<ukky> Well, my system builds packages with fakeroot user, but installs as root. Never build as root, even kernel.
<brian|lfs> ah ok good point I probably don't have fakeroot
<brian|lfs> other then I forgot to get read of the /var stuff at the end don't see any issues
<brian|lfs> which had nothing to do with the non root failing
<ukky> I think you can try to do just pkgmk as regular user, even the package cannot be used to install later, you can still detect build errors.
<brian|lfs> ya got you
<ukky> building as root can screw up system pretty bad
<brian|lfs> ya agree
<brian|lfs> it was probably something built as root earlier then screw it up
<ukky> could be that. You could search entire system for 'libdevmapper.so.1.02' and check permissions of every instance found, especially in the build directory
<brian|lfs> -r-xr-xr-x 1 root root 370288 Oct 8 01:26 /usr/lib/libdevmapper.so.1.02
<brian|lfs> I guess I would have to do a pkgmk -eo and check the permission of that file
<ukky> No, you have to reproduce the same error and then check system state
<ukky> You need to reproduce this: strip: unable to copy file 'usr/lib/libdevmapper.so.1.02'; reason: Permission denied
<brian|lfs> ah ok would the build folder be saved if it fails
<brian|lfs> or would I have to build manually with non root
<ukky> add '-kw' to pkgmk
<brian|lfs> ok I'll check latter need a break been building packages all day
<brian|lfs> so if the permissions are wrong or for root:root for those 2 files what would be the best approach to resolve?
<brian|lfs> I did a google search to see if anyone encounter this and it don't look like they have
<ukky> This could be specific to your build workflow, so web search might not be helpful
<brian|lfs> agree there and it might not be worth investing because I will have LVM install when core packages are installed so it would be using root and be a non issue.
<brian|lfs> as crazy as it might sound making my own distro of sorts from scratch
<brian|lfs> its been painful but not a lot of issues
<brian|lfs> just time consuming writing packages and modifying packages
SiFuh has quit [Read error: Connection reset by peer]
SiFuh has joined #crux
<ukky> Only 'make install' should be done as root. Building packages should be done as non-root.
<jaeger> Or both, with fakeroot
lavaball has joined #crux
braewoods has joined #crux
<cruxbot> [opt.git/3.7]: c-ares: 1.19.1 -> 1.20.0
<cruxbot> [contrib.git/3.7]: p5-business-isbn-data: 20230926.001 -> 20231006.001
tarxvfz has joined #crux
frinnst has quit [Remote host closed the connection]
frinnst has joined #crux
lavaball has quit [Remote host closed the connection]
lavaball has joined #crux
<cruxbot> [opt.git/3.7]: clang-distcc-bindings: 16 -> 17
<cruxbot> [opt.git/3.7]: clang-ccache-bindings: 16 -> 17
<cruxbot> [contrib.git/3.7]: eza: 0.14.0 -> 0.14.1
<cruxbot> [contrib.git/3.7]: python3-websocket-client: 1.6.3 -> 1.6.4
magnahelix_ has joined #crux
tarxvfz has quit [Ping timeout: 252 seconds]
magnahelix has quit [Read error: Connection reset by peer]
tarxvfz has joined #crux
_0bitcount has joined #crux
Guest59 has joined #crux
_0bitcount has quit [Quit: Leaving]
Guest59 has quit [Quit: Client closed]
tarxvfz has quit [Quit: tarxvfz]
tarxvfz has joined #crux
tarxvfz has quit [Ping timeout: 252 seconds]
tarxvfz has joined #crux
lavaball has quit [Remote host closed the connection]
<cruxbot> [contrib.git/3.7]: objfw: 1.0.3 -> 1.0.4
<cruxbot> [contrib.git/3.7]: mpd: 0.23.13 -> 0.23.14
tarxvfz has quit [Remote host closed the connection]
tarxvfz has joined #crux
<cruxbot> [contrib.git/3.7]: python3-texttable: updated to version 1.7.0
<cruxbot> [contrib.git/3.7]: python3-rpds-py: updated to version 0.10.4
<cruxbot> [contrib.git/3.7]: python3-psycopg2: updated to version 2.9.9
<cruxbot> [contrib.git/3.7]: python3-maturin: updated to version 1.3.0
tarxvfz has quit [Remote host closed the connection]
<cruxbot> [contrib.git/3.7]: libvirt-python: updated to version 9.8.0
<cruxbot> [contrib.git/3.7]: libvirt: updated to version 9.8.0
lavaball has joined #crux
tarxvfz has joined #crux
tarxvfz has quit [Client Quit]
lavaball has quit [Remote host closed the connection]
<cruxbot> [contrib.git/3.7]: objfw: explicitly use clang and openssl
tilman has quit [Ping timeout: 260 seconds]
tilman has joined #crux