groovy2shoes has quit [Remote host closed the connection]
Guest54 has joined #crux
Guest54 has quit [Client Quit]
groovy2shoes has joined #crux
<cruxbot>
[opt.git/3.6]: [notify] qt5: various patches and one CVE-2021-3481 Out of bounds read in function QRadialFetchSimd from crafted svg file
maledictium has quit [Ping timeout: 252 seconds]
groovy3shoes has joined #crux
groovy3shoes has quit [Remote host closed the connection]
groovy2shoes has quit [Ping timeout: 264 seconds]
groovy2shoes has joined #crux
groovy2shoes has quit [Remote host closed the connection]
<cruxbot>
[opt.git/3.6]: [notify] qt6 monolithic port dropped in favor of modular qt6-*. Please update your dependencies, currently only contrib/cutemaze depends on qt6
<cruxbot>
[opt.git/3.6]: [notify] qt6 monolithic port dropped in favor of modular qt6-*. Please update your dependencies, currently only contrib/cutemaze depends on qt6
<cruxbot>
[contrib.git/3.6]: [notify] cutemaze: dependencies changed to modular qt6-* ports. New deps are qt6-base qt6-svg qt6-tools, qt6 is removed
SiFuh has quit [Read error: Connection reset by peer]
SiFuh has joined #crux
SiFuh_ has joined #crux
rlittl01_ has joined #crux
Belgacem1958 has joined #crux
Belgacem1958 has quit [Remote host closed the connection]
maledictium has joined #crux
SiFuh has quit [Ping timeout: 252 seconds]
SiFuh_ has quit [Ping timeout: 258 seconds]
SiFuh has joined #crux
SiFuh_ has joined #crux
CrashTestDummy2 has joined #crux
Stealth has quit [Excess Flood]
Stealth has joined #crux
Belgacem1958 has joined #crux
CrashTestDummy3 has quit [Ping timeout: 268 seconds]
<Belgacem1958>
Can i build and install a packackage without pkgmk? (For root privileges)
<pedja>
why not run pkgmk as root, if the package is 'special' enough so it can't be built under fakeroot?
<pedja>
make/make install will work, but that'll leave a mess
tilman has quit [Ping timeout: 264 seconds]
tilman has joined #crux
<Belgacem1958>
peda :I actually have an issue (privileges) while compiling openjdk8 with pkgmk -d -i. Someone proposed to compile as root (not fakeroot)
<pedja>
Belgacem1958, could you paste the build log when you try the fakeroot build? I am curious what's the issue
<pedja>
there should be log...somewhere. check pkgmk/prt-get config files for paths to it
Belgacem1958 has quit [Read error: Connection reset by peer]
AndroUser has joined #crux
<farkuhar>
one workaround for the failed openjdk8 build is to install jdk8-bin instead. Just make sure that /etc/prt-get.aliases has the line jdk8-bin: openjdk8 , and then packages that list openjdk8 among their dependencies will be satisfied with jdk8-bin.
AndroUser has quit [Remote host closed the connection]
<pedja>
belgacem1958, I apologise, but figuring what's wrong will require someone actively using Crux, it's been a while for me :)
<farkuhar>
The compilation succeeded just fine. The only error appears at the end, when running `cp -a` as the pkgmk user under fakeroot. The build log says that file ownership could not be preserved, and that's where it fails.
<farkuhar>
Line 110 in the openjdk8 Pkgfile is the command that fails.
<farkuhar>
I'm curious whether anyone has an example of stenur's suggestion to build in a separate namespace, using unshare (from util-linux) to remap the root uid/gid to the current user.
<farkuhar>
I haven't yet seen a port that uses unshare(1) in this way, but it might be something to consider for openjdk8 and ant.
<Belgacem1958>
Frakuhar : "I'm curious whether anyone has an example of stenur's suggestion to build in a separate namespace, using unshare (from util-linux) to remap the root uid/gid to the current user." is interesting, but i have no idea about this procedure
<farkuhar>
belgacem1958: if you're insistent on building from source, rather than settling for jdk8-bin, then an easy fix is to run sed -i "110s/cp -a/cp/" /usr/ports/contrib/openjdk8/Pkgfile . Then the copy command shouldn't fail, even running pkgmk as an unprivileged user.
<Belgacem1958>
Farkuhar : 1) great to have this solution! 2) jdk8-bin really exists in the ports ??
<farkuhar>
You might get a footprint mismatch, but there's a way to invoke tar inside /usr/bin/pkgmk so that owner and group are set to root when compressing $PKG into a tarball.
<farkuhar>
belgacem1958: Yes, jdk8-bin is in the opt port collection.
<Belgacem1958>
Ok, i think this will solve my problems. Thank you very very much
<farkuhar>
np
<Belgacem1958>
Farkuhar : good news ==> after removing openjdk16-jdk, jdk8-bin is installed without any problem
rlittl01_ has quit [Quit: -a- Connection Timed Out]
rlittl01 has joined #crux
Belgacem1958 has quit [Ping timeout: 256 seconds]
<jeremyc>
I've just installed the postgresql package, and it failed. MISSING -rw-rw---- postgres/postgres var/log/postgresql (EMPTY)
<jeremyc>
NEW -rw-rw---- 42/42 var/log/postgresql (EMPTY)
<jeremyc>
The thing that causes me concern is that in /etc/prt-get.conf I have runscripts yes and the postgresql port has a pre-install script that creates postgres user/group. It seems that the script didn't run?
<farkuhar>
jeremyc: maybe it ran, but the user and group were already present (added by another port, perhaps), and the useradd/groupadd commands were never invoked with ID=42.
<farkuhar>
Does /etc/group have a line for postgres on your system? If so, what numerical id is listed there?
<jeremyc>
farkuhar: the user and group did not exist. After the install failed, I ran the pre-install manually and the user/group then showed up and the build then passed and postgresql installed.
<jeremyc>
I wonder if I have other scripts that didn't run since I've been setting up my system these past two days :-/
<jeremyc>
However, I see a group for pulse, which was created by pulseaudio/pre-install. Weird.
<farkuhar>
It's good that you're checking these pre-install and post-install scripts to see what they do, and confirming that the expected changes were made. New users to CRUX might just set runscripts=yes and subsequently forget to double-check what prt-get is doing.
rlittl01 has quit [Quit: -a- Connection Timed Out]
rlittl01 has joined #crux
humky has quit [Remote host closed the connection]
humky has joined #crux
<jeremyc>
Can a single Pkgfile produce two packages? For example, the contrib/postgresql works but it does not include any of the common contrib/ modules. To build the contrib/ modules, though, you need to have the main postgresql/ configured (and potentially built). So, could Pkgfile produce a postgresql#14.0.0. and postgresql-contrib#14.0.0 package?
<jeremyc>
(for now, I just copied postgresql to my own ports dir and modified the build to include contrib packages.
humky has quit [Remote host closed the connection]
humky has joined #crux
<jeremyc>
I do not see any reference to ntpdate in any port. How do people keep their clocks in sync?
sunsh1ne_warrior has joined #crux
<groovy2shoes>
jeremyc, i think you can use rdate for that
<groovy2shoes>
also, i don't think pkgmk can pull two packages out of one Pkgfile. i could be wrong about that, but i think the usual way is to make two Pkgfiles.
jeremyc_ has joined #crux
jeremyc has quit [Ping timeout: 258 seconds]
<farkuhar>
jeremyc_: the recommended clock sync tool these days is chrony, which is in the opt ports collection.
sunsh1ne_warrior has quit [Quit: Leaving]
SiFuh has quit [Ping timeout: 245 seconds]
SiFuh_ has quit [Ping timeout: 245 seconds]
SiFuh has joined #crux
humky has quit [Remote host closed the connection]
humky has joined #crux
humky has quit [Remote host closed the connection]
SiFuh has quit [Ping timeout: 260 seconds]
jeremyc_ has quit [Remote host closed the connection]
SiFuh has joined #crux
SiFuh has quit [Read error: Connection reset by peer]
<Guest323>
i am trying to install crux 3.6.1 on HP dl360 bios+gpt, with sda1 as /boot and sda2 as luks partition with cryptsetup with underlying lvm. is anybody running this setup with syslinux successfully?
<Guest323>
i have managed to run such system earlier but with luks and lilo but no gpt.
<Guest323>
and of course custom written initramfs. mkinitramfs from nullspoon on portdb does not handle lvm