groovy2shoes has quit [Remote host closed the connection]
Guest54 has joined #crux-devel
Guest54 has quit [Client Quit]
groovy2shoes has joined #crux-devel
groovy3shoes has joined #crux-devel
groovy3shoes has quit [Remote host closed the connection]
groovy2shoes has quit [Ping timeout: 264 seconds]
groovy2shoes has joined #crux-devel
groovy2shoes has quit [Remote host closed the connection]
groovy2shoes has joined #crux-devel
groovy2shoes has quit [Remote host closed the connection]
groovy2shoes has joined #crux-devel
groovy2shoes has quit [Remote host closed the connection]
groovy2shoes has joined #crux-devel
SiFuh has joined #crux-devel
SiFuh has quit [Quit: Lost terminal]
rlittl01 has quit [Read error: Connection reset by peer]
SiFuh has joined #crux-devel
SiFuh_ has quit [Ping timeout: 264 seconds]
SiFuh has quit [Ping timeout: 258 seconds]
SiFuh has joined #crux-devel
SiFuh has quit [Read error: Connection reset by peer]
SiFuh has joined #crux-devel
SiFuh_ has joined #crux-devel
rlittl01_ has joined #crux-devel
SiFuh has quit [Ping timeout: 252 seconds]
SiFuh_ has quit [Ping timeout: 258 seconds]
SiFuh has joined #crux-devel
SiFuh_ has joined #crux-devel
<beerman>
farkuhar: "sed -i "110s/cp -a/cp/" /usr/ports/contrib/openjdk8/Pkgfile" wouldn't that fail with directories? ;)
rlittl01_ has quit [Quit: -a- Connection Timed Out]
<farkuhar>
beerman: thanks for the correction.
<beerman>
looking at the log, the user has to do something gravely wrong elsewhere. ant, rstudio, the jdks, all build fine over here and over there https://crux.ster.zone/packages/3.6/logs/
rlittl01 has joined #crux-devel
<beerman>
¯\_(ツ)_/¯ and if that just that the user was smart enough to setup fakeroot, then fails to remove it for one port... oh well..
<farkuhar>
Line 181 of the ant build log posted by belgacem1958 (https://pastebin.com/9U3L1GAA) shows that the pkgmk user was denied permission writing to /root, and that's why the build requirement "antunit" was reported missing.
<beerman>
thats a configuration problem of his system then, not a port failure. also it makes no sense that jdk8-bin installed fine just after he uninstalled jdk16..
<farkuhar>
I agree it's not a port failure. A misconfigured system is possible, but I'm more inclined to think that the upstream release is not respecting the fakeroot environment.
<beerman>
anyway, it trying to access /root isn't a good thing, but unfortunately i haven't found a good way to tell that to ant ;) preferably i'd like to store all that in PKGMK_SOURCE_DIR for persistance in case of a rebuild etc etc
<beerman>
yep, sure, thats true. afaik, ant expects you to be a unprivileged user and you just do your happy coding in java for yourself.
<farkuhar>
stenur suggested using unshare (from util-linux) to enter a separate namespace where root uid/gid has been remapped to the current user, just for building problematic ports like ant.
<beerman>
let a user that stumbles over this with fakeroot setup an even more obscure build environment, sounds sane to me..
<farkuhar>
"unfortunately i haven't found a good way to tell that to ant" ... do they not have a bug tracker where we could report the attempt to create files in /root , even running under fakeroot?
<beerman>
i am sure they do
<farkuhar>
http://ant.apache.org/bugs.html seems like the place to report it. Better they deal with it than we come up with obscure workarounds like unshare(1) or temporarily changing the prt-get makecommand.
<beerman>
i had to check actually, and pfew, ant is dannys port anyway :þ but i had looked at it at some point in the past, i still have to look at it when rstudio does something new too (and they will do something new sometime in the future, away from qtwebengine towards to electron)
<beerman>
true, wish i had more time, right now i am spending some on the 3.7 toolchain
<beerman>
anyway, recently in a ticket the question was raised why new or longterm users leave CRUX. compiling just takes to much time was one problem. but isn't that what you actually sign up for when you choose CRUX..?
<beerman>
i know thats why i am staying. anyway, i am still eying the CI over gitlab possibilities..
<beerman>
we'd need a CRUX docker buildenv and share the artifact in the end. would be nice for selected big offenders... firefox, libreoffice, rust, llvm, openjdks, heck why not gcc/clang etc?
<beerman>
i imagine this could help users like right now in #crux to not do weird stuff until they understand better. weird in that context can't be a good experience, more like "oh no my X crashed (again)"
rlittl01 has quit [Quit: -a- Connection Timed Out]
rlittl01 has joined #crux-devel
SiFuh has quit [Ping timeout: 245 seconds]
SiFuh_ has quit [Ping timeout: 245 seconds]
SiFuh has joined #crux-devel
SiFuh has quit [Ping timeout: 260 seconds]
SiFuh has joined #crux-devel
SiFuh has quit [Read error: Connection reset by peer]