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/
zorz has quit [Quit: leaving]
<joe9> I am working on upgrading pjproject to CRUX-3.6. I get this error:
<joe9> cp: failed to preserve ownership for /home/pkgmk/work/pjproject/pkg/usr/lib/libilbccodec.so: Operation not supported
<joe9> cp: failed to preserve ownership for /home/pkgmk/work/pjproject/pkg/usr/lib/libg7221codec.so: Operation not supported
<joe9> cp: failed to preserve ownership for /home/pkgmk/work/pjproject/pkg/usr/lib/libyuv.so: Operation not supported
<joe9> cp -af $(APP_LIBXX_FILES) $(DESTDIR)$(libdir)/; # causes the above command
<joe9> and that causes a make error
<joe9> make: *** [Makefile:135: install] Error 1
tilman has quit [Ping timeout: 244 seconds]
<joe9> is there a way to ignore those warnings?
tilman has joined #crux
<farkuhar> joe9: Are you building as root, or as a regular user?
<joe9> farkuhar: as a regular user. I am in the port directory and running pkgmk -d -kw
<joe9> which user do you use to build packages?
serpente has quit [Remote host closed the connection]
<darfo_> it looks like the user doesn't have the correct permissions for /home/pkgmk/work/pjproject/pkg/usr/lib/
<darfo_> ls -ld /home/pkgmk/work/pjproject/pkg/usr/lib/ ?
<darfo_> and ls -l /home/pkgmk/work/pjproject/pkg/usr/lib/libg7221codec.so
<darfo_> I usually follow that with the id command to make sure I'm logged in as who I think I am :)
<jaeger> Maybe you should give fakeroot a try
<jaeger> Though I'm not sure what your permissions look like, as darfo_ said that could be an issue
ppetrov^ has joined #crux
zorz has joined #crux
lavaball has joined #crux
jue has joined #crux
<farkuhar> joe9: If your pasted output contains all the errors, then the cp -af command is failing only for the symlinks. The libraries with soversion in their filenames are presumably copied successfully, so your user must have write permissions on the target directory. It makes me curious what's different about the symlinks created during the build.
ppetrov^ has quit [Quit: Leaving]
<joe9> jaeger: farkuhar: fakeroot helps. Sorry for the bother.
<joe9> thanks.
braewoods has quit [Remote host closed the connection]
<jaeger> No worries
joe9 has quit [Quit: leaving]
braewoods has joined #crux
joe9 has joined #crux
<joe9> does pkgmk run pre-install automatically? I have a pre-install file in the port directory. But, it does not seem to be executed by pkgmk.
<joe9> I do not see any Pkgfile calling a pre-install. I assume that some package installation script calls it.
<joe9> wireshark uses a pre-install but the Pkgfile does not execute pre-install.
<joe9> same thing with gitea
<joe9> https://crux.nu/Main/PrePostInstallGuidelines got this. I guess those scripts should be run manually.
<cruxbridge> <tim> joe9: try runscripts in prt-get.conf
<cruxbridge> <tim> otherwise, prt-get got --install-scripts for e.g. install/update
<joe9> ok, thanks. I was using pkgmk directly without prt-get
<cruxbridge> <tim> are you actually still using 3.6?
<joe9> why do you ask? I am taking some ports from 3.5 and trying to get them to build on 3.7
<joe9> is pre-install deprecated?
<cruxbridge> <tim> no, you mentioned 3.6 earlier
joe9 has quit [Quit: leaving]
jue has quit [Ping timeout: 276 seconds]
artix_live_1 has joined #crux
<cruxbot> [opt/3.7]: nodejs: 23.8.0 -> 23.9.0
<cruxbot> [opt/3.7]: unrar: 7.1.4 -> 7.1.5
<cruxbot> [contrib/3.7]: buildah: 1.39.0 -> 1.39.1
<cruxbot> [contrib/3.7]: eza: 0.20.22 -> 0.20.23
<cruxbot> [contrib/3.7]: glow: 2.0.0 -> 2.1.0
<cruxbot> [contrib/3.7]: pnpm: 10.5.1 -> 10.5.2
<cruxbot> [contrib/3.7]: ruff: 0.9.7 -> 0.9.8
<jaeger> Yeah, to clarify, pkgmk does not understand pre-/post-install scripts, that's prt-get
soduim has joined #crux
soduim has quit [Remote host closed the connection]
<cruxbot> [contrib/3.7]: python3-isort: 6.0.0 -> 6.0.1
<cruxbot> [compat-32/3.7]: libxml2-32: 2.13.5 -> 2.13.6
<cruxbot> [compat-32/3.7]: kmod-32: 33 -> 34; new dependencies: openssl-32 zstd-32
joe9 has joined #crux
lavaball has quit [Remote host closed the connection]