2020-10-01 06:31:31 hi all, i'm getting on 3.12.0 message apk-tools are old when running abuild, but apk upgrade has nothing new 2020-10-01 06:53:14 and few of "fatal: not a git repository (or any of the parent directories): .git" 2020-10-01 06:56:39 indy: you run abuild in directory which don't have .git 2020-10-01 06:57:15 to get aports, you should git clone, then go in the directory of your chosen package 2020-10-01 06:59:22 i'm polishing package before i'll put it in customer's git 2020-10-01 07:00:01 trying to fix issue with cmake and rpath "WARNING: somepackage: Redundant /usr/lib in rpath found" 2020-10-01 07:02:42 tried several combinations of https://dpaste.org/uoHX 2020-10-01 07:06:07 that's probably more suited for #alpine-linux 2020-10-01 07:09:47 I think you can specify -DCMAKE_SKIP_INSTALL_RPATH=TRUE to CMake, indy 2020-10-01 07:10:05 But if they doesn't work it's fine to leave the rpath in 2020-10-01 07:10:38 good morning 2020-10-01 07:10:47 ncopa: !12185 2020-10-01 07:11:17 I think this should be merged. any objection? 2020-10-01 07:12:03 ncopa: I assigned MR to you and forgot about it, sorry 2020-10-01 07:19:03 Cogitri, already tried, still redundant /usr/lib in rpath, i think i can live with warning as there is no more scanelf red alert regarding rpath :) 2020-10-01 07:21:04 Cogitri, thanks 2020-10-01 07:28:10 👍 2020-10-01 08:57:38 is this waiting for the maintainer to approve? https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/13056 2020-10-01 10:15:35 mps: how did you fix that naming conflict with par? 2020-10-01 10:17:15 ikke: for now by 'depends="!rancid"' 2020-10-01 10:18:03 ok 2020-10-01 10:18:50 when I found time (this means 'never' :) ) I will look at rancid and does it make sense to move its executables in /usr/lib{exec}/rancid dir 2020-10-01 12:55:40 Hi folks. The Edge armv7 and armhf builders have been failing on testing/mpdecimal for several days now and its clogging up the queues - I've got a package merged on 26th and another merged on 28th that are still affected by this 2020-10-01 12:56:28 Ariadne said she would look at it. I wanted to disable this specific test, but could not find how. 2020-10-01 12:56:38 Otherwise, i'll disable the entire package for those arches + dependencies) 2020-10-01 12:56:53 haven't gotten to it yet sorry 2020-10-01 12:58:37 Ariadne: no problem, just wanted to check it was on peoples' radar 2020-10-01 13:04:05 minimal: I have #alpine-commits open continue, so I see it constantly failing to build :) 2020-10-01 13:04:48 ikke: staring into the abyss? ;-) 2020-10-01 13:04:53 heh 2020-10-01 13:17:20 is the BSD_PROCESS_ACCT useful nowadays on linux? 2020-10-01 13:21:09 Ariadne: see you kicked armhf and armv7, unfortunately the 1st testing package they both picked to build is.....mpdecimal :-( 2020-10-01 13:21:29 that's not wht 2020-10-01 13:21:37 I want to keep the mips builder busy 2020-10-01 13:21:56 I asked on here a couple of days ago whether the builders could be changed (even temporarily) to upload each *individual* package when built, at present it appear to want to built all pending testing packages before uploading them all in one go - so if it hangs (like with mpdecimal) then each time its kicked it builds a lot of the same package all over again before hanging 2020-10-01 13:24:02 That can be done but we usually don't have the builders in that mode because that masks build failures from maintainers and causes problems for users on those arches (due to missing packages) 2020-10-01 13:24:58 And the repo might get inconsistent when a package breaks soname, fails to build on that arch but then the builder goes on rebuilding the packages that depend on it 2020-10-01 13:25:11 And we want to keep things green as much as possible 2020-10-01 13:25:15 this kind of stimulates that 2020-10-01 13:25:48 just seems like the testing backlog on the hanging builders archs is getting larger and larger as a result... 2020-10-01 13:26:52 Yup, but the fix to that is to fix the failing package and not to let the builders wave the failure 2020-10-01 13:29:28 didn't mean to wave any failure. I've seen (on build.alpinelinux.org) one of my pending testing packages (unconnected to mpdecimal) build successfully at least once but because that builder then hung on mpdecimal my built package was never uploaded and so continues to be built and thrown away when the builder hangs 2020-10-01 13:30:13 Problem is that you then easily run into dependency issues 2020-10-01 13:30:55 right, am not familiar with how the builders work exactly. 2020-10-01 13:31:44 just seems at the very least very wasteful of resources to keep building and throwing away stuff repeatedly 2020-10-01 13:31:50 They get notified of new commits, start building each repo in build order, after each repo is built, it syncs the repo with the master 2020-10-01 13:31:56 minimal: i dont think we want upload individual built packages. It will cause a mess when bumping ABI breaking updates 2020-10-01 13:32:43 ncopa: was only a temporary suggestion to be over the ever-increasing backlog for some archs 2020-10-01 13:33:08 ncopa: BTW dropped you an email earlier in the week with some cloud-init backgrounder notes 2020-10-01 13:33:47 oh, right sorry, i have been distracted with other stuff this week. sorry 2020-10-01 13:34:04 minimal: typically failing packages are fixed sooner (in some way or another) 2020-10-01 13:35:11 Ariadne, ncopa: should I just disable the package for now? 2020-10-01 13:35:22 just had a look at the mpdecimal log, seg fault during tests. Maybe just disable tests? 2020-10-01 13:35:23 It's in testing anyway 2020-10-01 13:35:27 yes 2020-10-01 13:35:39 minimal: We prefer not to 2020-10-01 13:36:06 minimal: unless we have verified it's the actual test that is the issue, and not something in the program / library itself 2020-10-01 13:36:26 Just disabling tests can mask potential real issues 2020-10-01 13:38:17 then temporarily disabling the package as you suggested at least for a short time would let the builders catch up on their backlog 2020-10-01 13:40:55 why not contact maintainer 2020-10-01 13:41:50 php7-pecl-decimal and py3-pylint deps on it 2020-10-01 13:43:41 i think we can temp disable it and ping the maintainer 2020-10-01 13:48:00 controversial opinion: next alpine release should be alpine 13 instead of alpine 3.13 2020-10-01 13:48:48 :) 2020-10-01 13:49:18 the 3. part has basically lost any useful meaning at this point 2020-10-01 13:49:33 4.1 2020-10-01 13:49:42 doomsday release 2020-10-01 13:50:07 1.3 2020-10-01 13:50:48 2020.12.{day_of_month} 2020-10-01 13:51:19 but for me 3.13 is quite ok 2020-10-01 13:51:52 13 is also ok though :) 2020-10-01 13:53:06 I'm much too accustomed to dots in release numbers 2020-10-01 13:53:44 when I see something without at least one dot it looks strange to me 2020-10-01 13:55:11 you'll adapt 2020-10-01 13:55:16 mdec was already disabled on ppc64le and x86, but not yet on armv7 and armhf 2020-10-01 13:55:42 Ariadne: I want to see at least Alpine 3.14, after that, I don't care :P 2020-10-01 14:05:06 ikke: Alpine 3.151492 ? 2020-10-01 14:05:28 3.14.1592 2020-10-01 14:05:30 the "Piece of pie" release :-) 2020-10-01 14:10:12 Alpine $(busybox date -Isec) 2020-10-01 14:12:41 wouldn't it be better to make rust program which do same ^ 2020-10-01 14:12:59 do what ? 2020-10-01 14:13:14 $(busybox date -Isec) 2020-10-01 14:13:45 we are becoming real hipsters :) 2020-10-01 14:22:22 minimal: armhf/v7 are now up-to-date 2020-10-01 14:24:11 I expect kernel 5.8.13 release in few hours, hm 13 ;) 2020-10-01 14:24:39 5.4.69 is just released 2020-10-01 14:38:38 ikke: Thanks 2020-10-01 16:27:46 Ariadne: is mips64 builder gone because of build php? or other reason? 2020-10-01 18:31:28 [10:27] <f44336andypost[m]> Ariadne: is mips64 builder gone because of build php? or other reason? 2020-10-01 18:31:33 it's catching up 2020-10-01 18:35:43 [07:55] <@da8e00ikke> Ariadne: I want to see at least Alpine 3.14, after that, I don't care :P 2020-10-01 18:36:01 ok 3.13, 3.14, 15? :) 2020-10-01 18:42:33 I don't understand. is the 3.13 wrong or bad and why 2020-10-01 18:48:45 mps: I think the argument is that the 3.x doesnt really make sense when we don't bump to 4.x at some point 2020-10-01 18:49:13 Unless we want to jump to 4.x for apk-tools v3 2020-10-01 18:53:02 Cogitri: big jump is for big changes, imo. when we switch to glibc or systemd :D 2020-10-01 19:00:22 lol 2020-10-01 19:01:32 mps: you can label that one "Alpine: Malware Edition" 2020-10-01 19:03:00 :) 2020-10-01 19:11:45 Having a stable major version is a feature ;-) 2020-10-01 20:03:33 ikke: in consumer cultures (all world nowadays) people want 'new' and not 'stable' 2020-10-01 20:15:14 mps: People want both at the same time 2020-10-01 20:16:48 :) 2020-10-01 20:17:03 Yup, but I think it's mostly new and stable (as in works, not unchanging) 2020-10-01 20:27:59 which usually doesn't go together, and there are still some people survived which are not 'consumers' by their personality 2020-10-01 20:29:03 maxice8: just pushed linux-edge with task and io accounting enabled. you can test iotop-c if you want, when builders finish 2020-10-01 20:43:50 ty 2020-10-02 06:01:33 >>> WARNING: fsverity-utils-dev*: Found static archive on usr/lib/libfsverity.a but name doesn't end with -static 2020-10-02 06:01:56 this warning should be removed from abuild 2020-10-02 06:02:17 and good morning 2020-10-02 06:20:04 morning 2020-10-02 06:31:10 morning 2020-10-02 07:00:03 mps: so it has been decided that static libs will be in -dev ? 2020-10-02 07:13:03 maxice8: to my disappointment (and our new users) no, else I would write 'MUST' instead of 'should' 2020-10-02 07:14:42 but I do 'change' (i.e. not making -static libs subpkgs) for pkgs I maintain. we have to start somewhere, I think 2020-10-02 07:15:44 and we are discussing this nearly about two years without any action, it is time to decide about that 2020-10-02 11:36:51 mps: so far, I have only seen you bring it up each time :) 2020-10-02 11:40:18 ikke: yes, because I want to improve alpine 2020-10-02 11:40:57 and because I'm annoying sometimes ;) 2020-10-02 11:47:59 started to work on fakeroot upgrade, but want to know does anyone else working on it, to not waste time and work on other things which needs 'care' 2020-10-02 11:48:30 I don't think anyone else works on it yet 2020-10-02 11:48:46 mps: Maybe it'd be best to make a vote or something on it on the MR 2020-10-02 11:48:50 s/R/L/ 2020-10-02 11:48:50 Cogitri meant to say: mps: Maybe it'd be best to make a vote or something on it on the ML 2020-10-02 11:49:25 I also think that the split doesn't make a ton of sense, I don't see when I'd need the static lib and not the other development files 2020-10-02 11:52:32 Cogitri: i agree with you but using our ML is hmm.... cumbersome to me 2020-10-02 11:53:01 lol, mailing list 2020-10-02 11:53:41 mps: Hm fair, but I doubt that saying it on IRC will lead to anything 2020-10-02 11:53:49 So the ML is still the best way to reach all devs 2020-10-02 11:54:03 Since many Devs don't check their gitlab pings 2020-10-02 11:54:40 ikke: Cogitri: from time to time we got questions on #alpine-linux related to -static libs. new users/developers can't find static libs by installing just -dev and they are surprised about -static 2020-10-02 11:55:12 mps: isn't that an issue with subpackages in general? 2020-10-02 11:55:19 Cogitri: I think we can make decision on IRC also, most of us are here 2020-10-02 11:55:28 ikke: no 2020-10-02 11:56:35 most new users understand our subpackages, i.e. -dev, -doc etc., but not -static libs 2020-10-02 11:57:00 and most of them think that -static is static binaries of pkgs 2020-10-02 11:57:31 we regularly get questions about missing man-pages 2020-10-02 11:57:51 -dev is less of an issue because it's similar to what ubuntu does I guess 2020-10-02 11:58:08 ubuntu/debian 2020-10-02 11:58:21 Yup 2020-10-02 11:59:50 But right now we have a somewhat confusing mix of packages having -static for binaries, having -static for libs or nothing having -static at all and instead having the static libs in -dev 2020-10-02 12:00:04 yes, that's true 2020-10-02 12:00:05 yes, man pages (-doc) questions are what keeps repeating mostly 2020-10-02 12:00:24 So imho we either have to get rid of -static for libs or add it everywhere 2020-10-02 12:00:39 Cogitri: +1 2020-10-02 12:00:40 -staticlibs :P 2020-10-02 12:00:53 s/+1/+100/ 2020-10-02 12:00:53 mps meant to say: Cogitri: +100 2020-10-02 12:01:27 ikke: I like your sense of humor ;) 2020-10-02 12:01:40 -static-dev or -dev-static :D 2020-10-02 12:03:19 seriously, we should start removal of -static libs, for start no new libs should have -static subpackage 2020-10-02 12:04:08 removal can't be done for all in one release cycle but we have to start 2020-10-02 12:06:52 We would need proper replace/provides as well 2020-10-02 12:08:39 I think it would be better to fix every dependant pkg when we change/remove -static from one of them 2020-10-02 12:09:13 fix in batches TM 2020-10-02 12:12:02 and some of -static libs subpkgs are not used in any other packages 2020-10-02 12:12:23 ikke: `provides="$pkgname-static"; replaces="$pkgname-static"` should be enough? 2020-10-02 12:12:27 they are made just because of inertia 2020-10-02 12:13:12 insep_: I dislike this idea with provided/replaces 2020-10-02 12:13:36 we need to clean this and not complicate it 2020-10-02 12:15:31 grep -r mbedtls-static . => nothing 2020-10-02 12:15:52 grep -r libx11-static . => nothing 2020-10-02 12:16:34 so why add `provides="$pkgname-static"; replaces="$pkgname-static"` to them and a lot of other 2020-10-02 12:16:58 Only in case the -static package exists and is later removed 2020-10-02 12:17:20 mps: but then we might break setups of people who have just $pkgname-static installed and not $pkgname-dev for some reason 2020-10-02 12:17:34 Or we get the same issues as with python, where things break on upgrade because people have -static in world 2020-10-02 12:17:38 agreed that it should be done only in already eхisting packages 2020-10-02 12:18:12 when will we be able to remove the py- ? 2020-10-02 12:18:18 from provides= and replaces= ? 2020-10-02 12:19:06 users have to adapt to changes 2020-10-02 12:20:02 if we try to keep expectations of all users we should stop any working on alpine, to have it 'set in stone' as it is 2020-10-02 12:20:19 mps: we need to provide a clean upgrade path 2020-10-02 12:20:27 the situation with alpine 3.12 was painful 2020-10-02 12:21:04 heh, I can't even imagine what will be with 3.13 2020-10-02 12:21:51 how many pkgs will break because of AS-unsafe 2020-10-02 12:28:32 good question 2020-10-02 12:28:40 I hope we have a good solution before 3.13 is released 2020-10-02 12:28:51 before leaving to meeting, have to add that I'm not strongly against `provides="$pkgname-static"; replaces="$pkgname-static"` 2020-10-02 12:56:05 this is how, as a developer, I try to organize things when I have to dispatch stuff into several packages (and how I do it on Adélie): 2020-10-02 12:57:53 $pkgname has the binaries, $pkgname-libs has the .so's (so $pkgname typically depends on $pkgname-libs if the binaries are dynamically linked), $pkgname-dev has the headers and static libs, and (this is ugly but consistent) $pkgname-libs-dev has the .so link to the .so.maj.min, that link is only needed when actually building stuff that links against that .so 2020-10-02 12:58:31 that's a lot of subpackages, but if you want a logical semantic separation, that's what you need 2020-10-02 12:59:18 I'd do that but without -libs-dev 2020-10-02 12:59:45 and where would you put the /usr/lib/foobar.so symlink to foobar.so.2.6 ? 2020-10-02 12:59:52 -dev 2020-10-02 13:00:24 that means that either you have a dangling symlinks, or foobar-dev depends on foobar-libs 2020-10-02 13:00:27 which I wanted to avoid 2020-10-02 13:01:00 because you shouldn't need the shared libs when doing development 2020-10-02 13:02:20 unless linking shared? 2020-10-02 13:02:54 of course, in which case you install foobar-libs-dev because you need it, and it depends on foobar-libs and everything works as intended 2020-10-02 13:04:51 and foobar-libs-dev depends on foobar-dev ? 2020-10-02 13:05:10 no 2020-10-02 13:05:42 So you'll need to install foobar-dev and foobar-libs-dev 2020-10-02 13:06:18 yeah. -dev because you're doing development, and -libs-dev because you're doing development that needs the shared libs. 2020-10-02 13:07:07 but if you wanted to avoid that step, you could artificially add a dep from -libs-dev to -dev 2020-10-02 13:08:44 I'd say the proposed setup but without -libs-dev also sounds good to me 2020-10-02 13:09:09 again, I don't like -libs-dev aesthetically, but I don't know where else to put it logically 2020-10-02 13:09:22 Into -dev 2020-10-02 13:09:39 that means that either you have a dangling symlink, or foobar-dev depends on foobar-libs 2020-10-02 13:09:49 Most development is with shared libs, dev machines have enough space available usually and the separation seems confusing and artificial to me 2020-10-02 13:09:59 -dev should depend on -libs, yes 2020-10-02 13:10:11 I thought the point of Alpine was to be small and avoid bloat 2020-10-02 13:10:37 you can say 'who cares it's for development' but that's a slippery slope 2020-10-02 13:11:00 are there cases when you need one but not the other? 2020-10-02 13:11:10 I do that all the time. 2020-10-02 13:11:20 I never need shared libs while developing. 2020-10-02 13:11:57 shared libs are another level of complexity that I prefer to handle once I got my shit fixed with static libs already. 2020-10-02 13:12:48 I'd argue alpine is about not having bloat on user machines, not necessarily dev machines 2020-10-02 13:13:01 how do you tell the difference? 2020-10-02 13:13:05 are devs not users? 2020-10-02 13:13:21 since I'm a dev, I don't deserve a lean machine? 2020-10-02 13:13:32 At that point you could argue that we shouldn't package headers in -dev because people who don't use C(++) don't need those 2020-10-02 13:13:52 tbh I originally wanted to separate headers from .a's 2020-10-02 13:14:07 because it's not the same functionality, and if you link with shared you don't need the .a's 2020-10-02 13:14:15 but I was told a resounding 'no' 2020-10-02 13:14:18 so, meh 2020-10-02 13:15:09 it's all a question of what granularity we want to have, and of course people like me who like control will want the smallest reasonable granularity possible 2020-10-02 13:15:26 and packagers and maintainers, who have different interests, will want a larger granularity 2020-10-02 13:17:28 skarnet: developers with knowledge (like you) can do development in minimal system, but average ones would be lost in this 2020-10-02 13:18:08 I appreciate the compliment, but I don't think distain for 'average developers' is a good position to have 2020-10-02 13:18:19 disdain, even 2020-10-02 13:18:59 it is not disdain (at least not my intention) but my experience 2020-10-02 13:19:29 I can understand that, but it is with packagers and developers as it is with developers and users 2020-10-02 13:19:50 I *know* that most users suck and won't be able to tell the head of my software from its ass 2020-10-02 13:20:10 but making the assumption that they will suck leads to terrible software design 2020-10-02 13:20:28 it's an information I cannot use when writing software 2020-10-02 13:20:57 I have to write assuming users are knowledgeable and smart and will use the software correctly 2020-10-02 13:21:28 understand, but we are trying to make distro for 'average' developer to be usable (average is not pejorative) 2020-10-02 13:21:29 it makes power users happy, and it challenges other users a little but they can overcome the challenges and actually become better 2020-10-02 13:21:46 same thing with distributions and developers, I believe 2020-10-02 13:23:20 ime even well known and knowledgeable developers ask sometimes 'trivial' questions about alpie and musl when I report bug to them 2020-10-02 13:23:24 I don't think you can pretend that a lean-and-mean, server-oriented, docker-oriented, musl libc-using distribution is targetting 'average' developers - you are already challenging them 2020-10-02 13:23:28 (and it's a good thing) 2020-10-02 13:24:01 yes, that is how I 'accepted' alpine (and musl) 2020-10-02 13:24:25 but again my experience show that not all do this so easy 2020-10-02 13:25:26 coming back down to the specifics, if we're talking about development package granularity, this could certainly be solved with metapackages 2020-10-02 13:26:15 foobar-kitchensink that will install -dev, -libs-dev, and whatever else you want 2020-10-02 13:26:29 sure, but is that optimal solution 2020-10-02 13:27:29 it's a solution that keeps me happy, that keeps lazy devs happy, and that has a small overhead for packagers, so of course it's not an optimal solution for packagers. :P 2020-10-02 13:28:05 personally for me current situation is not problem, but repeating answers on our support channels is boring at least 2020-10-02 13:29:08 yeah, you can't tech your way out of a user education and culture problem (people don't read the docs and prefer asking live, it's not new) 2020-10-02 13:29:43 yes, right 2020-10-02 13:30:07 (says someone who do same from time to time) 2020-10-02 13:30:15 (guilty too) 2020-10-02 13:31:58 to finish my talk about this, I agree with Cogitri how to do 'this' and actually I do that for most pkgs I maintain 2020-10-02 15:39:09 Some packages on ppc64le are failing with CMakeFiles/KPimItinerary.dir/KPimItinerary_autogen/mocs_compilation.cpp.o uses 64-bit long double, /usr/lib/gcc/powerpc64le-alpine-linux-musl/10.2.0/../../../../lib/libgcc_s.so.1 uses 128-bit long double 2020-10-02 17:08:11 <[[sroracle]]> The strongest advantage of having .a in a separate -static subpackage from the distro dev perspective is being able to more easily track which packages are consuming static libraries 2020-10-02 17:08:24 <[[sroracle]]> and therefore need to be rebuilt in case of security issues 2020-10-02 17:08:58 <[[sroracle]]> ideally nothing would be consuming these packages but it happens occasionally (i think php is an example) 2020-10-02 17:09:04 I see no infra for managing usage of static by distros 2020-10-02 17:09:24 <[[sroracle]]> it also ensures that packages that SHOULD be dynamically linking libraries... actually are 2020-10-02 17:09:45 That is true, I found s6 was linking static after we switched to separate -static 2020-10-02 19:13:45 it's on purpose 2020-10-02 19:14:15 s6 uses so little libc that it's an actual *gain* to link it statically 2020-10-02 19:14:59 also, there was a time when I had hope it could be used in the base system, and static linking ensures it doesn't break when you change libcs etc. 2020-10-02 21:54:25 <[[sroracle]]> yes, there are exceptions where it is better to statically link 2020-10-02 21:54:32 <[[sroracle]]> and this makes it easy to track those cases :) 2020-10-03 11:49:28 ncopa: ping 2020-10-03 12:04:54 maxice8: I think his cron daemon activated suspend-on-weekend feature 2020-10-03 12:10:02 static or dynamic linking should be user and build system controlled 2020-10-03 12:14:15 of course 2020-10-03 21:42:30 fabled: ping 2020-10-04 18:58:03 What's the name of the PKGBUILD to APKBUILD converter? 2020-10-04 18:59:51 gjabell: toapk 2020-10-04 19:00:28 Keep in mind that it's an imperfect conversion so make sure to check the APKBUILD afterwards and run the linter on it 2020-10-04 19:01:26 Thanks 2020-10-04 19:01:32 Yeah just want a starting point 2020-10-04 19:02:06 👍 2020-10-05 08:42:36 maxice8: pong 2020-10-05 09:22:26 any plans for a v3.12.1 in the near future? 2020-10-06 04:51:56 python 3.9 is out 2020-10-06 04:58:29 maxice81: kitinary started to fail on ppc64le (perhaps due to gcc10?). THe error is about 64-bit long doubles vs 128 bit long doubles 2020-10-06 04:59:49 PureTryOut[m]: ^ 2020-10-06 06:09:56 morning 2020-10-06 06:10:16 HRio: we should make a 3.12.1 release, yes 2020-10-06 06:24:51 do we plan to move gtk from main to community for 3.13 release 2020-10-06 06:25:15 and good morning all 2020-10-06 07:11:12 mps: not really feasible, we'd have to move loads of stuff 2020-10-06 07:11:42 And since gtk+3.0 won't really change much now that gtk4.0 is around the corner it's not a problem to leave it in main imho 2020-10-06 07:47:23 Cogitri1: I think it's more about dependencies, not? 2020-10-06 08:49:04 ikke: You mean the dependencies gtk+3.0 has? 2020-10-06 08:51:33 yeah 2020-10-06 08:52:36 Things that need to stay in main because gtk+3.0 is in main 2020-10-06 08:56:55 Hm fair, I guess that might be more of a concern 2020-10-06 10:35:00 Already mentioned on other packages too 2020-10-06 12:07:46 python3 and/or popler requires rebuild against new gdbm? i'm not able to do upgrade --latest in edge atm. 2020-10-06 12:11:10 python3 already has been rebuilt against new libgdbm and poppler was upgraded more recently that the gdbm upgrade 2020-10-06 12:11:45 hum, then it must be avahi-ui-gtk3-0.7-r3 2020-10-06 12:12:17 triggered rebuild 2020-10-06 12:16:24 yeah, that helped. thanks. 2020-10-06 12:16:51 seems libreoffice and gdal needs rebuild for the poppler update 2020-10-06 12:20:02 gdal already depends on libpoppler.so.103 2020-10-06 12:21:21 Cogitri1: ikke: I was out of link for few hours, power outage 2020-10-06 12:22:01 yes, idea is to move gtk and other gui programs to community from main 2020-10-06 12:22:27 libreoffice is currently not building due to gcc-10 2020-10-06 12:22:45 most likely -fno-common 2020-10-06 12:25:48 mps: Sure, glad to review MRs :) 2020-10-06 12:25:52 fabled: !13344 2020-10-06 12:26:33 maxice8: Hmmm, I think the error message didn't really fit what fno-common causes 2020-10-06 12:26:57 I'll find out that now 2020-10-06 12:28:19 Cogitri1: :) 2020-10-06 12:53:20 seriously the UX of gitlab is insane, you create a merge request in alpine/ project and it still selects your own repository by default as destination 2020-10-06 12:56:49 I think you have it backwards 2020-10-06 12:57:03 you are supposed to open your own repository and then click merge request 2020-10-06 12:57:27 You can do it from alpine/aports, I do it all the time, and it create an MR from my personal fork to alpine/aports 2020-10-06 12:57:50 Hello71, I think it also select my repository by default, let me check 2020-10-06 12:58:14 I think it is important to pick the right repository and also right branch 2020-10-06 12:58:20 if you pick master it may go other way 2020-10-06 13:06:01 never happened to be with gitlab.com ^^ 2020-10-06 13:06:31 I typically use the link that gitlab provides over ssh, or the one that appears right after you pushed a branch 2020-10-06 13:06:34 that always works for me 2020-10-06 14:09:24 can't resolve hostname to gitlab.alpinelinux.org 2020-10-06 14:09:38 https://status.linode.com/incidents/5k68c46r4sgl 2020-10-06 14:10:09 Is it the newest rage to rename yourself to ? :P 2020-10-06 14:10:10 oof 2020-10-06 14:10:32 I just noticed myself 2020-10-06 14:10:34 i think Cogitri1 matrix had some isues 2020-10-06 14:11:05 Don't think he uses linode 2020-10-06 14:11:38 I think that was a reply to my remark 2020-10-06 14:11:43 172.105.78.12 is the gitlab IP 2020-10-06 14:12:23 oops, no 2020-10-06 14:12:48 172.105.69.85 2020-10-06 14:26:13 Hello71: No, I don't use Linode, I use Contabo 2020-10-06 14:26:26 yes but I'm saying about the numbers 2020-10-06 14:26:55 Huh? 2020-10-06 14:27:08 14:10 <@ikke> Is it the newest rage to rename yourself to ? :P 2020-10-06 14:28:07 Cogitri1: maxice81 (Hello71 :P) 2020-10-06 14:28:46 Ahh, I'm Cogitri1 on IRC? 2020-10-06 14:28:51 yes 2020-10-06 14:29:51 Ah 2020-10-06 14:30:51 apparently harware issues are causing dns to fail 2020-10-06 14:31:02 "Our team has identified the hardware issue affecting DNS resolution" 2020-10-06 14:50:15 hullo, I'm trying to create an alpine package but the docs are really confusing. is there a starting guide that's not multiple 10-page wiki articles, or any other resources yall would point me towards? 2020-10-06 14:52:51 meowkitten: I felt the same way when I started, this was by far the most helpful reference for me -> https://wiki.alpinelinux.org/wiki/APKBUILD_Reference 2020-10-06 14:53:21 if the package you're trying to convert is already available in the AUR for Arch Linux you can try and convert it using toAPK to get a decent starting point 2020-10-06 14:53:59 there is newapkbuild 2020-10-06 14:54:16 https://wiki.alpinelinux.org/wiki/APKBUILD_examples 2020-10-06 14:54:21 it is in the AUR, i'll try with that 2020-10-06 14:55:29 i'm just kinda overwhelmed at there not being a "steps from git repository to apk file", I guess. I know I start by making an apkbuild file, then at some point I put some files in tar archives and combine them together. 2020-10-06 14:55:38 * at least not one that I could find 2020-10-06 14:57:14 I'd say the first step is getting the APKBUILD itself together, if you've already configured abuild then abuild checksum && abuild -r will start the build process 2020-10-06 14:57:51 once you've grokked all of the errors (or lack thereof) you can move onto getting it into aports :) 2020-10-06 14:58:05 alright 2020-10-06 14:58:46 feel free to ask questions though, there are tons of people here happy to help, I wouldn't know how to package any of the things I maintain without help from fine folks here 2020-10-06 15:00:05 appreciate it c: 2020-10-06 15:01:38 Nick should be fixed after a good ol' restart of the bridge I think 2020-10-06 15:03:16 yes, you are now Cogitri again 2020-10-06 15:03:22 and maxice8 2020-10-06 15:03:52 Hooray :) 2020-10-06 15:05:36 !13170 is ready to now 2020-10-06 15:06:08 in the end it was only because tests need more memory witch armv7 worker do not have 2020-10-06 15:09:56 quick q, why does abuild-keygen seem to require sudo? I personally use doas and it just prints a "sudo not found" error (but appears to complete successfully) 2020-10-06 15:22:47 meowkitten: there is a SUDO env variable that you can use to specify the sudo-like command 2020-10-06 15:22:57 meowkitten: it needs sudo for -i 2020-10-06 15:24:09 oh gotcha, ty 2020-10-06 15:31:19 @ikke do you have some spare time to look at gitea package? 2020-10-06 16:31:27 wsinatra: newapkbuild, abuild sanitycheck, apkbuild-lint 2020-10-06 16:31:58 and 'eyes' is/are most important 2020-10-06 16:33:01 didn't know of sanitycheck, sounds useful 2020-10-06 16:33:18 Why might it be that my shasums are fine when building locally but not in the CI on GitLab? (working on MR 13324 at alpine/aports) 2020-10-06 16:33:21 apkbuild-lint I abuse though :) 2020-10-06 16:33:24 I don't think it is good to 'blindly' convert build scripts from other distros 2020-10-06 16:33:37 Newbyte: rm /var/cache/distfiles/* 2020-10-06 16:33:46 Oh I agree entirely, there's some scary shit on the AUR 2020-10-06 16:33:52 !13324 2020-10-06 16:34:16 nice 2020-10-06 16:34:29 there we go, shasums updated 2020-10-06 16:34:33 thanks 2020-10-06 16:34:49 but if you just need to get from point a -> b it helps. I use AUR/Void/Gentoo packages a lot as starting points 2020-10-06 16:35:04 also no codeload 2020-10-06 16:36:05 wsinatra: yes, also I sometimes read PKBUILDs but I write APKBUILD after that, not copy 2020-10-06 16:36:10 also, different issue: when building, /usr/include/SDL2/SDL_syswm.h does not find directfb.h. originally I assumed this was due to directfb-dev not being part of the makedepends, but I added it there and no dice 2020-10-06 16:36:25 SDL2 packaging issue? 2020-10-06 16:38:14 Newbyte: /usr/include/SDL2/SDL_syswm.h sdl2-dev edge 2020-10-06 16:38:56 'apk-file SDL_syswm.h' 2020-10-06 16:39:35 mps: I do have sdl2-dev in the makedepends, and it does find SDL_syswm.h. It is rather SDL_syswm.h that does not find directfb.h even with directfb-dev in the makedepends 2020-10-06 16:40:04 sorry, /usr/include/directfb/directfb.h directfb-dev edge 2020-10-06 16:40:30 I misread your msg 2020-10-06 16:42:42 mps: again, I do have directfb-dev in my makedepends. I also tried installing it with apk but no dice. I'm rather new to Alpine and packaging as a whole however so I might be missing something. 2020-10-06 16:43:00 mps: again, I do have directfb-dev in my makedepends. I also tried installing it with apk but no dice. Header still not found. I'm rather new to Alpine and packaging as a whole however so I might be missing something. 2020-10-06 16:46:04 without looking in build log it is hard to say what could be cause 2020-10-06 16:46:29 mps: I typically end up rewriting the build and packaging functions by hand with converted packages, the parsing in toAPK right now isn't perfect, but I'm working on a peg parser to fix it 2020-10-06 16:46:33 can you paste to tpaste.us part of build log which show this 2020-10-06 16:46:41 I'll see about it. Removing distfiles seems to have revealed some stuff I messed up so I'll solve that first and see if my issue persists 2020-10-06 16:46:53 I'll see about it. Removing distfiles revealed some stuff I messed up so I'll solve that first and see if my issue persists 2020-10-06 16:47:39 evidently I'm new to IRC as well 2020-10-06 16:48:40 wsinatra: yes I know that you are careful. Just wanted to emphasize that is not good idea for new contributors to 'blindly' convert 2020-10-06 16:54:56 valid point 2020-10-06 17:16:20 here's the log from building supertuxkart and directfb.h not being found when included in SDL2's headers: http://sprunge.us/nVsKsj 2020-10-06 17:20:21 #include => #include 2020-10-06 17:20:26 maybe 2020-10-06 17:20:30 I'll try 2020-10-06 17:21:24 or set '-I' (include path) somewhere in Makefile 2020-10-06 17:27:16 putting directfb/directfb.h did the trick, although now I'm having a different error (which probably could be solved with the same hack). I presume it is SuperTuxKart's CMakeLists.txt that needs altering? 2020-10-06 17:28:16 Newbyte: probably, need to tell it to search more 'include' paths, but I don't know Cmake much 2020-10-06 17:28:30 I wonder how this is supposed to work 2020-10-06 17:29:11 and look if directfb-dev have pkgconf 2020-10-06 23:56:03 Can someone look at 3.12-armhf and 3.12-armv7 builders ? they seem to keep hitting checksum errors on Samba while all other arches buld. 2020-10-07 04:26:30 maxice8: https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10009 2020-10-07 04:26:41 maxice8: it looks like they succesfully built the next time 2020-10-07 05:16:41 would someone be able to review this MR? https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/12066 2020-10-07 05:17:23 there are some problems with lurch/omemo on some clients, but it works when both clients use lurch for omemo, so it seems worth having it 2020-10-07 05:17:49 and the other two plugins seem to work fine in the testing I've done 2020-10-07 05:18:24 needs rebase 2020-10-07 05:18:27 if that needs to be 3 separate MRs.. I can do that too. It's been stuck for a few days 2020-10-07 05:18:31 yeah sure I'll rebase 2020-10-07 05:20:02 done. there were no conflicts since they are new aports.. so hopefully that wasn't why it has been stuck 2020-10-07 05:20:05 i went ahead and accepted it 2020-10-07 05:20:19 looked ok to me at a glance and i didnt see anything bad on CI 2020-10-07 05:20:20 :) 2020-10-07 05:20:29 Ariadne: awesome, thanks :) 2020-10-07 05:20:34 np 2020-10-07 05:21:26 :) 2020-10-07 07:20:29 hi, I was here asking about SuperTuxKart stuff yesterday. I figured out my previous issue (the directfb one), but now it complains about not finding ns_name_ntop(), which seems to come from glibc in this context 2020-10-07 07:20:43 and I cannot find anything called ns_name_ntop in musl's source code 2020-10-07 07:20:59 so I presume this is a glibc-only thing. what would I do in a situation like this? 2020-10-07 07:21:46 is there any glibc compatibility include I could add? 2020-10-07 07:25:55 no 2020-10-07 07:26:34 for some things, there are replacement libraries providing those features, but i am not familiar with any library offering that. 2020-10-07 07:26:39 why is glibc like this 2020-10-07 07:26:58 I found this, but I haven't checked whether the API is the same: https://www.libspf2.org/docs/html/____ns__name__uncompress_8c.html 2020-10-07 07:27:20 or if it's the same thing at all 2020-10-07 07:30:11 seems to have the same API look at the signature 2020-10-07 07:30:33 what leads you to believe that it has the same API? 2020-10-07 07:31:23 same return type, same types in parameters, same variable names. exact same. seeems like it could be deliberate 2020-10-07 07:32:07 the implementation looks the same as well 2020-10-07 07:33:02 and libspf is packaged in Alpine so … let's see! 2020-10-07 07:39:17 ... 2020-10-07 07:39:27 that is not the correct way to solve this 2020-10-07 07:42:08 Yeah, it feels hacky. What do you suggest? 2020-10-07 07:43:07 figure out why supertuxkart needs this function 2020-10-07 07:43:49 and find a suitable replacement in musl? 2020-10-07 07:44:21 yes or remove the offending code from supertuxkart if it is not really needed 2020-10-07 07:50:35 I'm not much excited about new langs features but this about zig looks very promising https://kristoff.it/blog/zig-new-relationship-llvm/ 2020-10-07 07:51:46 incremental compilation, in-place binary patching, llvm not needed (self compiling) 2020-10-07 08:11:52 Yup, zig looks neato 2020-10-07 08:19:02 zig's syntax looks ugly 2020-10-07 08:21:41 insep_: huh, what syntax you like 2020-10-07 08:22:09 DWIM syntax! 2020-10-07 08:23:30 what is it 2020-10-07 08:23:57 do what I mean? 2020-10-07 08:24:44 yes 2020-10-07 08:26:41 [mps](https://matrix.to/#/@freenode_mps:matrix.org): c# and d have pretty neat syntax 2020-10-07 08:28:51 insep_: ah, now I understand, you are kidding with me ;p 2020-10-07 08:29:37 forth have best syntax of all programming langs 2020-10-07 08:34:07 i also like smalltalk syntax 2020-10-07 08:38:20 fabled: may I ask which time zone you're in? 2020-10-07 08:59:54 whatever one finland is 2020-10-07 09:04:26 Ariadne: thanks 2020-10-07 10:03:51 @clandmeter may you have a look at !13170 ? 2020-10-07 12:43:46 I think all py.test invocations should call -v 2020-10-07 12:43:50 helps a lot instead of having TAP output 2020-10-07 12:54:13 @Ikke can you kill the builders ? they are hanging on py3-pyzmq 2020-10-07 12:55:21 rip builders 2020-10-07 13:04:51 ty 2020-10-07 13:27:05 any idea on how to catch $repo, $pkgname, $pkgrel, $pkgver in a post-commit git hook? 2020-10-07 13:27:57 source the APKBUILD? 2020-10-07 13:28:11 for $repo, I guess you need to use basename 2020-10-07 13:29:38 umh 2020-10-07 13:29:56 pre-commit is generic. How to make it source the APKBUILD? 2020-10-07 13:30:10 How does he know the path of the APKBUILD? 2020-10-07 13:30:38 look what 2020-10-07 13:30:38 I should make extract it from the commit message ( e.g. testing/package: upgrade to x) 2020-10-07 13:30:40 what's staged 2020-10-07 13:31:24 did you read .githooks 2020-10-07 13:31:26 git log --pretty=oneline | awk '{print $2}'|head -1 2020-10-07 13:31:39 the Alpine githooks do that if you need example implementation 2020-10-07 13:33:20 Hello71, maxice8 : yeah I didn't remember about .githooks 2020-10-07 13:33:30 I'll look ath this 2020-10-07 13:34:41 thx ikke for the suggestion 2020-10-07 15:50:37 i wish that programmers having problems with their programs on alpine would come talk to us first instead of just bothering dalias 2020-10-07 15:50:47 it's not a problem 2020-10-07 15:51:09 but i wish they would spend their 20 minutes doing the research requested rather than writing email rants 2020-10-07 15:51:28 there is probably a good case for a small set of *_l functions including the requested one 2020-10-07 15:51:40 but i don't want to go do the homework of determining whether that's the case 2020-10-07 15:52:00 i'd like that minimal degree of effort from someone requesting a function 2020-10-07 15:52:43 yes, but we are capable of distilling that argument and coming to you if necessary :) 2020-10-07 15:53:20 for example, musl does not want ucontext functions, but we require them for some programs. we have ucontext functions outside musl :) 2020-10-07 15:53:24 or obstack, or whatever :) 2020-10-07 15:56:18 anyway, it is already the case that a program built on alpine may or may not function on other musl systems that do not also ship the other alpine runtime libraries 2020-10-07 15:56:36 and i do not really see that as a problem :) 2020-10-07 15:59:26 "musl does not want ucontext functions" isn't entirely true. there are reasons both to want and not-want, but for the time being the overall leaning is in the direction of not doing it 2020-10-07 15:59:46 i see that as a problem :) 2020-10-07 15:59:51 but it wouldn't happen if they're building static 2020-10-07 15:59:56 which i think is normally the intent 2020-10-07 16:00:15 or program that builds with musl doesn't build with glibc :D 2020-10-07 16:03:00 welp, seems like the issue was missing libm in ldflags or smth like that 2020-10-07 16:04:17 i think sorear said that glibc is finally merging libpthread 2020-10-07 16:13:31 https://lists.alpinelinux.org/~alpine/devel/%3C13150407.38Gu9qM0DN%40localhost%3E 2020-10-07 16:13:34 let the flamewar begin 2020-10-07 16:13:39 haha just kidding 2020-10-07 16:14:42 sgtm, I always wondered about utmps 2020-10-07 16:20:01 and you still managed to find a way to hate on s6 2020-10-07 16:20:13 I'm impressed by your dedication. :P 2020-10-07 16:21:10 ????? 2020-10-07 16:21:13 want me to edit the apkbuild to put the s6-ipcserver and s6-ipcserverd programs in a subpackage? 2020-10-07 16:21:24 hate on it how 2020-10-07 16:21:42 i was just saying we will need to split those out :) 2020-10-07 16:21:50 "the s6 package is too big for us to have a dependency on it, we need to split the programs out" 2020-10-07 16:22:59 which I find amusing considering the previous discussions where people don't mind having the .so's in the same package as the .a's because who cares it's development :P 2020-10-07 16:23:20 they aren't talking about libfoo.so.1 2020-10-07 16:23:25 just libfoo.so 2020-10-07 16:24:52 and yes, that change would be welcome :) 2020-10-07 16:24:53 anyway. let me grab an alpine VM if I still have one and I'll make a subpackage with the minimal things you need for utmps. 2020-10-07 16:34:10 sorry, been a long time. All apkbuild development should be done on edge, right? 2020-10-07 16:34:15 yes 2020-10-07 16:34:46 also, the preferred method for upstreaming changes is github? I've heard of a cmdline tool for this, named mkmr, is it operational? 2020-10-07 16:34:57 gitlab.alpinelinux.org 2020-10-07 16:35:07 I think you can auth with GitHub 2020-10-07 16:35:37 ah, gitlab, sorry. No preference. Is there a cmdline tool I can use to create MRs up there without using the web UI? 2020-10-07 16:35:49 there is mkmr 2020-10-07 16:35:49 yes, mkmr, like you mentioned 2020-10-07 16:35:54 cool, thanks. 2020-10-07 16:37:17 :) 2020-10-07 16:37:28 yay utmps 2020-10-07 16:38:00 skarnet: i am in favor of s6, but until we have a replacement service manager that can fully leverage s6 ... 1MiB of install size is a hard sell 2020-10-07 16:38:24 i got pushback on real iproute2 instead of busybox iproute for same reason -- so not looking to do that again :) 2020-10-07 16:39:54 Ariadne: working on it :P 2020-10-07 16:39:54 you want utmps in alpine by default? alpine-base? 2020-10-07 16:40:04 Ariadne: ^ 2020-10-07 16:40:29 mps: yes. it is only a minimal amount of KB. 2020-10-07 16:40:41 Ariadne: so the service manager of your dreams should be compatible with openrc, systemd and s6 scripts? 2020-10-07 16:40:55 insep_: no :) 2020-10-07 16:41:13 Ariadne: I vote against 2020-10-07 16:41:14 insep_: but i see no reason to reinvent the wheel when a good supervisor already exists. 2020-10-07 16:41:34 I'm not against utmps but as option 2020-10-07 16:42:00 several times I told users about it and how to install it 2020-10-07 16:42:01 mps: i have no opinion on alpine-base per se 2020-10-07 16:42:33 mps: i agree for things like containers it is just extra weight -- we can solve it by asking in the installer if you want it 2020-10-07 16:43:02 "Would you like to enable user accounting? [yes/no]" -> if yes, install and enable utmps 2020-10-07 16:43:05 i dont understand the situation but i dont see a good reason you couldn't have linking against utmps client-side but still have it be optional whether you want to have utmp at all 2020-10-07 16:43:17 size is not big so size is not problem, but have something which most users will not use doesn't belong to 'base' imo 2020-10-07 16:43:19 dalias: yes, that is the situation i am proposing :) 2020-10-07 16:43:45 mps: i think most users outside of containers will answer yes to "Would you like to enable user accounting?" 2020-10-07 16:44:03 mps: but i agree that installer is the most appropriate path to handle it, not alpine-base directly :) 2020-10-07 16:44:12 Ariadne: that optional questions looks ok to me 2020-10-07 16:44:33 is there a reason they would? 2020-10-07 16:44:45 i haven't used utmp in like decades 2020-10-07 16:45:08 very much so. For anything that is not a personal workstation 2020-10-07 16:45:10 and it's not clear who it's supposed to be useful to except admins of multi-user systems who want to spy on their users 2020-10-07 16:45:10 dalias: making who(1) work is a frequently requested item in my experience 2020-10-07 16:45:26 and even then, a working utmp is useful 2020-10-07 16:45:31 I missed it when I switched to alpine but now I quite fine without 'who' 2020-10-07 16:45:59 "i don't want to reboot the machine if other people are using it" being a common user story for that 2020-10-07 16:46:19 so then they check who 2020-10-07 16:46:22 and who doesn't work 2020-10-07 16:46:37 the smart ones then check to see if there are other sshd processes 2020-10-07 16:46:47 however, most are annoyed by that point 2020-10-07 16:47:22 so i think making who(1) work is really useful 2020-10-07 16:49:16 amen, will not have to answers users anymore about "why who doesn't work on alpine" 2020-10-07 16:49:28 i just think the number of users for whom "other ppl are using it" is a possibility is just fairly small 2020-10-07 16:49:53 yes i'm in favor of having utmps as option to make who work :-p 2020-10-07 16:50:01 dalias: I think same but there is some 2020-10-07 16:50:09 are* 2020-10-07 16:50:12 downstream of alpine, this really is one of the largest complaints we received from customers 2020-10-07 16:50:15 but i don't think "most users should say yes" 2020-10-07 16:50:52 so: default _is_ 'n' 2020-10-07 16:51:00 dalias: in an ideal world, they should not, but encouraging them to say yes makes my life easier 2020-10-07 16:51:13 default is probably yes 2020-10-07 16:51:16 i would mention "who" and "w" in the question 2020-10-07 16:51:32 since "user accounting" is confusing 2020-10-07 16:51:50 good note 2020-10-07 16:52:44 let me put it this way, if i had $1 for every user who has come into IRC asking why who doesn't work over the years, i would have at least $500 2020-10-07 16:53:00 :) 2020-10-07 16:53:18 so i think it is worthwhile to put users on a path where they get working who 2020-10-07 16:53:27 and users who know better can say they don't want it 2020-10-07 16:54:12 iirc, I saw few users asking why systemd doesn't work on alpine ;) 2020-10-07 16:54:42 last summer I wrote a systemctl shim for s6-rc 2020-10-07 16:54:54 yes, I was being paid for it 2020-10-07 16:55:08 ah, I forgive then 2020-10-07 16:55:08 wouldn't have done it otherwise :P 2020-10-07 16:55:18 lol 2020-10-07 16:55:24 the problem was puppet modules being hardcoded to invoke systemctl 2020-10-07 16:55:35 i think systemctl shim seems reasonable enough 2020-10-07 16:56:10 the problem with that is that the systemd model and the s6 model don't 100% map 2020-10-07 16:56:21 insep_: anyway to answer your question, skarnet has already heard about what we would like to see in a replacement to openrc and seems amenable to making most of it happen 2020-10-07 16:56:21 so there are totally irrelevant options to systemctl 2020-10-07 16:57:11 and there's not much else I could do than "systemctl: warning: option --lennartize-service ignored" 2020-10-07 16:57:51 :) 2020-10-07 16:58:11 someone already made alpine on glibc 2020-10-07 16:58:18 i'd be excited to see s6-based-for-init alpine 2020-10-07 16:58:30 but if i were to guess, i would say that we probably won't have an answer for the openrc problem until after 3.14 2020-10-07 16:58:36 Ariadne: so alpine with s6 might happen, huh? 2020-10-07 16:58:37 possibly .15, probably .16 2020-10-07 16:59:02 Ariadne: we still need to discuss the details of the features you need 2020-10-07 16:59:05 insep_: yes, with some sort of alpine twist on it :) 2020-10-07 16:59:22 s6 as an option or as default? 2020-10-07 16:59:25 the overview seems reasonable especially since you're handling the network manager part 2020-10-07 16:59:27 tehcloud: default 2020-10-07 16:59:30 oh, nice 2020-10-07 16:59:55 so as long as you can send events and the service manager can process events everything should be doable 2020-10-07 16:59:58 we have had a good run with openrc, but openrc maintainers only care about gentoo 2020-10-07 17:00:00 yay, i'll finally have a motivation to try out s6 2020-10-07 17:00:05 but I'd like to dive into the details sometime 2020-10-07 17:00:11 s6 seems leaner anyway 2020-10-07 17:00:22 the only time i did that was when i booted obarun livecd 2020-10-07 17:00:47 how s6 compare to runit 2020-10-07 17:00:59 s6 is maintained 2020-10-07 17:01:05 that's the main difference :P 2020-10-07 17:01:16 openrc only caring about gentoo even though alpine installs count for a non-trivial part of openrc's install base (probably more than gentoo) is a serious problem for us 2020-10-07 17:01:19 skarnet: I know that :) 2020-10-07 17:01:38 also our openrc is quite heavily modified if you haven't noticed 2020-10-07 17:01:48 mps: ask heliocat in #s6, he'll give you the rundown of all the differences 2020-10-07 17:01:55 Ariadne: Isn't openrc upstream dead? 2020-10-07 17:01:56 long time ago I switched debian on runit as init 1 2020-10-07 17:01:59 (s6 guy at home, using runit at work) 2020-10-07 17:02:13 Cogitri: it seems to be a dead man walking 2020-10-07 17:02:25 gentoo did a hotfix release 0.41.2 which we do not yet ship :) 2020-10-07 17:02:27 The only problem with s6 that I see is that it's rather complex to use for end users 2020-10-07 17:02:40 Cogitri: yeah, known problem, working on it 2020-10-07 17:02:42 But if we have a simpler wrapper around it that'd be pretty neato 2020-10-07 17:02:46 Cogitri: yes, that's what i am hoping to sit down with skarnet and tackle :) 2020-10-07 17:02:53 👍️ 2020-10-07 17:03:22 unfortunately i have been quite busy with ifupdown-ng and other initiatives driven by downstream customer requirements 2020-10-07 17:03:23 Maybe it'd be worth looking into what 66 and tt (very google-able names) are doing since those are working on making s6-rc easier to use 2020-10-07 17:03:50 I have 2020-10-07 17:03:51 and s6 immediately with execline scripts? 2020-10-07 17:03:53 66 is close to what i would like to see, but does not actually support systemd units (instead they made a similar format) 2020-10-07 17:04:10 u0jQx9gPyrYg: no plans to ever support that configuration 2020-10-07 17:04:34 however you can install that today and build it yourself if you want 2020-10-07 17:04:37 the packages are there 2020-10-07 17:04:46 Ariadne: it's impossible to really support systemd units without being systemd, because how units are organized is intricately mixed with the systemd model 2020-10-07 17:04:59 i know. i have my own setup since long, some of it is even on gh: https://github.com/stef/s6-services/blob/master/services-network/unbound/run 2020-10-07 17:05:18 I think we don't need systemd units 2020-10-07 17:05:26 I can see myself writing a parser for unit files, but translating the modelization of systemd units into something usable will be much harder 2020-10-07 17:05:35 meh. EURLTOOLONG sorry 2020-10-07 17:05:40 mps: correct, i just want to be able to use them as a source of knowledge 2020-10-07 17:05:56 Nosh has a converted 2020-10-07 17:05:59 mps: since upstreams are shipping them 2020-10-07 17:06:07 I looked at it long ago but the build system was... suboptimal 2020-10-07 17:06:23 Ariadne: yes, also I look sometimes at them 2020-10-07 17:06:36 maxice8: the nosh model isn't perfect either 2020-10-07 17:06:37 programmatic knowledge capture from systemd units is highly useful 2020-10-07 17:07:03 it has been a want since 2015 when we first started talking about replacing openrc in alpine :) 2020-10-07 17:07:14 "knowledge capture" is Ariadne officially enterprise now 2020-10-07 17:07:52 tbh it would be less effort to manually convert every openrc script on Alpine into the new service manager format, whatever it is, than to write a translator from systemd unit 2020-10-07 17:08:22 Hello71: [|> systemd logo here] "don't open this container! it's dangerous!! we were once a great and powerful nation." 2020-10-07 17:08:24 I absolutely do not want to be constrained by the systemd way of looking at things 2020-10-07 17:08:44 skarnet: i just want to be able to extract the basic data from systemd unit files 2020-10-07 17:08:54 like "run this command" 2020-10-07 17:09:05 but that's my point 2020-10-07 17:09:18 the data will be organized in a very specific way 2020-10-07 17:09:30 it will impose an architectural view on your clients 2020-10-07 17:09:48 your clients will have to look at the data in the way systemd decided 2020-10-07 17:09:51 true 2020-10-07 17:10:04 service files are probably translatable 2020-10-07 17:10:06 skarnet: even a translator that fails on all ordering except pre-defined relations (basically sysv like $network etc) is still useful 2020-10-07 17:10:12 but socket files and target files, not so much 2020-10-07 17:10:13 and only handles service units 2020-10-07 17:10:14 what Hello71 said basically 2020-10-07 17:10:55 I will write that for money 2020-10-07 17:11:01 I'm absolutely not doing it on my free time 2020-10-07 17:11:05 likely doable :))) 2020-10-07 17:11:32 you could do a shitty awk implementation in ten minutes 2020-10-07 17:11:41 lol 2020-10-07 17:12:06 analyzing relations between services is not simple syntax 2020-10-07 17:12:16 the parser is probably the less annoying part of all that 2020-10-07 17:14:09 least* 2020-10-07 17:14:41 yes but that applies to only 1% of service files. I think probably even if you include Wants/After=network.target and such built-in options probably 99% of service files (excluding systemd bundled services) are Type=simple/forking+PIDFile with no ordering 2020-10-07 17:15:55 I'm not in the habit of writing programs that work 99% of the time 2020-10-07 17:15:58 and I don't think anybody but systemd has a concept of network-online.target or device units etc anyways 2020-10-07 17:16:12 ^ yes, that's precisely my point 2020-10-07 17:16:23 or anything remotely similar 2020-10-07 17:16:54 is it so hard to write run scripts from 'head' 2020-10-07 17:17:46 but if you want to understand how stuff is booted and maintained by systemd in order to translate it to whatever format you want, you need to understand the whole set of unit files and the systemd logic 2020-10-07 17:18:11 and that's what is constraining and artificial and annoying 2020-10-07 17:18:20 you can't say the problem is in the translator if the target simply does not contain some functionality 2020-10-07 17:19:02 the global functionality can *be there*, but the way it's achieved can be fundamentally different 2020-10-07 17:19:16 mps: the desire is to use the ones upstreams already provide 2020-10-07 17:19:25 so they cannot complain 2020-10-07 17:19:26 :) 2020-10-07 17:20:06 for instance, I'm never going to do "socket activation" the way systemd does, i.e. "start everything in parallel and pray that the loggers don't fail" 2020-10-07 17:20:07 why we have to care if upstream complain 2020-10-07 17:20:31 To get them to cooperate 2020-10-07 17:20:34 but the overall functionality of parallel startup exists 2020-10-07 17:20:56 instead of complains they can write run script/file for alpine 2020-10-07 17:20:57 the functionality of fd-holding exists 2020-10-07 17:21:12 the functionality of super-servers exists 2020-10-07 17:21:16 that is how I see cooperation 2020-10-07 17:21:31 but a "socket activated" service can map to either of those 3, or all of them 2020-10-07 17:21:39 but which upstreams use systemd socket activation, even by default 2020-10-07 17:21:39 mps 2020-10-07 17:21:57 that way of cooperation is how we got systemd to begin with 2020-10-07 17:21:57 Hello71: you either write a unit file converter or you don't 2020-10-07 17:22:01 I don't know of any that use it exclusively except for inetd style services 2020-10-07 17:22:24 skarnet: space bar heating much 2020-10-07 17:22:31 you can't say "I'm gonna write a converter that works for the 90% of services that are actually easy to convert" because it's useless, those are the ones that are easy to understand by hand 2020-10-07 17:22:49 mps: they don't know openrc or whatever service manager we happen to use. 2020-10-07 17:22:59 skarnet: are you volunteering to convert all of them then 2020-10-07 17:23:11 that's exactly what I said above, yes 2020-10-07 17:23:18 there are several thousand runscripts 2020-10-07 17:23:20 in aports 2020-10-07 17:23:24 :)))) 2020-10-07 17:23:29 run scripts are easy 2020-10-07 17:23:51 ikke: I'm not much confident in converters, however they are good written 2020-10-07 17:24:02 anyway 2020-10-07 17:24:31 i guess systemd unit compat is not a requirement, but i think the syntax used for configuration should be declarative and in a similar syntax 2020-10-07 17:24:46 i think we have talked enough about this. better have someone actually work on it and let code talk, before we turn into gentoo bureaucracy simulator 2020-10-07 17:24:47 if you want automatic conversion you also need automatic parsing and rewriting of openrc files with start-stop-daemon invocation and other eldritch horrors 2020-10-07 17:24:49 at least then an upstream can easily port their unit file over :) 2020-10-07 17:25:21 either way, we had our wakeup call in 2015, its 2020 now and openrc is all but dead 2020-10-07 17:25:44 and since openrc has been basically exclusively a gentoo production they did not care about us anyway :P 2020-10-07 17:25:51 What was the wake-up call? 2020-10-07 17:26:21 Ariadne: hmu at some point to discuss detailed requirements 2020-10-07 17:26:24 ikke: i forget, i think we tried to reconcile some of our changes with openrc and it was a huge pain :) 2020-10-07 17:26:37 I'll be rather available in the upcoming days 2020-10-07 17:27:02 skarnet: i'm presently gathering up all necessary documentation to get netherlands visa 2020-10-07 17:30:15 so probably won't have much time 2020-10-07 17:30:44 whenever you have time 2020-10-07 17:31:08 I'll go out a lot less in the next weeks 2020-10-07 17:31:18 so will be online more 2020-10-07 17:33:08 how do you say to APKBUILD that the main package depends on a subpackage? 2020-10-07 17:33:18 add it to depends 2020-10-07 17:33:56 depends isn't inherited by subpackages? 2020-10-07 17:34:10 if in the subpackage function you pass depends="" then no 2020-10-07 17:34:14 okay, thanks. 2020-10-07 17:34:17 i think a more urgent item is to replace elogind with a cleanroom impelementation :) 2020-10-07 17:34:39 https://sr.ht/~kennylevinsen/seatd/ 2020-10-07 17:34:41 there is seatd on sr.ht 2020-10-07 17:34:43 heh 2020-10-07 17:35:00 tried packaging it at one point, but never did test it 2020-10-07 17:35:09 i think i still have apkbuild somewhere in git stash 2020-10-07 17:35:15 it even builds!!!!!!!!!!! 2020-10-07 17:35:20 amazing 2020-10-07 17:35:35 that does not support the dbus api though afaik 2020-10-07 17:35:50 dbus being shit aside, its what is standard these days 2020-10-07 17:36:05 what is elogind and what is it needed for? 2020-10-07 17:36:12 some FDO hell? 2020-10-07 17:36:20 no, it is actually useful 2020-10-07 17:36:48 Can anyone confirm a circular dep for me ? 2020-10-07 17:36:52 it lets the system know who is sitting in front of the computer 2020-10-07 17:37:07 it also manages things like permissions to device nodes 2020-10-07 17:37:08 brotli->(m)cmake->(m)curl-dev->(m)brotli-dev 2020-10-07 17:37:19 so you no longer have 2020-10-07 17:37:51 Something systemd user session-ish would be neato too 2020-10-07 17:37:57 "user running X cannot use 3D graphics because DRI permissions are missing" 2020-10-07 17:38:10 maxice8, eeew 2020-10-07 17:38:19 ? 2020-10-07 17:38:25 that circular dep 2020-10-07 17:38:36 also i hate brotli 2020-10-07 17:38:45 ok but can anyone confirm 2020-10-07 17:38:51 the codebase is FULL of UB 2020-10-07 17:38:54 maxice8: yes i confirm it 2020-10-07 17:38:57 for no justifiable reason 2020-10-07 17:38:58 thanks 2020-10-07 17:39:13 if it were me i'd just scrub the curl dep on brotli 2020-10-07 17:39:20 but maybe users insist on having it? :( 2020-10-07 17:39:31 i doubt users actually care 2020-10-07 17:39:35 :) 2020-10-07 17:40:01 the thrifty solution 2020-10-07 17:40:09 have brotli-bootstrap without the curl dep 2020-10-07 17:40:14 and brotli with the curl dep 2020-10-07 17:41:53 brotli requires curl because cmake requires curl-dev on makedepends 2020-10-07 17:42:03 guess we can build brotli with ./configure ? 2020-10-07 17:42:21 Yes, just wanted to suggest that 2020-10-07 17:42:26 Just using autotools should work around it 2020-10-07 17:42:46 yeah why use cmake if it also offers autoconf? 2020-10-07 17:42:58 autoconf has better behavior in pretty much all ways 2020-10-07 17:43:40 https://dpaste.com/HPLAC8J2V in case someone wants an apkbuild for seatd ^^ 2020-10-07 17:43:43 dalias: cmake is new and shiny :) 2020-10-07 17:43:56 newer* 2020-10-07 17:44:42 makedepends="elogind-dev" 2020-10-07 17:44:43 nice :D 2020-10-07 17:45:00 yes I am poking fun and know it can be changed 2020-10-07 17:45:06 eew what?? 2020-10-07 17:45:11 also +1 for using proper meson invocations 2020-10-07 17:45:13 interesting, I didn't know that my workstation don't know that I'm 'seating' in front, though I don't run elogind 2020-10-07 17:45:37 it requires it for logind support and i decided to add it cuz why not 2020-10-07 17:46:21 then alpine is small^W, simple^W 2020-10-07 17:46:45 ariadne, re: elogind/seating and "actually useful", it's useful to the 0.1% of users who are running desktops with multiple user accounts 2020-10-07 17:47:09 dalias: its also useful because it fixes the permissions for audio and video access 2020-10-07 17:47:13 if you don't do that, chmod g+rw is the right solution 2020-10-07 17:47:50 or adduser user video, audio, netdev etc 2020-10-07 17:47:57 the 'logind' type approach is almost certainly also broken in the presence of retaining sessions or file descriptors 2020-10-07 17:48:12 a login hook in a regular display manager or even in .profile with a tty test (to do it on VTs, not on pseudo-ttys) that chmods the devices would work just as well 2020-10-07 17:48:30 in the sense that you can't make it actually a security boundary unless you do the systemd thing of killing all the user's processes when they log out 2020-10-07 17:48:36 (breaking screen/tmux) 2020-10-07 17:49:31 mps: sure :) 2020-10-07 17:49:38 the right way to do all this is to have the display server mediate access 2020-10-07 17:50:10 but FDO folks hate X because it got things right before they came up with all their wrong ideas :-p 2020-10-07 17:50:25 agreed, unfortunately FDO went in a different direction 2020-10-07 17:50:39 i hate X because it doesn't support zero-copy compositing 2020-10-07 17:50:55 I want my audio device to work when I log in on a VT even if I don't use X 2020-10-07 17:51:10 which is needed to get decent framerates at higher resolutions 2020-10-07 17:51:17 my point being: tying this to a graphical display manager is a mistake 2020-10-07 17:51:27 yes 2020-10-07 17:51:41 anyway i want to fix all that too, but can only fight so many battles at once 2020-10-07 17:52:28 other things i would like to do: remove CONFIG_VT from linux and replace with userspace version that properly uses the GPU to render full unicode text 2020-10-07 17:52:30 :) 2020-10-07 17:52:46 I find the concept of graphical display manager weird 2020-10-07 17:53:44 afontain_: from time when on machine is used by more X terminals at same time 2020-10-07 17:53:51 one* 2020-10-07 17:54:26 even if you want VGA text mode (which in our EFI world is going the way of the dodo) 2020-10-07 17:54:35 userspace can do that better than CONFIG_VT too 2020-10-07 17:55:02 kernel messages in utf 2020-10-07 18:00:41 mps: i was thinking more like vim but sure why not :) 2020-10-07 18:02:47 as long as you keep fbcon alive and in kernel, useful when bringing up new devices :P 2020-10-07 18:07:02 huh, looks like irssi freezes from time to time on my server 2020-10-07 18:08:25 for kernel I would like if they fix some bugs I reported and some waiting in my queue to report 2020-10-07 18:25:18 utmps has 2 daemons, utmpd and wtmpd. What's the preferred way of starting them? 2 openrc services or 1 service that starts both? 2020-10-07 18:26:28 I personally prefer 2 separate services, but I'm not sure how to implement that with the foobar-openrc automatic packaging in abuild 2020-10-07 18:26:54 (*cough* it's much simpler when you start the services with s6 *cough*) 2020-10-07 18:27:28 i think abuild automatically splits all .initd files to -openrc 2020-10-07 18:27:44 just add $pkgname-openrc to $subpackages 2020-10-07 18:27:53 but there are multiple -openrcs I guess 2020-10-07 18:28:10 well I'd like to have an utmpd.initd and a wtmpd.initd 2020-10-07 18:28:29 would utmps-openrc automatically have these? 2020-10-07 18:28:50 openrc() moves everything in /etc/init.d and /etc/conf.d 2020-10-07 18:29:06 I'll take a look at default_openrc in abuild 2020-10-07 18:29:18 but there is only one openrc in the package ? 2020-10-07 18:29:33 it's one package that has 2 daemons 2020-10-07 18:35:20 Yes 2020-10-07 18:36:49 Okay, so, I got SuperTuxKart 1.2 to build without anything ugly, but the CI fails on uploading artefacts as the archive is too large. I forgot how to tell that bot to link an MR but it's MR 13324 2020-10-07 18:37:00 !13324 2020-10-07 18:37:08 Is that something I did wrong or just the nature of said game having a bunch of assets? 2020-10-07 18:37:52 Mostly the latter. How big is the package? 2020-10-07 18:38:05 I think it's around half a gigabyte 2020-10-07 18:39:47 supertux-data is currently just 150MB 2020-10-07 18:40:32 Newbyte: nice 2020-10-07 18:41:34 ikke: All right. I don't think I'm doing anything that would bloat the build size, but I could very well be missing something or having forgotten to adapt something. 2020-10-07 18:43:16 Anyhow, would that build artefact size be a blocker for having the upgrade merged? 2020-10-07 18:44:50 Nope 2020-10-07 18:45:34 Should I ping the maintainer or something like that? 2020-10-07 18:48:28 what's the Alpine policy on user and group creation by packages? should they be added in preinstall, with dynamic uid/gids? should they be statically allocated? 2020-10-07 18:50:59 skarnet: I usually add users in pre-install 2020-10-07 18:51:14 wfm 2020-10-07 18:51:28 for example https://tpaste.us/yNal 2020-10-07 18:52:14 missing "exit 0" or ":" at the end 2020-10-07 18:52:41 your script can return false if svxlink already exists 2020-10-07 18:53:02 heh, yes 2020-10-07 18:53:11 didn't noticed till now :) 2020-10-07 18:54:07 that was package long time in local repo and when I pushed I didn't looked carefully, shame on me. thanks for notice 2020-10-07 18:54:14 np :) 2020-10-07 18:57:28 also missing in testing/aprx (HAM software stays long in local repo) 2020-10-07 19:02:20 btw, I noticed that testing/love does not build any more (due to change in source URL), but the package is the latest version available. would it be reasonable to send in a MR to make it build again? and if so, should the pkgrel be bumped, considering it doesn't/shouldn't change the package? 2020-10-07 19:07:11 Newbyte: yes 2020-10-07 19:07:22 yes to both? 2020-10-07 19:07:31 yes :) 2020-10-07 19:08:37 thank you 2020-10-07 19:09:04 np :) 2020-10-07 20:35:44 dalias: re "the 'logind' type approach is almost certainly also broken in the presence of retaining sessions or file descriptors": logind uses device specific ioctls like DRM_DROP_MASTER (drm) and EVIOCREVOKE (evdev) to invalidate the fd they handed out on session end (or switch) 2020-10-07 20:42:11 does that work for sound or other things too tho? 2020-10-07 20:50:35 it doesn't seem to handle revocation for more than drm and evdev 2020-10-07 20:51:50 according to https://github.com/systemd/systemd/blob/master/src/login/logind-session-device.c#L211 2020-10-07 22:14:42 alsa doesn't support receiving fds at all. for audio, logind uses acls on /dev/snd/* 2020-10-07 22:16:25 i don't think access is revoked on session exit or change, probably in part because alsa doesn't support it but also users probably expect sound to continue playing while their session is in the background 2020-10-07 22:16:59 in theory I think it could support it but it would need to be wired into alsa-lib and I don't think anyone sensible wants to touch that (see: iproute2) 2020-10-07 22:18:26 or some system-wide audio daemon, but i don't think even lennart is that crazy (pulseaudio is recommended to be run per user) 2020-10-07 22:21:07 also dsnoop/dmix is fragile enough as it is 2020-10-07 22:51:30 hello71, the issue is not playing but recording. you leave a recording process open in the background to spy on a victim user 2020-10-07 22:52:04 for playing i think it's at most an annoyance/jump-scare issue 2020-10-07 22:54:29 same technical problems though (multiple layers need support) 2020-10-07 22:57:19 right. i wonder if this really calls for a general solution rather than per-device... 2020-10-07 22:58:02 i.e. a device-generic ioctl that invalidates existing open file descriptions for the device and works on any char or block device 2020-10-07 23:07:16 I think this would probably cause unnecessary breakage in otherwise-working programs. also, it doesn't address the issue of resuming access 2020-10-07 23:08:27 well you just wouldn't use it (it would need root) if you didn't want to. but in the situation where you do want it, there is no "resuming access" 2020-10-07 23:08:46 the whole point is that you want to enforce a policy that users can't hold onto 'seat' devices after leaving the seat 2020-10-07 23:08:57 what about switching vts 2020-10-07 23:09:24 i dont know what logind does but i would not consider vt switching an appropriate time to apply this policy 2020-10-07 23:10:02 actually now that I think about it the drm/evdev revocation might be for practical, not security reasons (only one program can hold exclusive access to the drm node) 2020-10-07 23:10:04 if you have a setup where you leave multiple users logged in at console both handing off input device back and forth between each other, you don't have any secure seat policy 2020-10-07 23:10:42 the drm thing is just stupid and because linux's graphics device architecture is wrong :-p 2020-10-07 23:10:56 users should never have access to the drm devices; if they do they almost certainly have a gaping root hole 2020-10-07 23:11:22 but this is the classic gl issue that's not getting fixed anytime soon :( 2020-10-07 23:11:49 in fact FDO broke it even more by disabling glx module by default in Xorg and letting it bitrot to the point it crashes the system if you override to enable it 2020-10-07 23:11:51 actually you're a bit behind on that. gpu virtualization is popular again because of "cloud computing" 2020-10-07 23:12:06 but it's not actually virtualization 2020-10-07 23:12:22 i'm talking about gvt-g etc, not vfio 2020-10-07 23:12:23 it's mediation of access with iommu 2020-10-07 23:12:30 no? 2020-10-07 23:12:42 that's passthrough, which I agree is not true virtualization 2020-10-07 23:12:56 how does true virtualization work? 2020-10-07 23:13:05 not sure :p 2020-10-07 23:13:12 i ssuspect there's no such thing :-p 2020-10-07 23:13:18 but the selling point is that multiple vms can simultaneously use a single gpu 2020-10-07 23:13:46 i'm pretty sure that jusst means task switching/scheduling on the gpu 2020-10-07 23:14:01 possibly even running programs from multiple guests concurrently with fewer gpu cores or whatever 2020-10-07 23:14:24 again, I don't know how it's implemented, but at least the theory is that they can securely multiplex work from multiple guests 2020-10-07 23:14:28 but still with the guest having direct access to the gpu, limited only by iommu and on-gpu policy enforcements 2020-10-07 23:15:02 and the only reason anyone believes they're "secure" is that it's a black box of closed-source drivers that hide how it actually works 2020-10-07 23:16:00 afaik Serious Cloud Providers already use this technology. if google is willing to put billions of dollars of servers on the line, I'm going to go ahead and assume that it's at least practically secure even if it's not information-theoretically secure 2020-10-07 23:16:37 it's not practically secure either 2020-10-07 23:16:40 i could be wrong on that first part though 2020-10-07 23:16:57 nothing "serious cloud providers" are doing is secure 2020-10-07 23:17:10 secure against what threat model 2020-10-07 23:17:15 is the question 2020-10-07 23:17:16 you can almost surely steal private keys from other guests on the same node with side channel attacks 2020-10-07 23:17:58 the only mitigation is that most of the time an attacker is not on the same physical node as anything worth attacking 2020-10-07 23:18:10 but the whole ecosystem is utterly insecure 2020-10-07 23:19:25 there's a lot of actual money riding on the assumption that it's "mostly ok" 2020-10-07 23:20:11 and I don't mean bug bounties 2020-10-07 23:20:21 yeah i know 2020-10-07 23:21:53 so sure, if your threat model is "someone with a new spectre-type vulnerability that's actually practical and hasn't yet been mostly mitigated" or "someone with millions of dollars to spend acquiring the former" then yeah 2020-10-07 23:23:56 returning to the topic of session isolation, i reckon you could fix everything with a proper SAK that kills all non-system processes 2020-10-07 23:25:35 ignoring the problem of excessively complicated gpu apis 2020-10-07 23:27:16 you don't want to kill other user's processes though 2020-10-07 23:27:20 just prevent them from spying on you 2020-10-07 23:27:30 for example if they left "nice make" running 2020-10-07 23:27:35 killing that would suck 2020-10-07 23:30:20 slows your session though, at least until linux scheduling is fixed (the whole system, not the kernel cfs in isolation) 2020-10-07 23:31:05 ACTION shrugs 2020-10-07 23:32:55 SOCK_DESTROY gives some precedent for this "forcibly killing file descriptions" idea though 2020-10-07 23:33:34 but maybe linus will say it is misguided and should never have been added 2020-10-08 00:45:03 Hello everyone 2020-10-08 00:45:47 I am making the virtualbox package as you can see here 2020-10-08 00:45:49 Yhttps://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/9373/ 2020-10-08 00:48:17 I have already compiled virtualbox and the interface works 2020-10-08 00:49:16 here is the proof 2020-10-08 00:49:22 https://gitlab.alpinelinux.org/alpine/aports/uploads/04cb3e13569f882cce10335ed5511368/ss.png 2020-10-08 00:51:29 https://i.imgur.com/VQ5AJUq.png 2020-10-08 00:51:41 but when starting a virtual machine it gives that error 2020-10-08 00:52:07 you stripped suid 2020-10-08 00:52:32 I don't understand 2020-10-08 00:52:59 I just wanted to know if anyone was interested in helping me package it and avoid all its mistakes 2020-10-08 00:53:44 virtualbox mostly sucks anyways 2020-10-08 00:54:29 the code quality sucks, puel sucks, oracle sucks in general 2020-10-08 00:56:42 but having it in alpine would be very good for users who have alpine and want to arch,debian,etc in a virtual machine 2020-10-08 00:57:46 the only reason people use vbox is stockholm syndrome from windows 2020-10-08 00:58:17 it used to have better usb passthrough but qemu has that now 2020-10-08 00:58:30 without selling oracle your firstborn 2020-10-08 00:59:36 for most purposes a chroot is fully sufficient for using multiple distros 2020-10-08 00:59:55 with proper use of unshare(1) even moreso 2020-10-08 01:00:01 i guess they're off to provide their firstborn 2020-10-08 01:01:05 but still, isn't there someone who wants to help pack it up? 2020-10-08 01:02:02 hello71, i don't think your response to sodomon is helpful tho 2020-10-08 01:03:20 wouldn't virtualbox fit into the unfree license category? 2020-10-08 01:03:45 I know when I packaged yED there wasn't resistance, but it wasn't really embraced with open arms either 2020-10-08 01:03:48 dalias: I did give the (probable) right answer. if you want to be the sucker^Wgenerous fellow to give the baby steps, I'm not stopping anyone 2020-10-08 01:04:03 wsinatra: vbox core is gpl. it's the addons which require puel 2020-10-08 01:04:40 it's a little more complicated because their bios (i think seabios fork?) needs open watcom which debian said is not oss 2020-10-08 01:04:46 but i think binaries are available under free license 2020-10-08 01:05:26 ah, that's definitely confusing. I thought it was similar to yED in that commercial distribution required paid licensing, but the system was otherwise "free to use" 2020-10-08 01:05:31 didn't realize the core was gpl'd 2020-10-08 01:07:28 even puel is afaik not *horribly* objectionable, but people are legitimately worried about its aggressive termination clauses combined with oracle's standard business model of license noncompliance extortion 2020-10-08 01:13:29 the virtualbox has an oss version 2020-10-08 01:19:20 seems like debian removed virtualbox from stable releases due to impossibility of backporting security fixes 2020-10-08 01:19:53 although alpine like most other non-huge distros rarely backports patches, this still seems pretty against "small simple secure" 2020-10-08 01:22:09 Well, I'm trying to eliminate all the mistakes. 2020-10-08 05:26:25 Hello71: +1 2020-10-08 05:50:05 morning 2020-10-08 05:50:38 o/ 2020-10-08 05:51:15 \o 2020-10-08 05:55:04 i think we might need a machine-id service for https://www.freedesktop.org/software/systemd/man/machine-id.html 2020-10-08 05:55:32 its super simple, if /etc/machine-id is missing during boot, create it 2020-10-08 05:56:42 we currently create it with dbus post-install, but i think that is wrong 2020-10-08 05:58:14 machine-id is wrong from privacy standpoint 2020-10-08 05:59:01 it is needed for things like kubernetes 2020-10-08 05:59:10 but looks like a lot of things doesn't work without it 2020-10-08 05:59:31 yes, I understand :( 2020-10-08 05:59:51 problem is that dbus generates it, but things that does not uses dbus needs it 2020-10-08 06:00:06 apparently main/gcr needs it. test suite fails without it 2020-10-08 06:01:55 ACTION thinking of retirement from computers 2020-10-08 06:03:14 if we add an /etc/init.d/machine-id service, in what package do we ship it? 2020-10-08 06:04:24 alpine-base? 2020-10-08 06:09:58 actually, i think /etc/init.d/bootmisc might be suiteable 2020-10-08 06:17:57 and add option in /etc/conf.d/bootmisc to start 'machine-id=yes/no'? 2020-10-08 06:18:33 whatever is default 2020-10-08 06:20:05 maybe even recreate it on every boot 2020-10-08 06:54:36 someone had an idea to generate a constant machine-id 2020-10-08 06:54:50 so it would be the same for everyone 2020-10-08 08:31:50 andypost[m]: php7-pecl-redis is failing on armhf atm: 2020-10-08 08:31:53 PHP Warning: PHP Startup: Unable to load dynamic library 'modules/redis.so' (tried: modules/redis.so (Error relocating modules/redis.so: igbinary_unserialize: symbol not found), /usr/lib/php7/modules/modules/redis.so.so (Error loading shared library /usr/lib/php7/modules/modules/redis.so.so: No such file or directory)) in Unknown on line 0 2020-10-08 09:29:33 ikke, will check soon 2020-10-08 09:29:48 thanks 2020-10-08 10:01:07 ikke, I can't reproduce locally in docker 2020-10-08 10:11:33 what is igbinary_unserialize ? 2020-10-08 10:12:06 there is an igbinary extension 2020-10-08 10:12:12 php7-pecl-igbinary-3.1.6_rc1-r0 2020-10-08 10:12:25 yes, this one 2020-10-08 10:12:52 ah, it still 3.1.5 for armhf 2020-10-08 10:13:12 sounds too me that redis.so depends on igbinary but not loaded. 2020-10-08 10:13:41 https://pkgs.alpinelinux.org/packages?name=php7-pecl-igbinary&branch=edge 2020-10-08 10:14:03 interesting 2020-10-08 10:14:43 Installed: Available: 2020-10-08 10:14:46 php7-pecl-igbinary-3.1.6_rc1-r0 = 3.1.6_rc1-r0 2020-10-08 10:14:48 ot 2020-10-08 10:14:55 it's rebuilt, but not yet uploaded 2020-10-08 10:15:05 or it's built, I must say 2020-10-08 10:16:33 andypost: php7 -i | grep igbinary returns nothing 2020-10-08 10:17:14 but for me php7 --ri igbinary works 2020-10-08 10:17:33 and reports 3.1.5 2020-10-08 10:17:41 Extension 'igbinary' not present. 2020-10-08 10:17:51 the module is installed 2020-10-08 10:18:27 /usr/lib/php7/modules/igbinary.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, stripped 2020-10-08 10:19:02 maybe ini file is broken 2020-10-08 10:19:02 andypost: there is no ini file enabling this module 2020-10-08 10:19:16 :D 2020-10-08 10:19:35 this is why when i see PHP i go running in the other direction 2020-10-08 10:19:49 ikke, but /etc/php7/conf.d/10_igbinary.ini is here for me( 2020-10-08 10:20:06 https://tpaste.us/QWDE 2020-10-08 10:20:16 andypost: well, you still have the old version 2020-10-08 10:20:20 1.3.5, right? 2020-10-08 10:20:33 yes... now I see 2020-10-08 10:20:48 that's my clean-up - thank you a lot 2020-10-08 10:20:53 np 2020-10-08 10:22:59 but that's valid line https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/php7-pecl-igbinary/APKBUILD#L44 2020-10-08 10:23:58 it's not 2020-10-08 10:24:02 look carefully 2020-10-08 10:24:45 sure... need to wake up 2020-10-08 10:24:49 I mean, syntactically it works, but it does not do what you expect 2020-10-08 10:25:36 strange it only happens on armhf, though.. 2020-10-08 10:25:54 needs -r1 2020-10-08 10:28:47 :) 2020-10-08 10:29:14 thank you) 2020-10-08 10:32:10 Ariadne: Alpine policy is never to add openrc scripts to runlevels by default, right? if you have a button [*] enable user accounting then utmpd and wtmpd will need to be in the boot runlevel, will the installer or alpine-setup or whatever handle that? 2020-10-08 10:32:50 iow: should I leave any "rc-update add utmpd boot" shenanigans out of the APKBUILD? 2020-10-08 10:34:26 yes installer will sort that part out :) 2020-10-08 10:34:34 yes 2020-10-08 10:34:54 hmm, someone was faster :) 2020-10-08 10:35:41 okay 2020-10-08 10:36:30 Ariadne: just fixed vboot-utils. looks like you don't need to download apk from my site anymore :) 2020-10-08 11:42:39 conflict question 2020-10-08 11:43:16 utmps-dev has a /usr/include/utmpx.h file, and so does musl-dev 2020-10-08 11:44:24 how should that be addressed? if Alpine's policy is to have utmps in base, then the official utmpx.h should be utmps's, and the musl one should just be removed 2020-10-08 11:45:11 but if the policy is "people can choose to build without utmps" then there needs to be an alternatives mechanism 2020-10-08 11:45:52 ask dalias to put your file in musl 2020-10-08 11:46:10 (note that building against utmps's utmpx.h won't break anything if the utmps daemons are not running, the utmpx functions just won't do anything) 2020-10-08 11:47:15 mps: not possible, there's some utmps-specific stuff in there 2020-10-08 11:47:19 but yes, this is conflict 2020-10-08 11:48:09 overwriting files are not allowed 2020-10-08 11:48:42 maybe pre/post install script to move/rename file 2020-10-08 11:49:20 utmps-dev will depend on musl-dev, I think 2020-10-08 11:49:21 that 1. will not work since the conflict mechanism is at the apk level directly, 2. would be extremely ugly 2020-10-08 11:49:44 I'm not asking for technical answers, I know how to manage the technical part 2020-10-08 11:49:59 it's a policy question: what's the correct way of managing that under Alpine policy? 2020-10-08 11:50:07 utmps doesn't have a pkgconfig file since projects just auto-discover the header, right? 2020-10-08 11:50:21 ok, then my answer above, overwrite is not allowed 2020-10-08 11:50:39 If it did I'd put it in a separate folder and adjust the pkgconfig file, it it doesn't then I'd say remove the header from mus 2020-10-08 11:50:41 l 2020-10-08 11:51:02 Cogitri: there's no conflict and no problem with the utmps library itself. The only conflict is with the utmpx.h file, which is standards-mandated 2020-10-08 11:51:23 musl provides a nop implementation of the standard 2020-10-08 11:51:31 utmps provides another implementation 2020-10-08 11:51:40 Yes, I meant the header. But if that's the standard location which we shouldn't change then remove the header from musl 2020-10-08 11:51:47 I don't see the point of providing the header with subs 2020-10-08 11:51:53 s/subs/stubs/ 2020-10-08 11:51:53 Cogitri meant to say: I don't see the point of providing the header with stubs 2020-10-08 11:52:06 good bot XD 2020-10-08 11:52:53 Cogitri: it couldn't be removed, it is part of musl-dev 2020-10-08 11:53:24 it can, it's a policy decision 2020-10-08 11:53:50 technically yes 2020-10-08 11:54:15 in my MR I can add a commit removing utmpx.h from musl-dev, if it's accepted that programs that use utmp now have to depend on utmps-dev as well as musl-dev 2020-10-08 11:54:23 but it's not my decision to make 2020-10-08 11:55:20 what will return back utmpx.h if we remove utmps-dev and keep musl-dev 2020-10-08 11:55:35 nothing, that's the point 2020-10-08 11:56:09 but it will only matter for building programs that use utmp 2020-10-08 11:56:26 building these programs will require installing utmps-dev 2020-10-08 11:57:08 I can't recall example now but some programs require utmpx.h right now 2020-10-08 11:57:18 yes, like who 2020-10-08 11:57:26 yes 2020-10-08 11:57:48 that's why it's a distro-wide decision to make 2020-10-08 11:58:23 I don't have correct answer now 2020-10-08 11:58:50 yeah, I can see that. :P 2020-10-08 11:59:08 sensible, better to say :) 2020-10-08 11:59:43 I'm just exposing the problem for distro heads to think about. 2020-10-08 11:59:51 and come to a decision later. 2020-10-08 12:38:45 cogitri: zfs 0.8.5 is out 2020-10-08 13:27:57 The seccomp issue with chromium is annoying. One can't core-dump processes with seccomp, but the problem disappears if one sets --no-sandbox. 2020-10-08 13:32:00 seems like there are two questions here: first, should it be possible to install musl utmpx.h at all; second, if it is, which should the default be 2020-10-08 13:32:49 imo the answers are yes and no respectively. this points to splitting utmpx.h into subpackages (musl-dev-utmpx or somesuch) which conflict with each other 2020-10-08 13:33:44 you can't use pkgconfig because each package would need to individually support utmps, and the point of utmps is supposed to be that it's a system wide shim 2020-10-08 13:33:56 or "alternative implementation" if you will 2020-10-08 13:34:14 Ganwell: can't you do it as root 2020-10-08 13:35:53 Hello71: I read this as, the whole functionality is disabled: https://1042.ch/f 2020-10-08 13:36:21 they mean from perspective of chromium itself 2020-10-08 13:38:37 Hello71: I just realized that I set ulimit wrong: now I have "ulimit -c unlimited", lets see if I get a core-dump on a seccomp crash. 2020-10-08 13:41:28 Hello71: it's still "using another implementation over the libc's", so you need -lutmps in every package you build. You can work around this via distro linker config but it's ugly. 2020-10-08 13:45:28 hm. 2020-10-08 13:49:56 any idea on this error within dmesg? 2020-10-08 13:49:58 [Wed Oct 7 18:32:33 2020] ptrace attach of "radiusd -C"[7755] was attempted by "radiusd -C"[7756] 2020-10-08 13:50:08 radius is running in an lxc container 2020-10-08 13:50:17 crashed and trying to do backtrace? 2020-10-08 13:50:24 ah-a 2020-10-08 13:50:36 not a segfault 2020-10-08 13:50:42 just a crahs of the service 2020-10-08 13:50:46 or you have some zero day, but probably the other one 2020-10-08 13:51:17 someone tryign to abuse of radius service? 2020-10-08 14:24:22 skarnet, what utmps-specific stuff does its utmpx.h need? 2020-10-08 14:24:55 also is it possible to just have pkgconfig use a different -I ahead of /usr/include for the utmpx.h from utmps in programs that will link against it? 2020-10-08 15:04:02 dalias: typically https://github.com/skarnet/utmps/blob/master/src/include/utmps/utmpx.h#L71 2020-10-08 15:04:17 this should not matter but just in case 2020-10-08 15:06:05 also, yes, if -I/usr/include/utmps happens before /usr/include then the correct utmpx.h will be found 2020-10-08 15:06:56 so, not installing utmps's /usr/include/utmpx.h (which just includes utmps/utmpx.h) at all is another possibility 2020-10-08 15:46:48 skarnet, that sounds like the cleanest option 2020-10-08 15:51:48 again, this is a decision for the Alpine heads to make 2020-10-08 15:54:37 yes 2020-10-08 15:54:45 it's my recommendation for them tho 2020-10-08 15:56:20 I can probably make a first utmps apk on this basis because it's entirely opt-in and doesn't conflict with anything 2020-10-08 15:56:28 and change it later if it's not what people want 2020-10-08 16:03:06 yeah 2020-10-08 16:13:57 Hello71: tab just failed, no core dump :( 2020-10-08 16:25:20 uuuuuuh wait 2020-10-08 16:26:12 mkmr requires me to create a fork of the gitlab repo and push a branch to it? 2020-10-08 16:26:31 yes 2020-10-08 16:26:40 can I create such a fork without interacting with the gitlab web UI? 2020-10-08 16:27:21 Maybe via the API but that's definitely more work than pressing one button i the webui once 2020-10-08 16:27:30 No tooling in mkmr exists for that 2020-10-08 16:27:35 https://docs.gitlab.com/ee/api/projects.html#fork-project 2020-10-08 16:27:51 Alternatively you can send patches to Gitlab via email but you need to access the UI to get the mail to send the patches to 2020-10-08 16:27:53 I feel this does not fill the niche that the ML was filling 2020-10-08 16:28:12 Having to press one button is a problem? 2020-10-08 16:28:14 the point of the ML was to streamline dev cycles by not having to use a GUI at all 2020-10-08 16:28:16 yes, it is 2020-10-08 16:28:17 very much 2020-10-08 16:28:35 I don't want to have to interact with a web UI for development, *ever* 2020-10-08 16:28:40 It's a one-time cost, you could add it in mkmr if it's really *that* much of a problem 2020-10-08 16:28:57 it's a one-time cost for every project I want to work on 2020-10-08 16:29:11 gitlab has generally good API support, so it's quite easy to make tooling to do these things 2020-10-08 16:29:38 great, please make such tooling 2020-10-08 16:30:00 else it's not a replacement for the ML 2020-10-08 16:30:01 https://pkgs.alpinelinux.org/package/edge/community/x86_64/lab 2020-10-08 16:31:04 ikke: oh cool, this eхists 2020-10-08 16:31:19 looks good 2020-10-08 16:31:32 kinda ironic that it's hosted on github 2020-10-08 16:33:16 ~alpine/aports@lists.alpinelinux.org still exists, not? 2020-10-08 16:33:24 yes 2020-10-08 16:33:48 how many months nowadays between the moment a mail is sent and the moment it's processed? :P 2020-10-08 16:34:33 depends 2020-10-08 16:34:59 "for someone annoying like skarnet, it can take up to a year" :D 2020-10-08 16:35:09 Oh no 2020-10-08 16:35:30 it depends if you're ddevault or not 2020-10-08 16:35:44 lol 2020-10-08 16:37:50 The ML still exists, but IMHO we should get rid of it already, most devs don't work with it so I feel like it does more harm than good 2020-10-08 16:38:46 insep: https://github.com/zaquestion/lab/issues/406 2020-10-08 16:39:20 PureTryOut: nice 2020-10-08 16:40:36 just be aware that removing the ML bumps the initial burden for contributors from 1. git-send-email to 1. install lab 2. install mkmr 3. write scripts to streamline the process of forking a whole repo, cloning it, making your changes, upstreaming them, creating the MR, sending the MR 4. call the script 2020-10-08 16:41:01 I'm willing to do it but I'm making noise about it and I won't be the last one 2020-10-08 16:41:45 skarnet: for others it has become easier. 2020-10-08 16:42:43 for maintainers* 2020-10-08 16:42:46 And if it's super easy to send patches but then no one ends up reviewing those patches because it's a massive pain to do that on the ML then it's of no use 2020-10-08 16:43:19 from a maintainer standpoint, gitlab is much easier to use for review and merging patches 2020-10-08 16:43:38 oh, I'm definitely not arguing with that 2020-10-08 16:43:39 also https://gitlab.com/groups/gitlab-org/-/epics/260 is a thing, let's hope they'll work on it (lol) 2020-10-08 16:44:07 I'm just underlining that it raises the barrier of entry 2020-10-08 16:44:17 by what I think is a significant height 2020-10-08 16:44:30 skarnet: fyi, mailing lists have a barrier of entry as well 2020-10-08 16:46:47 when I tested gitlab.a.o (when we preparing to move) I did all with cli, 'lab' and 'git' but nowadays I'm mostly 'web' user :) 2020-10-08 16:58:22 Ganwell: I thought you said ptrace 2020-10-08 16:59:15 skarnet: assuming users already know how to use git send-email 2020-10-08 17:00:16 what did I say a few days ago? 2020-10-08 17:00:43 if you assume that users are dumb, and design procedures around that assumption, your procedures will be *terrible* 2020-10-08 17:01:32 It's not about the inteligence of users 2020-10-08 17:01:42 but what they are experienced with 2020-10-08 17:02:15 soon you'll be telling me that Alpine cares more about developers who like web uis than developers who like the command line 2020-10-08 17:02:46 because it's exactly what this whole exchange sounds like 2020-10-08 17:03:06 and the only thing I can say is, I very much hope this is not it, because 5 years ago it wasn't like this 2020-10-08 17:04:24 ACTION contemplating for months is there a way to not use gitlab 2020-10-08 17:04:40 We try to cater for a wide public. People who like CLI and people who prefer web 2020-10-08 17:05:25 ikke: yes, but this is hard job 2020-10-08 17:05:27 If we just cared about the core contributers, we could do with a lot less 2020-10-08 17:06:07 I remember how hard you and clandmeter worked on gitlab to get it ready for us 2020-10-08 17:06:34 But at least the CI part helps us a lot 2020-10-08 17:06:43 drone ci was limited in arches 2020-10-08 17:06:53 yes, that is 'good part' of it :) 2020-10-08 17:07:30 CI saves us of a lot of headaches 2020-10-08 17:07:46 having CI is unarguably a good thing 2020-10-08 17:09:42 ACTION remember times when use 'git am $ML' sync on four lxcs, run abuild on all of them, check results and then 'git push origin' 2020-10-08 17:10:09 that is, for ML patches 2020-10-08 17:27:15 MR submitted. I didn't want to spend my evening scripting around lab and mkmr, so I used the UI. And seedless to nay, I hate you all. :P 2020-10-08 17:27:35 heh :) 2020-10-08 17:27:43 you're welcome :P 2020-10-08 17:28:16 Talking about gitlab, going to restart it for a patch update, should be back up soon 2020-10-08 17:28:41 today I had unintentional merge by wrongly press wrong button 2020-10-08 17:29:09 and I feel scared of that 2020-10-08 17:29:18 ikke: you missed the opportunity to supremely annoy me by a few minutes! (by having gitlab down *right as* I was creating the MR). You need to work on your timing. 2020-10-08 17:29:19 sounds like a missing confirmation dialog :)\ 2020-10-08 17:30:40 skarnet: :) 2020-10-08 17:32:27 gitlab is starting again 2020-10-08 17:33:07 Done 2020-10-08 17:42:51 don't mind if i review ^^ 2020-10-08 17:43:20 review what? 2020-10-08 17:45:15 mr with utmps 2020-10-08 17:45:39 ah 2020-10-08 18:03:25 aaand done 2020-10-08 18:03:33 i think i nitpicked too hard though :( 2020-10-08 19:10:38 insep_: thanks for the comments, I've changed to WIP because I've also noticed a thing I need to change. Will work on it tomorrow. 2020-10-08 23:27:53 any apk developers here? 2020-10-08 23:28:01 or is there a dedicated channel? 2020-10-08 23:29:54 <[[sroracle]]> #apk-tools but most of the discussion happens here 2020-10-08 23:30:09 thanks 2020-10-08 23:30:24 <[[sroracle]]> fabled is the primary dev but i think he is missing currently 2020-10-08 23:30:59 yea I hoped he would stick around here... 2020-10-08 23:31:48 <[[sroracle]]> what's up anyway 2020-10-08 23:32:15 I'd replace the OpenWrt package manager with apk, at least in the long run 2020-10-08 23:32:50 the current tool, opkg, is a fork of a fork and doesn't received much love lately 2020-10-08 23:33:35 I'm mostly curious how much alpine (or apk devs) cares about support low resource hardware 2020-10-08 23:33:54 as in, we have usually 8mbit of storage and some 64mbit of ram to work with 2020-10-08 23:40:06 openwrt hasn't supported <4MB flash or <32MB RAM for a long time 2020-10-08 23:41:02 i doubt stock openwrt kernel even fits in 8 MB RAM 2020-10-08 23:42:03 i don't think stock linux even supports xip 2020-10-08 23:57:45 Hello71: ram = memroy, flash = storage. so you can easily install OpenWrt on a 8MB device, I didn't talk about 8Mb of memory 2020-10-09 00:01:06 ACTION bails 2020-10-09 00:03:50 ¯\_(ツ)_/¯ 2020-10-09 05:51:47 Cogitri: thoughts on adding these plugins to Chatty's depends once MR !13441 is merged? OMEMO seems to work now (tested against Conversations and another session with Chatty). The problems I was having before weren't due to purple-lurch, but due to an old key being re-used for encryption on the other device talking to chatty 2020-10-09 05:53:49 skarnet: don't we need to link utmps client lib against programs too? 2020-10-09 06:16:34 morning 2020-10-09 06:16:50 i think im gonna tag an abuild release candidate 2020-10-09 06:23:43 we really need to add more tests to abuild 2020-10-09 06:26:10 +1 2020-10-09 07:27:56 Ariadne: yes of course. -I/usr/include/utmps and -lutmps -lskarnet (I recommend linking statically because the amount of code is really tiny, but iirc that's not Alpine policy) 2020-10-09 07:28:35 I think for this case it is fine 2020-10-09 07:29:24 it would be nice if utmps had a .pc file :) 2020-10-09 07:30:10 bleh 2020-10-09 07:30:12 that would allow the utmps integration to be very easily upstreamed 2020-10-09 07:30:44 sorry, not going to depend on pkgconf upstream 2020-10-09 07:30:54 no need to do so? 2020-10-09 07:31:17 I meant for things like coreutils 2020-10-09 07:31:44 they can just say "oh, utmps is installed, pull it in" 2020-10-09 07:31:48 :) 2020-10-09 07:32:16 yeah but that requires utmps to craft a .pc file. Can probably do it manually in the APKBUILD. 2020-10-09 07:32:52 where's the standard location for that file? 2020-10-09 07:33:19 /usr/lib/pkgconfig 2020-10-09 07:34:42 oh, it's handled by default_dev 2020-10-09 07:35:08 so if I just install a /usr/lib/pkgconfig/utmps.pc file in my package() then everything will work automagically? 2020-10-09 07:43:35 yes 2020-10-09 08:45:19 insep_: I'm trying your "copy docs in package() so default_doc does the right thing and there's no need to declare a doc() function" thing 2020-10-09 08:45:49 and abuild fails with: ERROR: skalibs-doc*: Missing /home/ska/src/aports/main/skalibs/pkg/skalibs-doc 2020-10-09 08:46:00 wut? 2020-10-09 08:47:50 look aports/main/skalibs 2020-10-09 08:48:27 yes, that's what I'm working on 2020-10-09 08:48:36 hmm, strange 2020-10-09 08:48:49 no shit, Sherlock 2020-10-09 08:48:56 :) 2020-10-09 08:50:24 anyway I have no time to spend debugging abuild, so I'll freeze that until someone can help me with this 2020-10-09 08:51:09 skarnet: are you copying the files to a directory that the default_doc function looks for? 2020-10-09 08:51:26 [skarnet](https://matrix.to/#/@freenode_skarnet:matrix.org): wut 2020-10-09 08:52:07 send apkbuild 2020-10-09 08:52:08 ikke: in package() I'm copying the files to $pkgdir/usr/share/doc 2020-10-09 08:52:33 yeah, can you share your APKBUILD? 2020-10-09 08:53:35 https://bpa.st/NQJA 2020-10-09 08:54:07 abuild -r in skalib dir worked for me 2020-10-09 08:54:27 lines 29-30 are the relevant changes 2020-10-09 08:54:40 mps_: with the pasted APKBUILD ? 2020-10-09 08:55:00 the skalibs build succeeds, but the packaging of skalibs-doc fails 2020-10-09 08:55:28 no 2020-10-09 08:55:50 with one currently in aports 2020-10-09 08:56:34 try without this line ` cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname"` 2020-10-09 08:57:07 abuild_doc() should find doc automatically 2020-10-09 08:57:45 mps_: only when they are installed in $pkgdir 2020-10-09 08:57:54 it has no idea where to look for them in the $builddir 2020-10-09 08:58:54 I've added a "sleep 120" after the cp -a line and checked manually in $pkgdir, everything is where it's supposed to be 2020-10-09 08:59:03 so why is default_doc() failing? o.O 2020-10-09 08:59:09 I get a strange different issue with your APKBUILD 2020-10-09 08:59:20 : not founduild: /home/build/aports/main/skalibs/APKBUILD: line 13: 2020-10-09 08:59:31 not founduild? 2020-10-09 08:59:34 could you tpaste skalibs.pc 2020-10-09 09:00:01 ah 2020-10-09 09:00:03 crlf :-/ 2020-10-09 09:00:04 ah yes, totally irrelevant 2020-10-09 09:00:11 just touch skalibs.pc 2020-10-09 09:00:27 skarnet: the paste contains crlf 2020-10-09 09:00:34 dos2unix fixed it 2020-10-09 09:00:49 yeah, sorry for the bad paste :/ 2020-10-09 09:03:29 with the fixed APKBUILD, are you getting the same error as I am? 2020-10-09 09:03:37 yes 2020-10-09 09:03:55 after `abuild package`, it looks correct 2020-10-09 09:04:51 but after abuild rootpkg, the docs are gone 2020-10-09 09:08:56 it doesn't create pkg/skalibs-doc 2020-10-09 09:09:09 default_doc should do that 2020-10-09 09:10:26 yes 2020-10-09 09:10:30 found it 2020-10-09 09:10:38 skarnet: look at your dev() function 2020-10-09 09:11:07 gah 2020-10-09 09:11:14 yeah, that would explain it. 2020-10-09 09:11:22 thanks. 2020-10-09 09:12:00 (for the rest, there is a rm -rf $pkgdir/usr there, which deletes the docs before they are split) 2020-10-09 09:12:53 ikke: huh, nice catch. I didn't looked there :) 2020-10-09 09:13:29 I added set -x to the default_doc function and noticed it did not find the $pkgdir/usr/share/doc directory 2020-10-09 09:13:45 so it was already removed before the default_doc function was run 2020-10-09 09:15:04 yeah, it was a shortcut to remove the empty dirs 2020-10-09 09:15:22 but with the doc move, /usr is not so empty anymore >.> 2020-10-09 10:10:19 MC:[AL29]:APKBUILD:14:$pkgname should not be used in the source url 2020-10-09 10:10:29 huh? is there a good reason for that lint rule? 2020-10-09 10:12:16 skarnet: to decouple the packagename from the upstream name 2020-10-09 10:13:26 sure, but when the package name and the upstream name happen to be the same, I don't see the problem in using $pkgname 2020-10-09 10:14:05 and then you fork the package and it breaks 2020-10-09 10:14:07 it seems like an arbitrary rule that doesn't help with anything 2020-10-09 10:14:34 well, it's kinda a little better that way, IMO 2020-10-09 10:14:36 afontain_: yes, that's one of the reasons bheind it 2020-10-09 10:15:22 my reason for using $pkgname in URL is that it allowed me to write several APKBUILDs with less editing, since my upstream location always has the same pattern 2020-10-09 10:15:39 changing it incurs *more* work 2020-10-09 10:16:46 (whatever you do someone will argue opposite, always) 2020-10-09 10:17:16 I don't care about what other people do, I just dislike lint complaining about what is generally seen as good practice 2020-10-09 10:17:23 i.e. using a variable instead of a magic constant 2020-10-09 10:17:42 let people use magic names if they want, and let me use a variable if I want 2020-10-09 10:17:48 I agree with you but linter doesn't :) 2020-10-09 10:18:28 linter probably values consistency. that's a good thing 2020-10-09 10:18:39 what happened to "be liberal in what you accept" 2020-10-09 10:18:40 I'm not sure 2020-10-09 10:18:51 afontain_: ^ 2020-10-09 10:20:55 anyway, MR updated, and the linter can go shove it 2020-10-09 10:21:53 for now linter 'bugs' are ignored on builders, and that is 'good thing' :) 2020-10-09 10:22:06 yeah, they better 2020-10-09 10:22:28 (there are no 'good things' in the world, only bad, worse ....) 2020-10-09 10:24:28 Ignored, meaning just warnings, and there is no intention to change that 2020-10-09 10:25:35 good :) 2020-10-09 10:25:52 But what afontain_ mentioned is correct, we decided it was nice to have consistency in APKBUILDs. Having different maintainers with different rules was really confusing for outsiders trying to contribute. It's better to be able to give a single style guide. 2020-10-09 10:30:17 A lot of discussion about style disappears when you have a documented style and linting that tells contributors when they deviate from that style. 2020-10-09 10:50:30 It is the second time I built a linux-lts from edge to test it (test if a bug goes away) on my 3.12 machine and I got no modesetting and therefore no GUI. That used to work in the past. Do I have to build linux-firmware too, or some other packages? 2020-10-09 10:56:37 Ganwell: which bug 2020-10-09 10:59:27 mps_: In this case something in drm. laggy rendering in the browser. It is not a alpine bug, just some normaler kernel-hickup, these things that usually go a way on the next kernel release. 2020-10-09 11:01:03 Ganwell: you can try with linux-edge from testing 2020-10-09 11:01:14 and see if there are diffs 2020-10-09 11:04:13 mps_: yes. will it work if I just build linux-edge and install it? Or do I have to build other packages too, like linux-firmware? It bothers me that I can't update a linux-lts anymore. That used to work for the last 8 years. 2020-10-09 11:05:06 Ganwell: you don't need even to build it, if your arch is x86_64, just install it 2020-10-09 11:05:53 and you don't need newer firmware version but you can install if you like 2020-10-09 11:06:54 Ganwell: and when you install linux-edge linux-lts will *not* be removed 2020-10-09 11:06:57 ah you mean directly from edge. I try that, thanks a lot! 2020-10-09 11:07:12 you can keep boot and boot one you like 2020-10-09 11:07:19 yeah, the kernel has no dependencies, so you can safely install it from edge 2020-10-09 11:58:34 ncopa: why linux-firmware is built from git and not from tarball snapshot 2020-10-09 12:01:43 last time I checked (Someone asked about it), it _was_ from a snapshot 2020-10-09 12:02:18 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/linux-firmware/APKBUILD#L20 2020-10-09 12:03:19 ikke: yes, snapshot() 'git fetch' it and make tarball and then upload to dev.a.o which is in source 2020-10-09 12:03:32 ah, like that 2020-10-09 12:05:07 I'm just trying to build from upstream tarball directly, skipping snapshot() 2020-10-09 12:05:24 and looks like it works 2020-10-09 12:05:48 So something like this: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-20200918.tar.gz 2020-10-09 12:06:02 yes 2020-10-09 12:06:46 Seems like these snapshot are quite recent 2020-10-09 12:06:46 https://tpaste.us/prQ4 2020-10-09 12:06:55 So I guess this came from a time they did not exist yet 2020-10-09 12:07:02 APKBUILD diff 2020-10-09 12:07:08 Oldest is from march last year 2020-10-09 12:07:29 no, look https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git 2020-10-09 12:07:44 looking here: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/refs/ 2020-10-09 12:07:48 it is nearly monthly releases 2020-10-09 12:08:00 tags 2020-10-09 12:08:07 Yes, but the oldest tag is from march 2019 2020-10-09 12:08:14 so before that, there were no tags afaict 2020-10-09 12:08:19 ah, yes 2020-10-09 12:08:40 I understood you wrongly, sorry 2020-10-09 12:08:42 so no one adjusted it to make use of these snapshots yet 2020-10-09 12:08:52 I misunderstood you first as well :) 2020-10-09 12:08:53 I'm starting :) 2020-10-09 12:09:23 but want to hear BDFL, do he agree to change this 2020-10-09 12:10:53 I guess open an MR? :P 2020-10-09 12:12:15 I think he is busy and usually don't look much there 2020-10-09 12:12:56 I already had few assigned and wait till I tell here 2020-10-09 12:13:13 but sure, I'm preparing MR 2020-10-09 12:13:37 uh, my nick is incorrect :| 2020-10-09 12:13:56 and now it is not 2020-10-09 12:33:01 huh, I'm surprised that an apk backend is being added to gnome-software and not packagekit 2020-10-09 12:33:03 that seems like a weird choice :/ 2020-10-09 12:33:14 Packagekit is dead 2020-10-09 12:33:21 isn't packagekit dead? 2020-10-09 12:33:24 no? 2020-10-09 12:33:30 https://blogs.gnome.org/hughsie/2019/02/14/packagekit-is-dead-long-live-well-something-else/ 2020-10-09 12:33:35 https://blogs.gnome.org/hughsie/2019/02/14/packagekit-is-dead-long-live-well-something-else/ 2020-10-09 12:33:37 lol 2020-10-09 12:33:43 Heh 2020-10-09 12:33:51 https://github.com/hughsie/PackageKit/commits/master 2020-10-09 12:34:03 not very dead for a "dead project" 2020-10-09 12:34:44 Maybe read that post 2020-10-09 12:34:46 Cogitri: you cannot beat my ctrl+v. 2020-10-09 12:34:58 "Of course, I’ve still been merging PRs and have been slinging tarballs over the wall every few months, but nothing new was happening with the project, and I’ve worked on many other things since." 2020-10-09 12:35:18 I've read the blog post, yes 2020-10-09 12:35:49 It's in maintenance mode, not really gaining new features 2020-10-09 12:36:48 Individual plugins for both GNOME Software and KDE Discover are the way to go forward 2020-10-09 12:37:07 For tighter integration and better functionality 2020-10-09 12:38:01 yeah, that's going to be an awesome shitshow 2020-10-09 12:38:51 neither Discover nor Software agree on interfaces for anything, so app developers are basically screwed if they need to request things like codecs and stuff 2020-10-09 12:39:24 ikke: and what "new features" do you want? 2020-10-09 12:39:49 aside from Richard, there are ~5 other committers to the codebase, all are able to review PRs and some are even writing code themselves 2020-10-09 12:40:16 Eighth_Doctor: Me, none 2020-10-09 12:40:47 put codecs in app dependencies? 2020-10-09 12:41:15 either way, they are already screwed because every distro loves to name stuff differently 2020-10-09 12:41:33 that doesn't matter if you're doing gstreamer codec request 2020-10-09 12:41:46 or something like that, because there are already ways to discover and handle that 2020-10-09 12:41:52 those are handled by the PackageKit backends 2020-10-09 12:44:44 You can open by appid in GNOME Software too, so implementing it via GNOME Software and Discover's DBus API doesn't seem too much of a problem 2020-10-09 12:45:53 ikke: !13456 2020-10-09 12:46:07 if you have any comment 2020-10-09 12:46:32 except about linter :) 2020-10-09 12:47:10 mps: The linter does the commenting for me :P 2020-10-09 12:47:43 https://gitlab.alpinelinux.org/mps/aports/-/jobs/225149#L80 2020-10-09 12:47:54 502 http error 2020-10-09 12:48:46 restart this one CI? 2020-10-09 12:49:40 Cogitri: GNOME Software is also in a position of possibly being retired or replaced 2020-10-09 12:49:41 seems like an issue with kernel.org 2020-10-09 12:50:01 because GNOME folks and developers are unhappy with it 2020-10-09 12:50:07 so yay? :( 2020-10-09 12:50:31 ikke: on other CIs it works 2020-10-09 12:50:54 maybe depending on the location? 2020-10-09 12:51:05 Cogitri: https://gitlab.gnome.org/GNOME/gnome-software/-/issues?label_name%5B%5D=2.+RFC 2020-10-09 12:51:21 mps: trying it on that host, and its just hanging 2020-10-09 12:51:44 It does the HTTP request, but the response is not comming 2020-10-09 12:51:54 yes 2020-10-09 12:52:02 but on other it works 2020-10-09 12:52:13 and on 'my' lxc 2020-10-09 12:52:20 Yes, can still be location dependendt 2020-10-09 12:52:23 dependent 2020-10-09 12:52:23 x86_64 lxc, I mean 2020-10-09 12:52:43 anyway, y'all do what you want for apk support in GUI tools, I just think it's probably a bad idea 2020-10-09 12:52:52 to do it in GNOME Software 2020-10-09 12:53:19 mps: https://tpaste.us/W7aN 2020-10-09 12:54:20 I see, and can't do anything about that 2020-10-09 12:54:25 me neither 2020-10-09 12:54:50 Eighth_Doctor: at this point we already have the plugin and everything in place 2020-10-09 12:54:56 will try to restart it on x86_64 CI few hours latter 2020-10-09 12:55:03 ACTION shrugs 2020-10-09 12:55:16 And I don't feel like poking in dead software and working with GNOME Software was a pretty decent experience 2020-10-09 14:46:45 anybody time to look at !13170 2020-10-09 14:46:55 it's hanging around for a while 2020-10-09 14:50:11 ah, so that's how it works :D 2020-10-09 14:50:27 Ariadne: whenever you have time, !13421 2020-10-09 15:03:24 my MRs hangs sometimes long time, although I can merge them ;) 2020-10-09 15:31:24 you are lucky :D 2020-10-09 15:31:29 do you? 2020-10-09 15:43:30 the6543: well, I'm not in hurry 2020-10-09 15:44:36 and I like if more people look at MRs if I made some errors or mistakes, oversight something etc 2020-10-09 15:45:45 yes, they happen just to easely 2020-10-09 15:48:39 insep_: (to not join pmOS, just to inform you) I found some time today to make alpine kernel for n900, now it boots fine and works 2020-10-09 15:48:58 finally have alpine on nokia n900 2020-10-09 15:49:41 nice! 2020-10-09 15:50:14 hope I will find time later to test if iwd can work on it 2020-10-09 15:50:43 do you still be able to call or conect to mobile network? 2020-10-09 15:50:58 what is 'iwd' ? 2020-10-09 15:51:18 apk info iwd 2020-10-09 15:52:10 :) now i understand ... 2020-10-09 15:52:25 iwd have FILS (Fast Internet Link Setup), about 200 mS 2020-10-09 15:53:06 and integrated dhcp client 2020-10-09 15:53:47 cool 2020-10-09 15:53:55 does iwd work? 2020-10-09 15:54:36 didn't tried yet, don't have much free time these days 2020-10-09 15:56:30 the6543: ofono should support all of these, but calls will require separate lib and they'll suck 2020-10-09 15:56:36 and 2020-10-09 15:56:41 > talking to people 2020-10-09 16:02:48 mps: oh, now i have full rights to call iwd bloated 2020-10-09 16:10:27 insep_: sure, anything not written in forth is bloated :) 2020-10-09 16:11:07 anything not written in v /s 2020-10-09 17:04:31 craftyguy: If Chatty works fine with those plugins then let's add them 2020-10-09 18:37:59 Cogitri: sounds good. I'll make the MR then 2020-10-10 09:12:56 mps: linux-firmware now passed on x86_64 as well 2020-10-10 09:28:21 ikke: good, so network problem is self healed 2020-10-10 09:28:33 or some sysadmin fixed the underlying issue :) 2020-10-10 09:28:43 hehe 2020-10-10 09:29:15 last night I restarted it but it didn't pass 2020-10-10 09:29:23 ok 2020-10-10 09:29:42 anyway, I would left it for ncopa to look and comment and merge 2020-10-10 09:30:29 changes look good to me 2020-10-10 09:30:47 also to me ;) 2020-10-10 09:32:13 I have a question, someone yesterday asked on #alpine-linux will we enable NTS (NTP SSL) in chrony 2020-10-10 09:32:32 Yes, I saw that question 2020-10-10 09:32:53 what is your opinion 2020-10-10 09:33:03 Is there any drawback to enabling it? 2020-10-10 09:33:28 yes, gnutls and nettle libs in basic install 2020-10-10 09:33:39 aha 2020-10-10 09:34:19 if it is openssl I think we can enable it, but not sure because of extra libs 2020-10-10 09:35:44 maybe we can raise this question on workdays here when more of us are here 2020-10-10 09:36:11 Would we remove chrony if it would've depended on gnutls/nettle by default? 2020-10-10 09:36:45 (remove from base install) 2020-10-10 09:37:13 hmmm, maybe and use BB ntp client 2020-10-10 09:38:29 or ask chrony upstream if openssl build option can be added 2020-10-10 09:39:11 right 2020-10-10 11:23:49 do we have netboot.alpinelinux.org or similar? 2020-10-10 11:24:25 http://boot.alpinelinux.org/ 2020-10-10 11:24:57 yes, just found by engaging memory :) but thank you ikke 2020-10-10 11:31:33 Where do I find the script/repo that builds the install media / the initramfs? 2020-10-10 11:31:44 alpine/aports/scripts 2020-10-10 11:31:54 ikke: thanks! 2020-10-10 11:36:12 I'm trying to understand how the profiles relate/things build on top of each other - is there any docs on how a new release is being created? 2020-10-10 11:37:20 Motivation: I'd like to patch the images / scripts upstream to install `ndisc6` by default and to start `rdnssd` if networking is requested. This change will allow alpine to be installed in IPv6 only environments 2020-10-10 11:39:38 telmich: mkimg.standard.sh -> mkimg.base.sh -> mkimage.sh 2020-10-10 11:40:34 You run mkimage.sh with --profile 2020-10-10 11:41:51 Hmm 2020-10-10 11:42:15 I'm not aware of any documentation, I mostly try to read the scripts to see what is done 2020-10-10 11:42:25 `./mkimage.sh --profile standard` fails with `ERROR: unable to select packages:` ... `alpine-base (no such package):` 2020-10-10 11:42:44 Just updating my tree, in case I'm outdated 2020-10-10 11:43:02 Same error on `v20200917-2101-g7ad3efa885` 2020-10-10 11:44:15 Does it give this? http://boot.alpinelinux.org/ 2020-10-10 11:44:18 oops 2020-10-10 11:44:20 this 2020-10-10 11:44:22 warning "no repository set" 2020-10-10 11:46:34 No. I've uploaded the output to https://www.nico.schottelius.org/temp/alpine-mkimage-20201010 2020-10-10 11:47:24 Argh, yes it did 2020-10-10 11:47:35 But the colour is very bright on my lightyellow2 terminal 2020-10-10 11:47:35 so you need to specify --repository 2020-10-10 11:48:37 Ok, that seems to run 2020-10-10 11:49:38 What is the policy for migrating a package like ndisc6 from community to main? 2020-10-10 11:56:52 main is maintained for 2 years, so we expect packages that go into main to be maintained for that long as well, meaning receiving security fixes on older releases 2020-10-10 11:57:06 And dependencies play a role a s well 2020-10-10 11:57:09 as well 2020-10-10 11:57:29 there is no formal process, you could just open an MR that moves it to main 2020-10-10 11:57:37 and the pkg is really needed in main :P 2020-10-10 11:57:46 mps: for a base install 2020-10-10 11:58:02 supporting installing alpine on ipv6 only 2020-10-10 11:58:50 I didn't tried ipv6 install for some time, but we should consider other options if they exist 2020-10-10 12:00:07 telmich: I wonder why somehting like ndisc6 is required? 2020-10-10 12:01:17 telmich: doesn't linux support neighbor discovery oob? 2020-10-10 12:01:24 ootb* 2020-10-10 12:01:51 So without rdnssd, you do not have DNS entries in IPv6 only networks 2020-10-10 12:01:59 IP address configuration is supported in the kernel 2020-10-10 12:02:09 yes, I understand rdnssd 2020-10-10 12:02:23 Or is it part of the same package? 2020-10-10 12:02:29 rdnssd is part of ndisc6 2020-10-10 12:02:32 ok 2020-10-10 12:02:47 And I believe ncopa addded the init script for it some time ago 2020-10-10 12:03:14 Heh, I happen to even maintain ndisc6 :P 2020-10-10 12:03:25 Ah, or it was you :-) 2020-10-10 12:03:38 'apk info ndisc6' => ndisc6 gathers a few diagnostic tools for IPv6 networks including 2020-10-10 12:03:48 Yep, that is a bit misleading 2020-10-10 12:03:59 strange pkg description :) 2020-10-10 12:04:45 I think other distros have rdnssd in a separate package - but I do not have a strong opinion how it is packaged, but would really appreciate if we could install in IPv6 only environments 2020-10-10 12:05:03 95ff6546c9b01ed9857a2e1aa701d32e5add2664 2020-10-10 12:05:22 telmich: If it make sense, we can make separate subpackages 2020-10-10 12:05:28 what is rdnssd for 2020-10-10 12:05:39 mps: getting dns information in an SLAAC only environment 2020-10-10 12:05:53 aha, thanks 2020-10-10 12:06:49 Ahhh, Ahmed did that! 2020-10-10 12:07:56 last commit was one year ago 2020-10-10 12:08:21 Though, for tools like this, it's not strange to not receive a lot of changes 2020-10-10 12:10:56 stable and secure 2020-10-10 12:11:20 ? ofc 2020-10-10 12:12:11 hmm, apparently maintained by the developer(s) of vlc 2020-10-10 12:12:13 https://www.remlab.net/ 2020-10-10 12:12:24 "With over fifteen years experience in the development of the renowed open-source VLC media player" 2020-10-10 12:12:43 Haa...also doing miredo 2020-10-10 12:12:51 So they must have been into IPv6 since the early days 2020-10-10 12:13:16 Which I guess makes sense then that they built ndisc6 2020-10-10 12:13:22 if linux didn't support it yet 2020-10-10 12:13:35 or maybe because of some other reason 2020-10-10 12:14:21 Not sure what you mean by "didn't support yet" - afaics the tools are not replacing, but aiding to debug IPv6 connectivity 2020-10-10 12:15:14 https://code.woboq.org/linux/linux/net/ipv6/ndisc.c.html 2020-10-10 12:23:32 So I think we do not need ndisc6 and friends installed - if we want to keep it small, we should probably create a sub/rdnssd package 2020-10-10 12:25:28 But it probably also means we need a rdnssd-openrc package I guess 2020-10-10 12:26:36 That's already in the ndisc6 package 2020-10-10 12:26:59 yes, but if you want to split that, the openrc package would also need to be split 2020-10-10 12:27:49 hmm, there is only an rdnssd init, ok 2020-10-10 12:27:56 Right, sorry, I thought it was already named rdnssd-openrc, but it is ndisc6-openrc at the moment 2020-10-10 12:28:02 yes 2020-10-10 12:28:15 It should probably be renamed rdnssd-openrc in any case 2020-10-10 12:28:30 ok 2020-10-10 12:28:45 But is there a logical reason rndssd should be split, while the other tools not? 2020-10-10 12:31:39 Yes, only rdnssd is needed in general from the whole package. The other tools are "nice to have for debugging" but in practice almost never used. Besides maybe traceroute6, which might also come from other packages nowadays 2020-10-10 12:32:40 Or in other words: looking at almost every other distro I know: there is an rdnssd package. Until Alpine, I did not even know that here is an "ndisc6 package" 2020-10-10 12:36:43 iputils has traceroute6 2020-10-10 12:38:28 Ok. So from my side, we could even rename ndisc6 to rdnssd and only install rdnssd. And/or cp the ndisc6 package as a base and create a downstripped rdnssd package version 2020-10-10 12:39:07 ndisc6-utils or something like that 2020-10-10 12:41:37 That sounds about right 2020-10-10 12:41:40 rename the package to rdnss, move the other utils to a -utils subpackage 2020-10-10 12:47:25 So rdnss goes into main and the others stay in community? 2020-10-10 12:47:54 They all go together 2020-10-10 12:48:14 It's still a single APKBUILD 2020-10-10 12:48:30 That way, you don't have to separately update the utils from rdnssd 2020-10-10 12:49:16 the ndisc6 dependencies are quite limited, so that's not reason to not move it to main 2020-10-10 12:49:59 True 2020-10-10 12:52:03 It might be easier to just leave the ndisc6 main package, and move rdnssd to a subpackage 2020-10-10 13:59:07 telmich: this change does mean that anything that had ndisc6 installed to get rndss6, will now have to be updated to install rndssd instead 2020-10-10 14:00:32 telmich: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/13513 2020-10-10 14:24:29 It looks good to me - plus probably the typical pkgrel changes. 2020-10-10 14:26:53 telmich: nod, good that you remind me 2020-10-10 14:27:25 done 2020-10-10 14:44:22 The only change missing from my side is the move to main so that it can be included in the default images 2020-10-10 14:49:19 Hi, where should I request being added to gitlab as a maintainer so I can make Merge Requests ? (at the moment MR emails are rejected) 2020-10-10 14:52:59 You have to send MRs/email patches to your fork 2020-10-10 14:53:07 And not to alpine/aports 2020-10-10 14:53:16 Only core developers are maintainers 2020-10-10 14:53:27 ok 2020-10-10 14:53:46 telmich: yes, I wanted to separate those changes 2020-10-10 14:53:58 first get the package proper, then a separate MR to move to main 2020-10-10 14:56:40 ack 2020-10-10 15:13:43 thx Cogitri - MR made 2020-10-10 15:15:47 👍 2020-10-10 16:17:14 rdnssd-1.0.4-r3 x86_64 {ndisc6} (GPL-2.0-or-later) [installed] -- lgtm 2020-10-10 16:17:32 :) 2020-10-10 16:17:58 For the move to mean, I'd like to get some feedback from the other devs as well 2020-10-10 16:18:02 s/mean/main/ 2020-10-10 16:18:02 ikke meant to say: For the move to main, I'd like to get some feedback from the other devs as well 2020-10-10 17:17:36 insep_: got iwd working in nokia n900 2020-10-10 17:17:40 \o/ 2020-10-10 17:31:57 aaaaaaaaaaaa why ping sound is so louuuuuuuuuuuuuuuud 2020-10-10 17:31:58 mps: wait how 2020-10-10 17:31:58 oh, i had volume lowered in game and haven't noticed it хD 2020-10-10 17:33:42 heh 2020-10-10 17:34:37 had to upgrade to kernel 5.8.14 and it works nice 2020-10-10 17:35:05 oh 2020-10-10 17:35:42 did they add support for nl80211 in that kernel? 2020-10-10 17:35:49 actually, not sure when we last updated kernel for n900 2020-10-10 17:35:51 personally I think it is faster than wpa_s 2020-10-10 17:36:36 no, nl80211 was in 5.7 but iwd freeze with this kernel 2020-10-10 17:37:21 mps: yeah but we also care about all those devices that will never see kernel support for iwd 2020-10-10 17:38:10 sure, I understand 2020-10-10 17:38:35 oh wow we have kernel 5.8 2020-10-10 17:38:45 and pmOS helped me a lot to make alpine working on n900 2020-10-10 17:39:10 :) 2020-10-10 17:39:29 insep_: and you especially ofc :) 2020-10-10 17:43:36 *5.7 2020-10-10 17:43:37 don't we use the kernel from alpine for it? 2020-10-10 17:43:37 for n900, that is 2020-10-10 17:43:37 MartijnBraam: wanna try upgrading n900 kernel? it might fiх some of our issues with wifi 2020-10-10 17:43:37 too bad i don't have n900 2020-10-10 17:43:37 somehow making iwd and wpa-supplicant device-specific would be cool though 2020-10-10 17:46:51 MartijnBraam: nope 2020-10-10 17:46:51 https://gitlab.com/postmarketOS/pmaports/-/tree/master/device/community/linux-nokia-n900 2020-10-10 17:46:52 but it's possible 2020-10-10 17:46:52 2 patches are from leste and 1 some from drebrez 2020-10-10 17:48:19 MartijnBraam: no, you have separate kernel for n900 2020-10-10 17:48:51 hmm I think it was running directly on the alpine kernel once 2020-10-10 17:49:08 never 2020-10-10 17:49:17 probably 2020-10-10 17:49:19 not sure, we don't all omap options enabled 2020-10-10 17:49:34 remember linuх-postmarketos-stable? 2020-10-10 17:49:39 this is what it ran before 2020-10-10 17:49:41 s/don't/don't have/ 2020-10-10 17:49:42 mps meant to say: not sure, we don't have all omap options enabled 2020-10-10 18:41:50 [03:33] <3f51b5mps> yes, gnutls and nettle libs in basic install 2020-10-10 18:42:05 I would prefer to avoid gnutls in base install 2020-10-10 18:42:13 not due to bloat but due to security record 2020-10-10 18:43:44 Yeah, makes sense 2020-10-10 18:50:10 it's not like just having it installed creates security holes though 2020-10-10 19:01:22 and chrony can't be combined with openssl due to missing openssl linking exception 2020-10-10 20:08:51 mps: I got the pinebook pro booting on Linux 5.9 with only a single patch and kconfig changes, the patch is from linux-next 2020-10-10 20:14:31 with that I think it's basically everything that's needed to support alpine edge on the pinebook pro, except that you'd need to flash the bootloader first from another OS to the SPI flash 2020-10-10 20:18:20 MartijnBraam: good to hear 2020-10-10 20:23:48 other OS is needed because we don't have bootable image for it? 2020-10-10 20:25:41 PBP can't boot from sd/mmc card 2020-10-10 20:25:42 ? 2020-10-10 20:28:39 PBP can boot from sd/emmc, but you'll need an uboot that's quite nasty to build 2020-10-10 20:31:39 yes, I will try when someone give me one :) 2020-10-10 21:50:58 MartijnBraam: what about 3D accel 2020-10-10 21:51:37 panfrost seems to be working great 2020-10-10 21:51:47 I'm currently running gnome shell on it 2020-10-10 21:55:02 MartijnBraam: X or wayland? 2020-10-10 21:55:19 wayland 2020-10-10 21:55:56 I tried with X and panfrost is unusable in it 2020-10-10 21:56:07 it works but very slow 2020-10-10 21:56:42 yeah I think there was some issue with panfrost and X, wayland environments have been better on it for a while 2020-10-10 21:57:40 yes, I chatted with upstream and they are not much interested to make it 'great' on X 2020-10-10 22:02:51 X seems to cause quite some issues on arm gpus, it's also a bit problematic on lima. 2020-10-10 22:16:12 X uses a lot of assumptions that only hold true on x86 2020-10-10 22:16:47 (those assumptions are irrelevant to X the protocol, just x.org) 2020-10-10 22:18:06 X pretty has accelerated memory access on x86, but slow path is really bad on non-x86 2020-10-10 22:18:16 GLAMOR also has alignment issues 2020-10-10 22:18:56 yeah I think there's also something with tiled rendering, but no clue what it means :P 2020-10-10 22:19:07 that's the GLAMOR alignment bug 2020-10-10 22:19:15 xorg is faster for some 2D things though 2020-10-10 22:19:25 the texture renders off by N for each scanline 2020-10-10 22:19:47 i work around it by forcing small textures into GTT memory instead of VRAM 2020-10-10 22:20:06 but a sufficiently large texture will still glitch 2020-10-10 22:20:47 X cannot be faster for some 2D things, as all 2D things use GLAMOR 2020-10-10 22:21:10 (that workaround is specific to radeon, i have no idea if panfrost even has anything like GTT memory) 2020-10-10 22:21:40 well just scrolling in GTK3 apps is faster on an xorg session than a wayland session on the pinephone 2020-10-10 22:21:56 is GTK3 using wayland natively? 2020-10-10 22:22:06 yes 2020-10-10 22:22:17 most likely it is due to GTK3 using software compositing 2020-10-10 22:22:22 actually, on manjaro scrolling is also smooth on wayland 2020-10-10 22:22:23 on X, it would use GLAMOR (and thus GL) 2020-10-10 22:22:53 i think there is a way to make GTK3 composite using GL 2020-10-10 22:22:58 which is probably what manjaro is doing 2020-10-10 22:23:19 but i switched to Qt years ago and haven't looked back 2020-10-10 22:23:38 (Qt also use GL to composite, so performance on X and Wayland are basically identical) 2020-10-10 22:24:15 mps: i would like to pick your thoughts on ifupdown-ng + wpa-supplicant integration 2020-10-10 22:24:46 mps: namely, do you think wpa-supplicant itself should be managed by ifupdown-ng or by openrc 2020-10-10 22:50:26 if it's network, it should be managed by the network manager 2020-10-10 22:50:43 the service manager doesn't know about wpa 2020-10-11 00:00:46 Ariadne: don't traditional ddxs still exist 2020-10-11 00:00:52 or are they x86 only too 2020-10-11 05:31:38 Hello71: some do, but they mostly target GPUs you would not find in use on a modern machine (even counting the AST2k IPMI chipset on servers) 2020-10-11 05:32:09 Hello71: and for the most part, GLAMOR + xf86-video-modesetting with software rendering is still faster than those DDXs 2020-10-11 06:00:32 Ariadne: what is idea about managing wpa_s with ifupdown-ng? start/stop it when interface goes up/down? 2020-10-11 06:01:48 (and we should consider rename it to wsup, a lot easier to type ;) ) 2020-10-11 06:02:41 skarnet: are you kidding about network-manager 2020-10-11 06:23:31 MartijnBraam: manjaro also uses mesa-git 2020-10-11 06:23:40 which has gl3.0 2020-10-11 09:46:51 insep: ehm the gpu doesn't support gl3 2020-10-11 09:47:21 welp 2020-10-11 09:47:43 qemu needs it 2020-10-11 09:47:45 https://gitlab.com/postmarketOS/pmbootstrap/-/issues/1938#note_422386288 2020-10-11 10:02:08 mps: I'm not kidding at all, no, but "the network manager" does not mean what you think it means. 2020-10-11 16:05:46 ACTION thinks that network should be managed by scripts 2020-10-11 16:14:45 mps: good luck when you're regularly roaming between different networks :) 2020-10-11 16:18:19 looks like mkinitfs does not get many attention regarding to pending merge requests 2020-10-11 16:19:45 ikke: easier with scripts than with NM, at least for me 2020-10-11 16:29:17 I uses Archlinux netctl / netctl auto, works great for me 2020-10-11 16:49:09 ikke: i do roam between different networks, and my magic is one-liners in my shell history and ^r to switch to them - works perfectly 2020-10-11 16:59:27 u0jQx9gPyrYg: I don't need to do anything ;-) 2020-10-11 18:23:54 ikke: ironically netctl is less and less supported/used. it was recently removed from archiso, to the confusion of users used to typing wifi-menu 2020-10-11 18:26:01 yeah, wasn't even aware of that 2020-10-11 18:57:45 skarnet means ifupdown-ng there fwiw 2020-10-11 19:07:26 so uboot is now really working for rpi boot 2020-10-11 19:07:44 rpi4 usb boot that is 2020-10-11 19:08:38 hmm, interesting 2020-10-11 19:10:02 artok: I know that it works on RPi zero 2020-10-11 19:11:42 now mainline aarch64 kernel to the works 2020-10-11 19:13:48 again yes, but I only tested on RPi zero 2020-10-11 19:14:09 I got archlinux working with 'em 2020-10-11 19:14:23 5.10 will have VC4 driver also, I think 2020-10-11 19:15:02 it is queued 2020-10-11 19:15:05 it seemed to be plan 2020-10-11 21:17:47 so, getting new start4.elf etc from rpi, also makes usb boot ok 2020-10-11 22:38:16 how can one support multi-thread compilation in alpine packages? most APKBUILDs just use "make", or even force "make -j1" 2020-10-11 22:48:57 set JOBS= in /etc/abuild.conf 2020-10-11 22:49:27 u0jQx9gPyrYg: ah, thanks! 2020-10-11 22:49:35 MAKEFLAGS is set and should be respected 2020-10-11 22:51:32 unless you use ninja 2020-10-11 22:51:46 ninja go brrrrr 2020-10-11 22:52:01 nope, I'm dealing with good old autotools+make, and cmake+make 2020-10-11 22:56:20 i think the meme format would be "you can't just use all the cpus!" "haha ninja go brrrrrr" 2020-10-11 22:58:19 s/ninja/cpuload 2020-10-11 22:58:29 7.5/10 2020-10-11 23:39:36 where can I find some info about what process to follow if I want to take over maintainership of a package in "unmaintained"? it also involves introducing another package as a dependency 2020-10-11 23:42:31 1 MR with 1 commit adding the new package to testing/ another commit moving the package from unmaintained/ to testing/ and another adding yourself as maintainer to the package of the previous commit. 2020-10-11 23:43:50 the second commit should include both the move from unmaintained and any changes to the APKBUILD file? 2020-10-11 23:44:08 no, 1 commit purely moving 2020-10-11 23:44:10 you can use `git mv` 2020-10-11 23:44:21 right 2020-10-11 23:44:56 so the changes (version bump, fixes to build process, etc.) should be in a yet another commit? 2020-10-11 23:45:32 btw if this is described somewhere in detail, just point me to the documentation and don't waste your time :) 2020-10-11 23:47:22 There isn't documentation for that atm 2020-10-11 23:47:30 I wouldn't invest (not waste) my time otherwise 2020-10-12 04:47:17 Hello71: nowadays we set SAMUFLAGS as well 2020-10-12 04:49:00 (We use samurai instead of ninja) 2020-10-12 06:16:14 good morning 2020-10-12 06:22:59 Morning 👋 2020-10-12 06:29:49 good morning 2020-10-12 06:32:46 ncopa: do you have time to look !13456 2020-10-12 06:33:25 changed to use uptream tarballs and removed snapshot() 2020-10-12 06:34:05 and ikke already looked at it 2020-10-12 06:35:55 also fakeroot upgrade MR 2020-10-12 06:36:25 !13278 2020-10-12 08:05:37 mps: re !13278 did you verify that the two patches are upstreamed or are not needed anymore? 2020-10-12 08:08:22 no, fakeroot-hide-dlsym-errors.patch is the same as what they did upstream 2020-10-12 08:09:00 second one, fakeroot-no-ldlibrarypath.patch, I think it is not needed 2020-10-12 08:10:15 I'm using this upgraded fakeroot for about then days on 3 arches in 3 lxc builders without issues till now 2020-10-12 09:53:27 `grep -r '^pkgdesc' {main,community} | less' can make full day of good laugh 2020-10-12 09:54:33 Any particular good examples? 2020-10-12 09:55:05 I would left this to personal humor preferences 2020-10-12 09:56:45 While I was interested in what you found humerous :) 2020-10-12 09:57:36 heh, maybe I can post in private to you 2020-10-12 09:57:55 main/dhcp/APKBUILD:pkgdesc="ISC Dynamic Host Configuration Protocol (DHCP)" 2020-10-12 09:59:22 to much of descs starts with 'A ' or 'The ' which doesn't make sense for descs 2020-10-12 10:01:46 two aports have same desc, main/font-cursor-misc and main/font-daewoo-misc 2020-10-12 10:02:17 and third main/font-sun-misc 2020-10-12 10:08:08 mps: maybe remove the WIP is fakerrot is tested and works 2020-10-12 10:08:19 s/fakerrot/fakeroot/ 2020-10-12 10:08:19 ncopa meant to say: mps: maybe remove the WIP is fakeroot is tested and works 2020-10-12 10:08:44 linux 5.9 is out 2020-10-12 10:08:53 not marked as LTS yet though 2020-10-12 10:22:52 yes, and LTS is wrong term imo. LTM sounds better 'LongTerm Maintained' 2020-10-12 10:24:13 https://www.kernel.org/category/releases.html 2020-10-12 10:25:15 and, if you remember, looks like my intuition worked about this, I told you that next LTS (LTM) will be 5.10 2020-10-12 10:25:27 LTS is a commonly used term though 2020-10-12 10:25:59 ikke: yes, but it is still not right, imo 2020-10-12 10:26:18 well, isn't providing patches not a form of support? 2020-10-12 10:26:56 or maintenance 2020-10-12 10:27:59 ncopa: removed WIP from fakeroot, !13278 2020-10-12 10:33:57 mps: isn't maintenance a for of support? :P 2020-10-12 10:35:10 s/for/form 2020-10-12 10:35:10 ikke meant to say: mps: isn't maintenance a form of support? :P 2020-10-12 11:00:58 ikke: if we are nitpicking more, support sounds like 'payed' service while maintenance could also sound like this, it usually doesn't 2020-10-12 11:01:40 mps: so we cannot give support, because people are not paying us :) 2020-10-12 11:02:43 my reasoning comes from https://www.kernel.org/category/releases.html 'Longterm' 'There are usually several "longterm maintenance" kernel releases provided ....' 2020-10-12 11:04:11 and yes. we don't give support we just maintain pkgs by coincidence 2020-10-12 11:07:02 (writting someone who just barely understand english terms) 2020-10-12 11:34:58 mm llvm 11 2020-10-12 12:21:43 i'd like to tag 3.12.1 release this week 2020-10-12 12:22:46 would be nice to get some help colsing some of the issues for 3.12.1 target 2020-10-12 12:23:24 https://gitlab.alpinelinux.org/alpine/aports/-/issues?milestone_title=3.12.1 2020-10-12 12:23:37 are there list somewhere, or search through gitlab issues 2020-10-12 12:23:45 oh 2020-10-12 12:23:52 We use milestones for those 2020-10-12 12:24:25 ncopa: Is there anything left to do for https://gitlab.alpinelinux.org/alpine/aports/-/issues/11599 ? 2020-10-12 12:28:03 some of these bugs are 'longstanding' 2020-10-12 12:28:10 yes 2020-10-12 12:28:13 correct 2020-10-12 12:28:32 They keep being bumped forward 2020-10-12 12:29:45 ikke: not sure if there are much more to do for #11599 2020-10-12 12:30:02 it can be configured in /etc/inittab 2020-10-12 12:30:55 And not something we ought to do by default for virt images? 2020-10-12 12:32:01 we enable serial console by default on -virt images 2020-10-12 12:32:08 :) 2020-10-12 12:32:10 which is hte problem i suppose 2020-10-12 12:32:12 Yeah 2020-10-12 12:33:40 #11620 seems a simple fix or close as well 2020-10-12 12:34:35 ncopa #11278 still valid? you did changes to linux-rpi ..today? 2020-10-12 14:07:47 artok: tbh, i dont know, becuase i have not been able to reproduce it, ever 2020-10-12 14:08:26 i suspect it is due to how the rpi was installed. I think the proper solution would be to support disk install of rpi, which currently does not work 2020-10-12 14:08:28 because of sake of it, just booted edge on my rpi4 2020-10-12 14:09:51 and usb works? 2020-10-12 14:10:02 yeah, booted from usb even 2020-10-12 14:10:23 maybe comment to the issue, and i can close it 2020-10-12 14:10:25 sda1 fat with boot stuff, sda2 ext4 root 2020-10-12 14:10:54 do you mount /dev/sda1 as /boot? 2020-10-12 14:11:49 actually fstab has /dev/sda1 -> /media/sda1, and then I've got symbolic link /boot -> /media/sda1/boot 2020-10-12 14:11:58 ok 2020-10-12 14:54:53 ncopa: Re RPI, !11052 is still an issue 2020-10-12 14:55:52 I run Alpine on RPI via sys but I'm building the SD card image in advance in a chroot environment rather than installing directly on the RPI 2020-10-12 14:57:56 maybe we can switch RPis boot to use u-boot and then keep dtbs under /boot/dtbs-$flavor 2020-10-12 14:58:59 mps: u-boot is an option but I'd like to still be able to boot using the usual bootloader. 2020-10-12 15:00:13 The underlying issue is that the dtb stuff needs to be in /boot and also need to handle the RPI files for the several distinct machines (RPI, RPI2, RPI4) 2020-10-12 15:01:27 dtb needs to be in the root of the fat, yeah 2020-10-12 15:01:45 minimal: ok 2020-10-12 15:02:03 and I don't care much for RPis 2020-10-12 15:02:24 whatever ncopa decide is ok for me 2020-10-12 15:02:48 artok: I currently kludge around the issue using a bind mount for the DTS but a proper solution is needed 2020-10-12 15:03:43 but their nonsense with boot should be solved when alpine upgrade to next -lts kernel imo 2020-10-12 15:04:36 currently linux-rpi and linux-rpi4 (for example) contain some of the same files and have them in /boot/dtbs-rpi and /boot/dtbs-rpi4 2020-10-12 15:05:01 mps: upstream kernel won't resolve Alpine packaging issues for the DTS files 2020-10-12 15:05:30 no, it wont, but we should 2020-10-12 15:06:05 agreed, I'm happy to help but someone needs to take a lead on it 2020-10-12 15:06:30 and for now keeping separate dtbs for separate kernels is proper 2020-10-12 15:06:47 kernel flavors, I mean 2020-10-12 15:07:41 all dtbs in one dir for separate kernel flavors will make a big mess 2020-10-12 15:08:46 agreed, only need/want the files for the type of RPI you're using. However the files need to be in the correct directory - which they're not currently 2020-10-12 15:10:18 iiuc, for RPis correct dir is '/' on fat partition 2020-10-12 15:10:29 at the moment if you download the Alpine RPI images and use them everything is fine - until you update your linux-rpi/linux-rpi2/linux-rpi4 package and then it breaks. The downloadable image has the DTBs in the right place, the kernel packages have them in the wrong place 2020-10-12 15:12:54 and I'm starting to think that we will have all these separate kernels also for 3.13 release 2020-10-12 15:13:26 I had a hope that we will remove RPi kernel in 3.13 and use -lts 2020-10-12 15:13:41 kernels* 2020-10-12 15:16:08 bottom line, how do "we" resolve the current issue? its been an issue for a while... 2020-10-12 15:17:41 I looked at the issue but didn't touched aports about this, left it to maintainer to decide 2020-10-12 15:20:59 I'm sure ncopa's got a huge list of things to deal with and guess unfortunately that this issue would be low down that list 2020-10-12 15:34:50 so aceb2e5ecdfb69be55dd5592c94f2d9294db06e6 didnt work 2020-10-12 15:35:49 oh wait 2020-10-12 15:36:28 yeah I've got them now on both 2020-10-12 15:37:15 local INSTALL_DTBS_PATH="$_outdir"/boot/dtbs-$_buildflavor 2020-10-12 15:37:32 local INSTALL_DTBS_PATH="$_outdir"/boot 2020-10-12 15:38:21 kernel and initramfs needs to be moved also one dir up, and then mount that fat partition to /boot 2020-10-12 15:38:25 expecting that boot partition is mounted under /boot during kernel install/upgrade, iiuc 2020-10-12 15:42:53 i think we want to mount the fat partition as /boot on rpi 2020-10-12 15:43:03 when doing sys install 2020-10-12 15:45:05 yes, otherwise will make a mess 2020-10-12 15:50:22 yeah +1 2020-10-12 15:55:29 ncopa: what I have working here is /dev/mmcblk0p0 as 133MB fat32 partition mounted as /boot, and root as ext4/f2fs partition 2020-10-12 15:57:50 inside /boot (partition 1) are the bootloader binary files, directories dtbs-rpi and overlays (from package linux-rpi), the bootloader config files, and the initramfs and kernel; 2020-10-12 16:00:03 ncopa: part of the issue is that the bootloader's config.txt and usercfg.txt content must match with the actual layout of the contents of /boot 2020-10-12 16:02:59 minimal: true, if kernel and initramfs have to be in /, then *txt files also must be adjusted 2020-10-12 16:03:51 I'm using a "kludge" of bind-mounting /boot/dtbs-rpi as /boot so that when package linux-rpi is installed/updated then when it puts stuff in /boot/dtbs-rpi/overlays/ it actually ends up in /boot/overlays/ 2020-10-12 16:03:57 but they can be kept where are they now 2020-10-12 16:04:54 mps: from memory the problem is the config.txt and usercfg.txt from the downloadable RPI image does *not* reference the same locations where the linux-rpi/linux-rpi2/linux-rpi4 put things. 2020-10-12 16:06:00 no, they are ok 2020-10-12 16:06:02 the other thing my kludge ensures is that when linux-rpi puts DTB files in /boot/dtbs-rpi/ that they end up in /boot/ which again is where the bootloader config is expecting them. 2020-10-12 16:07:04 though I think all this can be solved more elegantly with u-boot 2020-10-12 16:11:07 mps: its ok? there are linux-rpi, linux-rpi2, and linux-rpi4 packages which put files in /boot/dtbs-rpi, /boot/dtbs-rpi2, and /boot/dtbs-rpi4 respectively. The bootloader doesn't handle this, it expects the files in standard locations 2020-10-12 16:18:10 Here's the RPI docs about the expected boot partition contents: https://www.raspberrypi.org/documentation/configuration/boot_folder.md 2020-10-12 16:20:19 "The overlays sub-folder contains Device Tree overlays.". That's referring to overlays as a subfolder of boot whereas the linux-rpiX packages makes it a subfolder of /boot/dtbs-rpiX 2020-10-12 16:21:32 "There are various Device Tree blob files, which have the extension .dtb. These contain the hardware definitions of the various models of Raspberry Pi, and are used on boot to set up the kernel according to which Pi model is detected.". Likewise that's referring to multiple *.dtb files in /boot whereas the linux-rpiX packages place them in /boot/dtbs-rpiX/ 2020-10-12 16:22:42 hmm, maybe I misunderstand you, you install all linux-rpi/linux-rpi2/linux-rpi4 at the same FS and at 'same' time? 2020-10-12 16:23:26 same sd can boot on rpi4,rpi3, whatever 2020-10-12 16:23:30 usually 2020-10-12 16:23:51 config.txt has setting which kernel and initramfs to load 2020-10-12 16:24:00 and yes, we know how is this 'organized' on RPis 2020-10-12 16:24:12 nope, I'm referring to there being 3 separate kernel packages depending on the type of RPI that you have. 2020-10-12 16:24:24 artok: yes, I know how that all works 2020-10-12 16:24:37 minimal: ok 2020-10-12 16:24:54 well that is just that =) 2020-10-12 16:25:13 regardless of which one in installed they should put there RPI hardware DTB files in /boot and the overlay files in /boot/overlays/ but they do not. 2020-10-12 16:25:16 artok: hehe 2020-10-12 16:25:56 minimal: so solution for your problem will be just put dtbs to mounted /boot 2020-10-12 16:25:57 mainline kernel might do things differently 2020-10-12 16:27:06 tbh I had that booting issue back in day and I did whole diff to move everything so /boot would be the root fat partition 2020-10-12 16:27:21 I'm looking at an aarch64 RPI2 here running Alpine edge. So its got the linux-rpi package installed which placed files into /boot/dtbs-rpi and /boot/dtbs-rpi/overlays which is wrong. 2020-10-12 16:27:43 minimal: true 2020-10-12 16:28:15 solution is as I wrote above 'local INSTALL_DTBS_PATH="$_outdir"/boot' 2020-10-12 16:28:20 If I had a RPI4 here then I'd see the linux-rpi4 package installed and that would place files wrongly into /boot/dtbs-rpi4/ and /boot/dtbs-rip4/overlays/ 2020-10-12 16:29:27 yes 2020-10-12 16:29:54 mps: yes that would put them in the right place - but then wouldn't that cause a Alp[ine package linting issue as then multiple packages would contain the same files (linux-rpi, linux-rpi2, and linux-rpi4) 2020-10-12 16:30:53 who cares for lintian :) 2020-10-12 16:31:22 if it works and solves issues it is good 2020-10-12 16:31:32 minimal: I've had MRs held up by lint issues in the past 2020-10-12 16:31:38 subpackage for linux-rpi-dtbsoverlays 2020-10-12 16:31:39 =) 2020-10-12 16:31:42 oops, talking to myself ;-) 2020-10-12 16:32:12 minimal: no, it is probably held by developer insisting on lintian report 2020-10-12 16:32:26 as dtbs+overlays can be done with own build command, right? 2020-10-12 16:32:55 artok: you mean subpkg? 2020-10-12 16:33:03 mps: yes that's my point - its about Alpine "policy" decisions 2020-10-12 16:34:16 also I think the bootloader config files (cmdline.txt, config.txt, usercfg.txt) should be part of some package rather than only exist in the installable image - otherwise their contents can't be managed/updated going forward 2020-10-12 16:34:18 yeah, pkg is package shortened? =) 2020-10-12 16:34:37 is it known when linux-edge will move to 5.9? 2020-10-12 16:34:58 minimal: config.txt and cmdline.txt are like passwd... 2020-10-12 16:35:36 config.txt defined where to find initramfs and kernel and whether to use 64bit or not 2020-10-12 16:35:47 MartijnBraam: I'm hesitating to upgrade it before 5.9.1, there are some issues reported already 2020-10-12 16:36:16 oh interesting 2020-10-12 16:36:45 for example https://bugzilla.kernel.org/show_bug.cgi?id=209469 2020-10-12 16:37:01 minimal: actually yeah, that can be done, as long as user does usercfg.txt thingies 2020-10-12 16:37:22 oh modeswitch stuffs 2020-10-12 16:38:03 actually udev 2020-10-12 16:39:58 I'm wondering what to do with my pinebookpro kernel, I rebased the one in postmarketOS to 5.9.0 now and it seems to run great, but still needs the small patch from linux-next 2020-10-12 16:41:01 so my options are 1. package it in postmarketOS, 2. make a seperate linux-pinebookpro kernel in alpine 3. add that patch to linux-edge 2020-10-12 16:41:07 artok: user can still manage/override those files going forward, but they're not in any Alpine package at all, only in the installable image 2020-10-12 16:42:38 minimal: so you'd make package that runs script to check file existense, and if not, place default that is now done in installer script 2020-10-12 16:43:55 artok: I'd expect them to be part of the bootloader package. Like any package's config file once you modify it a package update/upgrade will *not* then modify it 2020-10-12 16:44:15 MartijnBraam: if it is not big patch we can add it to linux-edge and report upstream in hope that they will merge in some of next version 2020-10-12 16:44:49 doesn't it being in linux-next mean it is going to be in 5.10 already? 2020-10-12 16:45:18 as an example, for my RPIs I actually build SD card images (using static apk inside a chroot) rather than use the downloadable image. In that situation there are no bootloader config files at all and so I have to create them manually 2020-10-12 16:45:22 should be if Linus didn't already branched 5.10 2020-10-12 16:45:26 minimal: bootloader seems ok package 2020-10-12 16:45:35 but that usually takes two weeks 2020-10-12 16:46:01 i.e. when we will see 5.10-rc1 2020-10-12 16:46:08 minimal: but then there is different for aarch64 ... 2020-10-12 16:46:52 it's this patch: https://www.spinics.net/lists/arm-kernel/msg840928.html 2020-10-12 16:47:32 without the patch linux runs fine but the display just won't come up 2020-10-12 16:47:33 looking at hyperscan, which fails because some binaries have $HOME in their rpath, but if I user chrpath -d on those binaries, it also errors (open: no suchs file or directory, elf_open: no such file or directory). 2020-10-12 16:47:47 I also tried `-DCMAKE_SKIP_INSTALL_RPATH=TRUE`, but does not help 2020-10-12 16:48:17 MartijnBraam: interesting, on my rk3399 (gru-kevin) it works fine 2020-10-12 16:49:16 it's specifically for fixing the eDP stuff not working when the bootloader has already turned on the display 2020-10-12 16:49:38 artok: yupe, and the contents of config.txt will differ between armv7 and aarch64 as aarch64 will specify 64bit 2020-10-12 16:51:49 and armhf is still for those rpi0 2020-10-12 16:51:51 MartijnBraam: ok, I will test it with my chromebooks 2020-10-12 16:52:03 actually.. naah, they should do their own baremetal =) 2020-10-12 16:53:05 minimal: afaik, same config.txt file is used for RPi 0, RPi 1 and RPi 2 2020-10-12 16:53:46 I think you can make confix.txt include extra config files so you can have packaged defaults and user overrides? 2020-10-12 16:53:52 mps: yes so I noticed, that surprised me as why have seperate kernels but the same kernel config. 2020-10-12 16:54:04 maybe even RPi 4, but my RPi is down now so can't check 2020-10-12 16:54:33 artok: does armv7 not work for RPI0? Never used one. These days I only tend to use aarch64 on the RPIs I have 2020-10-12 16:54:46 minimal: no, rpi0 is armv6 2020-10-12 16:55:36 pi1, pizero, pizerow have armv6 kernel, rpi2 pi3 pi3+ and cm3 have armv7 kernel, and rpi4 has own armv7 kernel 2020-10-12 16:55:58 aaaand then aarch64 versions rpi3+ and rpi4 have own kernel each 2020-10-12 16:56:26 (foundation kernels) 2020-10-12 16:59:40 actually the aarch64 linux-rpi package is for *some* RPI2s as well as RPI3 and RPI3+. More recent manufactured RPI2 have a 64bit chip as cost saving "improvement" 2020-10-12 17:01:20 yah yah, true,rpi2 v1.2 (or something like that) started to use same rpi3 armv8 chippie 2020-10-12 17:03:11 I'm running 64bit aarch64 on RPI3 here (not RPI3+) 2020-10-12 17:05:46 they like to haras distributors of linux :) 2020-10-12 17:10:56 hmm.. what if I'd put my alpine sd that I used to do rpi4 install into my rpi3... 2020-10-12 17:12:19 11 2020-10-12 17:12:21 oops 2020-10-12 17:12:22 should do some nice headless apkolv 2020-10-12 17:14:00 artok: should be fine as /boot/*.dtb will have rpi3 as well as rpi4 files 2020-10-12 17:14:23 though your usercfg.txt may need modified depending on what's in there 2020-10-12 17:14:34 should be fine yeah but I can't remember how much configuration I already did =D 2020-10-12 17:15:13 better just to attach it to laptop and edit hostname so I'll get resolving correctly 2020-10-12 17:16:13 artok: one reason I build ready-to-go SD card images is for headless machines 2020-10-12 17:16:30 minimal: I do my configs so that [pi4] has things that I want to enable on pi4 2020-10-12 17:17:12 yupe, same here: I build separate SD images for RPI3, RPI4 (as well as virt aarch86, physical and virtual x86_64) 2020-10-12 17:17:38 and use cloud-init for 1st boot configuration of Alpine 2020-10-12 17:24:51 oh 2020-10-12 17:25:08 I've done installations again slightly drunk 2020-10-12 17:25:23 forgot that I even started the installation from the usb media 2020-10-12 17:26:45 MartijnBraam: I found mentioned PBP (and not only PBP) patch as kernel git commit 457f74abbed060a0395f75ab5297f2d76cada516 2020-10-12 17:27:44 it applies cleanly to 5.9.0 2020-10-12 17:27:50 oh nice 2020-10-12 17:28:01 > This commit does not belong to any branch on this repository. 2020-10-12 17:28:02 thanks github 2020-10-12 17:28:45 linux-next 2020-10-12 17:29:32 it's also in torvalds/linux, somewhere 2020-10-12 17:30:33 ncopa: I updated !13278, there is new version and old tarball is removed from their server 2020-10-12 17:31:26 MartijnBraam: well, already started build with patch from linux-next, lets see 2020-10-12 17:32:05 ncopa: are you if I merge it or you want another review 2020-10-12 17:32:12 hmmmm 2020-10-12 17:32:30 are you ok if I merge it or you want another review 2020-10-12 17:52:46 s/you/you ok/g? 2020-10-12 17:52:53 oh wait 2020-10-12 17:52:54 wrong sed 2020-10-12 17:52:57 s/if/ok if/g 2020-10-12 17:53:04 MartijnBraam: applied and built 5.9.0 with mentioned patch, works fine, don't see any problem on rk3399 gru-kevin chromebook 2020-10-12 17:53:24 :) great 2020-10-12 17:53:48 so we can add it when we upgrade to 5.9.1 2020-10-12 17:54:17 perfect, then I'll package my kernel in temp/ for now in postmarketOS 2020-10-12 17:56:33 I would like upgrade linux-edge right now but I saw some issues with some network drivers (rtw 8...??ce) and this with usb_modeswitch 2020-10-12 17:57:05 don't want to break someone working system because we are in hurry 2020-10-12 17:57:47 yep, also upgrading to 5.9 a day after release is really quick 2020-10-12 18:35:45 maxice8: have you fixed that issue with package for ppc64le? I have noticed a set of packages are failing then I addopting changes like https://gitlab.alpinelinux.org/alpine/aports/-/commit/4c7a9baecaeca0572cd2859a53e7184cd1f6b89c 2020-10-12 19:56:09 I disabled some that were failing 2020-10-12 19:57:22 maxice8: do you ignore the ppc64le packages? 2020-10-12 19:57:36 mostly 2020-10-12 20:00:12 maxice8: I see many packages failing because the missing of 128b supports, and I'm figuring out how to fix all of them. Maybe in your setup you could add into abuild.conf the 128b support into cxxflags 2020-10-12 20:00:32 I'm not using ppc64le 2020-10-12 20:00:43 ow, ok 2020-10-12 20:02:10 There must be a way to fix this without sprinkling the magic flag everywhere it fails 2020-10-12 20:04:29 maxice8: that's my question I saw a bunch of packages failing 2020-10-12 20:11:38 ncopa, mps: mksully and me noticed a set of packages that are failing in ppc64le after the libc adopted 128 support. What is it the better approach, update one by one(almost 200 packages) or add in other way as abuild.conf instead of those 200 individual commits? 2020-10-12 20:14:50 walbon: what are changes? (and i think you two will better know how to do update) 2020-10-12 20:16:10 mps: adding export CXXFLAGS="$CXXFLAGS -mlong-double-128" just for ppc64le as I did in this MR https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/13547 2020-10-12 20:17:45 walbon: if that's necessary for (almost) all packages on ppc64le, it would make sense to add that to abuild.conf 2020-10-12 20:17:47 then I think it is ok to do that in one MR, but with commit for every package which need it 2020-10-12 20:18:08 pretty sure it needs to match on whole system 2020-10-12 20:18:14 ah, ikke understant this better than me 2020-10-12 20:18:28 mps: No, I just pretend to 2020-10-12 20:18:32 because it's an abi break 2020-10-12 20:18:36 Hello71: right 2020-10-12 20:18:54 Hello71: ooh, so we may need to do a full rebuild then? 2020-10-12 20:19:06 looks so 2020-10-12 20:19:07 like with 32-bits systems.. 2020-10-12 20:20:36 i'm not sure what is meant by "the libc adopted 128 support" though, since I don't follow ppc 2020-10-12 20:20:45 probably Ariadne or dalias should know 2020-10-12 20:21:05 but I'm almost certain that adding this flag on a package-by-package basis is broken 2020-10-12 20:22:18 Hello71: I don't know how the libc was built to use this 128b which don't work well with packages without it 2020-10-12 20:23:39 log example? 2020-10-12 20:25:51 Hello71: give me a minute 2020-10-12 20:27:30 Hello71: https://pastebin.com/raw/1mkszMbU 2020-10-12 20:27:43 Yeah, I have seen that error more often lately 2020-10-12 20:27:56 maybe gcc10 upgrade? 2020-10-12 20:28:44 this error is unrelated to libc 2020-10-12 20:30:18 ikke: that was the cause do you think? 2020-10-12 20:33:01 ikke, it's wrong 2020-10-12 20:33:44 walbon, what do you mean by "after libc adopted 128 support" ? no such thing happened 2020-10-12 20:36:08 i think that is related to -mlong-double-128 flag 2020-10-12 20:37:27 which is not valid 2020-10-12 20:37:40 it's an abi-changing flag to compile for a mismatched abi 2020-10-12 20:46:10 how is this flag supposed to work anyways? the direct explanation is that gcc got compiled wrong. but then how do you ever use this flag? afaik you can't just "avoid gcc_s" 2020-10-12 20:46:54 it's for repurposing the compiler to build for a different ABI 2020-10-12 20:47:55 in theory you can do a mixed thing, if you carefully track the ABIs involved in different modules and make sure you don't link mismatched interfaces 2020-10-12 20:58:56 dalias: what is wrong? that it's gcc10? 2020-10-12 20:59:29 or to set that flag 2020-10-12 20:59:49 dalias: I saw the error message and then I supposed that. 2020-10-12 21:01:12 what was the error message? 2020-10-12 21:01:46 ikke, -mlong-double-128 is wrong 2020-10-12 21:02:16 dalias: right 2020-10-12 21:02:33 ...addressdelegate.cpp.o uses 64-bit long double, /usr/lib/gcc/powerpc64le-alpine-linux-musl/10.2.0/../../../../lib/libgcc_s.so.1 uses 128-bit long double 2020-10-12 21:04:57 *sigh* 2020-10-12 21:05:27 i think libgcc just *has* softfloat code for ld128 in it, that's unused 2020-10-12 21:05:30 and has always had it 2020-10-12 21:05:44 but now some broken change in ld is erroring out saying the ABI mismatches because of that 2020-10-12 21:05:57 it's likely a binutils regression not a gcc or application one 2020-10-12 21:12:36 Ariadne: do you have a good starting point for a MIPS64 install? I know it's still WIP but I've got an ER-4 just waiting to be converted to Alpine 2020-10-12 21:13:10 the wiki page just has a TODO, I'd be happy to write the docs if you can give me a good starting point 2020-10-12 21:17:43 dalias: so, that mismatches is broking all of new builds using the current binutils? 2020-10-12 21:18:26 that's my guess 2020-10-12 21:18:32 well 2020-10-12 21:18:37 all that link libgcc_s 2020-10-12 21:18:45 so that'll only be stuff that uses c++/exceptions 2020-10-12 21:19:03 otherwise only libgcc.a is used, and .o files from the archive that aren't needed won't get linked 2020-10-12 21:21:02 I think the problem with this theory is that binutils wasn't upgraded recently 2020-10-12 21:21:10 otherwise it sounds plausible 2020-10-12 21:27:39 Hello71: the binutils is the latest version, 2.35.1 2020-10-12 21:28:24 hmm, i guess it could be something new gcc is doing in the build of libgcc_s 2020-10-12 21:28:30 but it's one of those two 2020-10-12 21:28:35 nothing else plays a role in it 2020-10-12 21:29:54 mcrute: on octeon devices the easiest way is to prepare an image with qemu-mips64, and then install that using a recovery 2020-10-12 21:31:55 mcrute: an alternative may be to install NSL (which is a commercially supported subset of alpine), and then crossgrade to alpine 2020-10-12 21:32:17 mcrute: if you have time, i can walk you through either way 2020-10-12 21:33:06 mcrute: if you need a recovery that is known to work on ER-4, http://as57335.net/static/alpine-mips64/distfiles/vmlinux-5.4.17-1-octeon-recovery 2020-10-12 21:35:30 UBNT have a recovery and some other dude made one as well 2020-10-12 21:35:34 Ariadne: I've got time... I'd rather go for option 1 2020-10-12 21:35:51 with my recovery you could install directly, actually 2020-10-12 21:36:01 my recovery literally boots into a run from ram alpine environment 2020-10-12 21:36:02 :D 2020-10-12 21:36:08 so you're taking the approach of build a shqashfs and kernel image then just drop it where their bootloader expects it to be? 2020-10-12 21:36:18 no 2020-10-12 21:36:32 thats only for recovery 2020-10-12 21:36:40 normally you just run off the flash 2020-10-12 21:36:46 partitioned however you want it 2020-10-12 21:36:48 its just an emmc 2020-10-12 21:37:12 (or a literal USB stick inside the case in the case of E100) 2020-10-12 21:37:12 right, I just though their uboot config had really specific assumptions? 2020-10-12 21:37:26 not really 2020-10-12 21:37:28 haha, yeah I had one of those old routers RIP :-P 2020-10-12 21:37:46 on the octeons, the uboot stuff is pretty much vanilla 2020-10-12 21:37:47 okay, I've never done a recovery, how does that work? 2020-10-12 21:37:53 drop it in boot 2020-10-12 21:38:12 setenv bootrecovery 'fatload mmc 0 $(loadaddr) vmlinux.recovery;bootoctlinux $(loadaddr) numcores=2 endbootargs mem=0 rw mtdparts=phys_mapped_flash:640k(boot0),640k(boot1),64k(eeprom)' 2020-10-12 21:38:15 saveenv 2020-10-12 21:38:15 Today I saw a USB stick which was just a micro SD card soldered on a PCB 2020-10-12 21:38:18 env run bootrecovery 2020-10-12 21:38:33 well 2020-10-12 21:38:36 numcores=$(numcores) 2020-10-12 21:38:38 but yeah 2020-10-12 21:39:08 setenv bootrecovery 'fatload mmc 0 $(loadaddr) vmlinux.recovery;bootoctlinux $(loadaddr) numcores=$(numcores) endbootargs mem=0 rw mtdparts=$(mtdparts)' 2020-10-12 21:39:11 that 2020-10-12 21:39:13 and uhh 2020-10-12 21:39:22 oh cool, so basically the same approach you can use to flip back to an old image if you screw up the primary boot image 2020-10-12 21:39:24 save the recovery kernel as vmlinux.recovery in /boot 2020-10-12 21:39:46 NSL just installs as normal linux system 2020-10-12 21:39:53 no primary/secondary 2020-10-12 21:39:56 got it, and that should give me a boot from ram Alpine environment and I can just wipe out the EMMC and go to town with a regular install? 2020-10-12 21:40:04 yep 2020-10-12 21:40:23 you'll just want to install linux-octeon 2020-10-12 21:40:32 is there stuff that doesn't work yet? like the SFPs and the switch chip (I also have an ER-12 I'd like to test) 2020-10-12 21:40:42 ER-12 is completely fucked 2020-10-12 21:40:52 ER-XG is completely fucked too 2020-10-12 21:40:56 I mean in software, I know the hardware is ;-) ;-) 2020-10-12 21:41:03 yes 2020-10-12 21:41:05 in software 2020-10-12 21:41:12 there is no upstream driver for the switch chip 2020-10-12 21:41:26 and there is no upstream driver for octeon3 ethernet in XG case 2020-10-12 21:41:34 ah okay, I know that mikrotik has a line based on that exact same qualcomm SKU so I thought mainline might have a driver 2020-10-12 21:41:43 qualcomm?? 2020-10-12 21:41:48 octeon is marvell :) 2020-10-12 21:42:01 we tried to reverse engineer the proprietary o3 nic driver, but discovered that it had a lot of bugs 2020-10-12 21:42:10 yes... but... the switching chip in the ER-12 is a Qualcom part 2020-10-12 21:42:15 oh 2020-10-12 21:42:18 true 2020-10-12 21:42:37 yeah that's part of why I want to do this, the UI drivers are total shit 2020-10-12 21:42:41 well i do not have an ER-12 so haven't done much of a deep dive there 2020-10-12 21:42:56 does what they call "hardware offload" work? 2020-10-12 21:43:08 on ER-4 it does 2020-10-12 21:43:17 the switch chip is Qualcomm QCA8511-AL1C in the ER-12 FWIW 2020-10-12 21:43:21 the customer which wanted the octeon port anyway wanted it for a project that got cancelled 2020-10-12 21:43:35 llvm11 is out apparently 2020-10-12 21:43:46 is the "offloading" just the way the octeon ethernet driver works or is there some hacking to be done? 2020-10-12 21:44:03 for other customers, we are pushing the standard ARM (NXP) and X86 (BCM chips like Qumran) solutions 2020-10-12 21:44:28 for customers with a lot of money, there is also mellanox :) 2020-10-12 21:44:51 oh if only I had a spare $20k, those SN2000s look really nice 2020-10-12 21:45:21 I feel like the UI stuff has a lot of potential it's mostly held back by UIs horrible software stack 2020-10-12 21:45:38 the hardware at least... what are you recommending in the ARM and X86 area? 2020-10-12 21:50:11 we're mostly targeting solidrun's NXP stuff and various whitebox switches on the X86 side 2020-10-12 21:50:27 and of course Octeon, but marvell doesn't care much about octeon :) 2020-10-12 21:50:51 with wave technology going bankrupt ... 2020-10-12 21:50:57 i don't think mips has much of a future 2020-10-12 21:51:25 it's always been pretty niche I guess... but the rumor on LKML a while back was that they hired a contract house to maintain their upstream drivers 2020-10-12 21:52:21 the drivers still live in staging sooo :) 2020-10-12 21:52:45 yeah not much actual movement it seems 2020-10-12 21:53:24 would be nice if BCM would get on the switchdev bandwagon that would make their stuff a lot easier to deal with 2020-10-12 21:55:56 seems unlikely 2020-10-12 21:56:23 we are working on an abstraction layer for SAI vs switchdev 2020-10-12 21:57:15 is it a proprietary thing or OSS? 2020-10-12 21:57:40 the abstraction layer itself is OSS, the BCM bits will unfortunately be proprietary 2020-10-12 21:58:21 I'd love to try it out 2020-10-12 21:58:36 should land in alpine 3.14 2020-10-12 21:58:50 it would be nice if BCM would drop a blob and then wire it up to switchdev but I guess I can dream 2020-10-12 21:58:55 what's it called? 2020-10-12 21:59:43 the plan is, actually, to use ifupdown-ng to drive merchant silicon directly by replacing the shell scripts ifupdown-ng normally comes with 2020-10-12 22:00:00 right now we're calling it SAL (Switch-framework Abstraction Library) 2020-10-12 22:00:38 cool, I'll watch for it 2020-10-12 22:00:57 does it do any of the kernel FIB -> TCAM stuff? 2020-10-12 22:01:38 a lot of what switchdev does on the SN2000s seems like you'd need a kernel module or at least a userland daemon listening to netlink to do 2020-10-12 22:02:17 i assume you're talking about integrating stuff like FRR there 2020-10-12 22:02:31 or BIRD in my case, but yeah 2020-10-12 22:02:49 the way they do it on SN3k on cumulus is to have a custom backend for FRR which replaces zebra 2020-10-12 22:03:14 our plan is to do the same with SAL :) 2020-10-12 22:03:33 oh really? I haven't looked at what Cumulus is doing, I thought it all happened in the kernel as the routing daemon updated the tables 2020-10-12 22:04:06 but that sounds cool, so are you basically building an open-source version of switchdev where the actual ASIC config is the proprietary BCM bits? 2020-10-12 22:04:38 switchdev itself is open source (it's the kernel bits) 2020-10-12 22:04:43 but yes 2020-10-12 22:06:30 nifty! it's really exciting to hear that there's work going on in that area 2020-10-12 22:07:03 I have some BCM switches (more UI gear) that I'd like to migrate off of their shitty firmware but can't because of the BCM chips 2020-10-12 22:07:21 the unifi crap with the touchscreen ? :) 2020-10-12 22:07:36 same formfactor, previous generation 2020-10-12 22:08:23 like the US-48-500W 2020-10-12 22:08:49 the hardware itself is pretty great for how cheap it is but it's really held back back crap software 2020-10-13 06:44:28 Cogitri: (you're the maintainer for gnome-online-accounts) I'd like to include a patch that reorders the list of services presented to the user, and places proprietary services after non-proprietary services. I'm not sure upstream will want this.. and I'm not sure if this patch would be accepted in the alpine package. thought I'd ask before making a MR for it.. 2020-10-13 06:44:58 That's something that should be upstreamed first, yes 2020-10-13 06:46:22 alright, I can try 2020-10-13 19:19:28 aports/main > ap revdep gtk+2.0-dev => nothing 2020-10-13 19:20:10 in same dir, ap revdep gtk+-dev show 3 pkgs 2020-10-13 19:20:19 note, gtk version 2020-10-13 19:20:57 i.e. gnokii, libdv, obex-data-server 2020-10-13 21:41:35 mps: gtk+-dev is virtual 2020-10-13 21:50:01 yes, I know 2020-10-13 21:50:41 but don't know why it is needed (and don't care much) 2020-10-13 21:51:14 so please do not waste time on time on this 2020-10-13 21:51:47 and good night 2020-10-13 22:27:04 mps: gtk+2.0 used to be gtk+, then gtk+3.0 came out :) 2020-10-14 06:36:30 good morning 2020-10-14 06:36:42 morning 2020-10-14 06:38:17 yesterday I looked vim aport, I think it should be reworked. split out gvim and move to community and make more subpkgs, i.e. tutor, doc (help), maybe syntax and compiler scripts 2020-10-14 06:39:59 any objections to this idea? 2020-10-14 06:40:58 also, nothing in main depends on gtk+2.0-dev, maybe it should be moved to community 2020-10-14 06:41:10 no and yes 2020-10-14 06:41:38 ? 2020-10-14 06:42:26 gtk+-dev? 2020-10-14 06:58:00 no objections, move to community 2020-10-14 06:58:41 you mean gtk+? 2020-10-14 06:59:01 no 2020-10-14 06:59:06 no objection to the vim aport idea 2020-10-14 06:59:11 yes move gtk+2.0 to community 2020-10-14 07:00:00 aha, ok 2020-10-14 07:00:21 nothing depends on gtk+2.0 in main 2020-10-14 07:02:16 split gvim out of vim will and move to community will require some 'thinkering', except if someone doesn't have bright/smart idea 2020-10-14 07:02:31 s/will// 2020-10-14 07:02:31 mps meant to say: split gvim out of vim and move to community will require some 'thinkering', except if someone doesn't have bright/smart idea 2020-10-14 07:03:40 have 2 separate packages 2020-10-14 07:04:29 yes 2020-10-14 07:05:09 and 'trim' gvim to use vim subpkgs 2020-10-14 07:05:56 then they have to be kept 'in sync', i.e. versions 2020-10-14 07:06:15 or totally as separate pkgs 2020-10-14 07:09:40 maxice8: thanks for encouragement, I will start in more steps, not all in one commit 2020-10-14 07:10:41 You could technically build 2 versions of vim in the same package 2020-10-14 07:12:27 yes, but I don't think it is good, except in special cases 2020-10-14 07:13:11 2 separate pacakges aren't ideal either 2020-10-14 07:14:10 also yes 2020-10-14 07:14:59 but if we want to move gtk out of main then gvim should be moved first 2020-10-14 11:44:26 ncopa: https://github.com/ifupdown-ng/ifupdown-ng/pull/110 :) 2020-10-14 12:17:19 nice! 2020-10-14 12:26:24 looks like we have no build-3-12-mips64 2020-10-14 12:26:47 i wonder if i should postpone 3.12.1 til that is fixed or if i should do 3.12.1 release without mips64 2020-10-14 12:27:31 I think that was the idea, right? 2020-10-14 13:32:32 libreoffice appears to have vanished from edge 2020-10-14 13:32:47 yes 2020-10-14 13:33:01 It does not compile atm with gcc10 2020-10-14 13:33:06 ah 2020-10-14 13:36:30 I'll see if I can fix it 2020-10-14 13:37:53 looks like thunderbird is failing on edge due to some missing directory or similar 2020-10-14 13:38:09 causing builders to rebuild it every push 2020-10-14 13:38:13 yes 2020-10-14 13:38:26 I saw an MR being merged trying to fix it, but didn't work apparently 2020-10-14 13:39:02 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests?scope=all&utf8=%E2%9C%93&state=merged&search=thunderbird 2020-10-14 13:48:31 ddevault: i asked a libreoffice dev, and he said they just had some patch for gcc11 trunk, so maybe it's fixed in git already 2020-10-14 13:49:03 aye, I'm hoping it'll be as simple as cherry picking some patches 2020-10-14 13:49:05 we'll see 2020-10-14 13:50:20 also there is a 7.0.2 libreoffice available, which is a bit fresher than what is in aports 2020-10-14 13:50:42 maybe stale^Wstill 2020-10-14 13:50:47 in aports is still: 6.4.6.2 2020-10-14 14:04:35 Yup, couldn't upgrade because the new version would just fail on builders 2020-10-14 14:43:28 could someone update https://wiki.alpinelinux.org/wiki/Development_using_git and add gitlab as preferred method for workflow 2020-10-14 16:25:07 would someone except me test !13278 before merging 2020-10-14 16:25:35 actually "upgrade to 1.25.3" 2020-10-14 16:44:43 whelp 2020-10-14 16:45:00 I checked out libreoffice and build the sources outside of abuild, exact same tree, exact same patches 2020-10-14 16:45:05 and it works /o\ 2020-10-14 16:51:19 ddevault: but it does not work when you build it with the APKBUILD? 2020-10-14 16:51:24 no 2020-10-14 16:51:34 and it actually only almost worked in a separate tree 2020-10-14 16:51:46 I'm out of patience, I'm just gonna write this invoice with latex 2020-10-14 16:56:27 Hi, I am trying to build qch files for qt5. I have rebuilt qttools with a missing dependency in order to have qdoc built. I can build qch files now but the problem is how to integrate this into the packages. 2020-10-14 16:57:49 To build the qch files (make docs) must be called. Where should it be in the APKBUILD? 2020-10-14 16:58:51 gzmorell: in build() function 2020-10-14 16:59:50 what is qch 2020-10-14 17:00:18 They are the help files for Qt libraries. 2020-10-14 17:00:40 thanks 2020-10-14 17:00:58 They are not built and obviously not included in the qt5-*-doc packages. 2020-10-14 17:02:07 hmm, maybe something qt5-*-dev-doc 2020-10-14 17:04:38 They are missing in all kind of qt packages. In fact qdoc which is the tool to make this files is missing also due to a dependency not included in qt5-qttools 2020-10-14 17:05:06 It needs clang-dev which is not installed. 2020-10-14 17:06:59 hmm, hmm, I'm not good with qt, someone else should give guidance 2020-10-14 17:08:46 To complete the installation 'make install INSTALL_ROOT="subpkgdir" install_docs' should be executed. Is it possible to use it under doc() ? 2020-10-14 17:09:23 I have tried and there are multiple errors with wrong file paths 2020-10-14 17:09:34 usually these things goes in package() 2020-10-14 17:09:53 The problem is that this is documentation 2020-10-14 17:10:29 package() is where all install goes, later it can be moved/split in subpkg functions 2020-10-14 17:10:45 I have looked at archlinux, they have a different package for all qt docs (qt5-doc) which includes all the documentation. 2020-10-14 17:11:16 Ok, I understand. Thans. 2020-10-14 17:11:32 well, we don't copy arch linux build process 2020-10-14 17:12:26 though it can look similar (even same) at first glances 2020-10-14 17:12:31 Yes I know. But I was trying to figure out what was wrong. Having docs in multiple files is better, you install what you need. 2020-10-14 17:12:51 right 2020-10-14 17:13:28 alpine tries to keep minimal dependencies, I hope at least 2020-10-14 17:57:22 whats wrong with thunderbird? 3.0G pkg/thunderbird/usr/lib/thunderbird/libxul.so 2020-10-14 17:57:32 its 3 gigabyte! 2020-10-14 17:58:25 oh, its not stripped 2020-10-14 17:59:33 stripping it makes it go down to 116MB 2020-10-14 18:06:52 javascript 2020-10-14 18:49:19 ncopa: i can see why build-3-12-mips64 didn't show up 2020-10-14 19:17:41 ncopa: thunderbird is still failing on ppc64le, something with gkrust not being able to compile 2020-10-14 19:28:12 ikke: not only ppc64le 2020-10-14 19:46:41 right 2020-10-14 19:54:06 /usr/bin/abuild: line 308: can't create /home/buildozer/aports/testing/thunderbird/pkg/thunderbird/usr/bin/thunderbird: nonexistent directory 2020-10-15 06:24:25 https://lwn.net/Articles/834297/ 2020-10-15 06:24:52 BleedingTooth: critical kernel Bluetooth vulnerability 2020-10-15 06:25:07 good morning 2020-10-15 06:30:30 good morning 2020-10-15 06:31:10 does the 5.4.71 release have a fix for it? 2020-10-15 06:31:52 I think no one release have it yet 2020-10-15 06:32:50 we have to wait for GKH what he will or say today 2020-10-15 06:33:14 else, pick fix from Linus tree 2020-10-15 06:34:29 hmm, 'he will do'* 2020-10-15 07:01:14 Just came here for that 2020-10-15 07:04:06 https://twitter.com/mjg59/status/1316484882877435904 2020-10-15 07:05:30 https://t.co/B5G5Oxrnr5?amp=1 2020-10-15 07:05:39 Actual link: https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00435.html 2020-10-15 07:06:33 no worries, there are a lot more bugs waiting to be disclosed at 'right time' :) 2020-10-15 07:07:11 heh 2020-10-15 07:07:32 I disabled bluetooth five (or more) years on all of my devices 2020-10-15 07:07:48 I regularly use BT 2020-10-15 07:08:06 to much risky, imo 2020-10-15 07:08:11 too* 2020-10-15 07:09:12 especially nowadays with these insanity of proximity detection of potentially ill peoples around :) 2020-10-15 07:09:20 heh 2020-10-15 07:10:16 (all people around me have illness and I, mental though :D ) 2020-10-15 07:35:35 seems thunderbird is just failing on ppc64le still 2020-10-15 08:04:56 Is there any way to try installing my APKBUILD after building it locally without making an entire repo via buildrepo? 2020-10-15 08:06:07 apk add --allow-untrusted /path/to/pkg.apk 2020-10-15 08:09:23 Newbyte: note that abuild -r already creates a valid repository that you can install packages from in ~/packages 2020-10-15 08:11:16 aha, thank you both! 2020-10-15 09:51:55 Hi, why is libreoffice on edge gone? 2020-10-15 09:52:20 Issues compiling it 2020-10-15 09:52:23 with gcc10 2020-10-15 09:52:58 it's temporarily disabled until that's fixed 2020-10-15 09:53:48 I see, but is there any reason we can't use clang? 2020-10-15 09:54:09 qiu3344: no idea 2020-10-15 09:54:22 I saw that someone commited a APKBUILD that does that, but it was reverted 2020-10-15 09:55:04 936fe57fb693f3647b3be9dad3b50c8d8e181871 2020-10-15 09:55:15 "fails to pass ./configure on builders" 2020-10-15 09:55:37 just build libreoffice with -fno-common 2020-10-15 09:55:42 or -fcommon 2020-10-15 09:55:43 i guess 2020-10-15 09:56:14 I don't think it's due to fcommon 2020-10-15 09:56:26 'undefined reference to `non-virtual thunk to cppu::WeakImplHelper::acquire()' 2020-10-15 09:56:31 from the commit message 2020-10-15 11:51:11 py3-loky has such flaky tests 2020-10-15 11:53:23 confusing: py3-loky and py3-loki :) 2020-10-15 11:53:54 loki was removed 2020-10-15 11:54:36 es 2020-10-15 11:54:38 yes 2020-10-15 11:55:26 if you read quickly, it looked like you added a package, and then immediately removed it again 2020-10-15 13:51:58 Ariadne: now that I've battered cloud-init into handling WOL I see that ifupdown-ng isn't handling it. Is this just because the ethtool executor script isn't part of the package? 2020-10-15 13:52:54 which ifupdown-ng 2020-10-15 13:53:07 I think ethtool is part of 0.10 which I haven't shipped yet 2020-10-15 13:53:52 0.9.1-r0 as that's what's in Edge 2020-10-15 13:58:56 Ariadne: so if I build a local copy do I add "ethtool" to _executor_stubs in APKBUILD? 2020-10-15 13:59:35 no 2020-10-15 13:59:44 it's not in 0.9 2020-10-15 13:59:54 just wait until tonight please :) 2020-10-15 14:00:08 ok. Thanks 2020-10-15 14:02:48 cool! mips64 builder is building 104% of expected builds :) 2020-10-15 14:03:00 https://build.alpinelinux.org/ 2020-10-15 14:38:28 You can keep the 4 addition percent for when it fails at a later time to round up to 100%... 2020-10-15 16:48:05 maxice8: is the ok to be merged !13071 2020-10-15 17:13:39 hmm, looks like kernel 5.9 have fixes for BleedingTooth 2020-10-15 17:14:27 I think Intel claimed that it's fixed in 5.9 when it's actually not? 2020-10-15 17:14:50 not sure, need some time to investigate 2020-10-15 17:15:01 any help will be welcomed 2020-10-15 17:15:29 actually I upgraded linux-edge for armv7 and tested it locally 2020-10-15 17:15:52 on monday 2020-10-15 17:16:46 https://lwn.net/Articles/834418/ 2020-10-15 17:17:07 about fedora 5.9 2020-10-15 17:18:20 and 'everal flaws in the BlueZ kernel Bluetooth stack prior to Linux 5.9 are being reported....' at https://lwn.net/Articles/834297/ 2020-10-15 17:18:29 Several* 2020-10-15 17:18:37 copy-paste :) 2020-10-16 00:53:34 new atools :D 2020-10-16 00:53:50 fixes problems with dealing with multiple -DCMAKE_BUILD_TYPE= declarations 2020-10-16 01:02:18 cargo and libgit2 problems again 2020-10-16 01:32:08 algitbot: retry master 2020-10-16 06:39:35 hmm, intel changed announce about BleedingTooth, https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00435.html 2020-10-16 06:40:16 we can take patches or wait for fixed releases 2020-10-16 06:40:55 > Affected Products: All Linux kernel versions that support BlueZ. 2020-10-16 06:40:57 Yikes 2020-10-16 06:41:59 'All Linux kernel versions before 5.10 that support BlueZ.' 2020-10-16 06:43:56 but as I read around android is more safe because they use somewhat changed bluez stack 2020-10-16 08:31:51 trying to make testing/love build again but after changing the source URL, right after it tells me it's unpacking the archive, it tells me the following: /usr/bin/abuild: line 20: automatic: not found 2020-10-16 08:31:59 automagic* 2020-10-16 08:32:03 what might that be about? 2020-10-16 08:34:05 in the prepare function: "platform/unix/automagic" 2020-10-16 08:38:00 um. we have aproblem with mips64 builder for 3.12... 2020-10-16 08:38:12 as in, the prepare function in the APKBUILD? 2020-10-16 08:38:58 I don't find any occurrences of automagic in it 2020-10-16 08:45:16 ansible package has been remade for 2.10.x 2020-10-16 08:45:27 Newbyte: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/love/APKBUILD#L20 2020-10-16 08:46:30 'love', what a strange name for package 2020-10-16 08:47:31 The official name is LÖVE 2020-10-16 08:47:59 turns out I was looking in the wrong file somehow, thanks 2020-10-16 08:48:12 not sure I'd say "LÖVE" makes more sense 2020-10-16 08:49:37 names should have meaning ("nomen est omen") 2020-10-16 08:49:52 What does alpine mean? :P 2020-10-16 08:50:21 highest in Europe 2020-10-16 08:50:52 though it is not true, Elbrus is higher than Mont Blanc 2020-10-16 08:51:39 Can Ansible alpine users check !13626 ? 2020-10-16 08:51:45 so 'Alpine Linux' is 'top linux in europe/ 2020-10-16 08:52:01 s/\/\/ 2020-10-16 08:52:12 s/\/\'/ 2020-10-16 08:52:52 s/\//\'/ 2020-10-16 08:52:52 mps meant to say: so 'Alpine Linux' is 'top linux in europe\' 2020-10-16 08:53:05 meh :) 2020-10-16 08:55:44 ikke: if you want to see what alpine means go to alpinelinux.org and see :) 2020-10-16 09:00:06 "top" as in wordplay for the alps being the tallest mountain range in europe? :) 2020-10-16 09:00:44 eh, nevermind, I just read the backlog 2020-10-16 09:02:05 it is Elbrus at the top of Europe 2020-10-16 09:03:04 and there is CPU named elbrus 2020-10-16 09:32:31 What commit message should I put if I've just made a package build again? 2020-10-16 09:32:40 no version bump or other changes 2020-10-16 09:33:22 fedora backported BleedingTooth patches https://www.linuxcompatible.org/story/fedora-31-update-kernel5815101fc31/ 2020-10-16 09:35:12 Newbyte: testing/love: fix build issues 2020-10-16 09:35:15 or something like that 2020-10-16 09:35:24 [02:37:59] um. we have aproblem with mips64 builder for 3.12... 2020-10-16 09:35:25 thank you 2020-10-16 09:35:28 what is the problem ? 2020-10-16 09:53:48 Recent versions of Telegram Desktop need some undocumented library called "tg_owt". I presume it's some functionality of the desktop app refactored into a library. Now, what I'm wondering is, should I let building this be part of building Telegram desktop, or make it its own package? 2020-10-16 09:53:58 Latter seems more reasonable 2020-10-16 09:54:31 Newbyte: if it's part of the same source, you could split it into a subpackage 2020-10-16 09:54:50 it's in a different repo, so I presume that does not apply then 2020-10-16 09:54:51 If you need to build it separately, then it makes sense to make a separate package for it 2020-10-16 09:54:55 yea 2020-10-16 09:54:57 all right, thanks 2020-10-16 09:55:17 libtg-owt? does that sound like a reasonable name? 2020-10-16 10:01:29 Ariadne: the /etc/apk/repositories had 'edge' repos, so various packages was built with edge dependenceis. I have deleted some of them so they get rebuilt 2020-10-16 10:01:44 oh ok 2020-10-16 10:01:55 and I have ofc updated the /etc/apk/repositories to only have local main repo 2020-10-16 10:05:47 What does it take for a package to be put in community instead of testing? 2020-10-16 10:06:02 asking 2020-10-16 10:06:03 Newbyte: a merge request doing so 2020-10-16 10:06:18 but they should always start out in testing? 2020-10-16 10:06:30 generally 2020-10-16 10:06:51 yes, though, when they are suddenly required as a dependency, exceptions can be made 2020-10-16 10:07:40 dare I try getting this one (tg_owt, the new Telegram Desktop dependency) into community directly? 2020-10-16 10:08:42 let it first to pass build test on builders in testing and then move 2020-10-16 10:09:04 I'll do just that 2020-10-16 10:12:17 now that's fun, this tg_owt package doesn't even have releases 2020-10-16 10:13:05 indeed, fun 2020-10-16 10:33:27 ncopa: c2e6ed4d625c7f1961f4c23b84bcbf83ed0f6303 2020-10-16 10:33:53 if you want to backport to -lts 2020-10-16 10:34:29 and didn't added last patch, not sure is it needed 2020-10-16 10:51:53 PureTryOut: made MRs for kdeconnect CVE !13676 !13677 2020-10-16 11:32:49 ncopa: here is patch for -lts bleedingtooth https://tpaste.us/49qr 2020-10-16 11:33:56 I'm not sure I can make this fixes for linux-rpi with genpatch() 2020-10-16 12:05:11 Ariadne: Thanks for the ifupdown-ng update. Have run a quick test on a VM that works as expects (gives an error while trying to check wol which virtio-net doesn't support). Will test a physical machine later today. Question about the new ifupdown-ng-openrc package's "Replaces: openrc", does this mean that future updates to openrc will not modify any (packaged) files or modify all but the 2 files in ifupdown-ng-openrc? 2020-10-16 12:28:00 any trick to have 'depends=pkg-a || pkg-b' (or dependencies) 2020-10-16 12:29:27 only by using provides 2020-10-16 12:30:01 afaik 2020-10-16 12:30:13 which means no 2020-10-16 13:33:54 minimal: correct. ifupdown-ng version will be preferred for those 2 files 2020-10-16 13:38:17 Ariadna: cool, didn't know "Replaces" worked that way, thought it took over everything owned by the named package. Hmm, I can see some kludgy (ab)uses for Replaces - apk doesn't currently provide a way to remove and keep specific files removed (like Debian dpkg's exclude/include functionality), until it does could maybe abuse "Replaces" to create a local package to kludge that 2020-10-16 13:41:15 e.g. currently for Alpine hardened machines I might want to prevent isofs kernel modules being used, currently I'd do so using a file in /etc/modprobe.d/ to "map" that module to /bin/true so a modprobe won't actually load it. With hardened Debian currently I can delete the actual kernel module file and create a dpkg config file that will prevent any future kernel package updates from ever reinstalling the file. 2020-10-16 14:29:55 Ariadne: merged the s6 MR 2020-10-16 16:23:41 @PureTryOut: ping 2020-10-16 17:03:25 hello, when is the next release 3.12.1 planned? 2020-10-16 17:15:19 midasi: soon (tm) 2020-10-16 17:20:42 how soon? days or weeks? 2020-10-16 17:23:39 I suspect next week or the week after 2020-10-16 17:23:46 ok, great! 2020-10-16 17:28:50 do we need 'Virtual Box Guest PCI device' driver in kernel? 2020-10-16 19:59:21 Hi 2020-10-16 20:02:32 quick question, maybe someone has some pointers; we're trying to use an IO board and we're connected the SC16IS752 to SPI0 instead of SP1; Alpine Linux doesn't include the SPI0 variant of the device and copying the overlay from the stock Raspbian image does not work, Alpine reports that SPI0 is already in use? 2020-10-16 20:05:32 raspberi pi? 2020-10-16 20:09:21 yes, my appologies 2020-10-16 20:10:08 what board? 2020-10-16 20:10:22 ah it's our own in-house IO board 2020-10-16 20:10:38 I mean what RPi board, sorry 2020-10-16 20:10:43 oh :) 2020-10-16 20:10:58 Pi2 2020-10-16 20:11:28 uhm, I don't have this board to check 2020-10-16 20:12:45 you could ask on #alpine-linux also, maybe someone there have this board and can help 2020-10-16 20:12:51 I think the "new" Pi2 and Pi3 have the same CPU? 2020-10-16 20:13:04 CoolITKitty: I've heard similar things 2020-10-16 20:16:46 done 2020-10-16 20:17:19 if the SPI0 is being used by the kernel, then an option for us is to respin the board using SPI1 2020-10-16 20:18:18 if it is not, then it's a problem with simply having the right dtbo and maybe I should build that from source instead of copying it from Rasbian? 2020-10-16 20:19:53 if spi0 is used then yes 2020-10-16 20:21:04 you can install spi-tools and check 2020-10-16 20:23:53 hmm, spi-tools is not listed 2020-10-16 20:24:25 in community repo 2020-10-16 20:24:49 ohm, it is edge not stable 2020-10-16 20:26:08 got it 2020-10-16 20:31:57 heh, just noticed that 'apk add --allow-unt' works 2020-10-16 20:49:54 Looks like we don't even have issues yet for CVE-2020-12351 CVE-2020-12352 CVE-2020-24490 2020-10-16 20:58:01 I thought about that but didn't raise it because we don't keep CVE records in kernels 2020-10-16 21:02:55 Good to keep a track record of it 2020-10-16 21:02:58 though 2020-10-16 21:03:56 you mean bug/issues reports 2020-10-16 21:04:11 yes 2020-10-16 21:04:19 I'm making a ticket ftr 2020-10-16 21:04:52 good 2020-10-16 21:07:08 hmm, I have to add 'fixes: #numbers' to commit 2020-10-16 21:08:21 https://gitlab.alpinelinux.org/alpine/aports/-/issues/12023 2020-10-16 21:08:50 Well, for these kinds of issues affecting multiple branches, you don't want to 'fix' it, which will close the issue 2020-10-16 21:09:51 yes, I see 2020-10-16 21:10:14 they have to closed manually after all branches 'fixed'? 2020-10-16 21:10:15 You can still refer to the issue, but not 'fixes' or 'closes' 2020-10-16 21:10:49 actually I put CVE numbers in git commit 2020-10-16 21:11:05 c2e6ed4d625c7f1961f4c23b84bcbf83ed0f6303 2020-10-16 21:15:21 I applied patches on linux-lts and linux-edge, applies cleanly on both and builds fine 2020-10-16 21:44:54 would it be too much to ask for a kernel option to not have it use SPI0? 2020-10-16 21:45:31 spidev0.0 doesn't even show in the /dev folder so spi-tools won't touch it 2020-10-16 22:08:42 CoolITKitty: what option should be changed 2020-10-17 06:45:44 soon we will have https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.9.y&id=213f323329f1567e09f85ddb54cfb80769340b50 2020-10-17 06:46:19 linux 5.9.1 release with bleedingtooth fixed 2020-10-17 06:49:47 actually it is released but not yet announced 2020-10-17 08:36:40 we have kernel 4.19.x in some previous and supported releases. do we have 4.14.x in some of supported releases? 2020-10-17 09:47:43 3.9 has 4.19, and 3.9 is the oldest supported version 2020-10-17 09:51:42 aha, thanks 2020-10-17 09:53:05 3.8 has 4.14.x 2020-10-17 09:53:44 there are these third party kernel modules in separate pkgs, not sure should I start upgrading -lts 2020-10-17 09:54:15 maybe ncopa already working on them 2020-10-17 09:54:19 ncopa has a script to update them all at the same time 2020-10-17 09:54:47 that would be nice to have 2020-10-17 09:55:21 for now I could do this just manually 2020-10-17 09:57:16 https://tpaste.us/axMq 2020-10-17 09:58:12 yes, already looked at aports 2020-10-17 09:59:04 -rpi is showstopper for me now 2020-10-17 11:51:48 ikke: with kernel 5.9 and we will not need community/rtl8821ce-lts, community/wireguard-lts and some other pkgs 2020-10-17 11:51:57 and up* 2020-10-17 11:52:17 mps: fine with me 2020-10-17 11:52:28 and community/virtualbox-guest-modules-lts also 2020-10-17 11:52:47 we might want to add replaces=".." to linux-lts for those modules 2020-10-17 11:53:20 sure, when new -lts is declared 2020-10-17 13:43:02 Hi, i would like to get some help/pointer what i'm doing wrong. I'm trying to build a package, i have everything set up, hopefully, but i'm getting error on building. ERROR: No such package: .makedepends-mypackage. I wasn't able to find from google how to solve it. 2020-10-17 13:43:12 I also posted it to stackexchange 2020-10-17 13:43:13 https://unix.stackexchange.com/questions/614957/creating-an-alpine-package 2020-10-17 13:45:12 Silver40: most likely it failed to install the dependencies in the first place 2020-10-17 13:46:51 Silver40: can you paste the output of abuild -r somewhere? 2020-10-17 13:47:23 Sure, one sec 2020-10-17 13:47:58 https://pastebin.com/qLpYHeUA 2020-10-17 13:48:45 run apk fix 2020-10-17 13:51:17 It shows that i have 1 error 2020-10-17 13:51:29 1 error; 3124 MiB in 695 packages 2020-10-17 13:51:36 It should report something before that 2020-10-17 13:52:20 (1/1) [APK unavailable, skipped] Reinstalling ttf-opensans (1.10-r0) 2020-10-17 13:53:15 chromium depends on that. Unable to remove 2020-10-17 13:54:11 Do you have community available in /etc/apk/repositories? 2020-10-17 13:54:55 I removed chromium also. That part should be OK for now. 2020-10-17 13:55:57 Ok, now it did something more but still ends with an error 2020-10-17 13:55:58 https://pastebin.com/s9GdUgcS 2020-10-17 13:56:43 Can you share your APKBUILD? 2020-10-17 13:57:13 Oh, looks like i got it. It's building now from source. 2020-10-17 13:57:20 ok 2020-10-17 13:57:33 Thanks for quick help :) 2020-10-17 13:57:48 no problem 2020-10-17 14:34:27 Ok, it compiles nicely, but at the end it still fails with >>> ERROR: libdigidoc*: package failed and >>> ERROR: libdigidoc: rootpkg failed. Any hints there ikke? 2020-10-17 14:35:45 Look at the output before that 2020-10-17 14:35:58 sometihng in the package stage is failing 2020-10-17 14:41:25 Few warnings for project developers but everything else seems to be OK. No errors etc. Builds and installs under pkg dir. 2020-10-17 14:47:37 Something is returning an exit code >0 2020-10-17 14:49:03 I'll try to build with -v 2020-10-17 14:57:12 I'm working on split-out gvim from vim and move/create gvim pkg in community. by this one less in dependency on gtk in main 2020-10-17 14:57:24 any objections? 2020-10-17 14:58:12 apart from the usual maintenance objects, no 2020-10-17 14:59:18 yes, but we have to pay toll somewhere 2020-10-17 14:59:30 s/objections/ 2020-10-17 14:59:50 yea, understood 2020-10-17 15:01:35 gtk+2.0 could be moved right now. maybe? 2020-10-17 15:04:06 also, dconf? should it be in main? 2020-10-17 15:04:39 seems like nothing depends on gtk+2.0 anymore 2020-10-17 15:04:42 in mian 2020-10-17 15:06:04 yes, except two, gnokii and obex-data-server depends on gtk+-dev vritual pkg 2020-10-17 15:06:32 ah 2020-10-17 15:06:41 not sure could they be built with gtk+3.0 2020-10-17 15:07:00 Me neither 2020-10-17 15:07:12 though also not sure could they be moved to community 2020-10-17 15:07:41 or removed from repo. who uses them nowadays 2020-10-17 15:08:30 gnokii sounds like something that not needs to live in main 2020-10-17 15:09:46 yes, nothing depends on it in main 2020-10-17 15:11:09 ok, we should ask maintainer on monday 2020-10-17 15:12:04 also, for gvim move/split 2020-10-17 15:41:52 Another build issue: Found uncompressed man pages: 2020-10-17 15:41:52 /usr/share/man/man1/cdigidoc.1 2020-10-17 15:42:29 I guess you should compress them, then 2020-10-17 15:43:10 I've heard doc() autocompresses them 2020-10-17 15:43:18 Ok it's a cmake thing then .. 2020-10-17 15:43:35 is subpkgs="$pkgname-doc" present? 2020-10-17 15:43:37 Yup, adding a -doc subpkg should do the trick 2020-10-17 15:44:12 right: https://gitlab.alpinelinux.org/alpine/abuild/-/blob/master/abuild.in#L1782 2020-10-17 15:44:19 mps: dconf should probably remain in main, you need it for permanent settings in about any GLib application 2020-10-17 15:44:43 Otherwise you glib uses the memory backend for settings, so everything set is only temporary 2020-10-17 15:44:57 Yeah, that did the trick! 2020-10-17 15:48:46 Next error: ERROR: /usr/local/lib64/libdigidoc.so...: Could not find owner package 2020-10-17 15:49:03 But i have in build section cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. 2020-10-17 15:57:16 there's also lib64 2020-10-17 15:57:36 it could have something to do with --prefix? 2020-10-17 16:01:36 lib64 is under /usr 2020-10-17 16:02:17 As i understand, nothing can't be installed under /usr/local, /opt etc 2020-10-17 16:02:24 corret 2020-10-17 16:02:34 By default, this software tries to install itself under /usr/local 2020-10-17 16:02:53 That's why i changed prexif. 2020-10-17 16:03:38 Cogitri: so no chances to move gtk from main 2020-10-17 16:15:03 hmm, `ap revdep dconf' in main doesn't show anything 2020-10-17 16:20:06 mps: Yes, it's only a weak dep 2020-10-17 16:20:18 i.e. users have to install it or their stuff is broken but at least we have minimal deps :) 2020-10-17 16:20:59 I don't have it and everything is fine 2020-10-17 16:21:14 Actually not sure why dconf depends on gtk3, that seems wrong 2020-10-17 16:21:26 Doesn't seem like it actually needs it 2020-10-17 16:21:28 ACTION removes the dep 2020-10-17 16:22:01 Oh, seems like I introduced that makedep, whoops :D 2020-10-17 16:22:08 1a0103dda978655bb1480be3869e4bdc4dd07a30 2020-10-17 16:22:10 :) 2020-10-17 16:22:26 blame self 2020-10-17 16:23:19 3b18e9f85576cfec0fdca33003a9a639e650b3ab there we go 2020-10-17 16:24:15 Oof, the one time I push directly from master I didn't switch branch before and had another commit on master that wasn't supposed to land yet 2020-10-17 16:24:30 ouch 2020-10-17 16:26:21 Well, at least it only is a upgrade of mellowplayer to git that I had around to test it on CI, so won't break anyone's system 2020-10-17 16:50:35 Any hints how to solve package build error? ERROR: /usr/local/lib64/libdigidoc.so...: Could not find owner package 2020-10-17 16:51:52 build system (cmake) need to be fixed 2020-10-17 16:52:46 It's like a bug in cmake or i should do something differently? 2020-10-17 16:53:14 no cmake itself, but package cmake files 2020-10-17 16:54:44 No, at this point i can't do nothing? 2020-10-17 16:54:50 So* 2020-10-17 16:55:19 what is the package you're trying to build? 2020-10-17 16:55:59 libcdigidoc 2020-10-17 16:56:40 Dependency package for Smart card software 2020-10-17 16:57:34 https://github.com/open-eid/libdigidoc 2020-10-17 16:59:50 geh, subprojected cmake modules 2020-10-17 17:03:23 forcing -DLIBDIGIDOC_LIBRARY -DLIBDIGIDOC_INCLUDE_DIR thingies might be something 2020-10-17 17:07:08 some people just don't know how to do cmake scripts 2020-10-17 17:07:57 "hey I created another wrapper macro!" 2020-10-17 17:08:45 artok: You mean 5 layers of custom abstraction for every package in a build system aren't a good idea? :^) 2020-10-17 17:10:12 and you need to have always prefixed with some project acronym 2020-10-17 17:11:41 Tried with -DLIBDIGIDOC_LIBRARY=/usr/lib64 -DLIBDIGIDOC_INCLUDE_DIR=/usr/lib64 but no luck 2020-10-17 17:50:03 Ok, i found the culprit with ERROR: /usr/local/lib64/libdigidoc.so...: Could not find owner package 2020-10-17 17:50:09 That's me. 2020-10-17 17:51:02 I had this /usr/local/lib64/libdigidoc.so file in my system, because i was compiling before and made "make install" 2020-10-17 17:56:12 just because it installs doesn't mean it meets packaging standards 2020-10-17 17:57:03 I think it's true 2020-10-17 19:18:18 for some reason latest mutt-doc manual.txt is zero size on edge, same version built on 3.12-stable is ok 2020-10-17 19:47:33 Building a package i get: install: can't create '/usr/bin/xsd': Permission denied. If i understand correctly then, /srv, /usr/local or /opt is not permitted. Why i get permission denied in /usr/bin? 2020-10-17 19:47:47 Under package section i use: make install_prefix=/usr install 2020-10-17 19:47:49 you failed to specify DESTDIR 2020-10-17 19:48:05 I tried DESTDIR also 2020-10-17 19:48:14 destdir isn't the same as prefix 2020-10-17 19:48:58 So like this? make DESTDIR="$pkgdir/usr" install 2020-10-17 19:51:21 DESTDIR=$pkgdir 2020-10-17 19:51:27 prefix=/usr 2020-10-17 19:51:33 You need both 2020-10-17 19:52:15 You can fine-tune the installation locations with the following make 2020-10-17 19:52:15 variables: 2020-10-17 19:52:16 install_prefix default is /usr/local 2020-10-17 19:52:23 That's from documentation 2020-10-17 19:52:24 that should be /usr 2020-10-17 19:52:34 but there should also be something like a DESTDIR 2020-10-17 19:53:42 maybe they conflate the 2 2020-10-17 19:53:55 I assume it's this? https://www.codesynthesis.com/projects/xsd/extras/build-unix.xhtml 2020-10-17 19:54:02 yes 2020-10-17 19:55:49 You can try install_prefix=$pkgdir/usr 2020-10-17 20:06:30 hmm 2020-10-17 20:06:38 got >>> xsd: Entering fakeroot... 2020-10-17 20:06:38 make: *** empty variable name. Stop. 2020-10-17 20:07:46 Oh, extra space .. 2020-10-17 20:25:13 Using make install prefix="$pkgdir/usr" still gives errors like install: can't create '/usr/local/bin/xsd': Permission denied and install: can't create directory '/usr/local/include/': Permission denied (a lot of those) 2020-10-17 20:25:49 it means it's not installing the file in $pkgdir, but tries to directly install it on your system 2020-10-17 20:27:36 So, that DESTDIR is required 2020-10-17 20:29:03 Btw, is there option to keep compiled files so that i don't have to build them every single run? 2020-10-17 20:29:16 -K 2020-10-17 20:30:52 Silver40: btw, it's install_prefix, not prefix 2020-10-17 20:31:56 I tried that also, it's from documentation. But maybe something else was wrong at that time. 2020-10-17 20:54:57 Ok, it works like this: make install_prefix=$pkgdir/usr install 2020-10-17 22:09:24 isn't this a cmake package 2020-10-17 22:09:29 is it just a broken cmake package 2020-10-18 07:11:48 ikke: goede morgen 2020-10-18 07:11:57 morning 2020-10-18 07:12:51 sorry to annoy you you early in morning but how should look git msg for linux-lts related to #12023 2020-10-18 07:13:09 no 'fixes' or 'closes', but what 2020-10-18 07:13:26 See #12023 works 2020-10-18 07:13:41 aha, ok. thanks 2020-10-18 07:14:00 'see #12023' 2020-10-18 07:14:06 yes 2020-10-18 07:14:13 :) 2020-10-18 07:51:31 ikke mps ncopa do you think rdnssd could migrate to main soon? It would solve some problems for me 2020-10-18 08:00:01 Ill make an MR and let others comment on it 2020-10-18 08:05:47 telmich: could you write mail to (bad) alpine-devel ML 2020-10-18 08:21:24 mps: sure 2020-10-18 08:23:49 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/13738 2020-10-18 08:34:22 https://lists.alpinelinux.org/~alpine/devel/%3C874kmsoruc.fsf%40ungleich.ch%3E 2020-10-18 08:36:42 (y) 2020-10-18 08:44:47 I do notice that rdnssd depends on sed 2020-10-18 08:46:05 not good 2020-10-18 08:46:21 Yeah 2020-10-18 08:46:24 isnogood :) 2020-10-18 08:46:34 bebc4234d6557e897fa01536d7032f2cd2a16e84 2020-10-18 08:46:54 It's a merge-hook that uses regular expressions 2020-10-18 08:47:01 so maybe we can work around it 2020-10-18 09:10:53 maxice8: Would've been nice if 5ed0f177 would contain some context about why the change has been made 2020-10-18 09:15:22 !13740 2020-10-18 09:15:48 first time made such 'big' kernel change 2020-10-18 09:16:01 but skipped -rpi pkgs 2020-10-18 09:16:56 lets see what CI will say 2020-10-18 09:19:45 mps: I think the reference to the ticket should be on a new line 2020-10-18 09:24:06 aha, ok 2020-10-18 09:26:56 Currently the issue does not show the MR as related 2020-10-18 09:28:05 'see: #12023' in new line is ok? 2020-10-18 09:29:55 how to do that? 'git commit -v --amend' will not work because there are commits after that one 2020-10-18 09:30:22 git rebase -i master 2020-10-18 09:30:29 then change pick to reword for that commit 2020-10-18 09:30:31 'git rebase --interative'? 2020-10-18 09:30:34 yes 2020-10-18 09:30:45 huh, git is not easy 2020-10-18 09:31:27 the integrity part of git makes some operations a bit more complex 2020-10-18 09:31:48 You cannot just randomly change commits in the middle of your history without affecting anything else 2020-10-18 09:31:53 but, 'show me the tool and will tell you all about master/craftsman 2020-10-18 09:32:49 craftsmen use tools that are not necessarily easy to use 2020-10-18 09:33:02 I use 'git rebase --interactive' in other projects, hmm overuse ;) 2020-10-18 09:33:23 ...but they use tools that are made for the work they're doing 2020-10-18 09:34:06 artok: is your point that git is not made for the work people are doing? 2020-10-18 09:34:35 no, just addition to the craftsmen analogue =) 2020-10-18 09:34:41 ok 2020-10-18 09:34:48 yes, good explanation of relation tools and masters are Miyamoto Musashi in 'Five rings' book, 'gorin no shyo' (for japanese friends) 2020-10-18 09:34:56 when git has been really started for kernel source management... 2020-10-18 09:36:19 And it's made for people who take version control serious, not just as a means to push code 2020-10-18 09:38:14 svn was easier for people who just want the latter 2020-10-18 09:40:22 hence, binary files with svn 2020-10-18 09:40:48 on projects that need to have built dependencies as binary, that is 2020-10-18 09:40:56 git handles binaries just as well, but because it's decentralized, everyone shares the pain, not just the server admin 2020-10-18 09:42:08 One thing that git is just gaining that was easier with svn is partial checkouts 2020-10-18 09:44:05 ikke: does it looks ok now? 2020-10-18 09:45:15 mm, no 2020-10-18 09:45:24 uh 2020-10-18 09:46:45 https://gitlab.alpinelinux.org/alpine/aports/-/issues/12023 2020-10-18 09:47:08 Not sure why 2020-10-18 09:48:06 aha 2020-10-18 09:48:39 'see: #12023' is wrong for some reason 2020-10-18 09:48:53 Usually it's done without colon 2020-10-18 09:48:53 ':' not needed? 2020-10-18 09:49:07 hm, lets try again 2020-10-18 09:52:21 hmmm, no luck again 2020-10-18 09:55:52 :( 2020-10-18 09:56:17 mmaybe because it's a confidential issue? 2020-10-18 09:56:31 could be 2020-10-18 09:56:33 Not sure why that shoul dmatter though 2020-10-18 09:57:04 anyway, kernel usually doesn't go through gitlab MRs 2020-10-18 09:57:17 correct, but it's not wrong to do :) 2020-10-18 09:58:42 and this issue report, it is not confidential 2020-10-18 09:59:13 The reason we make them confidential is because we don't want the issue list to be a repository of unpatched issues 2020-10-18 09:59:28 but on the other hand, it's nice if others can see the progress of these issues 2020-10-18 09:59:29 I mean, problem is known for few days 2020-10-18 10:00:11 yes, that's the case for most CVE's we patch 2020-10-18 10:00:51 but, even if it is confidential added MR which references it should be shown in it 2020-10-18 10:01:58 (security theater must go) 2020-10-18 10:01:58 yes 2020-10-18 10:49:11 mps: seems like ncopa was already working on the kernel upgrade 2020-10-18 10:50:25 mps: 3778c690 2020-10-18 10:50:39 3778c69066701e3289fe0eadbd22eaeab24bd32b 2020-10-18 10:57:29 i see 2020-10-18 10:57:47 that was an exercise for me 2020-10-18 10:58:35 to see can I do that if ncopa was busy or offline for some time and important things happens 2020-10-18 10:59:45 if I intended to upgrade I would push it and not create MR 2020-10-18 13:39:21 I think we are really starting to overuse subpackages, why does a simple text editor like vim have 6 subpackages nowadays? :S 2020-10-18 13:46:44 what's a simple text editor? 2020-10-18 13:47:25 I guess hey mean vim 2020-10-18 13:47:31 ed(1) 2020-10-18 13:47:32 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/13672#note_119421 2020-10-18 13:48:18 with vim tutor the trade-off is even worse 2020-10-18 13:49:20 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests?scope=all&utf8=%E2%9C%93&state=all&search=main%2Fvim+split 2020-10-18 13:49:41 yeah, i know 2020-10-18 13:50:14 Just for others 2020-10-18 13:52:41 Yeah, I think the main problem is users not knowing about those subpkgs 2020-10-18 13:53:01 yep 2020-10-18 13:53:30 but given that file locations may change et cetera you also need to make sure to keep the split functions up to date 2020-10-18 13:59:09 nmeum: how big in size vim before split 2020-10-18 13:59:29 how big is xxd and vimdiff 2020-10-18 14:00:11 28 MiB, i think 2020-10-18 14:00:20 right, about 2020-10-18 14:00:20 xxd can be use independendly of vim 2020-10-18 14:00:26 vimdiff maybe too, idk 2020-10-18 14:01:06 vimdiff depend on vim 2020-10-18 14:01:11 also xxd 2020-10-18 14:01:25 the argument for splitting xxd is: you might want xxd but not vim, thus installing a 28 MiB vim package might be considered overkill 2020-10-18 14:01:46 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/1153#note_54634 2020-10-18 14:01:56 sorry, xxd doesn't 2020-10-18 14:02:34 well, I don't really like the vimdiff split either tbh 2020-10-18 14:03:16 maybe a coherent policy on when subpackages should be used and when they shouldn't would be nice? 2020-10-18 14:04:08 the syntax and help split in particular will imho really confuse users 2020-10-18 14:04:18 well, understand. and I plan at the end of splitting vim to add vim-full metapackage 2020-10-18 14:04:51 or, vim-small and vim as full pkg 2020-10-18 14:09:27 I wouldn't mind if we had a vim-tiny subpackages like debian does which compiles vim with --with-features=tiny, i think that's the way to go for a small vim package 2020-10-18 14:12:00 vim-tiny as debian have is not needed for alpine, busybox vim is enough 2020-10-18 14:12:12 BB vi* 2020-10-19 08:05:42 PureTryOut[m]: there are a few kde related packages that are failing on different arches, would you be able to take a look at it? 2020-10-19 10:21:27 -ash: ./kdeconnect/APKBUILD: line 41: syntax error: unexpected redirection 2020-10-19 10:21:34 in 3.12-stable 2020-10-19 10:22:50 merge conflict committed 2020-10-19 10:23:27 575d05f370915ded4053169bfe03c476b7536e27 2020-10-19 10:24:16 fixed 2020-10-19 10:30:19 ugh.. kdeconnect is broken on all arches apparently :-( 2020-10-19 10:30:54 so no 3.12.1 release today either :-( 2020-10-19 10:31:25 party pooper 2020-10-19 10:34:20 i think 575d05f370915ded4053169bfe03c476b7536e27 is wrong. we cannot do updates like that in stable branch 2020-10-19 10:34:48 i think we need a kdeconnect 20.04.x 2020-10-19 10:34:56 or backport a fix for that cve 2020-10-19 10:42:59 ncopa: btw, keeping https://gitlab.alpinelinux.org/alpine/aports/-/issues/12023 up-to-date. Both edge and 3.12-stable should've been fixed now, correct? 2020-10-19 10:48:55 i believe so, but I havent verified that 5.4.72 fixes it 2020-10-19 10:50:56 looks like its possible to backport the 10 patches for kdeconnect, they apply to 20.04.x and it builds. but the tests fails :-/ 2020-10-19 10:52:11 The changelog for .72 mentions fixes for bluetooth 2020-10-19 10:52:17 https://lwn.net/Articles/834537/ 2020-10-19 10:53:23 re #12023 fixes are bacported to all longterm kernels 2020-10-19 10:55:26 ncopa: btw, do you have some script/s to upgrade kernels and depending pkgs 2020-10-19 10:56:32 would be nice to post it to me, to not 'reinvent the wheel' 2020-10-19 10:56:49 when you find time, ofc 2020-10-19 11:01:31 i normally do something like: abump linux-lts-5.4.72 && sh ../abump-kmods main/linux-lts && testboot.sh 2020-10-19 11:01:59 $ tpaste < ../abump-kmods 2020-10-19 11:02:00 https://tpaste.us/5VY0 2020-10-19 11:02:34 $ tpaste < testboot.sh 2020-10-19 11:02:34 https://tpaste.us/vZ7L 2020-10-19 11:05:31 thanks. looking at them 2020-10-19 11:20:04 Hmm, seems like the rdnssd ipv6 matching regexp has a bug 2020-10-19 11:20:10 {,1} is not valid 2020-10-19 11:22:05 But apparently the real sed allows that 2020-10-19 11:22:17 Or at least, does not report an error 2020-10-19 11:46:00 does \{,\1\} work 2020-10-19 11:48:11 {0,1} works 2020-10-19 11:48:26 aha 2020-10-19 11:57:44 well there is an easy patch 2020-10-19 11:58:42 yup 2020-10-19 11:59:00 I already have the patch, just need to test and commit it 2020-10-19 12:57:27 is there trick for abuild to build pkg for other arch, on armv7 for armhf 2020-10-19 12:57:46 I don't think so 2020-10-19 12:58:10 You'd need a separate chroot for that 2020-10-19 12:58:38 hmm, chroot don't work in develepors lxc 2020-10-19 12:58:45 so rootbld could do it 2020-10-19 12:58:48 yeah 2020-10-19 12:58:49 that's the issue 2020-10-19 12:58:53 seem with rootbld 2020-10-19 12:59:07 ncopa did manage to get docker to work in lxc 2020-10-19 12:59:21 but not sure it that required extra privileges 2020-10-19 12:59:51 ok, I will try with my local disk in armhf lxc 2020-10-19 13:00:32 it will take time with disk on usb 2020-10-19 13:01:43 i've been using dabuild to cross-compile lately 2020-10-19 13:01:50 now I'm sure that RPi zero works very fine with mainline kernel 2020-10-19 13:02:16 Ariadne: but I guess only for arches that are supported on the hardware? 2020-10-19 13:23:36 i changed color of favicon of gitlab, so it becomes easier to see difference with th eother sites, like a.o, build.a.o, pkgs.a.o 2020-10-19 13:23:48 what do you think? 2020-10-19 13:23:55 I like it 2020-10-19 13:24:22 i picked the same color as gitlab logo 2020-10-19 13:26:09 I figured 2020-10-19 13:26:13 hmm, so it will not be easy to distinguish gitlab.a.o and other gitlab.com tabs 2020-10-19 13:26:59 its easy to distinguish. different shape of the favicon 2020-10-19 13:27:11 actually, im not sure i like the new color 2020-10-19 13:27:12 red ? 2020-10-19 13:27:17 orange 2020-10-19 13:27:26 orange/red yes 2020-10-19 13:27:29 ah, I see 2020-10-19 13:27:43 colors are quite different 2020-10-19 13:28:36 darkred? 2020-10-19 13:28:47 kind of allergic to this red, maybe pick one from https://material.io/design/color/the-color-system.html#tools-for-picking-colors 2020-10-19 13:29:34 choose one neutral, dark (black) :) 2020-10-19 13:29:40 It kind of needs to make sense 2020-10-19 13:29:54 And I guess we want to do something similar for the other apps 2020-10-19 13:30:05 for me everything is ok 2020-10-19 13:30:06 yes, we have an issue for it 2020-10-19 13:30:14 nod 2020-10-19 13:30:27 the current orange is a bit ugly when there are lots of tabs 2020-10-19 13:30:44 black or dark grey is better 2020-10-19 13:31:07 or maybe the navyblue-ish that the gitlab top bar has? 2020-10-19 13:31:35 its close to the a.o color, but i think the difference is enough 2020-10-19 13:32:37 but make sure it distinguishable in dark theme, maybe add bg color ? 2020-10-19 13:56:28 i changed it to black. i think it may work for dark theme too 2020-10-19 13:58:49 huh, though I wrote everything is ok for me, but hmmm looks somewhat unpleasant 2020-10-19 13:59:11 on dark theme 2020-10-19 14:22:47 :) 2020-10-19 14:34:28 huh, no luck with local armhf lxc, 'apk add tmux' => Illegal instruction 2020-10-19 14:37:40 ugh. the 5.4.72 kernel is having issues on shutdown on my desktop 2020-10-19 14:38:11 looks like its bluetooth related 2020-10-19 14:45:07 hm, apk fails on armhf lxc but apk.static works 2020-10-19 14:49:42 ncopa: https://security-tracker.debian.org/tracker/source-package/linux 2020-10-19 14:50:12 good summary info of the kernels security 2020-10-19 14:50:25 nice, 2020-10-19 14:56:33 if I add armhf in arch on linux-edge will it be built on armhf builder? 2020-10-19 14:59:20 Yes, armhf builder on an aarch64 hsot 2020-10-19 15:01:28 looks like it is only option for me to build armhf apk kernel 2020-10-19 15:03:10 btw, anyone have armhf lxc 'box' to check does apk works in it 2020-10-19 16:58:44 heh, fixed apk on armhf in lxc by rebuilding kernel with 'some' options enabled 2020-10-19 16:59:10 so it was due to kernel options apk was broken? 2020-10-19 16:59:16 yes 2020-10-19 16:59:22 curious 2020-10-19 16:59:57 actually I think apk or musl uses some obsolete asm instructions 2020-10-19 17:01:26 CONFIG_ARMV8_DEPRECATED=y 2020-10-19 17:01:26 CONFIG_CP15_BARRIER_EMULATION=y 2020-10-19 17:01:26 CONFIG_SWP_EMULATION=y 2020-10-19 17:01:26 CONFIG_SETEND_EMULATION=y 2020-10-19 17:01:49 these need to be set on aarch64 kernel 2020-10-19 17:08:59 re: kernel security, there's also https://www.linuxkernelcves.com/ 2020-10-19 17:14:46 helpnodeatemyram.org 2020-10-19 17:44:43 hmm, jirutka just pushed an upgrade for node from 12.18.4 to 12.19.0 on 3.12-stable, and it's failing on all arches 2020-10-19 18:41:09 "what option should be changed" -- to allow SPI0 to be accessed? unless there already is one? 2020-10-19 18:42:12 To be accessed from where? 2020-10-19 18:42:53 I'm unable to load the 'sc16is752-spi0' driver because it claims there's a conflict with SPI0 2020-10-19 18:42:59 CoolITKitty: could you describe what should be changed in kernel config for this 2020-10-19 18:43:24 Raspbian does not; I'm able to use the device normally there 2020-10-19 18:44:15 we "can't' use raspbian kernels (and tools) so we need info what should be changed/enabled 2020-10-19 18:44:21 compiling kernels is out of my experience depth 2020-10-19 18:44:39 and I have no idea why SPI0 would be allocated by the kernel 2020-10-19 18:45:04 I don't have spi device which I could connect to RPi to test what must be enabled or changed 2020-10-19 18:45:53 for allwinner A20 I had to patch kernel and dts file to enable spi 2020-10-19 18:48:26 hmm 2020-10-19 18:48:54 odd that SPI1 is okay 2020-10-19 19:39:06 passage rapide avant d'aller bosser 2020-10-19 19:39:09 bien ou quoi? 2020-10-19 19:39:23 enlever kiocreator suffit pour que kde demarre? 2020-10-19 19:39:32 on pas parle francais 2020-10-19 19:39:44 opps sorry, wrong chat 2020-10-19 19:40:10 btw hi :) 2020-10-19 19:40:12 :) 2020-10-19 19:40:15 hi 2020-10-19 20:17:43 where can we get alpine stickers, i have to show my support ;) 2020-10-19 20:20:15 https://www.redbubble.com/i/sticker/Alpine-Linux-by-devtee/30065482.EJUG5 <- crosbymichael 2020-10-19 20:20:27 I got one from here, it's a decent size and quality 2020-10-20 09:31:48 https://www.freetype.org/ 2020-10-20 "All users should update immediately" 2020-10-20 09:32:06 fun times 2020-10-20 09:32:26 ikke: no you can use dabuild in combination with qemu-user 2020-10-20 09:32:32 aha, ok 2020-10-20 09:33:50 mps: All users should disconnect web immediately :) 2020-10-20 10:04:05 mps: thanks for the notice, made MRs for edge and 3.12 2020-10-20 10:30:47 maxice8: very fine, I see it is pushed 2020-10-20 11:16:02 'rpiz:~ # uname -a' => Linux rpiz 5.9.1-0-edge #1-Alpine PREEMPT Tue, 20 Oct 2020 08:59:20 UTC armv6l Linux 2020-10-20 11:16:41 mainline alpine built kernel apk pkg on RPi zero W \o/ 2020-10-20 11:26:06 How long did that build take, mps? 2020-10-20 11:27:21 less than hour (didn't measured) in armhf lxc on aarch64 with two JOBS=2 in abuild.conf 2020-10-20 11:28:03 Not bad 2020-10-20 11:29:32 it is somewhat 'trimmed down' kernel, not all drivers for other SOCs are enabled 2020-10-20 11:30:18 and rootfs is on ssd disk attached on usb 2020-10-20 12:24:00 !13773 2020-10-20 12:24:52 should we upgrade llvm when the new stable release 'on horizon' 2020-10-20 12:38:26 lets hold off until after 3.13 2020-10-20 12:38:34 i don't want to deal with the fallout right now 2020-10-20 12:38:47 i doubt anyone else wants to either 2020-10-20 12:39:24 no please :P 2020-10-20 12:51:36 agree with you, someone should mark this MR with hold 2020-10-20 12:51:59 It's already WIP 2020-10-20 12:52:52 yes, I see, but comment would be nice to have 2020-10-20 12:53:59 Would merely adding this package cause issues? Isn't it until packages start using it that it can cause problems? 2020-10-20 12:54:48 second one, I feel 2020-10-20 13:14:05 problem is 2020-10-20 13:14:07 once its added 2020-10-20 13:14:12 people will want to use it :)) 2020-10-20 13:17:48 Well, they are free to use it if they fix any issues with it :P 2020-10-20 13:18:37 I did notice it declares it's the default llvm package 2020-10-20 13:18:50 so it does add the provides part 2020-10-20 13:19:15 We could set that to no initially 2020-10-20 13:45:43 i have spent all day on cleaning up a zillion secfixes comments https://gitlab.alpinelinux.org/alpine/aports/-/issues/11914 2020-10-20 13:45:58 would be nice if CI could error if secfixes comment has duplicates 2020-10-20 13:46:57 ncopa: yeah, noticed you've been busy 2020-10-20 13:47:15 sounds like something the existing secfix linting could do (if they don't already) 2020-10-20 14:03:05 i see light in the end of the tunnel... 2020-10-20 14:09:49 secfixes-check has checks for it 2020-10-20 14:26:28 maxice8: awesome! thanks! 2020-10-20 14:26:47 btw, i fixed a handful of your dedupe cve secfixes 2020-10-20 14:27:12 sometimes the original fix wasnt enough, and a floowup release/patch was added 2020-10-20 14:27:24 in those cases we should use the latest release that has the complete fix 2020-10-20 14:27:34 so people dont think they are safe when they arent 2020-10-20 14:44:52 i finally fixed all CVE dupes reported in https://gitlab.alpinelinux.org/alpine/aports/-/issues/11914. Someone owes me a beer or two 2020-10-20 15:04:23 run secfixes-check {main,community,testing}/*/APKBUILD 2020-10-20 15:04:47 and grep for 'AL59' 2020-10-20 15:04:57 that is the designation for duplicate CVE fields 2020-10-20 16:49:02 ncopa: mooping up duplicate secfixes 2020-10-20 16:49:06 3.12-stable:nomad 2020-10-20 16:49:53 only one :D 2020-10-20 20:43:54 Hi all! I came across this discussion on optional dependencies for Alpine packages (https://lists.alpinelinux.org/~alpine/devel/%3C883dca1a-b7f3-6137-059d-f561ef22c126%40cosmoborsky.com%3E) 2020-10-20 20:44:01 That kind of minimalism is what makes Alpine so attractive and useful over other distributions. 2020-10-20 20:44:15 Typically optional aspects of a package are broken into subpackages, most commonly "dev" and "doc" pagkages. So, I was curious why donesn't Apline formalize a list of subpackages that maintainers would be encouraged to break out? 2020-10-20 20:45:19 One example would be for a package to have wayland, X, framebuffer, SDL1/2, or non-GUI variants. 2020-10-20 20:45:33 Would it be possible to break those variants out as subpackages? 2020-10-20 20:46:25 Should something like that be encouraged as a standard? 2020-10-20 20:52:43 Well, the problem is that that's something that has to be done on a package-by-package basis 2020-10-20 20:53:04 it might be possible to split out the X/Wayland part for some packages but not for others 2020-10-20 20:53:23 Actually, it's probably only possible to split it out on a fraction of the packages that need it 2020-10-20 20:55:49 i'm for splitting whenever possible 2020-10-20 20:56:48 What about package variations for situations where a pure split isn't possible? 2020-10-20 20:58:10 meta or virtual pkg 2020-10-20 20:59:20 It could be a meta package. You might have parts of that meta package that aren't functional on their own though. 2020-10-20 20:59:57 And an end user might not realize that a subpackage might need to be installed with other parts of a metapackage to work. 2020-10-20 21:00:41 virtual pkg then 2020-10-20 21:01:27 I guess I don't know how virtual would differ from meta. 2020-10-20 21:02:05 I might work in a case like the XFCE example from the optional dependency discussion. 2020-10-20 21:02:07 in term practically 2020-10-20 21:02:41 Where XFCE and icons are different packages. 2020-10-20 21:02:43 Ok 2020-10-20 21:04:44 I don't know how APK treats meta different from virtual. I guess if one had a hard constraint that it would have to be bundled then it could work. 2020-10-20 21:05:34 This would be like a simplified version of USE flags from Gentoo. 2020-10-20 21:05:55 And only at the per package level. 2020-10-20 21:07:54 GUI packages are really the best use case for this. Some come with audio bindings as well, that aren't always needed. 2020-10-21 06:24:10 any volunteers to help us keep the alpine versions in osinfo-db updated? https://gitlab.com/libosinfo/osinfo-db/-/tree/master/data/os/alpinelinux.org 2020-10-21 06:27:30 if i wasn't already busy i would do it 2020-10-21 06:28:19 i was hoping for someone that isnt too busy, want to contribute with something that is not too advanced, and someone who is actually using virt-manager 2020-10-21 06:28:35 :D 2020-10-21 06:28:43 :) 2020-10-21 06:32:55 hi all, how apk is sorting releases? i have (due lazyness) in pkgrel for example r20201021.10 but apk policy shows r20201021.10 on top instead of r20201021.13, pkgver is same 2020-10-21 06:35:07 that's an usual pkgrel for sure 2020-10-21 06:56:15 but why apk think r20201021.10 is better to install and not r20201021.13 one?? 2020-10-21 06:56:41 maybe there's a bug? 2020-10-21 07:26:47 well apk in 3.12 all the time complain that apk-tools is old 2020-10-21 07:27:02 "WARNING: This apk-tools is OLD! Some packages might not function properly." 2020-10-21 07:28:56 indy: apk --version 2020-10-21 07:29:12 apk-tools 2.10.5, compiled for x86_64. 2020-10-21 07:29:31 date 2020-10-21 07:29:55 after apk upgrade 2020-10-21 07:29:58 Wed Oct 21 07:29:44 UTC 2020 2020-10-21 07:31:46 indy: seems like this error triggers if apk encounters flags in the database that it does not recognize 2020-10-21 07:33:35 which flags? 2020-10-21 07:34:10 It something part of the internal apk db format 2020-10-21 07:35:10 is there way to trace/debug/verify it? 2020-10-21 07:36:31 indy: What does ` hmm, no, it's about the index 2020-10-21 07:37:27 You don't happen to use edge repos, do you, indy? 2020-10-21 07:37:50 Cogitri, no 2020-10-21 07:37:55 Cogitri, 3.12 2020-10-21 07:38:35 ikke, ` Can you show us your /etc/apk/repositories ? 2020-10-21 07:39:28 Cogitri, after small censorship :) 2020-10-21 07:40:43 indy: Without the backticks ;-) 2020-10-21 07:41:35 indy: for I in /var/cache/apk/*.tar.gz; do tar xzf APKINDEX.066df28d.tar.gz -O APKINDEX | cut -d: -f1; done | sort -u 2020-10-21 07:41:46 This is for checking the flags in the index files 2020-10-21 07:42:58 Cogitri, ikke https://paste.debian.net/1168065/ 2020-10-21 07:43:23 Ok, so this might be an incompattibility issue with artifactory 2020-10-21 07:44:44 https://paste.debian.net/1168066/ 2020-10-21 07:46:29 ikke, on customer's jfrog artifactory it says it should support apk since 3.10.3 2020-10-21 07:46:53 so since alpine 3.10 2020-10-21 07:47:02 maybe 3.9 2020-10-21 07:53:21 ikke, which kind of incompatibility? 2020-10-21 07:53:34 hmm, I cannot find the 'y' and the 'z' flags 2020-10-21 07:53:42 indy: the -rN is for revision number so its a single integer, not a version string with dots 2020-10-21 07:54:07 i guess apk ignores the chars after last digit, the dot in this case 2020-10-21 07:54:44 ah, yes, that's the kind of behaviour strtoi has 2020-10-21 07:55:54 also I had local package with this problem, fixed by removing and creating new and correct -rN 2020-10-21 07:56:25 when I started to 'play' with alpine :) 2020-10-21 07:57:03 ncopa, yes - https://paste.debian.net/1168068/ 2020-10-21 07:58:01 ncopa: Am I correct in my conclusion that apk does not know the 'y' and 'z' flags in the index? 2020-10-21 08:04:25 ncopa, from discussion above to me it seems apk bug, at least apt/dpkg has no problems with such strings (1.2.3-20201019.13~buster1 updates 1.2.3-20201019.10~buster1) 2020-10-21 08:04:43 indy: apk has it's own version requirements 2020-10-21 08:05:05 what works / is allowed for apt/dpkg is not necessary valid for apk 2020-10-21 08:10:00 Maybe it would make sense make a MR to apk so that this becomes an error 2020-10-21 08:14:08 i think we dont error so it is legal to add a descriptive string that gets ignored 2020-10-21 08:14:18 -r2git 2020-10-21 08:14:22 or whatever 2020-10-21 08:15:14 -r2d2 :) 2020-10-21 08:15:32 ikke, i agree, according to APKBUILD_Reference what should work is put pipeline build name to version (1.2.3_20201021.10) and pkgrel keep all the time 0 2020-10-21 08:15:46 as workaround 2020-10-21 08:16:26 no _ 2020-10-21 08:17:05 there must be -rN 2020-10-21 08:17:12 mps: as the pkgver 2020-10-21 08:17:27 yes 2020-10-21 08:17:34 -r is not allowed in pkgver 2020-10-21 08:17:40 how about 1.2.3.20201021-r10 ? 2020-10-21 08:17:46 but must end with -rN 2020-10-21 08:18:12 -rN is defined by pkgrel= 2020-10-21 08:18:20 i can keep r alway zero 2020-10-21 08:18:38 If it's a new source release, it makes sense to have it part of pkgver, not pgkrel 2020-10-21 08:19:00 pkgrel basically means the source remained the same (same upstream version), but the package was rebuilt for one reason or the other 2020-10-21 08:20:38 ikke, that's why i've put pipeline build name (like 20201019.10) to pkgrel because build are triggerred manually or automatically even code was not changed 2020-10-21 08:20:55 ok, right 2020-10-21 08:29:28 afontain_, better workaround is 1.2.3.20201019.19-r0 if i have to take build name from pkgrel 2020-10-21 08:30:05 yeah 2020-10-21 08:30:25 I thought it was something similar to a git commit date 2020-10-21 08:34:50 uh, I see that I forgot enable ell on s390x and mips64, sorry and thanks ncopa 2020-10-21 08:35:48 mps: i think they were disabled due to a test failure. i disabled the test because bluez failed, and disabling bluez would lead to disabling lots other stuff 2020-10-21 08:35:55 was simpler to just disable the failing test. 2020-10-21 08:36:21 yes, I thought about disabling failed tests only 2020-10-21 08:36:42 or ask tmhoang to upgrade kernel on s390x builder 2020-10-21 08:37:26 it passed on s390x CI 2020-10-21 08:40:06 bluez failed dut to missing ell dependency 2020-10-21 08:40:51 I wonder anyone use bluez on s390x? 2020-10-21 08:41:05 but I don't know 2020-10-21 08:41:35 other packages depend on bluez 2020-10-21 08:41:37 asterisk 2020-10-21 08:41:56 ah, now understand 2020-10-21 08:42:00 i don think anyone uses bluez on s390x, but id rather have a failing test that disable all the packages 2020-10-21 08:42:20 or add conditional bluez support in those packages 2020-10-21 08:43:12 I think it will pass all tests on never kernels, but not 100% sure 2020-10-21 08:45:38 it was bluez that failed on kernel config on the dev machine. but it coudl be as easy as reboot the machine so the kernel module gets loaded 2020-10-21 08:45:45 not ell 2020-10-21 08:46:18 i pushed bluez anyway, since i think the tests would pass on the build machines 2020-10-21 08:46:42 ell test suite fails on mips64 and s390x does not have anything to do with kernel config 2020-10-21 08:49:19 hmm, iirc it passed CI 2020-10-21 08:50:15 What I do on my personal systems after a kernel upgrade is just extract the old kernel modules, and remove them after reboot 2020-10-21 08:54:39 another issue i have is -dev package dependencies - in all packages i have only -dev and -dbg subpackages. when building another package (let's say zzz) that is depending on such i put to makedepends let's say yyy-dev, but abuild -r for zzz installs yyy-dev but not yyy itself 2020-10-21 08:55:18 yyy-dev shoud automatically depend on yyy 2020-10-21 09:03:28 i see it in abuild output, but apk install zzz-dev installs boost-dev which i have in depends_dev and yyy-dev, but not yyy and zzz 2020-10-21 09:03:47 is that related to problem with pkgrel? 2020-10-21 09:03:52 no 2020-10-21 09:04:29 there is no automaic depends of zzz from zzz-dev 2020-10-21 09:05:09 it normally happens in practice because there is normally a libzzz.so symlink -> libzzz.so.0 in the -dev 2020-10-21 09:05:22 right 2020-10-21 09:05:29 and abuild will detect that and pull in zzz as depends due to the symlink 2020-10-21 09:06:25 but if there are no real need for zzz it should not be pulled in 2020-10-21 09:08:39 ncopa, in this case it is because one can't link to some library if that library isn't present 2020-10-21 09:10:44 ncopa, result is zzz-dev package brought all xxx-dev yyy-dev packages, so i have in /usr/lib 3 'dead links' 2020-10-21 09:18:49 im not following 2020-10-21 09:18:54 ncopa, because packages xxx, yyy, zzz were not installed 2020-10-21 09:19:27 zzz-dev will normally pull in zzz as dep due to the symlink as i explained 2020-10-21 09:20:08 xxx-dev should pull in xxx simliar way and yyy-dev should pull in yyy 2020-10-21 09:20:30 if zzz-dev has depends_dev="xxx-dev yyy-dev" then all should be pulled in 2020-10-21 09:20:39 !tracepeds in APKBUILD? 2020-10-21 09:21:42 if zzz-dev has a symlink pointing to a file in zzz and zzz is not pulled in as a dep, then there is a bug somewhere 2020-10-21 09:22:34 im gonna tag 3.12.1 now 2020-10-21 09:22:40 \o/ 2020-10-21 09:24:40 ncopa, it should and i just verified in abuild log from particular build: https://paste.debian.net/1168073/ 2020-10-21 09:29:38 it depends on zzz=5.6.7-r20201015.2 2020-10-21 09:29:50 what does apk info -R zzz-dev say? 2020-10-21 09:30:11 the -r20201015.2 looks wrong 2020-10-21 09:30:49 what does the 20201015.2 mean? 2020-10-21 09:31:13 https://paste.debian.net/1168074/ 2020-10-21 09:31:18 debian 2020-10-21 09:31:49 the -rN is meant to be the revision of the APKBUILD itself. so if for example the package splitting is done differently, or install locations etc 2020-10-21 09:32:00 -rN is not to be used as upstream version number 2020-10-21 09:32:15 ncopa, it is build name from azure pipeline 2020-10-21 09:34:06 does source change when buildname change? 2020-10-21 09:34:13 no 2020-10-21 09:35:04 so building apk package 5.6.7-rX gives same build output as 5.6.7-rY 2020-10-21 09:35:56 do you repackage precompiled binaries? 2020-10-21 09:36:04 no 2020-10-21 09:36:16 from source, but that is not changed 2020-10-21 09:36:35 so its basically same apk build, regardles of the -rN here 2020-10-21 09:37:10 if that is the case, I'd recommend to simply drop the -rN part and go for 5.6.7-r0 2020-10-21 09:37:42 ncopa: I guess they are publishing the apk to artifactory, so I think it should have a unique name / version 2020-10-21 09:38:17 i can't because in jfrog artifactory policy is to not overwrite 2020-10-21 09:38:37 i can upload but not remove/rename/rewrite 2020-10-21 09:39:00 so you build a new identical package with new version string 2020-10-21 09:40:05 how about use -rYYYYMMDDNN where NN is a serial number 2020-10-21 09:40:22 I guess that's their format, but with a . in between 2020-10-21 09:40:23 eg, simply drop the dot in there 2020-10-21 09:40:27 :) 2020-10-21 09:40:47 that what i'm thinking about 2020-10-21 09:41:19 i find it weird that the build log says that zzz is pulled in as dep, but apk info -R says that it wasnt 2020-10-21 09:41:57 can you have a look in pkg/zzz-dev/.PKGINFO and see if it was added 2020-10-21 09:42:01 i thikn it was 2020-10-21 09:42:19 but apk is probably ignoring it due to the weird version string 2020-10-21 09:42:25 i think it is due dot in pkgrel 2020-10-21 09:42:42 apk version -c rejects it as a valid version 2020-10-21 09:43:00 although, I guess it does not want -r anyway 2020-10-21 09:43:19 oh, it does 2020-10-21 09:43:27 -r1 is accepted, -r1.1 is rejected 2020-10-21 09:44:10 i would suggest abuild will fail or at least warn if such pkgrel is used 2020-10-21 09:44:16 ok, we should have abuild fail 2020-10-21 09:44:20 yes 2020-10-21 09:44:46 indy: can you please file an issue on https://gitlab.alpinelinux.org/alpine/abuild 2020-10-21 09:48:29 https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10011 2020-10-21 09:54:25 ncopa, added pastebin as they expire tomorrow 2020-10-21 09:55:17 thanks 👍 2020-10-21 10:36:44 ncopa: https://gitlab.alpinelinux.org/alpine/infra/alpine-mksite/-/merge_requests/13 2020-10-21 10:37:31 thanks! 2020-10-21 10:37:59 thanks! :) 2020-10-21 10:39:31 14, 17 and 15 are duplicates of that one, but 16 still applies: https://gitlab.alpinelinux.org/alpine/infra/alpine-mksite/-/merge_requests/16/ 2020-10-21 10:40:30 (I think, not my MR) 2020-10-21 12:40:02 So I ran $APORTS_DIR/scripts/bootstrap.sh aarch64 to set up an aarch64 chroot for cross-compilation, but how do I actually use this chroot to cross-compile packages from x86_64 to aarch64? 2020-10-21 13:57:52 So I'm trying to make Minetest use OpenGL ES on arm* and aarch64, but it seems that requires Irrlicht to be built with OpenGL ES support, and (not so) conveniently it seems this requires you to build Irrlicht from a separate OpenGL ES branch. This branch is 552 commits ahead of master (and 2710 commits behind). How would you suggest this to be handled? 2020-10-21 14:01:13 Check if you can merge that branch into master without conflict 2020-10-21 14:01:15 (probably not) 2020-10-21 14:01:35 Place your bets 2020-10-21 14:01:44 Then you need to resolve the conflicts and decide on if it's worth the effort or not 2020-10-21 14:01:54 maybe latest OpenGL ES works fine, assuming you don't use that already. 2020-10-21 14:02:28 The issue is that I'm trying to update the Minetest package in Alpine's repos 2020-10-21 14:02:38 So I don't think anything will float 2020-10-21 14:03:25 okay, that's a lot of merge conflicts 2020-10-21 14:10:25 Develop some kind of strategy to deal with that 2020-10-21 14:10:28 I'm busy 2020-10-21 14:10:30 :P 2020-10-21 14:10:46 No worries 2020-10-21 15:55:57 [07:57:51] So I'm trying to make Minetest use OpenGL ES on arm* and aarch64, but it seems that requires Irrlicht to be built with OpenGL ES support, and (not so) conveniently it seems this requires you to build Irrlicht from a separate OpenGL ES branch. This branch is 552 commits ahead of master (and 2710 commits behind). How would you suggest this to be handled? 2020-10-21 15:56:05 separate package and use provides to hook everything up 2020-10-21 15:56:07 :) 2020-10-21 15:56:51 however 2020-10-21 15:57:25 opengl is highly unpleasant situation on ARM, because desktops on ARM still use traditional opengl 2020-10-21 15:57:52 embedded however is opengles ;/ 2020-10-21 16:01:55 sounds like a reasonable idea. definitely an unpleasant situation though … 2020-10-21 16:19:41 the /etc/profile.d/locale -> /etc/profile.d/locale.sh in 3.12-stable scares me: https://github.com/docker-library/official-images/pull/8927#issuecomment-713465346 2020-10-21 16:20:31 people rebuliding their docker images will now have different env vars set in their container apps 2020-10-21 16:21:22 oh, it was changed between 3.12.0 and 3.12.1? 2020-10-21 16:21:38 yup, that is what scares me 2020-10-21 16:21:55 a5e6bb7ba5d7bf0f099b2fe4c12a8d935514c409 and c3ce4065bd8a69d20ad392d4cf006ed652c3f1a7 2020-10-21 16:24:41 hopefully everything will be ok, but you never know what garbage people run in their containers 2020-10-21 16:34:02 dalias: any progress on these MT-fork improvements? 2020-10-21 18:58:24 ariadne, yes, i just need to get some time to clean up and review things. sorry i got bogged down in the other abort lock concerns right after the last update on it 2020-10-21 18:58:59 i think i possibly do want to pursue the signal wrapping thing that fixes exec, but it's a bigger project than i'd do in this release cycle 2020-10-21 21:36:35 dalias: well i am just asking because i am having to restart X 15 times a day due to KWin deadlocking 2020-10-21 21:36:50 which is a new innovation with musl 1.2.1 2020-10-21 21:36:53 (: 2020-10-21 21:36:55 :/ 2020-10-21 21:37:41 let me see if i can take care of it in the next day or two. working on paid stuff right now with meetings coming up in the next few hours 2020-10-22 08:39:06 All builders are currently blocked.. 2020-10-22 08:39:17 All seem to be related to KDE 2020-10-22 09:08:17 xorg-server, multiple vulnerabilities 2020-10-22 09:16:48 !13852 2020-10-22 09:19:19 systemsettings seem to be having a fit 2020-10-22 09:19:43 locally with busybox tar and GNU tar, for both me and PureTryOut, it seems to extract normally, but fails on CI and the builders 2020-10-22 09:20:13 I can take a look later 2020-10-22 09:20:44 I'm "fixing" the ones in mips* and s390x 2020-10-22 09:20:59 There is Plasma 5.20.1 already, I'll get that going 2020-10-22 09:21:37 ikke: That is fast 2020-10-22 09:21:45 how did you fix systemsettings ? 2020-10-22 09:21:56 nevermind 2020-10-22 09:36:41 xorg-server to community move revealed 4 packages fail with gcc-10 2020-10-22 10:50:27 strange, when I manually run tar on the archive, it works, but abuild unpack fails 2020-10-22 10:53:05 ok, it first does unxz -c on the archive and pipes that to tar 2020-10-22 10:53:36 maxice8: The extension is wrong 2020-10-22 10:53:50 the extension is .xz, but it's a gzip compressed archive 2020-10-22 10:55:02 nice 2020-10-22 10:55:18 what was reason to move xorg to community 2020-10-22 10:55:42 maxice8: quick fix is to override the local filename 2020-10-22 10:55:44 move all gui tools also? 2020-10-22 10:56:25 maxice8: found it by running abuild -v unpack 2020-10-22 10:59:06 What I do wonder is why this was pushed, is it seems to fail even locally 2020-10-22 11:07:04 maxice8: even with that fix, it does not seem to build 2020-10-22 11:07:34 looking into it 2020-10-22 11:07:36 libkworkspace is not up-to-date, probably the issue 2020-10-22 11:07:47 ie, it needs to be built before this one (when testing) 2020-10-22 11:08:23 https://tpaste.us/oPQR 2020-10-22 11:09:47 should we file an upstream issue? 2020-10-22 11:12:45 yes 2020-10-22 11:13:02 I guess at bugs.kde.org? 2020-10-22 11:13:22 PureTryOut[m]2: can you arrange that? 2020-10-22 13:51:20 Sorry, what issue? 2020-10-22 13:51:30 Also it might already be fixed in 5.20.1, let's see that CI complete first 2020-10-22 13:51:39 !13853 2020-10-22 13:54:32 PureTryOut[m]2: the archive for that version has the xz extension, but is actually gz 2020-10-22 13:56:24 Ah well no need to file an isuse, 5.21.1.1 is already out for systemsettings 2020-10-22 13:56:38 And that does use an XZ compression 2020-10-22 13:56:43 ok 2020-10-22 13:56:47 Not sure what happened with 5.20.101 🤷‍♂️ 2020-10-22 13:56:50 *5.20.0.1 2020-10-22 14:05:13 made !13862 !13863 !13864 2020-10-22 14:05:24 should fix all xorg-servers 2020-10-22 14:06:10 maxice8: nice 2020-10-22 14:08:42 I see that you moved xorg to community (and I think this good) but what are reasons 2020-10-22 14:09:18 so, all gtk and gui things must be moved from main? 2020-10-22 14:12:32 I made an MR to guage interest in reducing maintanance burden by moving xorg-server to community 2020-10-22 14:13:13 good move, I support it 2020-10-22 14:14:17 now we have to check what else must be moved 2020-10-22 14:29:56 there is adep check 2020-10-22 14:30:36 ah, I use 'ap revdep' 2020-10-22 14:37:51 also works 2020-10-22 14:38:03 adep check just does tha checks you do manually 2020-10-22 14:38:45 http://ix.io/2BD2 2020-10-22 14:50:08 it is not perfect 2020-10-22 14:50:17 it can't handle dependencies in subpackages 2020-10-22 14:55:17 it seems that alsa + pulseaudio is currently broken in edge. I'm testing if rebuilding pulseaudio against today's alsa update fixes it 2020-10-22 14:55:53 ap revdep detected that gvim (subpkg of vim) depends on libx11-dev 2020-10-22 14:57:04 regarding alsa, downstream bug report: https://gitlab.com/postmarketOS/pmaports/-/issues/833 2020-10-22 14:59:49 mps: that's not xorg-server though, is it? 2020-10-22 15:06:00 Hello71: no it is not, but keep libx11 after xorg is moved to community doesn't make sense, imo 2020-10-22 15:06:14 keep in main* 2020-10-22 15:06:18 x forwarding is a thing 2020-10-22 15:06:49 or xwayland (although that is part of xorg-server) 2020-10-22 15:52:52 !13853 is ready and will unblock the x86_64, x86, armv7 and aarch64 builders 2020-10-22 16:10:31 am handling groceries, if someone else could merge 2020-10-22 16:11:00 checking 2020-10-22 16:26:50 I've figured out the alsa breakage in edge and I'm preparing a patch: https://gitlab.alpinelinux.org/alpine/aports/-/issues/12041 2020-10-22 16:27:26 ah ok, gjabell ^ 2020-10-22 16:27:54 sweet, thanks :) 2020-10-22 16:28:10 glad it's not just me being dumb haha 2020-10-22 16:53:17 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/13870 2020-10-22 17:00:48 build passed. would be great if somebody could take a look at this and merge it if it's fine. 2020-10-22 17:25:21 ollieparanoid[m]: alsa works fine here on edge 2020-10-22 17:28:17 maxice8: mgmr keeps saying the MR is rebasing, even though the interface says it's already done 2020-10-22 17:28:36 >>> 13853 is currently rebasing, waiting 4 seconds to check if it still rebasing 2020-10-22 17:28:51 (first time I try to use it) 2020-10-22 17:37:12 weird 2020-10-22 17:59:15 mps: it's defintively broken when using plugins like pulseaudio, and it's obvious when looking at the current fix-dlo.patch, it just returns in that function without setting the plugin path 2020-10-22 18:59:20 Ugh polkit being disabled on s390x because of missing Rust means I have to add `!s390x` to a ton of packages 😢 2020-10-22 19:19:48 what's the nick of https://gitlab.alpinelinux.org/fabled in this room? 2020-10-22 19:21:08 ikke: disabled the failing packages on s390x, they all dependent in one way or another on polkit which is blocked on s390x 2020-10-22 19:21:14 *they all depended 2020-10-22 19:21:26 !13853 should be good to go 2020-10-22 19:21:46 oh, seems like he just left this room :( 2020-10-22 19:21:48 insep_: Timo's fabled on IRC too but he's not always on 2020-10-22 19:22:13 i'll leave the link in issue then 2020-10-22 19:22:28 gotta use that gitlab account at least for something :D 2020-10-22 19:28:20 alsa upstream is fast, the bug is fixed properly in alsa-lib. I've updated my patch to use the upstream patch: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/13870 2020-10-22 19:29:00 nice! 2020-10-22 19:29:00 thanks, Leo! 2020-10-22 19:29:08 maxice8: how are you that fast, tell me more about your power 2020-10-22 19:29:24 Notifications 2020-10-22 19:29:30 Probably has a big button he can just smash when he sees a notification 2020-10-22 19:29:48 gitlab notifications? 2020-10-22 19:30:16 yes 2020-10-22 19:30:17 chat probably 2020-10-22 19:30:23 Oh 2020-10-22 19:30:38 cool 2020-10-22 19:30:40 they appear on my email which notifies me in GNOME 2020-10-22 19:31:13 > gnome 2020-10-22 19:31:26 yes 2020-10-22 19:31:31 > not KDE Plasma 2020-10-22 19:31:45 can't even start that thing on Wayland 2020-10-22 19:32:14 KDE Plasma? Works fine on Wayland 2020-10-22 19:32:16 > not fbcon 2020-10-22 19:32:47 4u 2020-10-22 19:33:06 How does it not launch for you? Can you make an issue for it? 2020-10-22 19:33:14 aaaaaaaa i don't remember what u in sed do 2020-10-22 19:33:46 PureTryOut: I can try get a log later 2020-10-22 19:53:22 Thanks 2020-10-22 19:54:38 PureTryOut[m]2: fwiw your nick is different 2020-10-22 20:00:41 I know 2020-10-22 20:00:57 Using a different Matrix acc atm, my homeserver is shitting itself constantly currently so am using matrix.org on the side now 2020-10-22 20:13:27 Oh okie 2020-10-22 20:26:45 merged plasma upgrade, thanks PureTryOut 2020-10-22 20:26:59 ACTION hopes it helps 2020-10-22 20:27:09 No thank you! 😃 Can't wait to run Plasma 5.20 myself on all my PC's 2020-10-23 04:47:35 oh, nice, someone found the linking issue with ppc64le 2020-10-23 07:06:42 the 128-bit thing? 2020-10-23 07:09:00 yes 2020-10-23 07:09:04 https://gitlab.alpinelinux.org/alpine/aports/-/issues/12045 2020-10-23 07:24:13 Nice! 2020-10-23 07:37:43 anyways, pma!1590 is ready 2020-10-23 07:50:42 I don't think that's what you meant :P 2020-10-23 10:05:13 abc!1234 2020-10-23 10:05:22 oh fun 2020-10-23 10:05:35 i can put anything i want before ! 2020-10-23 10:25:15 Interesting docker issue (another user ran into it before as well): binaries that come with capabilities refuse to run by default in docker 2020-10-23 10:35:46 Well yes, just the pmOS bot uses something before the ! to specify a repo 2020-10-23 10:39:35 maybe we can discuss fusion alpine and pmOS :) 2020-10-23 10:40:24 Well the goal is to have no need for that lol. We upstream everything we can and that makes sense 2020-10-23 10:41:07 if everything is upstream what is diff between then 2020-10-23 10:41:11 Eventually we just want device specific stuff in postmarketOS, everything else (for example not-yet-ready Plasma Mobile applications or other tools) should eventually move to Alpine 2020-10-23 10:41:40 Well lots of devices use downstream kernels, Alpine probably doesn't want to package all of those so they stay in pmOS, same with the device packages 2020-10-23 10:42:37 heh, about a week I'm contemplating to make linux-edge-n900, linux-edge-rpizw .... 2020-10-23 10:42:52 n900 doesn't need it's own kernel really 2020-10-23 10:42:56 Runs quite well on mainline 2020-10-23 10:42:57 mps: no i don't want to switch to irc, i still like my replies :( 2020-10-23 10:43:41 PureTryOut[m]2: linux-edge is mainline 2020-10-23 10:43:43 also we still use our custom mkinitfs, but you already know this by now ^^ 2020-10-23 10:44:11 insep_: yes 2020-10-23 10:50:22 !13852 2020-10-23 10:52:05 YAY or NAY for replacing GNUTLS with OpenSSL on rsyslog !13883 2020-10-23 10:52:33 'yes' counts? 2020-10-23 10:54:08 anything that roundabout converts to an affirmative counts 2020-10-23 10:55:14 few days ago I read somewhere that next main openssl release will have more relaxed license 2020-10-23 11:21:16 maxice8: we can't until openssl 3 happens. present openssl license remains gpl incompatible without an exception present. 2020-10-23 11:30:00 doesn't that mean that any linking of openssl in GPL projects is verboten ? 2020-10-23 11:33:15 Except if that project adds and exception 2020-10-23 11:34:42 Someone will have to check the 208 instances of GPL-* in license= and openssl-dev present 2020-10-23 11:49:45 #12046 2020-10-23 11:51:55 :D 2020-10-23 11:52:03 SPDX has no generic GPL-Linking-Exception 2020-10-23 11:52:08 we used to check for this stuff 2020-10-23 11:52:26 in practice, i don't think it matters that much. but legally... it is an invalid combination 2020-10-23 11:52:29 they do have GPL-3.0-linking-exception with {name_of_library} 2020-10-23 11:52:48 can we use a GPL-linking-exception for {L,}GPL-2.0* in the meantime ? 2020-10-23 11:52:56 GPLv3 could link against openssl as it is considered a 'system library' 2020-10-23 11:53:00 the only problem is with GPLv2 2020-10-23 11:53:50 and, that seems fine to me. i don't know much about SPDX. 2020-10-23 11:56:14 SPDX is just a repository of "definitive" names for licenses 2020-10-23 11:56:37 just an attempt at normalization instead of having apache_2_0 (seen this in Perl) apache-2.0, apache-2 Apache-2.0 2020-10-23 11:56:53 people following SPDX will just write Apache-2.0 2020-10-23 12:00:24 ohio, i fixed the latest v of ejabberd to build under erlan23, see my patch here: https://tpaste.us/1Jn0 - i would be obliged if anyone would apply this 2020-10-23 12:00:37 erlang23 even. 2020-10-23 12:01:27 Ikke spooked me 2020-10-23 12:01:36 lol 2020-10-23 12:02:18 "I don't remember checking git" 2020-10-23 12:02:21 "it disappeared!" 2020-10-23 12:03:33 also please add 2020-10-23 12:03:44 'WITH OpenSSL-Exception' to license= if you find the exceptions 2020-10-23 12:04:26 @Ariadne how much would an apkbuild-lint check for 'openssl-dev' in makedepends and GPL* in license= help ? 2020-10-23 12:04:36 it would miss cases where it is not linked 2020-10-23 12:15:53 i wait i thought you can link gpl program against whatever you want and nobody would care 2020-10-23 12:22:40 LGPL does that, not GPL 2020-10-23 12:22:52 GPL infects programs upon linking, LGPL doesn't 2020-10-23 12:23:23 love the use of the word "infect" there 2020-10-23 12:23:41 MPL 2.0 for life :p 2020-10-23 12:23:46 libwebsockets is now MIT! :D 2020-10-23 12:25:05 Well, I use GPL for my applications and GPL for libraries, so that works 2020-10-23 12:25:29 Realistically licenses are mostly a statement of intent and not something that's really being enforced (unfortunately!) 2020-10-23 12:28:06 debian now considers openssl part of the system: https://salsa.debian.org/ftp-team/website/-/commit/c804b2d2d0ff28ce50bbeaecaec6db05a58949b8 2020-10-23 12:29:13 I avoid GPL whenever possible, it is just annoying and the language is highly ideological for what should have been a software license 2020-10-23 12:30:42 but that being said, I own a few GPL codebases and I don't have any reason to change the license on those 2020-10-23 12:32:26 GPL is bad for those with selfish interest, imo 2020-10-23 12:34:52 isn't that a good thing? 2020-10-23 12:35:25 afontain_: I think yes 2020-10-23 12:35:28 it depends, my personal intent sometimes is to just give something away without dictating how they use it, GPL tells people how they must use it 2020-10-23 12:36:11 tehcloud: it doesn't tell users of software anything :) 2020-10-23 12:36:17 tehcloud: everyone is free to do with its software whatever want 2020-10-23 12:36:41 except use the code in a more liberally licensed codebase without the GPL overriding everything else 2020-10-23 12:38:10 actually I think idea of licenses and copyright is bad at the base, imo everything released should be fully without restrictions, but we live in a greedy world 2020-10-23 12:38:23 yes, I can agree with you 100% there 2020-10-23 12:38:51 You can always use the unlicense or something for that 2020-10-23 12:38:54 or Public-Domain 2020-10-23 12:39:13 MPL 2.0 is what I found to be the best balance 2020-10-23 12:39:28 it does not infect the rest of a codebase but still has copyleft protections 2020-10-23 12:39:44 in our world PD is not considered license 2020-10-23 12:39:52 and without the ideological language of the LGPL 2020-10-23 12:40:31 simple is 'software is free' should apply to all software 2020-10-23 12:44:14 and fighting greedy selfish world without ideology is not possible, imo. So I understand RMS and FSF 2020-10-23 12:45:47 almost done with the checking 2020-10-23 12:45:52 it does not look good 2020-10-23 13:00:42 maxice8: I think LGPL should be fine 2020-10-23 13:01:26 Let's document all of them just to be sure 2020-10-23 13:01:42 understood 2020-10-23 13:01:45 So I 2020-10-23 13:01:51 Oops 2020-10-23 13:09:50 So I'm thinking of adding multiarch support for Alpine since musl now supports it. However, there's a limitation. For it to work, it needs to have separated include/ and lib/. A good way for doing this is the Debian way, which is /usr/lib(or include)/$(binarch). However, this would potentially mean modifying every APKBUILD that uses these directories. 2020-10-23 13:10:29 is separate include really needed ? 2020-10-23 13:10:41 An alternative would be to leave the include dir of the base arch to include/ and make the other archs a subdirectory, but idk how that would work 2020-10-23 13:10:47 maxice8: yes 2020-10-23 13:10:52 Source: 2020-10-23 13:11:01 Didn't Exherbo have a really nice multiarch arch @Cogitri ? 2020-10-23 13:11:11 https://wiki.musl-libc.org/guidelines-for-distributions.html 2020-10-23 13:11:15 >musl does support full multiarch with separate include and lib paths for each separate arch/ABI in the same filesystem, similar but not exactly the same as what Debian does. (Debian shares top-level include just not sys and bits; for musl this may unofficially work but it’s not officially supported and there’s no reason to believe it’s compatible with 3rd-party libs that may install arch-dependent headers gen 2020-10-23 13:11:15 at build time into that dir.) 2020-10-23 13:11:29 maxice8: Wut 2020-10-23 13:11:31 Nice 2020-10-23 13:11:59 Then I guess I'll wait for Cogitri's response 2020-10-23 13:16:38 Exherbo did something similar to Debian: install everything to /usr/$CHOST/ and then symlink back to /usr for the actual host 2020-10-23 13:17:06 So for x86_64-alpine-linux it'd link /usr/lib -> /usr/x86_64-alpine-linux/lib 2020-10-23 13:21:33 We can technically implement it, right? 2020-10-23 13:23:16 so --prefix=/usr/$CHOST basically 2020-10-23 13:23:34 Yup 2020-10-23 13:23:54 gavodavo[m]: Yup, but that's need support from both abuild and apk 2020-10-23 13:23:58 And our tooling 2020-10-23 13:24:14 And all APKBUILDs 2020-10-23 13:24:35 since they're very simple they don't have much abstraction, so the last one is probably the most work 2020-10-23 13:24:46 Hmm, so it would be definitely a hard job 2020-10-23 13:24:54 right now most APKBUILDs just assume that cc gotta be the right compiler 2020-10-23 13:25:36 I can work on various APKBUILDs, but for the rest... 2020-10-23 13:26:13 ACTION wonders do we need multilib 2020-10-23 13:26:23 wine 2020-10-23 13:26:28 For stuff like box86, yeah 2020-10-23 13:26:30 Wine too 2020-10-23 13:26:32 ACTION wonders do we need wine :) 2020-10-23 13:26:45 We do need box86 though 2020-10-23 13:26:48 Imo 2020-10-23 13:26:53 mps: I'd love to not need wine :P 2020-10-23 13:27:10 what is box86? 2020-10-23 13:27:18 Wait a sec 2020-10-23 13:27:28 https://github.com/ptitSeb/box86 2020-10-23 13:27:56 It's the biggest reason why I care about multilib 2020-10-23 13:29:29 ah, games 2020-10-23 13:30:05 few days ago I wrote that alpine becoming gamers platform ;p 2020-10-23 13:30:37 Well, I don't daily drive Alpine (yet) 2020-10-23 13:30:52 I do use postmarketOS and contribute to it though 2020-10-23 13:33:03 did I wrote above about fusion :) 2020-10-23 13:36:55 Fusion? 2020-10-23 13:40:30 12:39 ............. mps| maybe we can discuss fusion alpine and pmOS :) 2020-10-23 13:46:18 Ah, I didn't join before that lol 2020-10-23 13:46:41 Yeah, some upstreaming from pmOS would be awesome 2020-10-23 14:36:29 ncopa: https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/60 https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/69 2020-10-23 14:37:05 License adjustments can be tricky though 2020-10-23 14:38:36 yes 2020-10-23 14:39:01 You'd need agreement for everyone who contributed to the repo 2020-10-23 14:40:59 even people that never touched with anything that interacts with openssl ? 2020-10-23 14:41:46 afaik, yes. it affects the entire proejct, but IANAL :) 2020-10-23 14:42:25 very unfortunate 2020-10-23 14:42:49 problem is satisfying: 1. GPL cannot be combined with openssl; 2. whole project must be under same license; 3. each contributor must agree to change license on their part 2020-10-23 14:42:50 But do we even have copyright over libfetch? 2020-10-23 14:43:18 the point 2 depends on which license you pick. copyleft licenses frequently require it 2020-10-23 14:43:28 otherwise point 1 wouldn't be a problem either 2020-10-23 14:46:44 apk info -W can't tell the owner of a directory 2020-10-23 14:51:10 isn't the point of a directory that it can contain multiple files potentially owned by different packages 2020-10-23 14:53:12 yes 2020-10-23 14:53:26 otherwise / could only be owned by one package 2020-10-23 15:40:23 Anyone, if they're interested to help in the multiarch stuff please lemme know. 2020-10-23 17:24:57 Hmm, pulseaudio is interesting license wise 2020-10-23 17:25:27 It seems in many cases the server side is effectively GPL, not LGPL 2020-10-23 19:18:55 https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/24 2020-10-23 19:19:48 the code looks great ^ 2020-10-23 20:41:07 youtube-dl and dlc got dmca'd 2020-10-23 20:41:37 https://github.com/github/dmca/blob/master/2020/10/2020-10-23-RIAA.md , how does this affects us beside the obvious we have no sources and thus can't build it anymore ? 2020-10-23 20:41:38 yeah 2020-10-23 20:41:49 mentioned earlier in #a-ot 2020-10-23 20:42:10 We do still have the source 2020-10-23 20:42:33 i see 2020-10-23 20:42:57 http://distfiles.alpinelinux.org/distfiles/youtube-dl-2020.09.20.tar.gz 2020-10-23 20:43:09 so, for now we can still build it 2020-10-23 20:43:42 I guess we'll have to see what will happen in the future 2020-10-23 21:00:54 ehm, is git.a.o having issues? 2020-10-23 21:01:32 apparently 2020-10-23 21:02:38 But also just 2020-10-23 21:06:48 load is very high 2020-10-23 21:28:04 detha: it's back 2020-10-23 21:29:10 ikke: thanks for investigating (and fixing) 2020-10-23 21:29:35 detha: I did not fix anything :P 2020-10-23 21:29:53 Just noticed the host provider detected issues and I guess they restarted the host 2020-10-23 21:30:25 Though, if they didn't, I would have restarted the machine :) 2020-10-23 21:30:42 ah, ok. It was just sitting there, looking at me, so I wondered if it was me or something else 2020-10-23 21:31:10 Well, you reported it right before our own monitoring did :) 2020-10-23 22:16:01 where can I find the source code of pkgs.alpinelinux.org/ ? 2020-10-23 22:20:18 aparcar[m]: https://gitlab.alpinelinux.org/alpine/infra/aports-turbo 2020-10-23 22:20:42 ikke: thanks for the quick response! 2020-10-23 22:21:11 :_ 2020-10-23 22:21:16 :) 2020-10-23 22:21:24 ikke: do you know the developers working on that code? I'm somewhat intrigued to build something similar for OpenWrt 2020-10-23 22:21:36 clandmeter mostly 2020-10-23 22:22:09 clandmeter: hello 2020-10-23 22:22:17 He's kind of busy lately 2020-10-23 22:22:24 who isn't... 2020-10-23 22:22:38 okay thanks I'll open an issue in the repo asking if I can reuse some of the code 2020-10-24 00:19:47 oh yeah openwrt is looking at app 2020-10-24 00:19:50 apk 2020-10-24 00:19:56 i keep forgetting about that 2020-10-24 00:35:03 sorear, i checked path_open and it doesn't mishandle empty components 2020-10-24 00:35:33 the first strspn skips all consecutive separators so that the strcspn can't return 0 except on end-of-string 2020-10-24 00:35:41 oops wrong chan 2020-10-24 04:38:54 Ariadne: currently only two of ~30 main devs are looking at apk but I'm confident ;) 2020-10-24 09:57:12 Hello everyone 2020-10-24 09:58:03 I wonder why I can't use the command wrmsr after loading msr kernel module like I do in Ubuntu 2020-10-24 09:58:45 I'll be thankful if someone could give more information why I couldn't 2020-10-24 10:01:26 np57: probably because there is no such command in alpine 2020-10-24 10:03:09 np57: loading a kernel modules does not make commands available 2020-10-24 10:03:23 it just makes the kernel support more things 2020-10-24 10:03:29 I'm newbie, thanks for the info 2020-10-24 10:03:42 I found that these commands related to a package called msr-tools 2020-10-24 10:05:08 yes, and this is not packaged in alpine, afaik 2020-10-24 10:05:14 cannot find it 2020-10-24 10:05:18 so someone would need to package it 2020-10-24 10:05:38 There is no package that has wsmsr 2020-10-24 10:05:55 I thought about it few months ago but not sure is it much useful for general 'users' 2020-10-24 10:06:10 Yes, not in the repository 2020-10-24 10:06:15 https://github.com/intel/msr-tools 2020-10-24 10:06:44 it is useful for those who works with kernel 2020-10-24 10:07:30 np57: yes I know what is it and where it is, but again not sure if we should package it for alpine 2020-10-24 10:07:38 ikke: what you think? 2020-10-24 10:08:00 I have no idea 2020-10-24 10:08:34 hmm, maybe we can because I looked at void and arch, they have it 2020-10-24 10:09:02 anyway, we already have a lot of pkgs, one more is not big problem 2020-10-24 10:09:18 Yayy! 2020-10-24 10:09:40 at the end it is simple pkg 2020-10-24 10:09:43 yeah 2020-10-24 10:10:09 Because after like 7 hours I figured out how to make lbu work and how to use alpine in diskless mode properly 2020-10-24 10:10:14 now this is the only missing thing 2020-10-24 10:10:14 ok, I will copy it from my local aports and make MR later today 2020-10-24 10:10:25 nice 2020-10-24 10:11:02 Thanks in advance guys. 2020-10-24 10:11:15 I really appreciate your efforts 2020-10-24 10:11:46 np57: np :) 2020-10-24 10:12:06 ikke and I live to make world happy :) 2020-10-24 10:12:20 mps: reviewed lxcfs 2020-10-24 10:12:29 maxice8: and? 2020-10-24 10:12:37 you forgot to reset pkgrel when upgrading 2020-10-24 10:12:44 uh 2020-10-24 10:13:02 actually lxd 2020-10-24 10:13:11 lxcfs is fine, actually merging it atm 2020-10-24 10:13:21 mps: don't make MR before morning coffer 2020-10-24 10:13:36 or use my githooks which check for that by looking at git diffs 2020-10-24 10:13:52 it will complain if you change pkgver and doesn't reset pkgrel to 0 :D 2020-10-24 10:13:56 I use your githooks 2020-10-24 10:14:06 maybe I need upgrade it 2020-10-24 10:15:31 https://github.com/maxice8/meltryllis/blob/gnome/alpinelinux/pre-commit 2020-10-24 10:17:00 I use abump :P 2020-10-24 10:17:49 maxice8: thanks for reminding me 2020-10-24 10:18:39 btw, I'm not sure we need to have lxcfs anyore. afontain_ ? 2020-10-24 10:18:55 What is it used for? 2020-10-24 10:19:06 iirc, anbox 2020-10-24 10:20:40 I don't think anbox uses that? 2020-10-24 10:20:53 it doesn't 2020-10-24 10:21:42 afontain_: sorry then, I thought you insisted on keeping it. must be someone else but I can't remember who 2020-10-24 11:32:33 Should the APKBUILD or abuild do the symlinking from include/$CHOST/file to include/ 2020-10-24 11:32:41 ? 2020-10-24 11:35:19 That'd probably be done in the alpine-baselayout APKBUILD 2020-10-24 12:33:26 Cogitri: Hmm 2020-10-24 12:34:21 Btw the symlink should be for each individual file, right? 2020-10-24 12:35:17 Because if the symlink was to the directory, stuff inside include/$CHOST could easily get messy 2020-10-24 12:35:59 how so? 2020-10-24 12:39:00 ikke: Because then, another multiarch directory, for example, would get inside include/$CHOST/$CHOST-multiarch 2020-10-24 12:40:24 The symlink is for the dir 2020-10-24 12:40:37 You just set prefix to /usr/$CBUILD 2020-10-24 12:42:03 mps: do you have any armv7 machines around? 2020-10-24 12:42:22 insep_: yes 2020-10-24 12:42:41 can you try installing libogg on them? 2020-10-24 12:43:08 for me it fails with BAD signature, among with several other packages 2020-10-24 12:43:20 I can try in a docker container 2020-10-24 12:43:26 pls do 2020-10-24 12:43:49 it works without problem 2020-10-24 12:44:08 i might be because my machine crashed during running apk, but i just want to check 2020-10-24 12:44:10 welp 2020-10-24 12:44:20 seems like i have to regenerate my image :\ 2020-10-24 12:44:56 Cogitri: Wait I don't understand. Wdym by prefix? The multiarch directory? 2020-10-24 12:45:12 ./configure --prefix= 2020-10-24 12:45:12 insep_: /o\ 2020-10-24 12:45:48 any way of fiхing it without rebuilding image? :D 2020-10-24 12:46:11 apk fix? 2020-10-24 12:46:30 depends what it broken 2020-10-24 12:46:37 didn't help 2020-10-24 12:46:46 When do you get those errors? 2020-10-24 12:47:03 ikke: Oh. 2020-10-24 12:47:14 inseo_: Since the CDN uses a different server for different countries it doesn't really mean anything if it works for mps and not for you 2020-10-24 12:47:44 both when running `apk fix libogg` and `apk add` on package which pulls it 2020-10-24 12:48:03 Cogitri: i have dl-2 mirror 2020-10-24 12:48:26 So the layout would be /usr/include for base $CARCH and /usr/include-multiarch? 2020-10-24 12:48:48 'curl -X ...' 2020-10-24 12:49:00 No, it'd be /usr/include for your $CHOST and /usr/$CBUILD/include for any other arch 2020-10-24 12:49:24 Ohh 2020-10-24 12:49:34 Then it's easier than I thought 2020-10-24 12:51:22 Then I don't need to modify every APKBUILD 2020-10-24 12:51:58 We just need to create a multilib repo. 2020-10-24 12:52:15 Well, you'd need to modify them to set --prefix to /usr/$CBUILD 2020-10-24 12:52:29 right now they all install to /usr/ which won't fly for multiarch 2020-10-24 12:53:23 mps: can you give an eхample? 2020-10-24 12:54:26 insep_: I lost it, maybe ikke have it ready 2020-10-24 12:54:59 curl call to invalidate bad checksum on mirrors 2020-10-24 12:55:58 Even with dl-2 it doesn't give any errors 2020-10-24 12:56:05 insep_: does /etc/apk/cache exist? 2020-10-24 12:56:43 yup 2020-10-24 12:56:50 then remove the offending packages from that dir 2020-10-24 12:57:14 ...and i wonder why it didn't get clean when i ran apk cache clean :< 2020-10-24 12:58:43 Cogitri: Oh, so binaries would be separated too? 2020-10-24 12:59:22 everything would be separated I think 2020-10-24 12:59:39 welp, at least now peruse doesn't fail with linker errors :D 2020-10-24 12:59:43 every arch would be installed into /usr/$CARCH and one would just link it back into /usr 2020-10-24 12:59:46 ikke: thanks! 2020-10-24 12:59:59 kcool 2020-10-24 13:00:13 *kool 2020-10-24 13:00:21 it's kde app after all :D 2020-10-24 13:00:55 heh 2020-10-24 13:02:39 Opinions ? https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/24 :D 2020-10-24 13:02:45 I agree with 'everything would be separated I think', though on separate machines :) 2020-10-24 13:03:45 maxice8: I'm not really following what it's trying to achieve 2020-10-24 13:04:31 ikke: iiuc, multiarch on alpine 2020-10-24 13:04:36 minor version provides for python packages? 2020-10-24 13:04:47 NO, different thign 2020-10-24 13:04:56 Was replying on that MR maxice8 referred to 2020-10-24 13:04:56 i agree with 'everything would be separated I think', would prevent us from running linker in qemu 2020-10-24 13:04:58 maybbe 2020-10-24 13:05:01 not sure 2020-10-24 13:05:21 not sure how alpine crosscompiles packages either 2020-10-24 13:05:31 We don't 2020-10-24 13:06:08 Only the toolchain is ininitally cross-compiled when bootstrapping a new arch, but then everything is native 2020-10-24 13:06:40 :( 2020-10-24 13:07:50 cross build will be can of worms for us 2020-10-24 13:08:52 welp, we already have some sort of crosscompilation in pmos :D 2020-10-24 13:09:10 insep_: keep it there! ;P 2020-10-24 13:09:42 By cross compilation, he means using qemu :p 2020-10-24 13:09:53 ah 2020-10-24 13:09:54 we mount native chroot in foreign chroot, make native compilers available in foreign chroot and run build in it 2020-10-24 13:09:57 Except in the case of kernels 2020-10-24 13:10:06 that is right cross build then 2020-10-24 13:10:15 not as fast as it could be nor it's reliable 2020-10-24 13:10:35 Yeah, it's slow af 2020-10-24 13:11:01 some packages can't be crosscompiled using this thanks to qemu bugs, some get stuck somewhere during builds 2020-10-24 13:11:24 Compiling godot for aarch64 took me about 2 hours :( 2020-10-24 13:12:00 in first case build doesn't get stuck, but resulting binary doesn't work 2020-10-24 13:12:14 gavodavo: it's still faster than running full build in qemu ;) 2020-10-24 13:12:29 gavodavo[m]: build first firefox for aarch64 when they switch to rust took me more than 10 hours natively 2020-10-24 13:12:59 mps: Lol 2020-10-24 13:13:14 I wonder how long will it take on qemu 2020-10-24 13:18:02 > Cogitri: Oh, so binaries would be separated too? 2020-10-24 13:18:02 If this is the case, then we should symlink the binaries, or add usr/multiarch/bin to $PATH 2020-10-24 13:18:34 One is more cleaner and less error prone, the other is easier 2020-10-24 13:18:44 >one is more cleaner 2020-10-24 13:18:44 Imo 2020-10-24 13:20:38 * >one is more cleaner 2020-10-24 13:20:38 Imo 2020-10-24 13:22:09 building x86 on x864_64 is easy and fast, same is for armhf and armv7 on aarch64 2020-10-24 13:22:39 yes, because you don't need to emulate, right? 2020-10-24 13:22:45 Those CPU's support it 2020-10-24 13:22:54 yes 2020-10-24 13:23:15 you know better than me, you care for builders 2020-10-24 13:24:12 nod 2020-10-24 13:24:32 armhf and armv7 are both built on aarch64 hosts 2020-10-24 13:26:28 and I built and fixed (a lot) packages for x86 in lxc on x86_64 with 6GB RAM 2020-10-24 14:25:41 regarding msr-tools, I think there is no rush to package it, because it is being deprecated in linux kernel 2020-10-24 14:26:34 Hello71: yes I know, but it is still in linux-next 2020-10-24 14:27:18 and alpine will use old kernel for more than a 3 years 2020-10-24 14:27:45 maybe 4 years 2020-10-24 14:28:14 and msr-tools don't need much works, I hope 2020-10-24 14:42:02 Hmm, should $CHOST be set by APKBUILD or abuild? 2020-10-24 14:42:41 abuild 2020-10-24 14:43:20 Ok 2020-10-24 14:43:43 It's set by the user even 2020-10-24 14:44:00 They are env variables set by the user when cross-compiling 2020-10-24 14:44:05 https://gitlab.alpinelinux.org/alpine/abuild/-/blob/master/abuild.in#L2629 2020-10-24 14:44:38 Oh, ok 2020-10-24 14:45:00 However, for multilib packages we may want to set it without user input 2020-10-24 14:45:53 For example, if ARCH=arm64, set CHOST to x86_64-musl-whatever 2020-10-24 14:47:52 gavodavo[m]: if it's a dedicated builder that builds these, than you could add it to /etc/abuild.conf 2020-10-24 14:49:57 I think I can integrate it into abuild without separating it 2020-10-24 14:50:10 But that could work too 2020-10-24 14:51:43 I have an idea 2020-10-24 14:52:04 Create a property in APKBUILD for enabling multilib 2020-10-24 14:52:37 multilib=1? 2020-10-24 14:53:30 Maybe I need to think this more 2020-10-24 14:53:41 options="multilib" 2020-10-24 14:54:32 What would that do then exactly? 2020-10-24 14:54:57 I gather the source would have to be built twice if there is not a dedicated builder, correct? 2020-10-24 15:05:51 ikke: It's just that I was thinking about having the arch variable be the original one(for example, i386) but, with that option enabled, make abuild check whether the building arch is compatible with that one. 2020-10-24 15:06:00 i'm not interested in supporting multilib 2020-10-24 15:06:14 please let us solve this correctly with multiarch 2020-10-24 15:06:23 However, now that I think about it, I find it simpler to just have arch be the target one 2020-10-24 15:06:33 Ariadme: oops, mixed terms 2020-10-24 15:06:37 I mean multiarch 2020-10-24 15:07:03 if you want to support multiarch, all it requires is adjusting --libdir on all APKBUILDs and adjusting musl's library search paths 2020-10-24 15:07:14 and some mild toolchain adjustments 2020-10-24 15:07:20 This will have completely separated include/, lib/, and potentially usr/ 2020-10-24 15:07:53 other than that, it should not be something packages opt in or opt out of 2020-10-24 15:08:00 > if you want to support multiarch, all it requires is adjusting --libdir on all APKBUILDs and adjusting musl's library search paths 2020-10-24 15:08:00 Not all APKBUILDs if we make a separate repo called multiarch 2020-10-24 15:08:09 yes i am against that 2020-10-24 15:08:21 Why? 2020-10-24 15:08:33 because i want all APKBUILDs to behave the same 2020-10-24 15:09:14 the only multiarch approach i will support is one that is universal 2020-10-24 15:09:24 we either do this properly, or we do not do it at all 2020-10-24 15:10:31 Hmm, so the idea is: 2020-10-24 15:10:53 you're not going to convince me, don't even bother 2020-10-24 15:11:31 I'm not gonna, just seeing what we should do if we go that way 2020-10-24 15:11:35 Wait, brb 2020-10-24 15:12:07 By that way I mean the universal approach 2020-10-24 15:12:31 i want true multiarch, where apk is aware of what archs are enabled, and can install packages for each arch 2020-10-24 15:12:37 and you can install qemu-user for those archs 2020-10-24 15:12:41 and run programs 2020-10-24 15:12:53 that would make my life as an embedded dev much easier 2020-10-24 15:13:06 a partial solution will make my life harder, not easier 2020-10-24 15:13:32 because then to make use of it, i will have to incrementally convert apkbuilds to support multiarch and move them to this "multiarch" repo 2020-10-24 15:13:51 which is unnecessarily complicated 2020-10-24 15:14:20 what we should do is implement support for loading multiarch ELFs, by adjusting toolchain and musl 2020-10-24 15:14:45 and then we can incrementally move to the new way (which can largely be automated) 2020-10-24 15:14:53 >i want true multiarch, where apk is aware of what archs are enabled, and can install packages for each arch 2020-10-24 15:14:53 So if I want to run, for example, box86(which is only compatible with armhf), I can run it on, say, aarch64, right? 2020-10-24 15:15:16 box86 won't run on qemu 2020-10-24 15:15:30 what i need is the ability to do things like 2020-10-24 15:15:37 Exactly, I want to run it natively 2020-10-24 15:15:38 clang --target aarch64-alpine-linux-musl 2020-10-24 15:15:48 and then run that binary as a quick test 2020-10-24 15:16:04 ight now, what you can do is use tools like dabuild 2020-10-24 15:16:24 but if i can just install aarch64 toolchain on my x86 machine 2020-10-24 15:16:31 i can cross compile on the spot 2020-10-24 15:16:49 and clang doesnt have to run on qemu-user, so you don't get performance hit of emulation there 2020-10-24 15:17:12 I think we have different purposes for multiarch 2020-10-24 15:17:30 I want to be able to run programs that are 32 bit on 64 bit machines 2020-10-24 15:17:38 multiarch can solve that too 2020-10-24 15:17:47 proper multiarch solves ALL problems 2020-10-24 15:17:52 Without qemu? 2020-10-24 15:18:06 if the silicon can run both archs yes 2020-10-24 15:18:14 if the silicon can't, then obviously you need emulation 2020-10-24 15:18:28 Then perfect, I think we're on the same page 2020-10-24 15:18:31 so if your aarch64 can also run armv7, it will work 2020-10-24 15:18:41 (some aarch64 cannot run armv7 though, watch out for that) 2020-10-24 15:19:05 And I think in a couple of years, none will support it anymore 2020-10-24 15:19:13 I've read that the stop supporting it 2020-10-24 15:19:23 box86 doesn't really give you anything over qemu anyway 2020-10-24 15:19:37 qemu is probably faster for emulating x86 code on aarch64 2020-10-24 15:20:06 just something to think about :) 2020-10-24 15:20:07 >box86 doesn't really give you anything over qemu anyway 2020-10-24 15:20:07 It's much faster 2020-10-24 15:20:15 according to whom? 2020-10-24 15:20:26 And even then, box86 is just an example 2020-10-24 15:20:28 for x86 to armv7, i might believe 2020-10-24 15:20:43 but x86 to aarch64, TCG has lots of opportunities it wouldn't have on armv7 2020-10-24 15:22:02 anyway, point is 2020-10-24 15:22:19 if we move to multiarch, let us move to multiarch correctly 2020-10-24 15:22:59 moving to multiarch with some additional repo is just going to screw everything up 2020-10-24 15:23:36 >if we move to multiarch, let us move to multiarch correctly 2020-10-24 15:23:36 I don't mind whatever approach we use 2020-10-24 15:24:13 What would I need to do for multiarch? 2020-10-24 15:24:46 the first step would be to adjust the toolchain and musl to have arch-dependent search paths 2020-10-24 15:25:01 debian use /usr/[triplet] for their multiarch sysroots 2020-10-24 15:25:31 so presumably, we want to wind up in a situation where gcc on aarch64 is searching 2020-10-24 15:25:31 Yes, /usr/$CBUILD would work 2020-10-24 15:25:39 /usr/$CBUILD/lib before /usr/lib 2020-10-24 15:25:51 and /usr/$CBUILD/include before /usr/include 2020-10-24 15:26:32 then its a matter of adjusting packages 2020-10-24 15:26:42 musl also needs its search paths adjusted 2020-10-24 15:26:52 > the first step would be to adjust the toolchain and musl to have arch-dependent search paths 2020-10-24 15:26:52 By toolchain you mean abuild, gcc, etc. right? 2020-10-24 15:26:55 ys 2020-10-24 15:26:57 yes 2020-10-24 15:28:18 Hmm, abuild seems the easier to start with 2020-10-24 15:29:01 gcc has to come before abuild 2020-10-24 15:29:06 gcc, clang, and other compilers could probably be the hardest part regarding toolchain 2020-10-24 15:29:30 >gcc has to come before abuild 2020-10-24 15:29:30 Oh 2020-10-24 15:30:10 Then when I get to my PC I'll start looking what Debian modifies from gcc so that we can implement it here 2020-10-24 15:30:38 also this wont happen until after 3.13 release 2020-10-24 15:31:02 Understandable 2020-10-24 15:31:24 this will likely take a year to implement, so i suggest carefully planning, breaking it down into a series of system changes, proposing them and following them to implementation 2020-10-24 15:32:33 ariadne, musl is easy to adjust with .path files 2020-10-24 15:32:43 yes, i know its easy 2020-10-24 15:32:53 i was just identifying it as something that needs to be done :) 2020-10-24 15:33:03 but you may need logic for users who already have path files 2020-10-24 15:33:19 e.g. one containing the default paths plus /opt/something/lib or whatever 2020-10-24 15:34:10 probably the upgrade workflow should offer (default) to sed-replace all the standard paths in the existing .path file with the new multiarch location 2020-10-24 15:34:56 i would agree 2020-10-24 15:35:44 >this will likely take a year to implement, so i suggest carefully planning, breaking it down into a series of system changes, proposing them and following them to implementation 2020-10-24 15:35:44 Correct me if I'm wrong, but I'd have to submit all or nothing of the changes I do, preferrably to another branch right? Else stuff could get messy. 2020-10-24 15:36:31 ariadne, i'm looking at my long queue-to-push now, so i can get back to fork topic 2020-10-24 15:36:46 gavodavo[m]: no. it will have to be done in incremental changes 2020-10-24 15:37:00 stop-the-world switch to multiarch is unrealistic 2020-10-24 15:37:07 we didnt even stop the world to switch to musl from uclibc 2020-10-24 15:41:41 i dont think i realized that, wow 2020-10-24 15:42:52 (uclibc alpine and musl alpine are indeed abi-incompatible though. that migration required installing busybox-static and apk-tools-static) 2020-10-24 15:52:44 ariadne, at least one of the patches in my queue is wrong enough i need to fix some stuff before pushing 2020-10-24 15:52:57 thats fine :) 2020-10-24 15:53:19 holding abort lock across posix_spawn child execution is not valid :-p 2020-10-24 15:53:33 i just am hopeful that we can get back to using X without it locking up every day 2020-10-24 15:53:34 ;) 2020-10-24 15:53:47 and yes 2020-10-24 15:53:54 programs shouldn't do all this shit after fork 2020-10-24 15:53:57 but 2020-10-24 15:54:23 other libcs have given them permission to commit crimes ;/ 2020-10-24 15:54:37 well now the tables are turned *eg* 2020-10-24 15:55:15 glibc does this half-ass and just makes malloc work, which leads programmers to think everything does because all the other stuff is called so infrequently the chance of deadlock is near-zero 2020-10-24 15:55:29 so does freebsd 2020-10-24 15:55:39 so if musl actually makes the child environment safe... 2020-10-24 15:55:57 it will be programs which work on musl deadlocking once a decade on glibc etc :) 2020-10-24 16:06:14 >gavodavo: no. it will have to be done in incremental changes 2020-10-24 16:06:15 Ok 2020-10-24 16:07:40 Then I have to make sure my changes are also compatible with the current state 2020-10-24 16:42:45 ariadne, ah n/m i was wrong about my abort lock patch, lock is not held anywhere near as long as i remembered 2020-10-24 18:43:32 Interesting: https://lists.gnu.org/archive/html/info-gnu/2020-10/msg00009.html gdb 10.1 supports symbol servers 2020-10-24 18:44:42 "Support for debuginfod, an HTTP server for distributing ELF/DWARF 2020-10-24 18:44:45 debugging information as well as source code. 2020-10-24 18:44:47 " 2020-10-24 18:44:59 Huh, curious what's that used for 2020-10-24 18:46:11 "This is huge! Microsoft's symbol servers have long made it easier to deal with PDBs. This will finally help with the annoyingness of -debuginfo and -debug Linux packages." 2020-10-24 18:46:43 Oh neat 2020-10-24 18:59:24 and got BPF debug 2020-10-24 19:03:51 Isn't eBPF the new hotness by now 2020-10-24 19:04:46 yes 2020-10-24 19:12:26 So I found this 2020-10-24 19:12:29 http://gcc.gnu.org/onlinedocs/gccint/Target-Fragment.html 2020-10-24 19:12:53 ACTION sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/DPaRaVDHoLYtlmuUxaiQzxEY/message.txt > 2020-10-24 19:15:31 So it's just a matter of adding `MULTIARCH_DIRNAME=$CHOST`? 2020-10-24 19:15:46 i don't know, but 2020-10-24 19:15:51 don't plan on this happening anytime soon 2020-10-24 19:16:12 Noted that 2020-10-24 19:16:29 However if we want it to happen we have to at least set the basics 2020-10-24 19:16:50 sure. i am just saying i have no intention to even start working on this until after 3.13 release 2020-10-24 19:18:03 Still, I want to have the APKBUILDs(of the toolchain) ready for when that release happens 2020-10-24 19:18:24 Or at least as far as I can go 2020-10-24 19:43:10 ACTION sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/TifTQaNsIIbOlozNEmHqnarz/message.txt > 2020-10-24 19:43:23 This should be good enough in theory, right? 2020-10-25 05:16:32 Hello! Is possible persistence in alpine live standar like slax, with savechanges you can save data from ram to e.g 02.xorg.sb module. thanks 2020-10-25 06:24:03 mps: fyi, firefox works again on armv7 :) well at least non-esr version, the alignment faults with javascript pages are gone, maybe with recent update of mozjs78 2020-10-25 06:25:37 hmm not seeing mozjs78 as firefox dependency though, so probably actually just firefox got updated 2020-10-25 06:29:54 argh, not so, still seeing firefox alignment exceptions on armv7, it's just less often now :( 2020-10-25 06:31:26 tmlind: thanks for info 2020-10-25 06:32:27 I'm not sure but think it is related to some 'low level' change in firefox 2020-10-25 06:33:17 maybe even in gcc on armv7 2020-10-25 06:35:12 tmlind: do you run tests on 3.12 or edge? 2020-10-25 06:38:31 mps: just running edge here 2020-10-25 06:39:04 mps: firefox starts fine, but then crashes on opening a javascript using page 2020-10-25 06:40:14 alignment bug 'must be' somewhere in low level 2020-10-25 06:40:55 I doubt it is in javascript, but who knows nowadays 2020-10-25 06:42:56 yes weird 2020-10-25 06:43:30 maybe even 'bug' in musl on armv7 2020-10-25 06:45:13 mps: yes did not notice debian carrying any related looking patches 2020-10-25 06:46:19 I don't have any armv7 box where I can run firefox for about 3 months and I can't test it 2020-10-25 06:49:28 but again, no one reported alignment bug on armv7 for any other pkg on armv7 edge, so I really don't know where bug is 2020-10-25 06:49:45 mps: ok bummer, seems like you could use some armv7 box with ethernet, sata and lots of cores and ram 2020-10-25 06:50:39 mps: hmm or maybe one of the 4 core samsung chromebooks, i gues those would work with linux-edge 2020-10-25 06:51:27 yes, but I gave this box to my son 2020-10-25 06:52:23 heh ok, have to wait few years then :) 2020-10-25 06:56:00 who knows, maybe this bug will appear on some other pkgs when more people start to use edge 2020-10-25 06:56:19 and then it will be easier to find 'suspect' 2020-10-25 06:56:57 tmlind: fwiw mozjs78 is just a standalone version of Firefox' JS engine, it's not shared with FF itself 2020-10-25 06:57:28 It's probably in the JS engine itself 2020-10-25 06:58:24 Cogitri: do you know if JS engine use some ASM code 2020-10-25 06:58:39 s/some/any/ 2020-10-25 06:58:39 mps meant to say: Cogitri: do you know if JS engine use any ASM code 2020-10-25 06:59:24 I haven't really looked at Spidermonkey but it'd surprise me if it didn't 2020-10-25 06:59:54 heh 2020-10-25 07:00:04 Anyone wants to get something merged before the builders are busy for a few hours w/ new chromium? 2020-10-25 07:01:18 sunday morning is good for building such monster :) 2020-10-25 07:02:49 Cogitri: imo, go ahead 2020-10-25 07:15:52 Cogitri: ok yeah i figured thanks 2020-10-25 07:16:40 Cogitri, mps: if the alignment issue was a missing packed in some firefox header struct, it would show up also on debian.. maybe some missing compiler flag? 2020-10-25 07:16:56 anyways, gotta go catch a train now, bbl 2020-10-25 07:19:33 tmlind: and sorry, I don't have much free time in last months (who have) to work and debug 'high' level pkgs 2020-10-25 07:20:49 tmlind: maybe someone can look at kiss linux if they manage to make it working on armv7 2020-10-25 09:49:53 mps: no worries, i may end up doing it at some point 2020-10-25 11:26:29 Ariadne: Ik you said that you have no intention on working on this for now, but I need a suggestion. But should we symlink base(I mean, the actual architecture) $CHOST's files into /usr/include, /usr/lib, etc.? 2020-10-25 11:30:52 yes 2020-10-25 11:31:35 Should it be done by abuild, apk, or APKBUILDs? 2020-10-25 11:33:55 alpine-baselayout ? 2020-10-25 11:36:58 gavodavo[m]: I think we want to avoid as much as possible to have to do things in each and every APKBUILD 2020-10-25 11:37:31 (Though, we don't want to add too much abstraction either) 2020-10-25 11:59:05 >alpine-baselayout ? 2020-10-25 11:59:05 Ahh, right 2020-10-25 11:59:21 > gavodavo: I think we want to avoid as much as possible to have to do things in each and every APKBUILD 2020-10-25 11:59:22 Yeah, makes sense 2020-10-25 12:00:36 Oh, and I don't think I have to link every file, I just need to ln -s usr/$CHOST/whatever usr/whatever 2020-10-25 12:01:44 An exception would be usr/bin, since we'll probably want to symlink from other $CHOSTs 2020-10-25 12:03:27 Also, if gcc, APKBUILD, and others are correctly set, the multiarch binaries would just work™(as long as they're arch compatible), right? 2020-10-25 12:05:47 maxice8: do you plan to update aports githooks with your ones 2020-10-25 12:06:00 no 2020-10-25 12:06:22 ok 2020-10-25 12:18:30 mps: I don't think you can implement jit without asm 2020-10-25 12:23:32 Hello71: yes, in nowadays systems, but my question was more of rhetorical ones 2020-10-25 12:24:18 uh... even s/rhetorical/historical/ I don't understand 2020-10-25 12:26:04 huh, I asked if JS engine have ASM code, that was what I expected and asked because thought that Cogitri already know, and I don't need to look for it 2020-10-25 12:32:33 uh... never mind then 2020-10-25 12:56:43 gadodavo[m]: i think instead of trying to write code this is something that we need to discuss and implement in steps 2020-10-25 12:57:04 gavodavo[m]: ^ 2020-10-25 13:16:36 Ariadne: Hmm, ok 2020-10-25 13:19:16 The first step I think has already been done(which is setting gcc to prioritize usr/$CHOST), but I haven't tested it yet. When I get the time I'll start compiling it and testing it in a chroot 2020-10-25 13:28:48 hmm, is it 'allowed' by (unwritten) policy to move pkg without asking maintainer 2020-10-25 13:32:39 I think it's common courtecy to ask it 2020-10-25 13:33:59 also I thought so, even for big or important update 2020-10-25 13:35:23 (ncopa's pkgs are exception because he wrote once when I answered that it is ok for developers) 2020-10-25 13:35:38 when I asked* 2020-10-25 13:35:49 Yeah, and ncopa by default owns a lot of packacges 2020-10-25 13:35:55 s/owns/maintains 2020-10-25 13:35:55 ikke meant to say: Yeah, and ncopa by default maintains a lot of packacges 2020-10-25 13:37:40 I upgrade/fix some of his pkgs but for big/important chnages always ask or assign MR to him 2020-10-25 16:47:11 Could anyone merge !13976? It's just a pkgrel bump to rebuild against latest kpmcore version 2020-10-25 16:54:23 ikke: ooh woops, I just assumed it would build. I'll check it out 2020-10-25 17:05:31 ikke: it needed a package upgrade instead, fixed. Would be nice if it could be merged after CI is done as currently it can't be installed at all 2020-10-25 17:15:00 CI succeeded 2020-10-25 17:17:48 rebase is still stuck though 2020-10-25 17:17:56 Working on it 2020-10-25 17:19:25 Yeah it seems to get stuck sometimes 2020-10-25 17:19:44 Has to do with the malloc after fork issue 2020-10-25 17:20:12 https://bugs.ruby-lang.org/issues/17189 2020-10-25 17:20:39 Ah ok, annoying 2020-10-25 17:22:09 Ok, succeeded now :) 2020-10-25 17:22:16 Yay 2020-10-25 17:22:24 ACTION just killed all ssh-gitaly processes :P 2020-10-25 17:23:00 will merge now after pipeline succeeds again 2020-10-25 17:23:25 Thanks! 2020-10-25 17:26:32 merged 2020-10-25 17:26:39 Awesome, thanks! 2020-10-25 17:28:29 doing some experiments involving utmps :) 2020-10-25 17:30:01 ERROR: plasma-workspace-5.20.1.1-r0: trying to overwrite usr/share/kservices5/fontinst.desktop owned by plasma-desktop-5.19.5-r0. 2020-10-25 17:30:13 plasma-workspace needs replaces=plasma-desktop<5.20 2020-10-25 17:30:49 PureTryOut[m]2: any objection ? 2020-10-25 17:32:58 Oh yeah noticed that but didn't have time to look into that, no that's fine to me 2020-10-25 17:33:08 I didn't even realize replaces also allows versions 2020-10-25 17:34:20 replaces is a dependency description like any other :) 2020-10-25 17:36:22 testing upgrade with fixed package and will then push 2020-10-25 17:36:22 :) 2020-10-25 17:39:17 utmps-0.0.3.2-r0 contains: 2020-10-25 17:39:18 bin/utmps-wtmpd 2020-10-25 17:39:18 bin/utmps-utmpd 2020-10-25 17:39:23 hmm, this should be in sbin i think? 2020-10-25 18:10:42 hmm 2020-10-25 18:10:53 the musl symbols get preferred over utmps one 2020-10-25 18:11:06 i wonder how i can convince the linker to prefer the utmps 2020-10-25 18:11:40 link utmps first 2020-10-25 18:12:07 i do 2020-10-25 18:12:17 first first ? 2020-10-25 18:12:26 well 2020-10-25 18:12:30 like -lutmps -lfoo -lbar [implicit -lc] 2020-10-25 18:12:31 that i dont know for sure 2020-10-25 18:12:31 or 2020-10-25 18:12:36 oh 2020-10-25 18:12:38 -lfoo -lbar -lutmps [implicit -lc] 2020-10-25 18:12:39 you need implicit -lc 2020-10-25 18:12:49 ok 2020-10-25 18:12:49 -lc is always there implciitly thus i said implicit 2020-10-25 18:12:51 you dont need it 2020-10-25 18:13:00 well -lutmps is in $LIBS 2020-10-25 18:13:11 but maybe something else is in LIBS first 2020-10-25 18:13:11 also utmp.h has a bug 2020-10-25 18:13:57 it unconditionally remaps e_termination and such without __GNU_SOURCE 2020-10-25 18:14:02 if -lfoo is before -lutmps, libfoo surely depends on libc, so libc is before libutmps 2020-10-25 18:14:09 ok 2020-10-25 18:14:46 hmm no i dont think that's how it works... 2020-10-25 18:14:50 let me look again at the spec 2020-10-25 18:15:22 well either way i had to hack utmps headers to be compatible with musl utmp.h 2020-10-25 18:15:25 i'm not sure the solution there 2020-10-25 18:15:57 i wonder if it makes sense to just remove the symbols from musl 2020-10-25 18:16:13 no, you can't remove symbols 2020-10-25 18:16:39 hmm, true 2020-10-25 18:16:58 what i want is to wind up with a situation where utmpx functions are *always* provided by utmps 2020-10-25 18:16:59 whatever you're hitting has a correct solution in terms of link order semantics 2020-10-25 18:17:38 but the header thing is a problem 2020-10-25 18:17:53 i'm not sure where to fix that (either musl or utmps) 2020-10-25 18:18:05 i thought we already said to -I/usr/include/utmps 2020-10-25 18:18:15 yes 2020-10-25 18:18:20 but that does not provide a utmp.h 2020-10-25 18:18:24 oh 2020-10-25 18:18:25 only utmpx 2020-10-25 18:18:33 maybe solution is to provide a utmp.h 2020-10-25 18:18:35 could one be added there? 2020-10-25 18:18:45 i don't see why not 2020-10-25 18:18:56 imo you should not mix the musl version of the header, which expects the musl utmpx.h, with utmps's version of utmpx.h 2020-10-25 18:19:04 i agree 2020-10-25 18:19:10 even if we fix it now it's sure to break again someday 2020-10-25 18:19:31 screen's build system prepends -lncurses 2020-10-25 18:19:33 that's why 2020-10-25 18:19:33 so just adding a version of utmp.h suitable for use with utmps should be the right fix 2020-10-25 18:19:45 let's check with skarnet to make sure 2020-10-25 18:19:55 ariadne, ahh 2020-10-25 18:19:59 i still wonder why it breaks tho 2020-10-25 18:20:09 i'm using screen as proof of concept 2020-10-25 18:20:22 to make sure that utmps implementation still works as expected without utmpd running 2020-10-25 18:20:48 symbol resolution order is load order which aiui is breadth-first 2020-10-25 18:21:06 i'm not sure 2020-10-25 18:21:09 so if screen has DT_NEEDED for ncurses and utmps and libc... 2020-10-25 18:21:13 i just know libutmps doesn't show up in DT_NEEDED 2020-10-25 18:21:20 because libc provides the symbols 2020-10-25 18:21:29 so the linker doesn't consider it needed 2020-10-25 18:21:36 ncurses and utmps should both get loaded before any of their---- 2020-10-25 18:21:43 ok somewhere -Wl,--as-needed was added then maybe 2020-10-25 18:21:46 we're using -Wl,--as-needed yes 2020-10-25 18:21:51 ok you can't do that ;) 2020-10-25 18:22:03 i could if i replace libc.so with linker script 2020-10-25 18:22:23 but that seems rude 2020-10-25 18:22:44 are you trying to inject this into build of all packages rather than just utmp-using ones? 2020-10-25 18:22:45 and would break third-party use of the toolchain to build binaries that target generic musl environment instead of alpine 2020-10-25 18:22:55 just into utmp-using ones 2020-10-25 18:23:07 but -Wl,--as-needed is injected everywhere 2020-10-25 18:23:13 i mean are you trying to do it with a global rule 2020-10-25 18:23:15 that's part of builder config 2020-10-25 18:23:17 hm, why? 2020-10-25 18:23:37 i would put -Wl,--no-as-needed -lutmps -Wl,--as-needed 2020-10-25 18:23:39 because this is something distros do to reduce dependency graph size 2020-10-25 18:23:42 okay 2020-10-25 18:23:44 i'll try that 2020-10-25 18:24:02 because if you really want to force the lib to be linked, which is the whole point here, i think you need that 2020-10-25 18:24:09 imo this is --as-needed misbehaving tho 2020-10-25 18:24:21 agreed 2020-10-25 18:24:23 it should not drop the lib if *later* libs have a definition to satisfy it 2020-10-25 18:24:38 only if the symbol is already defined at the point in link order where it's hit 2020-10-25 18:24:42 ahhhhh now i bet i know.. 2020-10-25 18:24:54 wow this is probably ld and ldso disagreeing on the order 2020-10-25 18:25:00 -lcurses -Wl,--no-as-needed -lutmps -Wl,--as-needed 2020-10-25 18:25:04 ld probably does a depth-first search of deps of each -l 2020-10-25 18:25:09 so:libutmps.so.0.0 2020-10-25 18:25:10 so it sees -lc from -lcurses 2020-10-25 18:25:12 ok 2020-10-25 18:25:13 cool 2020-10-25 18:25:15 and then already has a definition 2020-10-25 18:25:59 i wonder if this has other consequences 2020-10-25 18:26:11 and if musl's behavior here agrees with other implementations 2020-10-25 18:26:18 imo musl ldso's behavior is the better behavior here 2020-10-25 18:26:27 otherwise it's hard to override definitions like you're trying to do 2020-10-25 18:26:48 if you had two libraries that both want to override some symbols from libc it'd be impossible 2020-10-25 18:26:57 because as soon as one is pulled in, libc is pulled in and the other won't get seen 2020-10-25 18:28:27 hmm 2020-10-25 18:28:40 the utmps functions still donot appear to be called 2020-10-25 18:28:53 strace shows no attempt to connect to utmpd 2020-10-25 18:28:54 can you strace the dynamic linker loading it ? 2020-10-25 18:29:18 also readelf -d the binary 2020-10-25 18:30:19 strace shows libutmps.so being opened 2020-10-25 18:30:44 what order relative to other libs? 2020-10-25 18:30:47 https://tpaste.us/raox 2020-10-25 18:30:49 ldd would also possibly be useful to look at 2020-10-25 18:31:36 https://tpaste.us/6P59 2020-10-25 18:32:02 hmm, all looks right 2020-10-25 18:32:15 https://tpaste.us/V7ae 2020-10-25 18:33:11 you could put a breakpoint in do_relocs and then print find_sym(head, "getutxline") 2020-10-25 18:33:21 ok 2020-10-25 18:33:37 you might have to continue on the first break 2020-10-25 18:33:48 since i think it'll be just the dynamic linker itself 2020-10-25 18:33:52 before libraries are loaded 2020-10-25 18:34:02 the second call should be the one where you can do the print 2020-10-25 18:34:22 ok 2020-10-25 18:34:51 ok the ldd shows what's expected: all direct deps in order first, then indirect deps last 2020-10-25 18:35:24 (gdb) p find_sym(head, "getutxline") 2020-10-25 18:35:25 Too few arguments in function call. 2020-10-25 18:35:26 :) 2020-10-25 18:35:31 ahh yes add a 1 2020-10-25 18:35:48 (btw i wonder if it would make sense to package libutmps with libskarnet linked into it statically, to reduce namespace impact and number of mmaps) 2020-10-25 18:36:02 Program received signal SIGSEGV, Segmentation fault. 2020-10-25 18:36:02 0x00007ffff7f8bdb6 in get_random_secret () at src/malloc/mallocng/glue.h:41 2020-10-25 18:36:02 (gdb) p find_sym(head, "getutxline", 1) 2020-10-25 18:36:05 :) 2020-10-25 18:36:19 lol what? :-p 2020-10-25 18:36:20 dalias: yes, it makes sense. just have not gotten to that yet. 2020-10-25 18:36:33 ohhhh 2020-10-25 18:36:37 gdb calls malloc to make the argument 2020-10-25 18:36:40 and malloc isn't ready to run yet 2020-10-25 18:36:56 big oof, as they say 2020-10-25 18:37:41 i should add if (libc.auxv) in there 2020-10-25 18:37:49 just so gdb works early 2020-10-25 18:38:10 but actually n/m this is so early that relocs haven't been performed for libc, so it's not safe to call malloc anyway 2020-10-25 18:38:12 i have another idea 2020-10-25 18:38:17 what if i just add some printfs 2020-10-25 18:38:19 did you continue to the next call to do_relocs? 2020-10-25 18:38:22 to utmps :P 2020-10-25 18:38:26 yes 2020-10-25 18:38:59 how about just a breakpoint on the last line of __dls3 in dynlink.c ? 2020-10-25 18:39:06 (you can do breakpoint by file and line number 2020-10-25 18:39:20 (gdb) p getutxline 2020-10-25 18:39:21 $1 = {} 0x7ffff7f87aa8 2020-10-25 18:39:21 like on the errno = 0 line 2020-10-25 18:39:30 the lack of debug info likely means its libutmps 2020-10-25 18:39:34 yeah 2020-10-25 18:39:44 but that's gdb's resolution of the symbol 2020-10-25 18:39:46 not ldso's 2020-10-25 18:39:49 true 2020-10-25 18:40:11 at that point (errno = 0 line) it should be safe to do the find_sym print 2020-10-25 18:40:30 (gdb) p find_sym(head, "getutxline", 1) 2020-10-25 18:40:30 $3 = {sym = 0x7ffff7f71d70, dso = 0x7ffff7ffd940 } 2020-10-25 18:40:32 big oof 2020-10-25 18:41:20 lets see if utmps-static gives us more love 2020-10-25 18:44:05 wtf 2020-10-25 18:44:09 even that didnt work 2020-10-25 18:45:19 oh 2020-10-25 18:45:22 as-needed again 2020-10-25 18:46:30 hmm so why is that happening? 2020-10-25 18:47:02 can you print head, head->next, head->next->next, etc. (maybe *'s before them) 2020-10-25 18:47:07 to look at the list of libraries 2020-10-25 18:47:15 i already staticly linked it 2020-10-25 18:47:17 but yes 2020-10-25 18:47:19 give me a minute 2020-10-25 18:48:32 static linking libutmps.a, the linker doesn't put it in the binary ;/ 2020-10-25 18:50:06 yes because again ld thinks libc already provided it 2020-10-25 18:50:11 because of -lcurses first 2020-10-25 18:50:25 hmm reading dynlink.c i found an unrelated bug 2020-10-25 18:50:41 o...oh 2020-10-25 18:50:58 screen uses getutline and pututline 2020-10-25 18:51:08 :-P 2020-10-25 18:51:20 which is not implemented in utmps 2020-10-25 18:51:22 so utmp.h needs to remap them 2020-10-25 18:51:31 or something 2020-10-25 18:51:38 yes 2020-10-25 18:52:21 oh no i was wrong about the other bug. it's already handled right :) 2020-10-25 18:52:24 so maybe it is fine afterall 2020-10-25 18:52:51 i thought temporary-RTLD_GLOBAL wasn't reverted right on failure but it is 2020-10-25 18:52:59 anyway 2020-10-25 18:53:08 the find_sym wrong result is still troubling 2020-10-25 18:55:47 ok, so i guess next step is to implement utmp stub in utmps 2020-10-25 18:55:54 it can just be a define 2020-10-25 18:56:12 oh i can just provide a utmp.h with defines? 2020-10-25 18:56:15 i think 2020-10-25 18:56:16 yeah 2020-10-25 18:56:29 #define getutline getutxline? 2020-10-25 18:56:31 i see 2020-10-25 19:01:39 i did a minimal test case for the idea here and it worked 2020-10-25 19:02:05 -lz ./fakelib.so (-lz so there's an earlier lib depending on libc) 2020-10-25 19:02:06 and it worked 2020-10-25 19:06:17 hmm maybe as-needed does work but screen doesn't use getutx* :-p 2020-10-25 19:06:31 and thus it wasn't needed 2020-10-25 19:29:05 yes seems to be the case 2020-10-25 19:39:41 it's working now ? without no-as-needed ? 2020-10-25 19:41:19 no i mean the theory 2020-10-25 19:41:25 i am working on writing a stub utmp.h 2020-10-25 19:41:46 has something changed with package builds recently? I'm getting ">>> ERROR: packagename: builddeps failed" when I try to build any package with abuild -r 2020-10-25 19:41:50 even those in main/ 2020-10-25 19:42:20 I have fully updated edge system 2020-10-25 19:43:57 `apk fix` and see if there are errors 2020-10-25 19:44:25 oh, that helped, thanks 2020-10-25 19:46:37 ah ok 2020-10-25 19:46:51 ariadne, can you just test with a package that uses utmpx api rather than utmp? 2020-10-25 19:47:03 don't know of one 2020-10-25 19:47:24 busybox maybe? 2020-10-25 19:48:19 <[[sroracle]]> this is screen that isn't working with utmps? 2020-10-25 19:51:13 screen uses the legacy utmp.h functions rather than utmpx.h ones 2020-10-25 19:51:18 so they need to be redirected 2020-10-25 19:51:35 <[[sroracle]]> we have a patch for this 2020-10-25 19:51:42 oh? 2020-10-25 19:51:54 i think it's easier to just shim it to make it work 2020-10-25 19:52:01 so it works for other programs too 2020-10-25 19:52:20 <[[sroracle]]> yeah in the long run probably 2020-10-25 19:52:38 <[[sroracle]]> but for reference this is what we did 2020-10-25 19:52:40 <[[sroracle]]> https://code.foxkit.us/adelie/packages/-/raw/master/user/screen/utmpx.patch 2020-10-25 19:52:56 yeah im just shimming it 2020-10-25 19:53:20 what is login_tty? 2020-10-25 19:53:57 [[sroracle]]: and I applied this patch in my local repo some time ago :) 2020-10-25 19:57:40 /usr/include/utmps/utmp.h:25:18: error: static declaration of 'getutxent' follows non-static declaration 2020-10-25 19:57:40 25 | #define getutent getutxent 2020-10-25 19:57:40 | ^~~~~~~~~ 2020-10-25 19:57:40 92 | static struct utmp *getutent __P((void)); 2020-10-25 19:57:41 utmp.c:92:21: note: in expansion of macro 'getutent' 2020-10-25 19:57:44 are you fucking kidding me 2020-10-25 19:57:45 grrr 2020-10-25 19:58:06 wtf why is there a static definition ? 2020-10-25 19:58:11 fuck it 2020-10-25 19:58:17 i'll just import the adelie patch 2020-10-25 19:58:17 :D 2020-10-25 19:58:48 good, I can delete my local 2020-10-25 19:58:51 i think something is wrong if this code was reached 2020-10-25 19:59:12 no, screen is just spaghetti code 2020-10-25 19:59:29 my stub is just using #define 2020-10-25 20:00:08 nanabozho:~/aports/main/screen$ screen 2020-10-25 20:00:08 /run/utmps/utmp: No such file or directory 2020-10-25 20:00:08 /etc/ttys: No such file or directory 2020-10-25 20:00:09 amazing 2020-10-25 20:00:11 yeah i mean it looks like screen's configure chose some dummy-out-utmp code or something 2020-10-25 20:00:27 it still does not try to connect to utmpd 2020-10-25 20:00:34 screen may need specific patching to make utmps work 2020-10-25 20:00:43 i applied the adelie patch 2020-10-25 20:00:45 it probably does its own ridiculous direct access things 2020-10-25 20:01:01 humm 2020-10-25 20:01:19 <[[sroracle]]> it seems to be working here 2020-10-25 20:01:34 <[[sroracle]]> i get a new w entry when starting screen 2020-10-25 20:01:44 <[[sroracle]]> mcrees pts/1 16:03 22.00s 0.06s 0.00s SCREEN 2020-10-25 20:01:56 screen was a really bad test case to start on :-p 2020-10-25 20:02:05 dropbear or openssh might have been better 2020-10-25 20:02:15 [[sroracle]]: yes, but is it connecting to utmpd 2020-10-25 20:02:23 <[[sroracle]]> how do i determine that 2020-10-25 20:02:26 ariadne, if not it wouldn't show up 2020-10-25 20:02:31 no? 2020-10-25 20:02:41 strace 2020-10-25 20:02:44 on a utmpd-based system access via legacy files shouldn't work 2020-10-25 20:02:56 unless i misunderstand 2020-10-25 20:02:58 you would think, but 2020-10-25 20:03:00 let us make sure 2020-10-25 20:03:12 maybe the files still provide RO access and just RW needs the daemon 2020-10-25 20:03:42 i'm not sure :) 2020-10-25 20:03:52 <[[sroracle]]> 3846 connect(3, {sa_family=AF_UNIX, sun_path="/run/utmps/.utmpd-socket"}, 110) = 0 2020-10-25 20:04:46 <[[sroracle]]> ah i see 2020-10-25 20:04:58 <[[sroracle]]> i think we needed to add libutempter to this to make it work 2020-10-25 20:05:26 oh 2020-10-25 20:05:27 <[[sroracle]]> but i'm not sure since i didn't work on this 2020-10-25 20:05:32 yes 2020-10-25 20:05:34 that makkes sense 2020-10-25 20:06:25 what a mess 2020-10-25 20:06:27 <[[sroracle]]> i think screen was the nastiest case that had to be worked around 2020-10-25 20:06:34 yes 2020-10-25 20:06:35 <[[sroracle]]> the rest was just minor patching and adding -lutmps 2020-10-25 20:06:38 thats why i figured start there 2020-10-25 20:07:00 utmp.c:659:7: error: 'utmpfd' undeclared (first use in this function); did you mean 'utmpok'? 2020-10-25 20:07:02 wtf 2020-10-25 20:07:47 hmm 2020-10-25 20:07:49 export CFLAGS="-DNONETHACK -DGETUTENT" 2020-10-25 20:07:52 there is also this 2020-10-25 20:14:25 hmm 2020-10-25 20:14:36 screen still doesn't try to connect to utmpd 2020-10-25 20:14:43 conclusion: delete screen 2020-10-25 20:15:06 oh wait 2020-10-25 20:15:14 i have to patch libutempter duh 2020-10-25 20:16:07 what the fuck 2020-10-25 20:16:11 who moved libutempter to community 2020-10-25 20:16:23 oh 2020-10-25 20:16:27 it was never part of main duh 2020-10-25 20:38:32 ok got screen working 2020-10-25 20:38:34 with shared libutmps 2020-10-25 20:40:48 :) 2020-10-25 20:52:24 utmpifying coreutils next 2020-10-25 20:52:39 it should just require the -l right ? 2020-10-25 20:53:45 yes 2020-10-25 20:53:48 hmm 2020-10-25 20:53:55 who(1) does not pick up the screen session 2020-10-25 20:56:08 grr 2020-10-25 20:56:13 now screen isnt connecting again 2020-10-25 20:56:40 thats weird 2020-10-25 20:56:45 it connects to end the session 2020-10-25 20:56:47 but not to begin 2020-10-25 20:58:12 conclusion: screen sucks 2020-10-25 20:59:48 nanabozho:~/aports/main/screen$ who 2020-10-25 20:59:49 kaniini pts/9 2020-10-25 14:59 (:pts/7:S.0) 2020-10-25 20:59:50 there we go 2020-10-25 21:00:32 dalias: to answer your question, utmpd must be running to read, not just write 2020-10-25 21:01:24 ok thats actually good because it provides some access control capability if you want 2020-10-25 21:03:57 well when we sat down in #musl like X years ago and specced this out, i am pretty sure we intended it to work that way 2020-10-25 21:05:07 *nod* 2020-10-25 21:08:08 ACTION sends it 2020-10-25 21:24:01 nanabozho:~$ who 2020-10-25 21:24:01 kaniini pts/9 Dec 31 17:00 2020-10-25 21:24:03 with openssh 2020-10-25 21:24:04 hmm 2020-10-25 21:25:08 <[[sroracle]]> odd 2020-10-25 21:25:52 that's ssh to localhost 2020-10-25 21:26:03 can you check if adelie behaves the same way 2020-10-25 21:26:36 <[[sroracle]]> yeah sec 2020-10-25 21:27:02 <[[sroracle]]> nope 2020-10-25 21:27:06 <[[sroracle]]> mcrees pts/1 2020-10-25 17:28 (::1) 2020-10-25 21:27:17 <[[sroracle]]> we are on an older openssh version so that could be part of the problem 2020-10-25 22:24:58 yes, possibly. 2020-10-25 22:25:04 you have a fix-utmpx patch too 2020-10-25 22:25:06 maybe relevant 2020-10-26 00:16:04 ariadne, if you want to experiment with fork on top of just-pushed git master, here is the draft patch: http://ix.io/2C0f 2020-10-26 01:45:18 dalias: i'll give it a go this week 2020-10-26 07:43:27 hi all, how to add of dependency to subpackage (pkgname-blabla for example) on main package? i tried set depends_blabla="$pkgname" but abuild do not process that 2020-10-26 07:45:18 <[[sroracle]]> you need to add depends="$pkgname" inside of the subpackage's function 2020-10-26 07:45:42 <[[sroracle]]> the depends_xyz is only available for specific built-in subpackages (like -dev, -static, -libs, or whatever) 2020-10-26 07:51:32 [[sroracle]], thank already found example in commons-daemon :) 2020-10-26 14:10:37 one thing i plan to add to ifupdown-ng after 3.13 is health checking 2020-10-26 14:10:55 this is intended to enable the admin to build failover and other things :) 2020-10-26 14:42:05 hey, is the main official repo the one on gitlab? 2020-10-26 14:42:49 yes 2020-10-26 14:42:51 danke. 2020-10-26 17:33:48 I like my intuition, https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.10-LTS-Kernel 2020-10-26 17:34:13 ncopa: ^ :) 2020-10-26 17:34:41 :) 2020-10-26 17:34:45 some time ago I told that, math doesn't always work in real life 2020-10-26 17:34:53 So better news than this morning 2020-10-26 17:35:09 what? 2020-10-26 17:35:48 uname -a => Linux zarya 5.10.0-rc1-3-gru #2 SMP PREEMPT Sun Oct 25 23:53:30 UTC 2020 aarch64 GNU/Linux 2020-10-26 17:36:09 oh, was last night 2020-10-26 17:36:22 uptime => 17:31 2020-10-26 17:36:24 20:45:12 mps │ it's a pity it will not be -lts in alpine 3.13 2020-10-26 17:36:35 or is that still the case? 2020-10-26 17:37:12 yes, that I wanted to ad, and because that I would like that my intuition doesn't work in this case 2020-10-26 17:37:20 ACTION is still sad that 4.20 wasn't lts release 2020-10-26 17:37:40 add* 2020-10-26 17:38:46 ikke: when I wrote 'it's a pity it will not be -lts in alpine 3.13' I think ncopa will not accept -rc for 3.13 2020-10-26 17:39:14 When is it scheduled for release? 2020-10-26 17:39:50 8 weeks from now, and if there is luck maybe 7 2020-10-26 17:40:15 Would be pretty tight 2020-10-26 17:40:19 so second half of december 2020-10-26 17:40:21 not a lot of time for testing 2020-10-26 17:42:04 hey, I'm testing it on two chromebooks, rk3399 and mt816x 2020-10-26 17:42:25 :) 2020-10-26 17:42:30 :) 2020-10-26 17:42:57 if it works on such niche machines it will be better on mainstreams 2020-10-26 20:12:25 ikke: https://people.kernel.org/gregkh/next-long-term-supported-kernel-release 2020-10-26 20:12:55 "I've been saying for a few years now that I would pick the “last released” kernel of the year to be the next LTS release." 2020-10-26 20:16:11 "unless something really bad happens in that release, such as people throwing in loads of crud because they “need” it for the LTS release. If that happens again, I'll just have to pick a different release..." 2020-10-26 20:16:14 :D 2020-10-26 20:16:53 Such a nice LTS release you got there, would be a shame if something hapened to it :P 2020-10-26 20:18:15 :) 2020-10-26 20:19:13 yes, only missing announced paragon ntfs driver (which is not important to me) which would be nice to have in next -lts 2020-10-26 20:19:50 isn't that terrible anyways 2020-10-26 20:20:06 if wireguard took like three cycles to get in i doubt ntfs will be faster 2020-10-26 20:20:19 unless they rebrand it as a gpu driver 2020-10-26 20:21:01 iirc, wireguard took more than 3 cycles 2020-10-26 20:22:21 and wireguard changed some important crypto subsystem while this ntfs doesn't 2020-10-26 22:29:52 wireguard didn't change anything, that was the point 2020-10-26 22:29:58 it bypassed the crypto subsystem 2020-10-26 22:35:10 ah, yes, I forgot what was it. and nice that you have big library 2020-10-27 08:19:20 how to name this new pkg, https://github.com/bbonev/yascreen? yascreen or libyascreen, or maybe even 'libyascreen0' (zero at end) as it is named in arch linux, https://aur.archlinux.org/packages/libyascreen0/ 2020-10-27 08:20:26 https://repology.org/projects/?search=yascreen&maintainer=&category=&inrepo=¬inrepo=&repos=&families=&repos_newest=&families_newest= 2020-10-27 08:22:12 I see, but don't understand. 2020-10-27 08:22:32 imo, maybe follow ncurses naming scheme 2020-10-27 08:23:08 i.e. yascreen and yascreen-dev subpkg? 2020-10-27 08:24:29 The project itself is just called yascreen 2020-10-27 08:24:41 yes 2020-10-27 08:24:47 So not sure where the 0 comes from 2020-10-27 08:25:17 I already asked upstream author, waiting for mail reply 2020-10-27 11:58:06 ping ikke, don't we have a file for shellcheck to read that has loads of exclusions ? 2020-10-27 11:59:53 maxice8: https://gitlab.alpinelinux.org/alpine/infra/docker/apkbuild-lint-tools/-/blob/master/overlay/usr/local/bin/apkbuild-shellcheck ? 2020-10-27 12:00:44 yes, that APKBUILD_SHIM 2020-10-27 12:01:04 thanks 2020-10-27 12:01:23 RIght 2020-10-27 12:03:32 Hmm, should we add SAMUFLAGS to that? Though we are not using that in any APKBUILD 2020-10-27 13:17:13 good news, with my patches against erlang and ejabberd, the latest ejabberd works reliably and is now running in production, it could even be moved from testing to community: https://tpaste.us/ZEgz - i would be obliged if someone would apply these patches. 2020-10-27 13:19:03 yZ5vlALg86lP: did you contacted maintainer? I think he is here 2020-10-27 13:19:04 yZ5vlALg86lP: If you want, you could submit a merge request 2020-10-27 13:31:11 do you happen to know their nicks here mps? 2020-10-27 13:31:45 danieli maintains erlang 2020-10-27 13:31:57 but he's not very active lately 2020-10-27 13:32:33 Don't know for ejabberd 2020-10-27 13:33:33 maintainer is unknown to me but see fcolista as contributor 2020-10-27 13:33:44 and rnalrd 2020-10-27 13:34:42 ah, thanks, i hope these hilites will be sufficient, as a backup i sent the patch also to the maintainers email addresses. 2020-10-27 13:37:05 what's up? 2020-10-27 13:40:30 fcolista: buon giorno mio amico :) 2020-10-27 13:40:37 LOL 2020-10-27 13:40:42 Ciao mps, come stai? 2020-10-27 13:40:59 non ce male, grazie 2020-10-27 13:41:07 e tu? 2020-10-27 13:41:25 Tutto bene...stai usando google translator oppure parli davvero italiano? 2020-10-27 13:41:44 I think mps speaks a bit Itallian 2020-10-27 13:41:46 huh, google 2020-10-27 13:41:53 or not? 2020-10-27 13:42:03 aaaah :) you are cheating! :) 2020-10-27 13:42:05 ikke: forgot too much 2020-10-27 13:42:12 hehe 2020-10-27 13:42:43 30 years ago I was quite fine with lingua italiana 2020-10-27 13:42:49 I could at least follow that reasonably well 2020-10-27 13:42:56 how old are you mps ? 2020-10-27 13:43:53 eh, earth moved sixty times around sun from time when my eyes first time seen this world 2020-10-27 13:44:08 ohio fcolista maybe you would be so kind and take care of my patch? 2020-10-27 13:44:10 and one time plus :) 2020-10-27 13:44:21 :) 2020-10-27 13:44:23 I didn't know that, mps! 2020-10-27 13:44:43 yZ5vlALg86lP, let me check 2020-10-27 13:45:09 I suspected it from our converstatins :) 2020-10-27 13:45:11 fcolista: don't worry, my hair is still black and I don't wear glasses :) 2020-10-27 13:45:23 :D 2020-10-27 13:46:32 yZ5vlALg86lP, I'm fine with your patch 2020-10-27 13:47:13 as said i run ejabber in production, so it could also be moved out of testing 2020-10-27 13:47:19 ok 2020-10-27 13:48:26 erlang is quite a sensitive topic :D is Daniel Isaken fine with your patch as well? 2020-10-27 13:49:04 fcolista: Daniel has been absent for a while 2020-10-27 13:49:18 ikke, to me the patch looks fine. What do you think? 2020-10-27 13:50:03 I see a superfluous set -x 2020-10-27 13:51:17 yZ5vlALg86lP: maybe remove commented lines from prepare, and explain in git commit msg 2020-10-27 13:51:29 I think part of the logic in -static can be replaced by amove 2020-10-27 13:51:59 (amove basically move a file + parent dir structure to a subpkg) 2020-10-27 13:52:12 Or directory 2020-10-27 13:52:42 huh, amove is not documented or I'm wrong? 2020-10-27 13:53:11 I thought it was documented somewhere (tm) 2020-10-27 13:53:16 never seen amove before...looking at APKBUILDs is used several times 2020-10-27 13:53:25 It's relatively new 2020-10-27 13:53:28 this kind of utilities pops-up like mushrooms.. 2020-10-27 13:53:36 :) 2020-10-27 13:53:42 But i never seen them "announced" or explained 2020-10-27 13:54:11 We need to work on the developers documentation on docs.a.o 2020-10-27 13:54:12 because it is not 2020-10-27 13:55:15 quite often happens "why here you dont use $tool?" where $tool is something never seen before :D 2020-10-27 13:55:16 ncopa does not want too many of these 'magic' functions, but apparently amove made the cut 2020-10-27 13:55:23 and till it declared 'official' I don't use it, and don't like to see it pkgs 2020-10-27 13:55:45 Isn't it being added to abuild not official enough? 2020-10-27 13:56:02 ikke: no, imo 2020-10-27 13:56:52 official is when it is announced properly, and possibly documented 2020-10-27 13:56:56 It's just a helper function that makes a common, but involved task easier 2020-10-27 13:57:11 I don't these smaller helper functions will be announced 2020-10-27 13:57:38 hm, /o\ 2020-10-27 13:57:38 You are not required to use them, but at least to me, it makes the intent more clear 2020-10-27 13:57:55 Now I see a loop with complex logic and need to think about what it does exactly, and if it's done correctly 2020-10-27 13:58:12 if someone uses amove, I know exactly what the goal is, and that the code has been tested properly 2020-10-27 13:58:20 so easier for review 2020-10-27 13:59:34 for me it harder because I don't know what (and how) it does 2020-10-27 13:59:49 only intent is clear :) 2020-10-27 14:00:22 yeah I would not say "don't use it until is official", but is good to know that $tools exists and how can be used 2020-10-27 14:07:02 here's an updated patch without the set-x and the commentedout lines, and also in the orig patch a new patch was missing, it is in this one included: https://tpaste.us/49yZ 2020-10-27 14:13:42 btw the commented out deps in ejabberd are legacy subpkgs from a time when this was not packaged directly in erlang i believe. 2020-10-27 14:14:14 Yes, most likely 2020-10-27 14:14:33 the modules were bundled again because of circular dependencies 2020-10-27 14:14:52 it was a guess, glad to hear my guess was close 2020-10-27 14:54:28 Welp, I have the package compiled and the chroot ready 2020-10-27 14:54:38 But no idea how to test it ;-; 2020-10-27 14:54:47 By package I mean gcc with multiarch 2020-10-27 17:15:07 ikke: I still maintain it? I thought someone else took over maintainership there 2020-10-27 17:15:37 https://pkgs.alpinelinux.org/package/edge/community/x86_64/erlang 2020-10-27 17:15:44 Apparently that didn't get through 2020-10-27 17:15:49 danieli: nice to see you alive :) 2020-10-27 17:16:01 but yes, I received an email about fixes to erlang and ejaberd relating to adding erlang-static so ejabberd can be built 2020-10-27 17:16:23 ikke: I still have IRC open / idle at all times, and I occasionally read the backlog :) 2020-10-27 17:21:53 SPF failed on the email by the way, it landed in my spambox 2020-10-27 17:22:25 yZ5vlALg86lP: ^ 2020-10-27 17:37:45 danieli: thanks for the spf note, i just moved parts of my mail arch, so that indeed still needs testing/fixing, i just did so. anyway there's an updated patch here: https://tpaste.us/49yZ 2020-10-27 17:43:19 I'll give it a spin when I can and push it once tested 2020-10-27 17:43:25 or MR it rather 2020-10-27 17:46:43 thx 2020-10-27 19:31:44 please review !14032 it is library only pkg and I'm not sure of name, yascreen or split to yascreen-libs and yascreen-dev (which is already) or something else 2020-10-27 19:35:21 Looks good as it's now, I guess 2020-10-27 19:36:10 I think -libs is used in the case where some application has separate libs that can be used by others 2020-10-27 19:39:49 aha, thanks 2020-10-27 19:40:07 yes 2020-10-27 19:40:16 $pkgname-libs or lib$pkgname:libs (like libelogind) 2020-10-27 19:44:52 ok, thanks 2020-10-27 19:45:32 I will merge it, need it for bpfmon pkg, which will follow 2020-10-27 19:46:20 I did something like that for ssdeep 2020-10-27 19:46:31 which is a program, but also has a library, libfuzzy 2020-10-27 19:46:41 https://git.alpinelinux.org/aports/tree/testing/ssdeep/APKBUILD 2020-10-27 19:47:09 yes, but yascreen is pure lib, no executables 2020-10-27 19:47:34 nod, but as a case where you would have a lib-like subpackage 2020-10-27 19:47:50 aha, ofc 2020-10-27 19:47:59 just wanted to note 2020-10-27 19:48:37 I see now I could also have done libfuzzy2:libs, like maxice8 suggested 2020-10-27 19:48:44 huh, a lot of kde stuffs keep builders 2020-10-27 19:48:50 ahuh 2020-10-27 20:26:22 Good news for maintainers that use vim 2020-10-27 20:27:04 You mean ale integration? 2020-10-27 20:27:12 yes 2020-10-27 20:27:16 :) 2020-10-27 20:27:54 not upstream (yet, I have to figure out how to integrate it) 2020-10-27 20:32:02 hmm, looked at it but didn't found it useful to me 2020-10-27 20:33:48 hope it will not 'integrated' in vim, but somehow separate add-on 2020-10-27 21:00:56 It's a plugin 2020-10-27 21:02:03 yes, I know 2020-10-27 21:02:29 but someone could include it in vim apk 2020-10-27 21:06:34 mps: It would be distributed with ALE, which is a separate plugin you install manually (or through a vim plugin manager) 2020-10-27 21:06:39 not via aports 2020-10-27 21:08:33 most likely via Plug 'maxice8/vim-apkbuild' 2020-10-27 21:08:52 aha, that's good then 2020-10-27 21:09:01 if I'm writing a linter for APKBUILD might as well write its own filetype instead of relying on 'sh' and hacking around it 2020-10-27 21:09:03 maxice8: that would work as well 2020-10-27 21:10:46 maxice8: you mean linter in vim script? 2020-10-27 21:11:13 mps: linter is in shell (apkbuild-lint) or lua (secfixes-check) 2020-10-27 21:11:23 but I need to write a few functions in vimscript to interface with ALE 2020-10-27 21:11:43 I basically define in ALE terms how to handle the output of our linters and it does the rest 2020-10-27 21:11:50 yes, I use apkbuild-lint (when I don't forget) 2020-10-27 21:11:59 put it in your githooks 2020-10-27 21:12:42 btw, how can I use your githooks script out of aports tree 2020-10-27 21:13:13 maybe some gitconfig options? 2020-10-27 21:15:26 no clue 2020-10-27 21:15:31 I just copy-paste 2020-10-27 21:17:04 bit if I put then in aports/.githooks, then git says I have unstaged changes and refuses 'git pull ...' 2020-10-27 21:17:12 but* 2020-10-27 21:20:20 You need to put them in .git/hooks 2020-10-27 21:20:55 aports/.githooks is just meant to distribute them 2020-10-27 21:22:35 aha, thanks 2020-10-27 21:23:33 ikke: can you make public ? https://gitlab.alpinelinux.org/Leo/apkbuild.vim 2020-10-27 21:24:37 done 2020-10-27 21:25:41 ty 2020-10-27 22:57:10 If anyone is feeling like fixing stuff in vim https://gitlab.alpinelinux.org/Leo/apkbuild.vim/-/blob/master/TODO 2020-10-27 23:06:30 maxice8: yes, coloring as it is now should be fixed 2020-10-28 00:58:26 Is there a document detailing valid pkgname and pkgver ? 2020-10-28 07:08:46 maxice8: I think only abuild's src is the source of truth here 2020-10-28 07:33:00 And by extension, apk version -c 2020-10-28 07:39:27 vim is really weird with syntax sometimes 2020-10-28 11:11:41 Cogitri: bear fails to build 2020-10-28 11:12:07 PureTryOut[m]2: there are a number of kde related packages failing on various arches, would you be able to take a look? 2020-10-28 11:13:07 krdc, ki18n, kcoreaddons, kbounce, plasma-sdk and more 2020-10-28 11:19:22 Just ppc64le and s390x no? ppc64le is due to the 128-bit thing 2020-10-28 11:19:44 s390x just needs more disabled I guess, missing deps because they got disabled for that arch 2020-10-28 11:20:03 yeah, correct, and one on mips64 2020-10-28 11:22:20 Oh, yeah also missing deps so just needs stuff disabled 2020-10-28 11:25:55 oh vim is fancy 2020-10-28 11:26:24 syn match ValidArch /\v(!)?x86(|_64)/ doesn't work 2020-10-28 11:26:31 it will not find x86_64 but will find x86 2020-10-28 11:26:54 hmm, does (|..) even make sense? 2020-10-28 11:26:58 but, syn match ValidArch /\v(!)?x86(_64|)/ will work and find both x86_64 an x86 2020-10-28 11:27:12 Why the | 2020-10-28 11:27:31 or is that part of the syntax 2020-10-28 11:27:32 OR 2020-10-28 11:28:10 Shouldn't that be (_64)? 2020-10-28 11:28:15 including question mark 2020-10-28 11:28:56 could also be 2020-10-28 11:31:23 /\v(!)?(aarch64|arm(el|hf|v7)|mips(el)?(64(el)?)?|ppc(64(le)?)?|s390x|x86(_64)?)/ 2020-10-28 11:31:26 beautiful 2020-10-28 11:45:46 Do you also account for noarch? 2020-10-28 11:45:50 and all 2020-10-28 11:47:17 yes they are separate 2020-10-28 11:48:13 ok 2020-10-28 11:58:19 Ugh, bear worked on CI 2020-10-28 11:58:57 Anoying 2020-10-28 12:03:50 I'll try to look into it later today 2020-10-28 12:04:14 Can we disable it for now? 2020-10-28 12:04:40 I suppose so, yes 2020-10-28 12:09:50 hmm, is sys_unit_test that fails to link 2020-10-28 12:10:13 but later also the executable 2020-10-28 12:14:28 Created an issue for it 2020-10-28 13:04:03 Seems like another package manager in the ecosystem. Qt 6 will start using Conan (conan.io) 2020-10-28 13:04:52 oi bruv 2020-10-28 13:05:12 Qt already too complicated :\ 2020-10-28 13:06:56 Conan is somewhat common for C++ development AFAICS though 2020-10-28 13:07:18 And it's not meant for distribution packaging, it's only meant for develop 2020-10-28 13:07:21 ment 2020-10-28 13:07:34 at least that's what they told me at the last Meeting C++ where I talked to them 2020-10-28 13:07:52 That's how it starts :P 2020-10-28 13:08:09 well, what I mean to say is that I see this is a solution to growing complexity, where the real solution to growing complexity should be to start chopping things down to size 2020-10-28 13:08:14 Yeaaah :/ 2020-10-28 13:08:55 <-- unix greybeard :p 2020-10-28 13:31:32 everything (nearly) fail on s390x builder 2020-10-28 13:31:45 yes, mostly due to dependencies 2020-10-28 13:31:53 aha 2020-10-28 13:32:27 We should probably just disable the entire revdep chain of certain packages 2020-10-28 13:33:08 tehcloud: yes, perfection is not when you don't have anything to add but when you don't have anything to remove 2020-10-28 13:33:38 "I wish I could have written a shorted letter, but I simply did not have the time" 2020-10-28 13:33:48 ikke: yes, but I don't dare to take this action 2020-10-28 13:37:08 PureTryOut[m]2 already said that they should be disabled, so.. :) 2020-10-28 13:39:13 not sure if they should be disabled or removed :P 2020-10-28 13:39:48 I told you that I'm bad in english ;) 2020-10-28 13:40:02 disabled on those specific arches 2020-10-28 13:40:39 some widely used depency has issues and was disabled, but not all depending packages 2020-10-28 13:41:04 (I guess with the hope the issue would be fixed before it thse packages would be rebuilt) 2020-10-28 13:42:17 if they will not be forgotten, as usual 2020-10-28 13:42:43 I usually make issues for these 2020-10-28 13:42:48 and assign it to the maintainer 2020-10-28 13:43:34 not all people are careful as you 2020-10-28 13:48:52 https://gitlab.alpinelinux.org/alpine/aports/-/issues/12050 linux 2.6.34 :D 2020-10-28 13:54:34 heh 2020-10-28 13:57:21 an ordinary day in #postmarketos-porting, nothing new /s 2020-10-28 13:57:51 heh 2020-10-28 15:57:04 ariadne, had any chance to look at fork patch? 2020-10-28 16:01:45 dalias: patch from musl ML? 2020-10-28 16:03:53 mt-fork.diff 2020-10-28 16:10:42 dalias: i wonder if it would make sense to create a git branch for the fork patch 2020-10-28 16:11:08 so we get the bugfixes you mentioned in the ML 2020-10-28 16:25:08 mps, with the fixes in replies 2020-10-28 16:25:42 just posting the updated patch makes more sense if you want it 2020-10-28 16:26:27 and there's no way you can apply this on top of 1.2.1 without a lot of other patches first. i would suggest just testing with a drop-in replacement of libc from out-of-apk 2020-10-28 16:26:47 and if it works, planning to go to 1.2.2 soon 2020-10-28 16:28:36 dalias: aha, thank for explanation. I was not sure just because these replies 2020-10-28 16:29:48 so, safest idea is to use git repo and apply patch from ML, iiuc 2020-10-28 16:30:15 git master, I mean 2020-10-28 16:34:26 well it just won't apply without a lot of other patches already in git master 2020-10-28 16:35:19 understand 2020-10-28 19:12:27 is there a method/way to download https://git.musl-libc.org/cgit/musl/ current master branch as tarball. would be simpler to build with APKBUILD and abuild 2020-10-28 19:14:24 https://git.musl-libc.org/cgit/musl/snapshot/master.tar.gz 2020-10-28 19:14:43 ikke: thanks 2020-10-28 19:16:40 apk versions are funny 2020-10-28 19:17:07 You can have any letter as long as it is alone 2020-10-28 19:17:20 1a2b3c4d5e is valid 2020-10-28 19:17:55 heh 2020-10-28 19:19:05 Hello 2020-10-28 19:19:15 I am trying to install alpine linux on virtual box 2020-10-28 19:19:18 likely due to openssl 2020-10-28 19:19:27 i am using the standard one 2020-10-28 19:19:33 code-witch_: No need to cross-post 2020-10-28 19:19:37 i get the error that sfdisk and syslinux is missing 2020-10-28 19:20:20 ikke I don't understand 2020-10-28 19:20:33 what due to openssl? 2020-10-28 19:20:55 ikke: 2020-10-28 19:21:19 That was not a reply to you 2020-10-28 19:21:50 ok, sorry 2020-10-28 19:26:06 ikke: if I install musl with mt-fork patch on one of lxc container and make it non working because of that, can you downgrade musl in that case 2020-10-28 19:26:57 if you install apk-tools static :) 2020-10-28 19:27:44 aha, ok 2020-10-28 19:28:11 makes it easier to restore :) 2020-10-28 19:28:12 I think that is first thing I do on installations 2020-10-28 19:31:17 look like mt-forks works 2020-10-28 19:31:30 mt-fork patch* 2020-10-28 19:32:10 ikke: what need to be tested 2020-10-28 19:32:25 build something? 2020-10-28 19:37:26 dalias: ^ 2020-10-28 19:37:54 need to recall what projects were affected 2020-10-28 19:38:13 aha, ok. I'm not in a hurry :) 2020-10-28 19:38:25 sorry for annoyance 2020-10-28 19:39:15 maybe run something which can run in lxc 2020-10-28 19:40:42 restarted postgresql without problem 2020-10-28 19:41:31 mps, :) 2020-10-28 19:42:57 I can't run firefox there :) 2020-10-28 19:45:20 mps: https://bugs.ruby-lang.org/issues/17189 2020-10-28 19:46:13 is it in aports 2020-10-28 19:46:26 what? 2020-10-28 19:46:36 ruby with this bug 2020-10-28 19:47:02 I think so 2020-10-28 19:47:45 so abuild check should trigger it 2020-10-28 19:47:49 lets see 2020-10-28 19:48:25 The example mentions aports, so that's a good indication 2020-10-28 19:51:12 uh, check is disabled 2020-10-28 19:51:33 yes, most likely due to this 2020-10-28 19:52:38 will go 'by hand' 2020-10-28 19:57:01 PASS all 1409 tests 2020-10-28 19:57:05 \o/ 2020-10-28 19:58:03 Can you get the deadlock again with the musl-1.2.1? 2020-10-28 19:58:30 how to test? 2020-10-28 19:59:02 downgrade musl again? 2020-10-28 19:59:16 aha, could try. 2020-10-28 19:59:28 ACTION wonders how forgot that :) 2020-10-28 19:59:45 Lesson I learned from my father, who's a electricion 2020-10-28 19:59:55 first verify that your tools work before you rely on their results 2020-10-28 20:00:37 heh, your father is wise men 2020-10-28 20:18:43 ikke: with current musl in repo 'test_thread.rb FAIL 1/48' 2020-10-28 20:20:37 here is patch for musl if you want to try https://tpaste.us/qgKe 2020-10-28 20:20:57 But nothing hanging? 2020-10-28 20:21:36 no, it didn't hangs 2020-10-28 20:22:21 apk version musl => musl-1.2.1-r2 2020-10-28 20:27:38 So no good reproduction of the original issue 2020-10-28 20:27:40 let me try 2020-10-28 20:47:55 mps: same for me, 1 test failing, but no hang, strange 2020-10-28 20:48:45 But I noticed the bug mentioned 2.7.1, while aports is already on 2.7.2 2020-10-28 20:49:54 yes, I noticed same 2020-10-28 20:50:35 and you say with the musl patch, all tests succeed 2020-10-28 20:50:38 ? 2020-10-28 20:52:43 yes 2020-10-28 20:52:49 interesting 2020-10-28 20:53:08 oh, maybe because the hang->crash patch that Ariadne pushed 2020-10-28 20:53:22 you can 'upgrade' musl with patch I pasted here and check 2020-10-28 20:53:36 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/musl/convert-hangs-to-crashes.patch 2020-10-28 20:53:51 yes, probably 2020-10-28 20:54:10 we can try by removing it 2020-10-28 20:54:17 So then it seems the fix is working 2020-10-28 20:54:20 yes, that's a good test 2020-10-28 20:54:33 ok will start now 2020-10-28 21:00:58 ikke: 'test_thread.rb -' and stays at it 2020-10-28 21:01:18 'nice' 2020-10-28 21:01:37 sounds like good news 2020-10-28 21:02:08 it hanging 2020-10-28 21:03:40 and 'it hanging' is good news :) 2020-10-28 21:03:46 yes 2020-10-28 21:04:45 ok, I will upgrade musl to master with mt-fork patch and continue to use it 2020-10-28 21:05:07 will see if something will not work with it 2020-10-28 21:05:50 dalias: what you think? 2020-10-28 21:06:18 I can try it in our testing gitlab instance, I guess 2020-10-28 21:06:33 though, I need to fix it first 2020-10-28 21:07:10 we have to use master for now 2020-10-28 21:07:19 nod 2020-10-28 21:07:43 maybe I should report this to musl ML 2020-10-28 21:08:24 (but first to prepare one tea of plants) 2020-10-28 21:08:34 :) 2020-10-29 01:51:57 so '=' in pkgname triggers Bad Specifier, @ is considered pinning and '%' and '&' mess with shell 2020-10-29 05:08:43 if I have a subpackage that was pulled in by an 'install_if' condition that was met, but now no longer want that subpackage to be installed (e.g. what it provided is no longer needed), what options do I have to cause that subpackage to get uninstalled? 2020-10-29 05:10:17 apk del won't remove it, but there must be some way to cause it to be removed in apkbuild? maybe using 'replaces=' in the main package? 2020-10-29 05:40:27 guess you can add a virtual package ? 2020-10-29 05:41:19 also, https://gitlab.alpinelinux.org/Leo/APKBUILD.vim is now mostly ready (sans a few bugs) 2020-10-29 06:33:58 morning 2020-10-29 06:35:27 morning 2020-10-29 07:27:02 morning 2020-10-29 07:27:47 ikke: I tested building zig lang with mt-fork patch, worked fine 2020-10-29 07:28:25 also tested crystal lang, it builds fine but resulting binary hangs 2020-10-29 07:29:31 what is interesting it doesn't hang always, but sometimes it works 2020-10-29 07:30:06 I posted short report to musl ML 2020-10-29 07:31:09 for now I didn't noticed any problem with upgraded musl 2020-10-29 07:31:25 both lxc works fine 2020-10-29 07:33:02 I'm not sure but maybe you can try to upgrade ruby with this musl mt-fork git patch I posted 2020-10-29 07:33:57 crystal was buggy even before that patch 2020-10-29 09:11:03 Do we have a podman-abuild for using podman instead of docker for abuild? 2020-10-29 09:11:26 You should be able to use docker-abuild with podman, it has some environment variable for that 2020-10-29 09:11:38 Oh neat 2020-10-29 09:36:46 Hm, for some reason docker-abuild doesn't like to work for me any more, during the build it aborts with: `abuild-apk: User builder is not a member of group abuild` 2020-10-29 12:05:57 mps: seems like abuild is no longer going to warn about static libraries in -dev 2020-10-29 12:06:02 http://dup.pw/alpine/abuild/4c38544a 2020-10-29 12:13:19 ikke: yes, I noticed. thanks maxice8 :) 2020-10-29 12:15:16 (context in the commit message would've been nice) 2020-10-29 12:24:14 ikke: Do you use docker-abuild (so on non-alpine)? 2020-10-29 12:24:21 no 2020-10-29 12:24:22 I'm currently trying to get it running on Fedora 2020-10-29 12:24:31 I always use by alpine lxc container 2020-10-29 12:24:34 s/by/my 2020-10-29 12:24:34 ikke meant to say: I always use my alpine lxc container 2020-10-29 12:24:52 Or sometimes directly in an alpine docker container 2020-10-29 12:25:01 And for some reason abuild-apk thinks builder isn't in the abuild group when `cat /etc/group` clearly says it is 2020-10-29 12:25:14 Hmmm, okay, I guess I should give that a try, thanks for the tip, ikke 2020-10-29 12:39:04 Is there a helper script for autotools just like there is abuild-meson? E.g. abuild-configure or something like that? 2020-10-29 12:49:47 Nope 2020-10-29 12:49:56 I think Ariadne worked on some thingie for that 2020-10-29 12:51:03 Hmm ok 2020-10-29 12:59:41 https://gitlab.alpinelinux.org/kaniini/autoconf-policy 2020-10-29 13:28:16 Cogitri: I see you responded to some Mono PR fixing things on Musl/Alpine. Do you know a bit about Mono by any chance? I'm giving updating Mono a shot but with both the latest version of Mono 5 _and_ Mono 6 it fails with `make[6]: mono: No such file or directory`. I can't seem to figure out why that is though 2020-10-29 13:28:52 gavodavo: was it you who tried to run mono on armv7? 2020-10-29 13:29:34 PureTryOut[m]2: Nope, not a clue about mono unfortunately 2020-10-29 13:29:47 Darn 2020-10-29 13:30:07 Sadly abuild-rootbld doesn't keep the build directory around otherwise I could check what's up with that binary 2020-10-29 13:30:29 insep: No 2020-10-29 13:30:43 who was it then 2020-10-29 13:30:50 ¯\_(ツ)_/¯ 2020-10-29 13:31:30 oh it was nergzd723 2020-10-29 13:31:33 i guess 2020-10-29 13:31:52 I guess I'll try without rootbld for now... 2020-10-29 13:34:27 Btw I think I told earlier but I have a problem with the gcc APKBUILD. I think it's supposed to work now but I have no idea for testing it other than chroot :/ 2020-10-29 13:35:51 PureTryOut[m]2: Not even with -K ? 2020-10-29 13:36:17 Tried that before, didn't seem so no 2020-10-29 13:36:41 >Btw I think I told earlier but I have a problem with the gcc APKBUILD. I think it's supposed to work now but I have no idea for testing it other than chroot :/ 2020-10-29 13:36:42 I mean the multiarch stuff 2020-10-29 13:38:02 What's the problem with chrooting? 2020-10-29 13:38:38 doesn't mono looks similar to vala, by syntax 2020-10-29 13:40:34 mono is .net interpreter 2020-10-29 13:41:21 and c# is a programming language which is a copycat of java that compiles to .net 2020-10-29 13:41:31 insep_: yes, but syntax is similar iirc 2020-10-29 13:41:44 and vala is a language that is inspired by c# in a lot of ways 2020-10-29 13:44:44 https://en.wikipedia.org/wiki/Vala_(programming_language): "Vala is syntactically similar to C#" 2020-10-29 14:58:53 ``` 2020-10-29 14:58:53 LIBRARY_PATH=/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.0/:/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.0/../../../../x86_64-alpine-linux-musl/lib/../lib/:/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.0/../../../../x86_64-alpine-linux-musl/lib/:/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.0/../../../:/lib/:/usr/lib/ 2020-10-29 14:59:03 so I guess the APKBUILD is working? 2020-10-29 15:00:31 This is from gcc --verbose hello-world.c btw 2020-10-29 15:06:48 Seems to me like it still uses /usr/lib and not /usr/lib/$CHOST 2020-10-29 15:17:52 i pushed abuild 3.7.0_rc1 2020-10-29 15:18:00 please test that it does not break anything 2020-10-29 15:18:20 what's for lib64? 2020-10-29 15:18:57 https://git.alpinelinux.org/abuild/commit/?id=b6a80729 2020-10-29 15:19:14 https://gitlab.alpinelinux.org/alpine/abuild/-/commit/cd004c0232e5129a1559d876d45a3024ae02317a 2020-10-29 15:19:55 abuild will give error if there is any /lib64 or /usr/lib64 unless options=lib64 is set 2020-10-29 15:20:22 hmm, never seen it 2020-10-29 15:20:27 or I forgot 2020-10-29 15:20:34 its a new feature in abuild 3.7.0 2020-10-29 15:20:56 I mean, never seen error ODODODODODODthis 2020-10-29 15:21:03 uh 2020-10-29 15:21:19 I mean, never seen this error 2020-10-29 15:21:42 because we didnt error on this until now 2020-10-29 15:22:14 aha 2020-10-29 15:22:18 what i find most exciting is the testsuite :) 2020-10-29 15:22:35 hopefully we now will create testcases for any new bugs 2020-10-29 15:22:35 Yes, that's a nice improvement 2020-10-29 15:22:42 or any new features 2020-10-29 15:22:50 i actually detected a bug today 2020-10-29 15:22:56 abuild cleanpkg all 2020-10-29 15:23:32 would fail to set the SOURCE_DATE_EPOC which means that the build ws no longer reproducible 2020-10-29 15:33:49 i think the only thing left now before I start the 3.13 builders is to upgrade isl 2020-10-29 15:34:20 its a shame python 3.9 didnt make it 2020-10-29 15:36:12 you wouldn't wait for musl 1.2.2 2020-10-29 15:40:45 ncopa: is there a freeze now for 3.13? 2020-10-29 15:46:48 hey all! 2020-10-29 15:47:10 I've filed a bug for apk, it doesn't remove subpackages dragged in from install_if: https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10720 2020-10-29 15:47:21 and it would be great if somebody could look at https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/14093 2020-10-29 16:54:36 minimal: not yet. I think the toolchain freeze will happen next week. (eg no changes in abuild, compilers like go, clang, rust, etc) 2020-10-29 16:55:01 then i'd guess it'd be another week for the hard freeze 2020-10-29 16:55:35 i think we should probably avoid ABI breakages too after that. exceptions will need good reasons 2020-10-29 17:07:57 ncopa: ok. Just concerned that currently MRs can be slow to be actually merged and could miss the freeze. 2020-10-29 17:17:16 mps: i guess the builders going for 5.9.2? 2020-10-29 17:22:55 c705: it is blocked because some builders failed on some other pkgs 2020-10-29 17:23:12 cool 2020-10-29 17:23:18 I think armv7 version is already on mirrors 2020-10-29 17:23:29 yeah, it is 2020-10-29 17:24:18 ah, telegraf is blocker 2020-10-29 17:45:47 'gdb -p 17316' on developrs lxc says 'ptrace: Operation not permitted' 2020-10-29 17:47:22 Try running it as root 2020-10-29 17:47:40 You probably can't set the sysctl values for running it unprivileged 2020-10-29 17:48:23 yes, ptrace probably is not enabled on these lxcs 2020-10-29 17:49:56 ikke: ? 2020-10-29 18:10:42 Yeah, containers don't have CAP_SYS_PTRACE as far as I know 2020-10-29 18:12:23 ok, will try to build and test crystal on my local machine 2020-10-29 18:13:01 I already installed musl with mt-fork patch on local machine \o/ 2020-10-29 18:13:47 \o/ 2020-10-29 18:14:36 i wonder what would happen if we add another bot that replies with \o/ to every \o/... 2020-10-29 18:18:18 \o/ 2020-10-29 18:30:04 \o/ 2020-10-29 18:30:27 huh 2020-10-29 18:56:37 !14059 fails only on the ppc64le 128-bit thing, it's ready otherwise 2020-10-29 19:04:34 I can merge after the storm stops 2020-10-29 19:05:06 You have a storm going on? 🤔 2020-10-29 19:11:35 Yes, lights going in / out 2020-10-29 19:12:36 Oh interesting. Stay safe! 2020-10-29 20:11:27 merged plasma 2020-10-29 20:23:39 Awesome, thanks! 2020-10-29 21:42:30 It was hacker420 2020-10-29 21:42:48 I was trying to build it but you need mono to build mono xD 2020-10-30 04:07:24 should apk clean up/remove /lib/apk/db/lock when it is done/ 2020-10-30 04:09:53 I'm trying to find some way to determine if apk is actively installing/upgrading a package or doing any other thing in the database that might be bad news if the system decided it wanted to power off right then 2020-10-30 04:10:20 and it seems like /lib/apk/db/lock always exists, even when apk isn't running, which seems weird 2020-10-30 06:04:31 craftyguy: I think it just tries to open the file exclusively when trying to obtain the lock 2020-10-30 06:04:58 so there is no real need to remove it 2020-10-30 06:41:31 craftyguy: https://linux.die.net/man/2/flock 2020-10-30 06:41:35 morning! 2020-10-30 06:42:08 \o 2020-10-30 06:44:46 nearly all pkgs which depends on gc-dev for build have tests disabled 2020-10-30 06:57:07 is gc broken? 2020-10-30 06:58:57 I think yes 2020-10-30 06:59:54 ikke, ncopa: thanks! 2020-10-30 07:00:26 looking on https://github.com/ivmai/bdwgc/issues 2020-10-30 07:04:08 and dalias comment on musl ML about bug report 2020-10-30 07:50:13 ncopa: sorry to annoy here, but should we merge !13924 2020-10-30 07:51:55 I think we should because cypress is upstreamed anyway. if we see bug reports we can then know what to do. waiting is not good, imo. it is on edge at the end 2020-10-30 08:06:50 Is it just me or is Gitlab 503'ing? 2020-10-30 08:07:01 While opening an MR 2020-10-30 08:07:47 Don't see it 2020-10-30 08:07:48 link? 2020-10-30 08:08:08 Ah seems like it loaded after a few reloads 2020-10-30 08:11:29 Also, first package installing things under lib64 caught by the new abuild check already https://gitlab.alpinelinux.org/Cogitri/aports/-/jobs/236980#L1272 :D 2020-10-30 08:51:39 nice! 2020-10-30 08:52:10 mps, re !13924 is you think its ready to merge then please remove the WIP prefix 2020-10-30 09:01:35 merged 2020-10-30 12:26:43 looks like I found fix for 'gc' 2020-10-30 12:28:13 dalias: We were just discussing this in #alpine-infra, we seem to have mt-fork related issues on our gitlab instance, but that's running on alpine 3.12, so still on musl-1.1.24. Can it still be the same issue, or is it more likely something else? 2020-10-30 12:43:26 mps, hm? 2020-10-30 12:45:03 dalias: followed your advice and added --disable-parallel-mark to gc make 2020-10-30 12:45:28 it doesn't block crystal now 2020-10-30 12:45:48 hangs* 2020-10-30 12:46:05 and also w3m doesn't hangs 2020-10-30 13:21:00 dalias: with mt-fork-v2, things known to reliably freeze KDE (such as clicking links in quassel) no longer crash KDE 2020-10-30 13:21:09 well, lock up KDE 2020-10-30 13:21:15 i think it is good 2020-10-30 13:26:40 dalias: I'm running my aarch64 box with mt-fork-v2, works fine 2020-10-30 13:27:04 no serious issues 2020-10-30 13:27:22 mps, was crystal hanging with 1.2.1? 2020-10-30 13:27:42 no with just updated gc 2020-10-30 13:27:51 oh. :-p 2020-10-30 13:27:59 ah, you mean without patch? 2020-10-30 13:28:09 i mean without mt-fork patch 2020-10-30 13:28:25 no, it didn't hanged 2020-10-30 13:28:28 it's slightly possible 2d0bbe6c788938d1332609c014eeebc1dff966ac broke something 2020-10-30 13:28:39 since fork does not seem to be involved 2020-10-30 13:28:47 its boehm gc 2020-10-30 13:28:51 can you try current musl with mt-fork patch applied but 2d0bbe6c788938d1332609c014eeebc1dff966ac reverted? 2020-10-30 13:29:05 ariadne, is there an upstream bug report for it? 2020-10-30 13:29:16 dalias: as Ariadne wrote, gc was problem 2020-10-30 13:29:17 i don't think so, but we just disabled parallel mark 2020-10-30 13:30:12 well what i'm asking is if you know it's actually a bug/regression in gc, or if it could plausibly be musl's fault 2020-10-30 13:30:59 I see a lot of bug reports for boehm gc on github 2020-10-30 13:31:03 i don't know that for sure, but i would say it is likely gc 2020-10-30 13:31:10 not sure how to find related one 2020-10-30 13:31:12 because if it's musl i'd like to know so we can get that fixed 2020-10-30 13:31:14 gc does wacky stuff 2020-10-30 13:31:20 gc is 100% ub 2020-10-30 13:31:49 i will test if it means that it being musl's fault won't block 1.2.2 2020-10-30 13:31:50 the only gc implementation that's not is the null one (collect = nop :) 2020-10-30 13:31:50 (: 2020-10-30 13:32:17 i installed fixed gc about hour ago, now all what come to my mind work 2020-10-30 13:32:19 ariadne, you really don't want a bug like that left in musl if there is one; it'll make other apps start hanging too 2020-10-30 13:33:13 true, but the fact that musl 1.2.1 caused tons of apps to break already is one of the main reasons 3.13 is not branched yet 2020-10-30 13:33:25 right 2020-10-30 13:33:46 but you dont want the same thing again :) 2020-10-30 13:33:51 if there is a bug it'll be quickly fixed 2020-10-30 13:33:56 okay 2020-10-30 13:34:02 will do the test in a moment 2020-10-30 13:34:42 mps: how did you reliably trigger gc hang? 2020-10-30 13:35:05 with w3m 2020-10-30 13:35:27 sometimes it hangs but sometimes not, before fixed gc installed 2020-10-30 13:35:37 and crystal lang 2020-10-30 13:35:49 invoking w3m how 2020-10-30 13:35:50 just run 'crystal' few times 2020-10-30 13:36:01 w3m $url 2020-10-30 13:36:26 whatever url 2020-10-30 13:37:05 ok pinned broken gc 2020-10-30 13:37:22 crystal hangs reliably 2020-10-30 13:37:31 and as dalias say, gc is UB 2020-10-30 13:38:10 ACTION wonders who come to idea to auto garbage collection in programs 2020-10-30 13:39:20 2d0bbe6c788938d1332609c014eeebc1dff966ac 2020-10-30 13:39:21 ok 2020-10-30 13:42:55 dalias: with 2d0bbe6c reverted, crystal does not hang 2020-10-30 14:06:59 ick. so now i need a testcase to find out what was wrong with it.. 2020-10-30 14:25:33 ok i can reproduce it with an old basic functionality check program i have, but the place it's hanging doesn't make sense 2020-10-30 14:29:14 mps: humans are bad at cleaning up after themselves :) 2020-10-30 14:30:17 ikke: you are talking about my desk? ;P 2020-10-30 14:34:00 hola everyone 2020-10-30 14:34:03 long time 2020-10-30 14:40:57 oneinsect: namaste! 2020-10-30 14:44:15 Hey all, for the last few months, I've seen packages move the .so into the -dev package, and only keep the .so.* in the library package. What I'm strugling with right now (with meson) is how do I get the final application to link properly? Right now, i install the -dev package, meson and the .pc file cause it to be linked all happily, but then on target, it complains about the missing .so; so how is that supposed to 2020-10-30 14:44:15 be done? I know that when you do 'gcc -lmylib' it will link to libmylib.so, but i want it to link against libmylib.so.0 2020-10-30 14:47:29 I find it weird to move only the .so to -dev, and not .so.X 2020-10-30 14:47:46 do you think that was the intended behaviour? 2020-10-30 14:57:35 yes it was the intended behavior. obviously the .so.X doesn't belong in -dev because it's a runtime need 2020-10-30 14:57:58 for a library using sonames, -lfoo does not produce a runntime dep on libfoo.so 2020-10-30 14:58:04 but on libfoo.so.X 2020-10-30 14:58:13 -Wl,-soname, has to be set on libfoo's link though 2020-10-30 14:58:32 If that's missing then it will depend on libfoo.so, but that's incorrect 2020-10-30 14:58:36 if libfoo isn't using sonames, then libfoo.so is the runtime link abi, and the .so belongs in the main package not the dev one 2020-10-30 14:59:48 so how do we do this? i'm not sure 2020-10-30 15:00:58 mylib.so needs to be linked with the right linker flags 2020-10-30 15:01:02 in any case i think moving the .so's is wrong 2020-10-30 15:01:07 it breaks dlopen 2020-10-30 15:01:23 the .so's should be in the main packages not dev 2020-10-30 15:01:29 dev should just be headers and static libs 2020-10-30 15:01:42 daliad: But we don't want applications to ever link against non versioned libs 2020-10-30 15:01:52 abuild doesn't have any other means for detecting ABI breakages 2020-10-30 15:02:07 there's really nothing at all gained by omitting a trivial symlink in the main package 2020-10-30 15:02:24 use of non versioned lib is a contract never to break ABI :) 2020-10-30 15:02:34 or to switch to a versioned one if you do 2020-10-30 15:21:00 ok i identified the problem with condvar commit, fixing it 2020-10-30 15:53:21 ariadne, condvar fix pushed 2020-10-30 16:15:17 while i understand and I agree; I also see the advantage of removing the main .so from the package; breaking dlopen is an interesting point though; in terms of 'plugin behavior' though I guess for plugins you can handle this specifically 2020-10-30 16:15:54 but cogitri what would be the correct linker flags, and is this somethin meson would do automatically? Or is this so alpine specific, nobody else thought about it decently? 2020-10-30 16:25:38 It's not alpine specific 2020-10-30 16:25:58 https://www.man7.org/conf/lca2006/shared_libraries/slide4b.html 2020-10-30 16:26:42 See https://stackoverflow.com/questions/12637841/what-is-the-soname-option-for-building-shared-libraries-for for a simpler explanation 2020-10-30 16:27:02 Mylib needs to set -Wl,soname,mylib.so.ACTUALVERSION 2020-10-30 16:27:15 afterwards your project will link to the right thing 2020-10-30 18:31:03 Hi, I'm looking at the apk-tools tests at the moment, specifically the file `installif1.repo` and I'm wondering what the `C:` values are. The docs say it's "Pull Checksum", but if I add a new "package" there what can/should I set that value to? 2020-10-30 20:19:39 hm, pkg cannot makedepends on self, or I'm wrong? 2020-10-30 20:20:25 correct 2020-10-30 20:21:05 THat's why some packages depend on a virtual -bootstrap package 2020-10-30 20:21:08 any trick to 'override' this? 2020-10-30 20:21:26 adding version? 2020-10-30 20:21:31 exact one? 2020-10-30 20:24:26 no :( 2020-10-30 20:25:13 in PKBUILD it works 2020-10-30 20:25:27 PKGBUILD* 2020-10-30 20:26:52 you mean from archlinux? 2020-10-30 20:27:36 yes 2020-10-30 20:28:27 https://github.com/archlinux/svntogit-community/blob/packages/crystal/trunk/PKGBUILD 2020-10-30 20:28:47 crystal PKGBUILD have self in makedepends 2020-10-30 20:28:49 yes 2020-10-30 20:29:29 we cannot install pkg in prepare? 2020-10-30 20:29:50 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/ghc/APKBUILD#L29 2020-10-30 20:29:57 that's how haskell does it 2020-10-30 20:29:59 ghc 2020-10-30 20:30:31 https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/ghc/APKBUILD#L37 2020-10-30 20:30:44 yes, but they create -bootstrap subpkg 2020-10-30 20:31:11 which is not needed for crystal, previous version could be used 2020-10-30 20:31:22 there is a provides 2020-10-30 20:31:26 it's a virtual packae 2020-10-30 20:31:29 package 2020-10-30 20:31:50 ah, yes 2020-10-30 20:32:20 TH 2020-10-30 20:32:50 actually I worked on this a year ago but never finished and forgot details 2020-10-30 20:33:04 what 'TH' means? 2020-10-30 20:33:21 I wanted to type something, but my keyboard was not cooporating 2020-10-30 20:33:36 ah 2020-10-30 20:34:03 I remember having this same discussion with you :) 2020-10-30 20:34:51 yes, also I remember :) 2020-10-30 20:35:07 now looking at it and I see 'provides="$pkgname"' there 2020-10-30 20:36:12 sadly my laptop kb is acting up 2020-10-30 20:36:20 ikke: thanks for reminding me 2020-10-30 20:36:29 there is one 'column' that is barely working 2020-10-30 20:37:06 uh, sometimes I fix similar issues with strong vacuum cleaner 2020-10-30 20:37:37 and sometimes have to open box and clean keys 2020-10-30 21:14:25 dalias: built updated gcc 2020-10-30 21:14:28 dalias: err 2020-10-30 21:14:33 dalias: built updated musl + gc 2020-10-30 21:14:54 dalias: and no hangs running `while true; do crystal env; done` for a few minutes 2020-10-30 21:17:07 dalias: also no hang with parallelized gc 2020-10-30 21:17:39 Ariadne: good news 2020-10-30 21:18:15 i am considering pushing this to edge as 1.2.2_pre0 2020-10-30 21:19:38 does this pkgver works? 2020-10-30 21:19:44 yes 2020-10-30 21:19:52 good to know 2020-10-30 21:26:54 yolo 2020-10-30 21:27:17 edge is edge, time to live life on the edge 2020-10-30 21:27:18 :) 2020-10-30 21:29:03 yes 2020-10-30 21:29:21 I see you pushed 2020-10-30 21:29:56 :) 2020-10-30 21:30:21 Anyone has access to builders? telegraf fails only on builders and maintainer posted it https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/14094#note_121313 2020-10-30 21:30:40 can check 2020-10-30 21:32:22 mps: way i see it is, it can't be any more broken than what is presently in edge :) 2020-10-30 21:32:32 or what was presently in edge 2020-10-30 21:33:19 well, we will see 2020-10-30 21:33:34 will be interesting weekend :) 2020-10-30 21:33:53 andypost[m]: so that file does exist 2020-10-30 21:34:34 but seriously, I expect more pkgs broken expose by change with new malloc and other things in musl 2020-10-30 21:38:18 ikke, thank you! 2020-10-30 21:38:34 mps: we've had new malloc for a while 2020-10-30 21:38:40 mps: 1.2.1 shipped with new malloc 2020-10-30 21:39:55 yes, I know, but 1.2.1 exposed all this bugs which mt-fork patch trying to solve 2020-10-30 21:44:10 Cogitri: we really need to work on making rust cross-compileable 2020-10-30 21:44:39 the fact that rust is missing on s390x and mips64 is now blocking thousands of packages that would otherwise be fine on those archs 2020-10-30 21:44:52 since polkit -> mozjs 2020-10-30 21:47:34 andypost[m]: so if I read it correctly, if we'd remove that file, it should work for now? 2020-10-30 21:48:30 ikke: can you add -mlong-double-128 to CFLAGS on ppc64le builder 2020-10-30 21:48:54 Ariadne: didn't dalias say that was wrongA 2020-10-30 21:49:03 if its wrong who cares 2020-10-30 21:49:10 we need to get the builder moving again 2020-10-30 21:49:12 its stalled for weeks 2020-10-30 21:49:16 also https://gitlab.alpinelinux.org/alpine/aports/-/issues/12045 2020-10-30 21:51:48 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97543 2020-10-30 21:52:31 oh i see 2020-10-30 21:54:32 Ah, you just commented on the MR 2020-10-30 21:57:28 investigating it further, it seems appropriate 2020-10-30 21:57:32 lets give it a shot 2020-10-30 21:57:55 the mlong-double? 2020-10-30 22:02:31 Ariadne: Well, I'm still blocked on not having a clue how to setup a cross env 2020-10-30 22:02:44 So yeah 🤷‍♂️ 2020-10-30 22:02:47 what do you mean by crossenv here 2020-10-30 22:03:30 The things I need to do to make abuild crossvuild things 2020-10-30 22:03:42 run bootstrap.sh to get toolchain 2020-10-30 22:03:46 install the toolchain 2020-10-30 22:04:06 CBUILD=aarch64 abuild ... 2020-10-30 22:04:23 apkbuilds need to be split into makedepends_build/makedepends_host 2020-10-30 22:04:48 for rust, we need to create a rust-bootstrap 2020-10-30 22:05:06 and then rust itself provides rust-bootstrap 2020-10-30 22:05:08 like ghc 2020-10-30 22:05:32 then we can introduce community/rust-bootstrap that uses a trusted build for x86_64 to bootstrap the other rust-bootstrap packages 2020-10-30 22:05:52 the part i don't know is how to realize that with rust's build system 2020-10-30 22:06:17 but ghc is basically the approach we need to duplicate for rust 2020-10-30 22:06:37 i can cross-build the rust binaries once the machinery is actually there 2020-10-30 22:10:11 I feel like it'd be easier to rip out mozjs from polkit 2020-10-30 22:10:34 Duktape isn't upstream yet tho 2020-10-30 22:10:37 hell, alpine doesn't even have pam, you could cut the interpreter out entirely 2020-10-30 22:10:51 What 2020-10-30 22:10:53 No 2020-10-30 22:11:01 that'd break polkit entirely 2020-10-30 22:11:16 Hello71_: today it's mozjs 2020-10-30 22:11:20 Hello71_: tomorrow it will be something else 2020-10-30 22:11:31 we need to just make rust a first-class citizen and call it a day 2020-10-30 22:11:55 the sooner this is done, the sooner we don't have to worry about it anymore 2020-10-30 22:12:46 we already block on librsvg 2020-10-30 22:14:51 true 2020-10-30 22:15:16 for 3.14 i am planning to introduce riscv64 support 2020-10-30 22:15:23 this means even more pain fo me 2020-10-30 22:15:29 also ppc64 big-endian 2020-10-30 22:15:33 again, more pain for me 2020-10-30 22:15:49 i rather work to solve the bootstrap problem, then we have no more pain 2020-10-30 22:16:45 i want to see a world where rust dependencies can be arch=all 2020-10-30 22:16:54 or a world where rust does not exist 2020-10-30 22:17:12 second one ;P 2020-10-30 22:17:24 unfortunately, i do not have a time machine and thus cannot go back in time to 2010 with a lead pipe to discuss the situation with graydon hoare 2020-10-30 22:17:29 so 2020-10-30 22:17:47 let us work on fixing rust so we do not have this problem anymore :) 2020-10-30 22:17:47 I'll try to look into it soon-ish 2020-10-30 22:18:03 Can I run the bootstrapping stuff on non Alpine? 2020-10-30 22:18:20 yes but that is not the correct solution 2020-10-30 22:18:34 yesterday I saw news about new riscv64 with 8GB ram for $665 2020-10-30 22:18:55 what we need is the ability to do 2020-10-30 22:19:00 CBUILD=mips64 abuild -r 2020-10-30 22:19:05 in community/rust 2020-10-30 22:19:11 and have it produce a rust-bootstrap 2020-10-30 22:19:31 then we provide a trusted rust-bootstrap for *one* arch= based on the void linux one 2020-10-30 22:19:55 i just don't know how to do the rust side of this 2020-10-30 22:20:10 maybe i will just go pay some rust person to figure this mess out for me 2020-10-30 22:31:10 ikke: can you manually upgrade ppc64le edge 2020-10-30 22:31:37 system upgrade? 2020-10-30 22:37:37 yes 2020-10-30 22:37:40 apk upgrade :) 2020-10-30 22:37:49 the builder won't do it itself 2020-10-30 22:37:54 until all packages build successfully 2020-10-30 22:38:31 nod 2020-10-30 22:38:53 hmm 2020-10-30 22:39:08 did not upgrade anything 2020-10-30 22:39:20 hmm? 2020-10-30 22:39:24 can you do 2020-10-30 22:39:27 apk info gcc 2020-10-30 22:39:33 i'm talking about in the container 2020-10-30 22:39:38 it should be gcc 10.2-r6 2020-10-30 22:39:44 yes, i'm in the container 2020-10-30 22:40:06 \gcc-10.2.0-r6 description 2020-10-30 22:40:17 hmm 2020-10-30 22:40:28 guess IBM gets to try something else 2020-10-30 22:40:29 ;) 2020-10-30 22:47:20 one possible solution to this binutils issue 2020-10-30 22:47:31 could be to revert the https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=a8acd6eeb6dc2cc5460ece90f90ebe36b56b20ba;hp=6b728d3286a6e073e8cbdb63600e421de4f32dad 2020-10-30 22:51:09 i'll work on that 2020-10-30 22:52:57 +1 2020-10-30 22:53:48 i will also 2020-10-30 22:53:50 fix rust myself 2020-10-30 22:53:56 because i am so tired of this 2020-10-30 22:56:00 i feel like some people don't care if the builders are red 2020-10-30 22:56:29 or if some archs cannot even use critical packages like polkit 2020-10-30 22:56:33 it is somewhat frustrating 2020-10-30 23:02:32 Well, the workloads of devs just keeps increasing with new arches being added and some of those arches are so niche that devs feel like the work put in isn't worth ir, I suppose 2020-10-30 23:03:25 Problem is that most devs do not even have access to all these arches (except through our CI) 2020-10-30 23:03:28 the people who do not care about s390x, power and mips can at least take steps to *not* make life miserable for the people who do 2020-10-30 23:03:48 if you know mozjs depends on rust, and you know rust is not available everywhere, you can choose to not upgrade it 2020-10-30 23:04:04 until we work on fixing that 2020-10-30 23:04:20 Uhhh, and make all other arches have tons of CVEs until potentially forever? 2020-10-30 23:04:39 There was plenty of time to act on Rust or mozjs before that 2020-10-30 23:05:35 Saying we'll keep 99.9% of the user base with vulnerable packages because 0.1% can't upgrade because no one has put in the work for that (yet) doesn't sound like a great way to handle it 2020-10-30 23:05:49 no, but communication is important 2020-10-30 23:05:56 with mozjs we could have fixed the CVEs in the meantime 2020-10-30 23:06:09 there are people here who are capable of backporting security patches 2020-10-30 23:07:59 and i have asked several times for help with learning the rust side of bootstrapping 2020-10-30 23:08:22 right now, our bootstrap is "download something void linux built and use that" 2020-10-30 23:08:40 that is... not an appropriate way to bootstrap rust except initially 2020-10-30 23:08:59 ppc64le is fixed 2020-10-30 23:09:12 cool 2020-10-30 23:10:08 Cogitri: and i appreciate all the work you do for alpine. i'm not trying to attack you with this 2020-10-30 23:10:36 i am just saying, it is frustrating that we are in this mess with rust and the problem gets worse and worse 2020-10-30 23:10:49 it is indeed also my fault for trying to ignore rust for as long as possible 2020-10-30 23:10:51 (: 2020-10-30 23:11:58 Too many things starting to depend on rust while it's not even 'stable' yet 2020-10-30 23:12:18 when i packaged mozjs to begin with, i versioned the package so that newer ones could be introduced. the old mozjs could have kept around for the archs that are rustless 2020-10-30 23:12:24 (we could have done the same with rsvg) 2020-10-30 23:12:31 i do agree that the real fix is to get rust everywhere 2020-10-30 23:13:19 I don't think keeping old packages around and having different versions of different arches works that nicely though? 2020-10-30 23:13:30 But yes, getting Rust on all arches would be nice 2020-10-30 23:13:31 it works fine, actually 2020-10-30 23:13:44 we have gcc 9 on mips because gcc 10 is broken 2020-10-30 23:14:02 i put a lot of work into making sure that would work a long time ago :) 2020-10-30 23:14:19 Ah yes, but for mozjs we'd have a `case $CARCH` and then pull in the right version 2020-10-30 23:14:25 nope :D 2020-10-30 23:14:30 you just use provides= 2020-10-30 23:14:36 anyway, now that I know how to bootstrap I can look into rust in a bit 2020-10-30 23:14:54 well 2020-10-30 23:15:05 i can do a lot of it 2020-10-30 23:15:12 the first thing we need to do 2020-10-30 23:15:13 Ariadne: So different mozjsXX would provide mozjs on different arches? 2020-10-30 23:15:18 yes 2020-10-30 23:15:37 anyway. 2020-10-30 23:15:48 But isn't there an issue with virtual packages in makedepends because ap does not take them into account for the build orderA 2020-10-30 23:15:50 the first thing we need to do is make rust build itself using *our* rust package 2020-10-30 23:16:18 ikke: hmm, maybe. 2020-10-30 23:16:21 but that's fixable 2020-10-30 23:16:35 Ariadne: Well, it already does that? 2020-10-30 23:17:00 # The last revision of this abuild that does not depend on itself (uses 2020-10-30 23:17:00 # prebuilt rustc and cargo) is 2e6769eb39eaff3029d8298fc02856623c563cd8. 2020-10-30 23:17:02 nce! 2020-10-30 23:17:03 nice* 2020-10-30 23:17:16 provides="rust-bootstrap=$pkgver-r$pkgrel" 2020-10-30 23:17:22 that's not a hack though, its intentional 2020-10-30 23:17:30 Yes, it already builds with itseld 2020-10-30 23:17:34 because when you crossbuild you generate a real rust-bootstrap apkbuild 2020-10-30 23:17:36 er, apk 2020-10-30 23:17:56 ok that is really fantastic 2020-10-30 23:18:01 We just have to put in makedepends_* and add a few patches to Rust 2020-10-30 23:18:04 you've done a lot of the work needed already :) 2020-10-30 23:18:16 and set --build=$CBUILD if we don't already do that I think 2020-10-30 23:18:33 yes and override pkgname 2020-10-30 23:19:36 but ppc64le is now green at least 2020-10-30 23:19:51 \o/ 2020-10-30 23:28:06 the other thing i want to say is that CVEs are contextual 2020-10-30 23:28:51 a webpage being able to gain code execution through JIT spraying, for example, is a CVE concern, but only to something containing an HTML engine 2020-10-30 23:29:09 for polkit, it could link against mozjs60 and be totally fine 2020-10-30 23:29:36 marketing for security audit tools have wildly misinformed the public (and even developers) about the nature of CVEs 2020-10-30 23:30:01 so "having a ton of CVEs" is not really as severe as it sounds in reality 2020-10-30 23:30:15 it depends on what CVEs are in what components 2020-10-30 23:30:39 polkit does not run untrusted javascript in its javascript engine 2020-10-30 23:30:53 therefore, CVE yes, actual vulnerability no 2020-10-30 23:31:04 i'm more concerned about the holistic situation 2020-10-30 23:32:16 industrial focus on CVEs (and especially # of CVEs a system has as a metric) has resulted in an unhealthy way of handling security triage -- patching as the default response without proper analysis of the situation 2020-10-30 23:40:44 ariadne, you cannot add -mlong-double-128 to ppc64 to fix the problem. all that will do is produce a bunch of broken frankenstein-abi binaries 2020-10-30 23:40:54 dalias: yes yes, i fixed it correctly 2020-10-30 23:41:07 revert whatever broken change in binutils or gcc is making it error out linking libgcc_s 2020-10-30 23:41:23 how did you fix it? 2020-10-30 23:43:50 i reverted the binutils change 2020-10-30 23:44:14 after rememberng that musl requires 64-bit long double only 2020-10-30 23:46:58 what was the binutils change? 2020-10-30 23:47:44 ok i see 2020-10-30 23:47:51 this needs to be reported upstream as a bug too 2020-10-30 23:48:08 and mcm will need it when adding binutils 2.35 2020-10-30 23:48:19 yep 2020-10-30 23:49:32 well 2020-10-30 23:49:33 no 2020-10-30 23:49:36 the bug is in gcc 2020-10-30 23:49:51 gcc is generating a libgcc_s which advertises multiple ABIs 2020-10-30 23:50:00 binutils was just not validating 2020-10-30 23:50:07 what i did was revert the change which makes it validate 2020-10-30 23:50:09 :) 2020-10-30 23:50:23 found it 2020-10-30 23:50:53 the ppl reviving glibc ld64 support will be harmed by this change too 2020-10-30 23:51:13 there, libgcc and glibc both need to keep exporting double-double abi as well 2020-10-30 23:51:23 but will compile and link new programs as ld64 2020-10-30 23:51:38 https://sourceware.org/bugzilla/show_bug.cgi?id=25882#c7 2020-10-30 23:51:45 yes 2020-10-30 23:51:54 i've just done what fixes it for us right now 2020-10-30 23:52:00 your fix is the right fix 2020-10-30 23:52:09 the binutils change is wrong. gcc is not wrong 2020-10-30 23:52:23 ability to support both ABIs from a single .so was a feature 2020-10-30 23:52:24 it could be that the validation is faulty, yes 2020-10-30 23:52:33 and the "validation" breaks that 2020-10-30 23:59:04 i personally think validation is probably a good thing to have, even if this instance of it is broken 2020-10-31 00:01:25 have you really thought about it? 2020-10-31 00:01:52 there's really no way mismatched libraries even end up in the same place unless you're actively *trying* to do something unusual 2020-10-31 00:02:16 and in that case, the historical design *intentionally* allowed for shared libraries that support both (like glibc does) 2020-10-31 00:47:35 true 2020-10-31 02:03:27 Any idea what's wrong with CI? every job fails with - make: /bin/sh: Operation not permitted 2020-10-31 02:06:10 and now error 127 even in docker for any package 2020-10-31 02:25:04 :/ 2020-10-31 06:03:35 Unfortunately doesn't happen with musl=1.2.1-r2 2020-10-31 08:14:23 huh, musl 1.2.2_pre0 is buggy 2020-10-31 08:19:31 hmmm, how it is possible that Ariadne gc commit I've seen on #alpine-commits is not aports repo 2020-10-31 08:20:13 which one? 2020-10-31 08:21:05 I see a commit has been reverted 2020-10-31 08:21:15 sorry, it is 2020-10-31 08:21:19 10b83865787d52b0017cd5b31afa15b9306d7ac9 2020-10-31 08:21:26 I forgot rebase 2020-10-31 08:22:09 but also pkgrel is reverted :) 2020-10-31 08:22:24 yup 2020-10-31 08:23:00 it should be incremented instead of decremented 2020-10-31 08:24:11 https://tpaste.us/K5gq 2020-10-31 08:25:51 I could also just purge cdn 2020-10-31 08:26:20 yes, do it please, I'm out now 2020-10-31 08:26:49 Hmm, no issues getting the package though 2020-10-31 08:26:57 h 2020-10-31 08:26:59 wrong version 2020-10-31 08:28:54 done\ 2020-10-31 08:30:09 hmhm, I don't see gc pkgrel fix push on #a-commits 2020-10-31 08:30:25 I purged cdn 2020-10-31 08:30:32 aha 2020-10-31 08:31:34 although, people who have -r2 won't go back to r1 2020-10-31 08:32:24 that is problem 2020-10-31 08:32:33 ok, will bump r3 2020-10-31 08:32:42 thanks 2020-10-31 08:35:39 done 2020-10-31 08:36:03 :) 2020-10-31 08:36:58 Though, curious why it was reverted. The commit message doesn't mention 2020-10-31 08:37:48 some people thinks that the featurism is more important than stability 2020-10-31 08:38:03 it's a tough choice 2020-10-31 08:38:07 a trade-off 2020-10-31 08:38:50 A stable system that does nothing is not very use-full :) 2020-10-31 08:38:51 no, it is not, if you don't work for company selling features 2020-10-31 08:39:34 Depends if all you care is about your own usecases or not 2020-10-31 08:39:40 a system that does 'wrong things' is worse than do nothing 2020-10-31 08:40:14 stability trumps features for anything less than couple of thousand servers scale 2020-10-31 08:40:23 If your own usecases are covered, everything extra is 'bloated' 2020-10-31 08:41:12 take analogy with cars, do anyone wants car which crashes because they are shiny ;P 2020-10-31 08:41:26 mps: probably :P 2020-10-31 08:41:35 or ugly one but safe 2020-10-31 08:42:22 yes, I know some people will risk their life and lives of other just to have shiny car 2020-10-31 08:43:10 else who will buy these AI driven cars ;) 2020-10-31 08:44:30 Statistically, AI driven cars would be safer. If all cars on the road were AI driven, and there were no cyclists or pedestrians. 2020-10-31 08:44:59 :D 2020-10-31 08:45:52 and 'there are lies, damned lies and statistic', old saying 2020-10-31 08:46:37 computers would work so well if there were no users 2020-10-31 08:47:18 and no electric supply, I would add 2020-10-31 08:47:38 They would work as well as a brick 2020-10-31 08:48:12 and bricks are one of most stable human inventions 2020-10-31 08:51:00 brick beats car. Especially when dropped from an overpass on a car doing 120km/h 2020-10-31 08:53:55 properly used bricks beat nearly everything :) 2020-10-31 08:54:48 a slice of bread beats a brick when you're hungry :P 2020-10-31 08:56:07 bricks can be used to build ovens. Give a man a fish versus teach a man to fish ;) 2020-10-31 08:56:13 a brick used to 'kill food' when you are hungry is better 2020-10-31 08:56:37 depends on how good you are at hunting 2020-10-31 08:57:19 hunting with a brick does not sound so easy 2020-10-31 08:58:10 make few fractions of one brick and chances are better 2020-10-31 08:58:18 'hungry', adj.: Old english word for 'having a lousy aim when throwing bricks' 2020-10-31 08:58:31 detha: :) 2020-10-31 08:58:57 :D 2020-10-31 10:29:25 Firefox is completely broken for me since that Musl rebuild 2020-10-31 10:29:33 Tabs are constantly crashing, they literally won't load because of it 2020-10-31 10:29:39 Is anyone else experiencing this? 2020-10-31 10:30:00 I think fabled already pushed a fix 2020-10-31 10:30:14 Apparently something in musl changed that keeps ABI compatibility but breaks seccomp 2020-10-31 10:30:16 Yes, just needed a rebuild 2020-10-31 10:30:21 works for me now 2020-10-31 10:30:26 just do upgrade 2020-10-31 10:30:33 No I got that rebuild 2020-10-31 10:30:36 It's broken 2020-10-31 10:30:54 Like I said, it's broken for me since that Musl rebuild 2020-10-31 10:31:05 I'm running 82.0-r1 currently 2020-10-31 10:31:13 huh. it works for me just fine 2020-10-31 10:31:18 but -r0 was broken 2020-10-31 10:31:51 Well -r1 still is 🤷‍♂️ 2020-10-31 10:32:05 Still complains about the sandbox violation 2020-10-31 10:32:15 "Sandbox: seccomp violation:" 2020-10-31 10:32:44 oh, sshd also was broken on 3.10 because of seccomp, i wonder if it also was affected 2020-10-31 10:33:03 although it still works on non 3.10 kernels, like 3.4 2020-10-31 10:33:32 Huh? 😅 2020-10-31 10:33:46 He is talking about devices using 3.10 kernels, postmarketOS probably 2020-10-31 10:33:58 Not Alpine 3.10 😉 2020-10-31 10:34:18 But yeah what can I do now to fix Firefox? 2020-10-31 10:34:30 A reinstall (just to make sure I have the correct version) did not do the trick either 2020-10-31 10:35:10 Hm, maybe that seccomp patch we're already carrying needs to have another exception added 2020-10-31 10:35:17 But weird that it works for fabled and not you 2020-10-31 10:35:24 Magic 2020-10-31 10:35:27 maxice8: I think you also had problems with FF, does it work for you now? 2020-10-31 10:35:46 I don't dare upgrade my laptop atm... 2020-10-31 10:36:41 Why was Musl upgraded to a pre-release anyway? 2020-10-31 10:37:13 to help test the fixes before release. and the current release has breakage in the fork/execve with several apps. so it was considered to be an improvement 2020-10-31 10:37:25 rebooting 2020-10-31 10:37:35 Hmm 2020-10-31 10:37:39 oh, you are talking about recent musl upgrade 2020-10-31 10:37:45 Yup 2020-10-31 10:37:57 then nvm my comment about sshd, it was broken long before this upgrade 2020-10-31 10:39:25 it is edge and it sometimes break 2020-10-31 10:40:11 and musl need to be tested with these added workarounds for a lot of buggy pkgs 2020-10-31 10:41:59 I wrote last this weekend will be 'interesting' 2020-10-31 10:45:46 I'm doing a local rebuild now, see if it helps 2020-10-31 10:46:43 not sure 2020-10-31 10:47:09 musl should be fixed 2020-10-31 11:10:53 mps: can we merge !14144? this release includes an important bug fix for a stack overflow 2020-10-31 11:11:05 otherwise I would just backport the patch for the stack overflow in the meantime 2020-10-31 11:16:17 nmeum: yes, I tested locally and on devs lxc 2020-10-31 11:17:05 I think it could be merged but not sure will it work with latest musl push 2020-10-31 11:17:47 PureTryOut[m]: firefox-esr -r1 is also broken for me 2020-10-31 11:17:59 puh, that's annoying 2020-10-31 11:17:59 I'm preparing backport for 3.12, hope will finish it today 2020-10-31 11:18:13 for tmux? 2020-10-31 11:18:23 yes 2020-10-31 11:18:39 but if you want right now please do 2020-10-31 11:18:50 can do anything right now because my firefox doesn't work :D 2020-10-31 11:18:52 *can't 2020-10-31 11:19:03 heh 2020-10-31 11:20:07 because that before every upgrade of base 'things' I do backup 2020-10-31 11:20:30 could also use an older btrfs snapshot, but don't really want to do that 2020-10-31 11:21:56 nmeum: good that I'm not the only one at least 2020-10-31 11:22:00 does that musl upgrade include any new syscalls in the stuff used by firefox? if so we probably just need to change the firefox sandbox systemcall whitelist I guess? 2020-10-31 11:22:10 ok, in a half an hour i will make tmux MR for 3.12 2020-10-31 11:22:32 I would just backport the openbsd errata patch I linked in the comment though 2020-10-31 11:23:22 nmeum: not needed, tmux in 3.12 is 3.1b, safer and simple is just upgrade to 3.1c 2020-10-31 11:23:38 ah, yeah I agree then 2020-10-31 11:26:32 > Sandbox: seccomp sandbox violation: pid 14036, tid 14036, syscall 16 2020-10-31 11:26:35 what is syscalls 16? ioctl? 2020-10-31 11:27:07 mps: i reverted it because we no longer needed to disable it since musl was fixed 2020-10-31 11:27:21 if syscalls 16 is ioctl, the problem might be https://git.musl-libc.org/cgit/musl/commit/?id=4d5786544bb52c62fc1ae84d91684ef2268afa05 ? 2020-10-31 11:28:52 Ariadne: what about you wrote? 2020-10-31 11:28:52 #define __NR_ioctl 16 2020-10-31 11:29:27 so if that code from the linked commit is triggered by firefox that would explain the sandbox violation I guess 2020-10-31 11:29:31 mps: yes, i think --disable-parallel-mark is a better bet *but* i don't want to deal with complaints if the underlying problem itself is fixed 2020-10-31 11:29:52 aha 2020-10-31 11:30:27 the users i support commercially do not care either way, gc is not part of our image or default package set 2020-10-31 11:30:56 I'm not moaning about that revert, people who want feature^Wperfomance will be hapy 2020-10-31 11:31:32 with mallocng i doubt that there is any performance improvement really 2020-10-31 11:34:16 but I will keep 'gc' with --disable-parallel-mark for me 2020-10-31 11:39:22 I would assume we need to add a case for __NR_ioctl (or update the exsting one) in security/sandbox/linux/SandboxFilter.cpp in the firefox source? 2020-10-31 11:41:13 nmeum: !14148 it was really simple 2020-10-31 11:41:28 sweet :) 2020-10-31 11:41:55 merged 2020-10-31 11:47:50 nmeum: yes 2020-10-31 11:48:04 So make is broken on edge? 2020-10-31 11:48:59 I guess with the latest musl 2020-10-31 11:49:08 hmm, /usr/include/bits/syscall.h:#define __NR_ioctl 29 2020-10-31 11:49:09 Ariadne: problem is: firefox already seems to have some complex logic for allowing certain ioctls in certain circumstances (if I understand the code correctly) will take some tinkering to handle this case I guess… 2020-10-31 11:49:32 mps: on x86_64? 2020-10-31 11:49:43 aarch64 2020-10-31 11:49:50 syscall numbers differ between architectures 2020-10-31 11:50:20 yes, I see 2020-10-31 11:53:43 latest musl version breaks make: 2020-10-31 11:53:45 https://tpaste.us/oPaR 2020-10-31 11:54:23 https://tpaste.us/jnXq this patch *might* fix the firefox issue, my build server is currently down so I can't really test though :/ 2020-10-31 11:55:24 maybe time to revert the musl upgrade then? 2020-10-31 11:55:42 why did we upgrade to an unreleased musl version in the first place? 2020-10-31 11:56:11 I guess to find issues like this 2020-10-31 11:57:07 nmeum: because its about to be released, and it has fixes we need 2020-10-31 11:58:09 well 2020-10-31 11:58:16 time to fix make first then I guess, if it is really broken 2020-10-31 11:58:33 lets see musl changelog 2020-10-31 11:58:39 or perhaps strace :) 2020-10-31 11:58:48 I was working on an strace 2020-10-31 11:58:58 but, as always 2020-10-31 11:59:11 when I run docker in privileged mode, I don't get any issue 2020-10-31 11:59:20 so perhaps libseccomp issue? 2020-10-31 11:59:31 yes, likely 2020-10-31 12:00:48 nmeum: Since CI is currently broken, could we merge bear w/o re-enabling s390x for now (if it works for you)? 2020-10-31 12:01:00 Would be nice to get my CI pipeline going again 2020-10-31 12:01:20 https://git.musl-libc.org/cgit/musl/commit/?id=b8b729bd22c28c9116c2fce65dce207a35299c26 2020-10-31 12:01:22 possibly this 2020-10-31 12:02:17 Cogitri: sure, problem is just: this reminds me to fix the s390x thing and if we don't test this with the new release now I will just forget about it ':) 2020-10-31 12:02:51 I also can't test the PR atm due to firefox breakage :D 2020-10-31 12:02:57 We could open an issue and assign you to it if that does the trick :P 2020-10-31 12:03:01 Oh, fair 2020-10-31 12:03:47 if it's urgent for you just merge it and open an s390x ticket for me I guess…but as I said: can't test it currently 2020-10-31 12:03:49 we could revert the ioctl stuff 2020-10-31 12:03:54 I tried that 2020-10-31 12:04:08 or to be more specific I just replaced that ioctl call with `return 0` 2020-10-31 12:04:15 but that didn't fix firefox for me 2020-10-31 12:04:18 hmm 2020-10-31 12:04:22 probably unrelated then 2020-10-31 12:04:28 nmeum: Nop, it's not that urgent :) 2020-10-31 12:05:06 https://git.musl-libc.org/cgit/musl/commit/?id=55fb9a177316aa46c639d93dd0323d9a9a8c160c 2020-10-31 12:05:10 ikke: ^^^ 2020-10-31 12:05:19 ikke: i am pretty sure this is what the problem is :) 2020-10-31 12:05:25 Ariadne: https://tpaste.us/BEoY 2020-10-31 12:05:27 strace output 2020-10-31 12:05:44 53 faccessat2(AT_FDCWD, "/bin/sh", X_OK, AT_EACCESS) = -1 EPERM (Operation not permitted) 2020-10-31 12:05:45 yep 2020-10-31 12:06:00 Ariadne: re: ioctl and firefox, I don't think its unrelated if you diff musl HEAD with 1.2.1 using `git diff v1.2.1..HEAD`, the commit I linked above is the only new ioctl invocation in musl that comes up 2020-10-31 12:06:16 nmeum: but is firefox working on musl 1.2.1? 2020-10-31 12:06:49 yes, 100% I still have it working on my other laptop 2020-10-31 12:06:57 musl-1.2.1-r2 there 2020-10-31 12:07:12 downgrade musl on the same machine and check? 2020-10-31 12:07:56 good idea, firefox shouldn't need a rebuild. right? 2020-10-31 12:08:06 after downgrading musl that is 2020-10-31 12:08:12 yes 2020-10-31 12:08:32 ikke: i think docker needs to be aware of SYS_faccessat2 2020-10-31 12:08:59 Ariadne: So it needs to be added to the seccomp profile? 2020-10-31 12:09:05 yes 2020-10-31 12:09:25 although, containerd has 2020-10-31 12:09:25 contrib/seccomp/seccomp_default.go: "faccessat2", 2020-10-31 12:09:43 I think docker has its own seccomp profile 2020-10-31 12:10:21 https://github.com/moby/moby/blob/master/profiles/seccomp/default.json 2020-10-31 12:10:36 but faccessat2 is in there 2020-10-31 12:10:53 Ariadne: downgraded musl and that works 2020-10-31 12:10:59 https://github.com/moby/moby/commit/a18139111d8a203bd211b0861c281ebe77daccd9 2020-10-31 12:11:04 Was added 3 months ago 2020-10-31 12:11:08 components/engine/profiles/seccomp/default.json: "faccessat", 2020-10-31 12:11:09 Ariadne: very very certain that it is the ioctl commit I referenced 2020-10-31 12:11:12 not in the one we are shipping 2020-10-31 12:11:29 nmeum: i can revert it for now 2020-10-31 12:11:35 (that commit) 2020-10-31 12:11:46 lets revert faccessat2 for the moment too 2020-10-31 12:11:50 I think the firefox change I linked should also work 2020-10-31 12:11:58 that would imho be the way to go 2020-10-31 12:12:01 let me see 2020-10-31 12:12:23 yes 2020-10-31 12:12:26 that should work 2020-10-31 12:12:38 we just have to tell the firefox sandbox to allow ioctl with TIOCSWINSZ should be that simple 2020-10-31 12:12:42 go ahead and push it and lets see 2020-10-31 12:13:08 without checking if it compiles first? :D 2020-10-31 12:14:08 it looks like it would compile to me :) 2020-10-31 12:14:18 ok, let's see then 2020-10-31 12:15:38 Ariadne: I could temporarily add the latest seccomp profile to our CI hosts 2020-10-31 12:15:50 ikke: yes, that will work 2020-10-31 12:16:07 ikke: the problem isthe one we are shipping is outdated 2020-10-31 12:16:24 i have no idea how to update it though (: 2020-10-31 12:17:52 Ariadne: https://github.com/moby/moby/blob/v19.03.13/profiles/seccomp/default.json 2020-10-31 12:17:56 it's missing from the latest docker release 2020-10-31 12:18:00 checking if the patch applies cleanly alones takes ages with firefox aport ufff 2020-10-31 12:18:11 shitty bloatware 2020-10-31 12:18:21 Ariadne: so we could backport it to docker 2020-10-31 12:19:06 nmeum: imagine doing that on mmc fs 2020-10-31 12:19:55 https://gitlab.alpinelinux.org/alpine/aports/-/commit/ff0f7f796a5435509f6af0382c2d4d89e016c7c3 2020-10-31 12:20:01 let's see how it goes :D 2020-10-31 12:21:50 Ariadne: :( 2020-10-31 12:22:26 Please fix regular Firefox too, I don't use firefox-esr myself 2020-10-31 12:22:45 sure, as the commit messages says: didn't test this locally yet 2020-10-31 12:23:03 so lets first make sure the build passes for firefox-esr and actually works 2020-10-31 12:23:19 afterwards we can apply the same patch for firefox 2020-10-31 12:23:21 Ariadne: running docker with the latest seccomp profile that has faccessat2 added does not fix it 2020-10-31 12:23:48 are you sure it is actually applying the changed profile 2020-10-31 12:23:57 lets just revert the faccessat2 for now 2020-10-31 12:24:11 /usr/bin/dockerd -p /run/docker.pid --seccomp-profile /etc/docker/seccomp.json 2020-10-31 12:24:11 i think that is the better way to go 2020-10-31 12:24:30 I explicitly run docker with the seccomp profile 2020-10-31 12:24:37 ok 2020-10-31 12:24:57 i think point releases of software should not introduce changes like these, but musl is not my project :P 2020-10-31 12:25:08 :) 2020-10-31 12:25:30 we could also try to simply backport https://github.com/containerd/containerd/commit/6a915a1453a5bfd859664679e1ac478a7022c7f6 2020-10-31 12:26:01 reverted the seccomp profile again 2020-10-31 12:29:39 nmeum: my patience for this has been exceeded right now 2020-10-31 12:29:50 my patience for musl in general is starting to be exceeded 2020-10-31 12:30:14 at least 1.2.x 2020-10-31 12:30:27 every musl 1.2 release has had fallout 2020-10-31 12:30:42 I don't really think that musl is to blame for firefox stupid syscall filter 2020-10-31 12:30:55 which is only tested with some glibc ubuntu version by the firefox devs 2020-10-31 12:30:59 no, but switching to new syscalls 2020-10-31 12:31:03 inside musl 2020-10-31 12:31:16 without giving time for seccomp filters to be adjusted 2020-10-31 12:31:23 is not really ideal 2020-10-31 12:31:33 How would you give time for seccomp profiles to be updated? 2020-10-31 12:31:50 simple: linux 5.8 added sys_faccessat2 2020-10-31 12:31:58 aha 2020-10-31 12:32:00 wait until linux 5.12 to start using it 2020-10-31 12:32:19 by then, seccomp profile updates should have trickled down 2020-10-31 12:32:37 that wouldn't fix the ioctl issue though :p 2020-10-31 12:32:43 s/fix/mitigate/ 2020-10-31 12:32:44 nmeum meant to say: that wouldn't mitigate the ioctl issue though :p 2020-10-31 12:32:47 dalias says the issue is that it's returning the wrong exit code 2020-10-31 12:32:53 or error code 2020-10-31 12:32:54 no, i am more annoyed about the sys_faccessat2 2020-10-31 12:33:00 EPERM instead of ENOSYS 2020-10-31 12:33:35 yes 2020-10-31 12:33:45 because thats what the seccomp filters do 2020-10-31 12:33:55 they return EPERM when an unknown syscall is requested 2020-10-31 12:34:15 yes, that is likely wrong 2020-10-31 12:34:49 but i do not have the time today (or, really any day -- i think seccomp is absolutely moronic) to fix those :P 2020-10-31 12:35:02 heh 2020-10-31 12:35:16 well just revert the sys_faccessat2 thingy then 2020-10-31 12:35:24 i did 2020-10-31 12:35:45 I'll test it once it lands 2020-10-31 12:35:47 we will do that for now and revisit faccessat2 later 2020-10-31 12:36:13 in the case of CI, doesnt gitlab-runner 2020-10-31 12:36:15 embed its own docker 2020-10-31 12:36:19 > build-edge-armv7: failed to build firefox-esr: 2020-10-31 12:36:20 hmhmhm 2020-10-31 12:36:22 Ariadne: no 2020-10-31 12:36:50 the runner uses the host docker daemon 2020-10-31 12:37:13 time to play the "find the error message in the 10 MiB build log"-game 2020-10-31 12:38:33 also on aarch64 2020-10-31 12:39:22 nmeum: At least 10 MiB is something less can handle somewhat well still :D 2020-10-31 12:39:23 love how the build log is full with warnings 2020-10-31 12:39:33 It starts to get annoying with 100MiB logs :^) 2020-10-31 12:39:44 Yeah, especially the Rust stuff is full of warnings 2020-10-31 12:39:58 actually it's 61.1 MiB :3 2020-10-31 12:40:06 Because Rust deprecates stuff relatively often compared to other langs and FF is slow ti update its deps 2020-10-31 12:40:19 nmeum: https://tpaste.us/by4M 2020-10-31 12:40:22 Oh, searching in that is no fun :D 2020-10-31 12:40:39 less does a pretty good job 2020-10-31 12:40:42 Oh wait, you're talking about FF-esr <78.5? 2020-10-31 12:40:47 yes 2020-10-31 12:40:50 That's broken with rustc >=1.47 2020-10-31 12:40:53 this doesn't look related to my patch 2020-10-31 12:40:53 Known upstream 2020-10-31 12:40:56 wow that too m) 2020-10-31 12:40:59 well fuck 2020-10-31 12:41:03 Patch will land in firefox-esr 78.5 2020-10-31 12:41:22 See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/13787 2020-10-31 12:41:28 so...how do I test the musl ioctl fix then? ':) 2020-10-31 12:41:40 There's a patch mentioned in that MR 2020-10-31 12:41:50 But it's a few thousand LOC 2020-10-31 12:42:02 yikes 2020-10-31 12:42:25 Yeah :/ 2020-10-31 12:42:33 The patch is backporting an upgrade to a dependency 2020-10-31 12:42:40 And that dependency apparently changed A LOT recently 2020-10-31 12:42:48 So it's basically rewriting itself :D 2020-10-31 12:43:13 does community/firefox still build? 2020-10-31 12:43:32 Non esr builds I think 2020-10-31 12:43:35 Haven't tested 2020-10-31 12:44:02 So now what? 2020-10-31 12:44:03 should I try my ioctl patch with community/firefox instead of community/firefox-esr then? ':) 2020-10-31 12:44:06 revert ff-esr? 2020-10-31 12:44:12 even if we revert it it doesn't buidl 2020-10-31 12:44:21 Yes 2020-10-31 12:44:30 Well, it should stop trying to build it 2020-10-31 12:44:37 I guess 2020-10-31 12:44:40 Either we wait for 78.5 to land or apply that patch 2020-10-31 12:44:49 idk what do you prefer? 2020-10-31 12:44:53 Unfortunately I'm pretty busy due to uni right now so I can't look into that right now :/ 2020-10-31 12:44:56 we could just disable it, i don't know what's best here 2020-10-31 12:44:58 I'd prefer to get the builders green 2020-10-31 12:45:12 hehe, don't we all? 2020-10-31 12:45:21 Apparently 78.5 is scheduled for November 17 2020-10-31 12:45:25 I certainly do hope so :) 2020-10-31 12:45:29 well that's a while 2020-10-31 12:45:32 So I guess backporting the patch would be good 2020-10-31 12:45:34 Yeah 2020-10-31 12:45:39 But it has been a while since the builders have been completely green 2020-10-31 12:47:07 regarding firefox: as I said before: my build server is down, I can't build it on my laptop and the ci is broken too so I can't really work on backporting the rust patch for firefox-esr 2020-10-31 12:47:27 nmeum: I think we should be able to get you an lxc container 2020-10-31 12:47:57 nmeum: interested? 2020-10-31 12:47:59 ure 2020-10-31 12:48:00 sure 2020-10-31 12:48:14 if I can just ssh into it 2020-10-31 12:48:58 I can add a port forward 2020-10-31 12:49:29 Can I use one of these keys? https://gitlab.alpinelinux.org/nmeum.keys 2020-10-31 12:49:45 > It will probably be less painful to just downgrade rust until this is fixed upstream. 2020-10-31 12:49:51 uff 2020-10-31 12:50:22 :D :D :D :D 2020-10-31 12:50:26 just backport the patch 2020-10-31 12:50:33 ikke: yes 2020-10-31 12:50:47 i hate computers 2020-10-31 12:50:50 especially firefox 2020-10-31 12:50:53 me too 2020-10-31 12:52:05 Although downgrading rust wouldn't be less painful since bootstrapping Rust of $pkgver with $pkgver + 0.1 probably wont work :D 2020-10-31 12:52:10 Rust devs only test with $pkgver - 0,1 2020-10-31 12:52:24 oh boy 2020-10-31 12:52:30 So we'd have to steal the Rust tarballs from 3.12 and bootstrap from that 2020-10-31 12:52:40 :D :D :D :D :D 2020-10-31 12:52:44 Bumping version by version until 1.45 2020-10-31 12:52:51 i hate computers, especially rust 2020-10-31 12:52:52 how about we just disable firefox-esr for two weaks? 2020-10-31 12:52:55 Which is even more painful for us because of our downstream patches 2020-10-31 12:52:57 *weeks 2020-10-31 12:53:07 Not a great solution, but we can disable it for now to get the builders green 2020-10-31 12:53:14 I don't see myself spending a weekend to backport a firefox-esr patch that is obselete in two weeks 2020-10-31 12:53:25 downgrade the pkgrel if you do that 2020-10-31 12:53:31 so it doesn't delete the pre-existing build 2020-10-31 12:53:43 hm? 2020-10-31 12:53:54 if you disable 2020-10-31 12:54:01 with incremented pkgrel 2020-10-31 12:54:10 the builders will purge the current firefox-esr packages 2020-10-31 12:54:19 https://tpaste.us/7gKB like this? 2020-10-31 12:54:29 yes 2020-10-31 12:54:54 but the last succesfully build firefox esr version is 78.3.1-r0 2020-10-31 12:54:56 that won't be purged then? 2020-10-31 12:54:57 with some luck, we will have rust on s390x and mips by the end of next week 2020-10-31 12:55:05 no 2020-10-31 12:55:08 it will be left alone 2020-10-31 12:55:11 its a bug 2020-10-31 12:55:16 hahaha 2020-10-31 12:55:20 ok...... 2020-10-31 12:55:24 I guess we do that then? 2020-10-31 12:55:27 Ariadne: Feel free to ping me if there's something I can help with the Rust 2020-10-31 12:55:45 Cogitri: i just need help with the apkbuild + rust itself side 2020-10-31 12:56:09 Cogitri: if we can get to a point where CBUILD=aarch64 abuild -r generates an aarch64 rust on x86, i can take it from there 2020-10-31 12:56:48 Ariadne: you mean rust is a bug or purge is a bug? 2020-10-31 12:56:55 ikke: yes 2020-10-31 12:56:58 insep_: yes 2020-10-31 12:57:21 nmeum: can you try root@147.75.32.21 -p 22029 2020-10-31 12:57:38 works 2020-10-31 12:57:41 cool 2020-10-31 12:57:42 enjoy 2020-10-31 12:57:48 hehe 2020-10-31 12:57:49 thanks 2020-10-31 12:57:56 my plan is basically 2020-10-31 12:58:02 cross-compile s390x and mips64 rust 2020-10-31 12:58:08 ikke: would you be ok with disabling firefox-esr in the way Ariadne suggested though? 2020-10-31 12:58:18 get ikke to install the cross-compiled s390x rust on the builder 2020-10-31 12:58:22 i do likewise for mips64 2020-10-31 12:58:23 :) 2020-10-31 12:58:35 voila, we have rust on s390x and mips64 2020-10-31 12:58:46 and can use that rust to build a new rust 2020-10-31 12:59:29 nmeum: ariadne suggested to revert it again, right? 2020-10-31 12:59:34 to the version that alreayd exists 2020-10-31 12:59:39 basically, yes 2020-10-31 12:59:43 if you revert it 2020-10-31 12:59:49 it will stop building it 2020-10-31 12:59:51 yes 2020-10-31 12:59:53 you dont actually need to disable 2020-10-31 12:59:56 ah 2020-10-31 12:59:57 i think 2020-10-31 13:00:03 so just decrementing the pkgrel should be sufficient? 2020-10-31 13:00:03 Ariadne: that's my understanding as well 2020-10-31 13:00:12 nmeum: no, git revert is needed because mtime 2020-10-31 13:00:17 aha 2020-10-31 13:00:22 abuild will rebuild if mtime changes 2020-10-31 13:00:34 ok, someone go ahead and do that 2020-10-31 13:00:46 I can do that 2020-10-31 13:00:48 thank youk 2020-10-31 13:01:18 ikke: will you have time this week to install a cross-compiled rustc onto the s390x builder and kick off a rebuild by hand? 2020-10-31 13:01:21 I will test my ioctl musl patch with community/firefox on the lxc you gave me in the meantime 2020-10-31 13:01:25 ACTION wonders what are the chances of rust crosscompiling successfully using pmbootstrap 2020-10-31 13:01:45 insep_: same chances as dabuild 2020-10-31 13:01:52 Ariadne: yeah, I think so 2020-10-31 13:02:04 insep_: rust has to be patched to support each new alpine target (because reasons) 2020-10-31 13:02:35 Ariadne: is musl one of those reasons? 2020-10-31 13:02:40 insep_: pmbootstrap does not actually crosscompile, but uses qemu-user 2020-10-31 13:02:58 insep_: yes. rust assumes musl = static 2020-10-31 13:03:11 so we add our own targets for dynamically linked musl 2020-10-31 13:03:36 nmeum: reason is incompattibility with rust, correct? 2020-10-31 13:03:41 Ariadne: not really, we have some minimal rustc support that is able to compile hello world and fails at more compleх stuff, see https://gitlab.com/postmarketOS/pmbootstrap/-/issues/1901 2020-10-31 13:03:47 1.47? 2020-10-31 13:04:03 insep_: weird 2020-10-31 13:04:25 ikke: looks like it https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/13787#note_120229 2020-10-31 13:04:38 maybe just reference that MR thread in the commit 2020-10-31 13:04:51 the way how we crosscompile stuff is create chroot with $target arch and make native compilers available in it 2020-10-31 13:05:04 nmeum: thanks, will do 2020-10-31 13:05:13 also wtf i didn't eхpect matriх=>irc bridge to have such low lag 2020-10-31 13:07:03 ok, that worked 2020-10-31 13:08:20 yeah, finally something that does work :) 2020-10-31 13:08:33 now clean-up KDE stuff 2020-10-31 13:09:11 errrrrrrrrr 2020-10-31 13:09:16 ikke 2020-10-31 13:09:19 you reverted wrong one 2020-10-31 13:09:31 ff0f7f796a5435509f6af0382c2d4d89e016c7c3 2020-10-31 13:09:34 is the one needing revert 2020-10-31 13:09:44 ugh 2020-10-31 13:09:49 I thought I had that one selected :( 2020-10-31 13:10:35 honestly 2020-10-31 13:10:46 i think we should keep kde red on s390x/mips and just fix rust 2020-10-31 13:10:57 hmm 2020-10-31 13:11:06 because once rust is fixed 2020-10-31 13:11:13 we can just unblock basically everything 2020-10-31 13:11:27 and mips and s390x can even have gnome 2020-10-31 13:11:37 (not that anyone is going to really run gnome or kde on these devices but :P) 2020-10-31 13:14:58 https://tpaste.us/1JO0 2020-10-31 13:15:07 That should be correct now, right? 2020-10-31 13:15:54 ah, you alreayd pushed it 2020-10-31 13:17:30 lets target s390x first for rust 2020-10-31 13:18:08 Yes, that'd be handy so we can have polkit in libvirt 2020-10-31 13:18:14 and libvirt on s390x 2020-10-31 13:18:20 about GNOME: not sure about that :P 2020-10-31 13:19:20 02ffa8ab629d058984297340b0a689bbf7ccde10 2020-10-31 13:19:50 increased the hash length that algitbot uses for abbreviated commits 2020-10-31 13:20:50 Lots of links didn't work because of ambiguous hashes 2020-10-31 13:21:24 Ah neat 2020-10-31 13:22:30 sweet 2020-10-31 13:26:37 grr 2020-10-31 13:26:45 my laptop ran out of space 2020-10-31 13:27:52 Ariadne: ugh, happened to me as well 2020-10-31 13:28:24 its ok 2020-10-31 13:28:26 i have 2020-10-31 13:28:32 power9 server still :) 2020-10-31 13:34:21 doing this with makeflags -j160 is more pleasant anyway 2020-10-31 13:34:23 :) 2020-10-31 13:35:23 haha :D 2020-10-31 13:37:57 hmmm 2020-10-31 13:38:02 i have, actually 2020-10-31 13:38:18 a second cabinet as part of my free colo for network engineering deal 2020-10-31 13:38:33 maybe i can buy an IBM multiprise system for s390x porting 2020-10-31 13:38:44 they are pretty cheap these days on government auction 2020-10-31 13:45:01 make -j160 makes this a lot more pleasant really 2020-10-31 13:45:07 bootstrap.sh is already almost done 2020-10-31 13:53:18 for rust? 2020-10-31 13:54:17 for s390x toolchain 2020-10-31 13:54:22 next stop: rust 2020-10-31 13:54:46 i have 7.4kW of power left, i wonder if that is enough for an s390x system 2020-10-31 13:57:47 ok, firefox builds succesfully with my patch on the lxc 2020-10-31 13:57:54 community/firefox that is 2020-10-31 13:58:56 cool 2020-10-31 13:59:01 send it 2020-10-31 13:59:46 will test if it has the intended effect first ;) 2020-10-31 14:01:12 well 2020-10-31 14:01:16 looks like it works 2020-10-31 14:02:39 LOLZ 2020-10-31 14:02:55 ? 2020-10-31 14:08:30 ok, tbh community/firefox also works fine without the patch here, cc: PureTryOut[m] 2020-10-31 14:08:46 contrary to firefox-esr it does not complain about syscall 16 2020-10-31 14:10:37 PureTryOut[m]: what error message are you getting on your firefox, are you sure you are using -r1? 2020-10-31 14:11:17 >>> ERROR: apk-tools-static*: Split function set arch="x86_64" for apk-tools-static, use subpackages=pkg:split:arch format instead 2020-10-31 14:11:19 oh wtf 2020-10-31 14:15:28 >>> ERROR: apk-tools-static*: Split function set arch="x86_64" for apk-tools-static, use subpackages=pkg:split:arch format instead [compared to all] 2020-10-31 14:15:32 ????? 2020-10-31 14:16:07 this check is bogus 2020-10-31 14:17:08 b217bbb2 abuild.in (Timo Teräs 2016-07-23 06:18:27 +0000 1047) local msg="Split function set arch=\"$arch\" for $name, use subpackages=pkg:split:arch format instead" 2020-10-31 14:17:12 ok 2020-10-31 14:17:16 what the hell has happened 2020-10-31 14:17:48 haha my bad 2020-10-31 14:18:10 :) 2020-10-31 14:20:56 i have some weird stuff in my abuild.conf 2020-10-31 14:21:04 because i sign mips packages with a different key :P 2020-10-31 14:36:21 nmeum: yes I'm 100% sure I'm using -r1 2020-10-31 14:36:40 I'm getting seccomp sandbox violation syscall 16 2020-10-31 14:37:20 fixed firefox hasn't been pushed yet. 2020-10-31 14:37:23 `apk list -I | grep firefox` > `firefox-82.0-r1` 2020-10-31 14:37:41 fixed firefox will be -r2 2020-10-31 14:38:00 Awesome thanks, but I responded to nmeum which asked if I was sure I was using -r1 as it works for him 2020-10-31 14:39:32 ... that's ncie 2020-10-31 14:39:39 libcap detects if go is installed 2020-10-31 14:39:42 and tries to build go crap 2020-10-31 14:39:53 going to have to investigate that 2020-10-31 14:42:27 PureTryOut[m]2: i can't reproduce it, can you test if this patches fixes it for you https://tpaste.us/W7RR 2020-10-31 14:42:47 can also give you a pre-built version if you want to trust me ;) 2020-10-31 14:42:50 If someone tells me how to make abuild use more than 1 job to compile stuff, sure 2020-10-31 14:42:55 CI should work again as well, right? 2020-10-31 14:42:56 I'll trust you for now 😜 2020-10-31 14:43:06 PureTryOut[m]2: adjust JOBS in /etc/abuild.conf 2020-10-31 14:43:41 ikke, ariadne, fix the broken seccomp filters. this should have been done the first time the issue came up. 2020-10-31 14:43:41 or export them before abuild run 2020-10-31 14:44:01 grep -r EPERM, find the code that's doing it, and change it 2020-10-31 14:44:08 PureTryOut[m]2: https://files.8pit.net/tmp/firefox-82.0-r2.apk if you want the prebuilt one 2020-10-31 14:44:18 dalias: unfortunately it is go 2020-10-31 14:44:31 dalias: so, i'm not really enthusiastic about digging into that at this time 2020-10-31 14:45:17 checking whether SysV IPC message queues are actually working on the host... configure: error: in `/home/kaniini/aports/main/fakeroot/src/fakeroot-1.25.3': 2020-10-31 14:45:17 See `config.log' for more details 2020-10-31 14:45:17 configure: error: cannot run test program while cross compiling 2020-10-31 14:45:19 oh my fucking god 2020-10-31 14:46:26 --with-ipc=tcp i guess 2020-10-31 14:50:00 ariadne, what's the repo? i'll find it 2020-10-31 14:50:10 that's the other problem 2020-10-31 14:50:23 containerd / docker? 2020-10-31 14:50:35 docker is a mess of subrepos 2020-10-31 14:50:45 all of whch have seccomp stuff in them 2020-10-31 14:50:51 nmeum: still lots of complaints about the seccomp violation in the terminal, but yeah your build works 2020-10-31 14:51:12 hmm is the fakeroot failure new in 1.25[.3] ? 2020-10-31 14:52:25 yes 2020-10-31 14:52:28 for cross compile 2020-10-31 14:52:41 they added new SysV IPC mode 2020-10-31 14:52:52 i fixed it by switching back to old TCP IPC mode 2020-10-31 14:53:08 perl-b-debug was moved to community two days a go but still has not built for ppc64le, s390x or mips64 on pkgs.alpinelinux.org - anything need to be done to trigger it? 2020-10-31 14:53:49 timlegge: no 2020-10-31 14:54:06 timlegge: there are some build failures on those arches that is keeping the builders stuck 2020-10-31 14:54:14 mostly to do with rust missing, which Ariadne is working on 2020-10-31 14:54:33 ppc64le is already fixed 2020-10-31 14:55:38 thanks 2020-10-31 14:56:30 PureTryOut[m]: what kind of violations do you still get? 2020-10-31 14:56:37 like…new ones compared to the old musl? 2020-10-31 14:58:10 nmeum: they seem the same 2020-10-31 15:00:13 okay 2020-10-31 15:00:29 Cogitri: ping 2020-10-31 15:03:17 Cogitri: next step is to split makedepends based on makedepends_build and makedepends_host 2020-10-31 15:03:51 Cogitri: i need to know what rust needs in sysroot (makedepends_host) vs what it needs in build machine 2020-10-31 15:05:16 ppc64le is continuing now 2020-10-31 15:06:30 Ariadne: https://github.com/void-linux/void-packages/blob/master/srcpkgs/rust/template#L14 2020-10-31 15:07:27 great, thank you 2020-10-31 15:11:45 damn 2020-10-31 15:11:52 we're going to have to work on a few dependencies 2020-10-31 15:11:57 to cross-enable rust 2020-10-31 15:12:13 such is life i guess 2020-10-31 15:21:03 seems inconsistent with https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-lang/rust/rust-1.46.0.ebuild, which says that cmake is only required if not using system llvm, and curl is a host dep, not build 2020-10-31 15:21:12 could be the gentoo one is wrong though 2020-10-31 15:22:57 at least the cmake part should be right though 2020-10-31 15:31:21 that should cut out a decent chunk of the dep tree, especially that cmake curl cycle if that's a problem 2020-10-31 15:32:51 The CMake thingie probably is right, but I think libcurl is probably needed for build+host 2020-10-31 15:32:54 PureTryOut[m]2: the same compared to the errors you usually get? 2020-10-31 15:33:16 Well to the ones I got before using your build with the latest musl anyway. Not sure if I got these errors before all these problems 2020-10-31 15:33:41 paste the errors? 2020-10-31 15:33:46 that is: the error message 2020-10-31 15:34:24 lets move this discussion to an MR 2020-10-31 15:36:03 PureTryOut[m]2: !14152 2020-10-31 15:41:13 Hello71: we need to build llvm though 2020-10-31 15:44:06 lets find out 2020-10-31 15:44:10 i'll do non-cross build 2020-10-31 15:46:12 Ariadne: We use system llvm so we shouldn't need to build rust's llvm 2020-10-31 15:46:31 yes but we need to build system llvm as part of bootstrap is what i mean 2020-10-31 15:46:40 Ah, but we do need cmake for llvm before building rust, yes 2020-10-31 15:48:08 its ok 2020-10-31 15:48:12 rust builds very fast 2020-10-31 15:48:16 when you have 160 cpus 2020-10-31 15:49:07 Does it? It's still dog slow on 32 x86_64 cores :D 2020-10-31 15:49:18 Because the final link takes forever 2020-10-31 15:49:28 well that part is slow 2020-10-31 15:49:49 Finished dev [unoptimized + debuginfo] target(s) in 1m 29s 2020-10-31 15:49:50 hmm 2020-10-31 15:50:00 is there a reason we aren't building with optimize enabled ? 2020-10-31 15:51:04 anyway we don't have to cross-compile cmake 2020-10-31 15:53:13 Ariadne: That's from rustc ? 2020-10-31 15:53:20 And that's the last stage? 2020-10-31 15:53:42 I think it might not compile stage 1+2 in optimized mode so it doesn't take even longer 2020-10-31 15:54:07 yeah final one was optimized 2020-10-31 15:54:19 👍 2020-10-31 16:09:57 do you guys know which package provides the Python gi module (I presume it's gobject-introspection)? 2020-10-31 16:10:04 is it packaged in Alpine? 2020-10-31 16:10:25 py3-gobject3 2020-10-31 16:10:30 thank you 2020-10-31 16:12:36 ariadne, how does fakeroot ipc check fail? 2020-10-31 16:12:46 do you have a config.log ? 2020-10-31 16:12:53 dalias: it wants to compile and run code 2020-10-31 16:13:01 dalias: you can't do that if you're cross compiling ... 2020-10-31 16:14:07 ohh i see 2020-10-31 16:14:22 anyway why are they using sysvipc instead of a unix socket ?! 2020-10-31 16:14:44 dalias: basically ther autotools crap does not let you bypass the code compilation check. we could patch out the check i guess. i'd rather just write a replacement for fakeroot that is ... sane anyway 2020-10-31 16:14:48 tcp and sysvipc are about the two worst ways you could do this.. 2020-10-31 16:14:56 you can byass it 2020-10-31 16:15:16 you can't do so without patching their configure script is what i mean 2020-10-31 16:15:38 oh is it broken? configure scripts should cache results 2020-10-31 16:15:40 because you can't just supply a config var 2020-10-31 16:15:42 yeah 2020-10-31 16:15:44 its broken :) 2020-10-31 16:15:49 and you can just pass the cache result as an arg 2020-10-31 16:15:52 *sigh* 2020-10-31 16:16:12 yes, i know -- their script does everything by hand and so it doesnt use cache 2020-10-31 16:16:14 ;/ 2020-10-31 16:16:25 i'm waiting til there's a real fakeroot replacement using seccomp 2020-10-31 16:16:33 that was my plan yes 2020-10-31 16:16:57 unfortunately i am going to have to write a wayland compositor that uses only framebuffer drawing to prove a point first 2020-10-31 16:17:20 :( 2020-10-31 16:18:08 there is some idea that wayland compositors MUST use opengl 2020-10-31 16:18:24 so i intend to write a simple compositor demonstrating that to be false ;) 2020-10-31 16:18:57 almost have the rust dependency tree cross-compileable 2020-10-31 16:19:04 ah 2020-10-31 16:19:13 why would anyone have a ridiculous idea like that?? 2020-10-31 16:19:26 dalias: Ariadne: there was try with 'pseudo' but don't know how good it is 2020-10-31 16:19:30 because all the popular compositors use opengl 2020-10-31 16:20:17 pseudo as fakeroot replacement, I mean 2020-10-31 16:21:17 well my $dayjob provides alpine and debian development services 2020-10-31 16:21:22 so i am sure it will come up eventually 2020-10-31 16:21:24 :) 2020-10-31 16:21:55 since, you know, alpine and debian are the primary consumers of fakeroot 2020-10-31 16:22:02 and everyone involved agrees fakeroot is shit 2020-10-31 16:22:04 :P 2020-10-31 16:22:04 the whole idea of "compositor" as fundamental primitive rather than silly eye candy gimmick is so infuriating 2020-10-31 16:22:33 dalias: well, that is why mine is going to be state of the 1980s and have the visual stylings of TWM 2020-10-31 16:22:55 there was also fakeroot-ng but it's deadend-ish because it's using ptrace rather than seccomp (it started before seccomp was a viable replacement) 2020-10-31 16:22:59 and probably not even support alpha channel 2020-10-31 16:23:02 ariadne, :) 2020-10-31 16:24:26 our journey is almost to the big elephant in the room: llvm 2020-10-31 16:24:36 open to suggestions on how to cross-compile llvm 2020-10-31 16:24:48 otherwise, i will just head to the liquor store and find some inspiration there 2020-10-31 16:25:53 :/ 2020-10-31 16:26:05 btw what's going on with cross compiling? 2020-10-31 16:26:13 is alpine moving to doing most/everything as cross? 2020-10-31 16:26:16 hell no 2020-10-31 16:26:22 I'm not super familiar with Python, is there any way of telling which package a module comes from? Are they all named -? 2020-10-31 16:26:28 can't seem to find "mistune" 2020-10-31 16:26:36 i am just doing all of this so we can have rust on all architectures 2020-10-31 16:26:36 in Alpine's repos 2020-10-31 16:26:45 https://pkgs.alpinelinux.org/contents 2020-10-31 16:26:55 Newbyte: apk list py:mistune 2020-10-31 16:26:57 yeah but I don't really know how Python modules look in the filesystem 2020-10-31 16:27:21 seems I'll have to package mistune myself 2020-10-31 16:27:37 or do we not have py3: dependency generators 2020-10-31 16:27:39 i dont remember 2020-10-31 16:28:18 I'm too new to this to know :( 2020-10-31 16:28:33 but I think I remember reading something like that? 2020-10-31 16:28:52 treefort:~/aports/scripts$ apk list -P pc:Qt5Widgets 2020-10-31 16:28:52 qt5-qtbase-dev-5.15.1-r0 ppc64le {qt5-qtbase} (LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0) 2020-10-31 16:29:03 yeah we do not have py3: dep gens 2020-10-31 16:29:04 sorry 2020-10-31 16:29:06 :( 2020-10-31 16:29:26 but apk list -P can find tons of stuff 2020-10-31 16:29:27 also, curious, are you kaniini on Telegram? 2020-10-31 16:29:33 yes 2020-10-31 16:30:08 shouldn't be too hard to mimic a different python package I imagine 2020-10-31 16:33:58 Ariadne: LLVM provides a pretty decent "how to build llvm" tutorial 2020-10-31 16:34:16 Cogitri: but it does not suggest alcoholic pairings 2020-10-31 16:34:31 and trust me, one does not go into building LLVM sober 2020-10-31 16:34:32 :D 2020-10-31 16:35:50 dalias: basically, i just need to make rust's dependencies (and rust itself) cross compilable. then we get rust on any arch we want it on. 2020-10-31 16:36:17 because we can supply cross-compiled rust as rust-bootstrap 2020-10-31 16:36:34 and we start from a trusted compiler (our own rustc on a different arch) 2020-10-31 16:38:27 I presume newapkbuild -y would be applicable if you're creating a package for a python package? 2020-10-31 16:38:35 library/package 2020-10-31 16:40:30 as for pkgdesc, can I put whatever I want or should I put upstream's description? 2020-10-31 16:41:02 Newbyte: read CodingStyle.md in aports 2020-10-31 16:41:24 CODINGSTYLE.md 2020-10-31 16:42:46 found it, thanks 2020-10-31 16:43:59 I don't see anything about pkgdesc though 2020-10-31 16:44:44 heh, should be added 2020-10-31 16:45:25 simle one line sentence which describe package, max len 80 chars 2020-10-31 16:45:48 without 'A ', 'The ' and similar 2020-10-31 16:46:08 use lower case whenever possible 2020-10-31 16:46:13 if the package calls itself "fast yet powerful", should I bother including that? 2020-10-31 16:46:18 oh, so no capitalisation of the first letter? 2020-10-31 16:46:32 and id doesn't must repeat upstrem description 2020-10-31 16:46:43 got it, thanks 2020-10-31 16:48:06 instead of such lies^Wattibutes fast, powerful, clean-your-room try to describe what package actually do 2020-10-31 16:54:05 ../../bin/llvm-tblgen: line 1: syntax error: unexpected word (expecting ")") 2020-10-31 16:54:06 okay 2020-10-31 16:54:17 we're kinda getting there :D 2020-10-31 17:02:06 haha fuck yeah 2020-10-31 17:02:10 llvm10 is cross compiling 2020-10-31 17:10:23 now, this might not entirely be the right place to ask this, but if Gio/Glib complains about some operation not being supported, could that be due to a missing dependency? 2020-10-31 17:10:24 https://gitlab.gnome.org/World/giara/-/blob/master/giara/__main__.py#L158 2020-10-31 17:10:27 failing on this line 2020-10-31 17:10:50 not very familiar with Gio/Glib 2020-10-31 17:11:23 like I'm not with python 2020-10-31 17:11:47 Newbyte: Could you send the error message? 2020-10-31 17:12:07 one moment 2020-10-31 17:12:30 Cogitri: i am moments away from having llvm10 cross compiled :) 2020-10-31 17:12:32 That opens the link like xdg-open does, so I guess it might fail to open if you don't have any application that handles HTTP(S) links (so no webbrowser) 2020-10-31 17:12:50 also, Cotgitri, you maintain a bunch of GNOME pacakges, yes? do you want to be the maintainer of this? 2020-10-31 17:13:02 yeah, I don't have a browser installed. I'll install one 2020-10-31 17:13:19 should probably make an issue about that upstream as right now it doesn't really tell the user it failed to open one 2020-10-31 17:13:58 installed Firefox, still same thing. maybe it needs to be Epiphapy or something like that 2020-10-31 17:14:03 Firefox-esr though 2020-10-31 17:14:05 No, FF should work 2020-10-31 17:14:27 I use the same functionality in an application of mine (although via Vala) and that works just fine 2020-10-31 17:14:33 so:libLLVM-10.so 2020-10-31 17:14:33 so:libc.musl-s390x.so.1 2020-10-31 17:14:35 hot damn 2020-10-31 17:15:20 could it be that I don't have dbus? 2020-10-31 17:15:30 wait, I do have dbus running 2020-10-31 17:15:39 apparently 2020-10-31 17:17:26 created !14170 if you want to take a lot at it yourself 2020-10-31 17:17:32 holy 2020-10-31 17:17:32 fucking shit 2020-10-31 17:17:57 configure: build.build := x86_64-alpine-linux-musl 2020-10-31 17:17:57 configure: build.target := ['s390x-alpine-linux-musl'] 2020-10-31 17:17:57 configure: build.host := ['s390x-alpine-linux-musl'] 2020-10-31 17:17:58 whoa 2020-10-31 17:20:12 ariadne, i see (re: rust) 2020-10-31 17:20:40 it's working? 2020-10-31 17:20:51 almost :D 2020-10-31 17:23:47 its compiling stuff 2020-10-31 17:23:51 this is taking forever 2020-10-31 17:23:59 i'll do this on the power9 directly instead of distcc 2020-10-31 17:24:01 ;/ 2020-10-31 17:25:22 Nice 2020-10-31 17:26:45 hmm 2020-10-31 17:26:58 it isn't quite figuring out that this is a cross build 2020-10-31 17:29:59 its trying to mix host assembly into target binary 2020-10-31 17:30:00 lol 2020-10-31 17:34:26 Newbyte: did you try xdg-open 2020-10-31 17:35:39 seems I don't have xdg-open installed 2020-10-31 17:36:52 :/ 2020-10-31 17:37:23 I installed xdg-utils. xdg-open works, but giara still doesn't do its thing 2020-10-31 17:39:09 ok try 2 2020-10-31 17:39:31 looking at void's rust stuff i figured out i think what to tell it :) 2020-10-31 17:40:15 👍 2020-10-31 17:46:11 it wont finish building because i need to add the targets first right? 2020-10-31 17:55:52 You have to patch in the tripletd, yes 2020-10-31 17:55:58 should be trivial tho 2020-10-31 17:57:52 @Ariadne: I have an MR for pyX.Y:module dependency generators but it is still WIP 2020-10-31 17:58:20 https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/24 2020-10-31 17:59:32 maxice8: what is the goal of that MR? 2020-10-31 17:59:34 I miss context 2020-10-31 17:59:53 Create a generator of pyX.Y provides like pc: and so: 2020-10-31 18:00:00 but why? 2020-10-31 18:00:08 so that people can install them instead of hunting for modules 2020-10-31 18:00:18 Add that to the MR / commits 2020-10-31 18:00:25 sure 2020-10-31 18:03:25 (also cmd:) 2020-10-31 18:05:06 ok pushed with another paragraph 2020-10-31 18:26:33 running non-cross build with triplets added before pushing to builders 2020-10-31 18:28:55 Ikke makes a good point 2020-10-31 18:29:44 if we add pyX.Y people will start using them and whenever we do a python upgrade that changes the path in /usr/lib/python* it will cause lots of upgrades to fail 2020-10-31 18:31:24 yup 2020-10-31 18:32:31 thats why i am asking for pyX: 2020-10-31 18:32:37 not pyX.Y 2020-10-31 18:32:52 the idea is for the provides to be informational 2020-10-31 19:14:41 ikke: will you be around tomorrow to do the rust stuff on the s390x builder? i think i should have a repo by then 2020-10-31 19:17:49 Ariadne: yes 2020-10-31 19:18:04 mostly afternoon / evening CET 2020-10-31 19:18:24 okay great 2020-10-31 19:27:56 Ok updated to pyX instead 2020-10-31 19:31:17 https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/24 2020-10-31 19:51:29 Cogitri: i've noticed that package() causes cargo to rebuild some dependencies. i don't know what is up with that. 2020-10-31 20:06:31 Hi folks. Found the FreeRadius package won't install as it has broken dependancy - #12056, guess it just needs a rebuild. Simple as just a MR with incremented pkgrel? 2020-10-31 20:08:27 so chromium and firefox both have musl 1.2 problems. what browser am I supposed to use? 2020-10-31 20:09:24 w3m works for me 2020-10-31 20:09:51 minimal: yes, that should work 2020-10-31 20:10:17 c705: chromium --no-sandbox 2020-10-31 20:10:56 Ariadne: thanks. obviously this is a workaround 2020-10-31 20:11:02 yes 2020-10-31 20:11:14 one that works great for me anyway :P 2020-10-31 20:11:43 I really don't like the fact that tabs have access to the whole browser stack, but sure 2020-10-31 20:12:10 Is this a musl problem, or another case of bad code in chromium 2020-10-31 20:12:30 its a case of seccomp filters being badly written 2020-10-31 20:13:49 and this is only an issue on edge I imagine, I just made a v3.12 build, is it worth booting into that? 2020-10-31 20:14:38 chromium has been broken for a long while 2020-10-31 20:14:43 since before 1.2 2020-10-31 20:15:02 firefox was fine for me until yesterday 2020-10-31 20:15:16 last build was oct 19, so sometime between 19 and now became a problem 2020-10-31 20:15:37 firefox also has broken seccomp filters 2020-10-31 20:15:42 nmeum has an updated package 2020-10-31 20:15:47 dunno why he has not pushed it yet 2020-10-31 20:16:17 [08:44:07] PureTryOut[m]2: https://files.8pit.net/tmp/firefox-82.0-r2.apk if you want the prebuilt one 2020-10-31 20:16:35 i'll boot 3.12 and see if musl 1.1 works 2020-10-31 20:22:12 Can I get a few more OKs for https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/24 ? 2020-10-31 20:33:13 any chance someone could look at merging !14045 for me? Its been almost 4 days since I submitted it, I'm the package maintainer and I'm worried it might miss the 3.13.0 freeze 2020-10-31 20:35:52 welp, v3.12 is fine 2020-10-31 20:36:01 guess i'll stay here until 1.2 is ironed out 2020-10-31 20:36:05 thanks Ariadne 2020-10-31 20:36:51 yes musl 1.2 has been a little rocky 2020-10-31 20:38:07 minimal: our preference (or policy) is not to use post-install to show messages 2020-10-31 20:39:40 now building s390x rustc 2020-10-31 20:41:28 ikke: Argh! About 1 or so months ago there was a policy discussion as I'd put rc-update commands in post-install. I then moved them to a separate setup script. I've since had 1 person raise an issue that was due to them not running the setup script - hence this post-install message 2020-10-31 20:42:03 during that discussion the objector to me code said I should put a message in postinstall instead! 2020-10-31 20:42:08 heh 2020-10-31 20:42:29 minimal: there are some pkgs which display messages in install/upgrade 2020-10-31 20:43:10 so it is not 'set in stone', just preference as ikke say 2020-10-31 20:43:53 the idea is that these messages can easily be missed 2020-10-31 20:44:06 mps: realise that but if there's nothing set in stone its hard to ensure something won't be objected to 2020-10-31 20:44:16 ikke: so what would you suggest then? 2020-10-31 20:45:06 find -name "*post-install" | xargs grep echo 2020-10-31 20:45:16 minimal: well, that's why I mentioned it here 2020-10-31 20:46:03 I think we should not prefer that 2020-10-31 20:46:33 so I should remove the post-install? 2020-10-31 20:47:03 I'm not judge 2020-10-31 20:47:20 minimal: Archlinux has these kinds of instructions in their wiki 2020-10-31 20:47:36 if you think it must be there then left it, imo 2020-10-31 20:48:31 would be nice if it doesn't have prompt for waiting on user response 2020-10-31 20:49:04 mps: it doesn't wait, its just using echo 2020-10-31 20:49:08 nod 2020-10-31 20:50:43 minimal: I quite understand you, I wanted few times to add 'echo' in some packages but resisted somewhat (as a developer I can't break rules even unwritten ones) 2020-10-31 20:51:00 somehow* 2020-10-31 20:51:54 if you add this to package I will be quiet, I promise :) 2020-10-31 20:52:22 sorry if I sound frustrated but I am - so if I don't run rc-update and I don't add a message to tell people to run the setup script then its likely they will either raise issues or email me direct. The simple message this adds to post-install seems like the most practical way to address the situation. 2020-10-31 20:52:56 mps: this is the MR to add only echos to the post-install 2020-10-31 20:53:01 I'm not against 2020-10-31 20:53:26 but also will not advocate it, sorry 2020-10-31 20:54:15 there are already exceptions, so one more ...... 2020-10-31 20:56:09 so from this discussion its still unclear if this is likely to be merged or not 2020-10-31 20:56:42 minimal: I'm about to merge it 2020-10-31 20:57:12 actually 2020-10-31 20:57:15 the pyX still needs more work 2020-10-31 20:57:36 ikke: +1 2020-10-31 21:02:37 ikke: Thanks. I fully understand and respect the need for packaging standards and policies, its just at time it feels that there's inconsistency with how the (unwritten) policies are enforced. Its something that may put off potential Alpine contributors 2020-10-31 21:05:00 Yes, I understand that 2020-10-31 21:05:28 nice :) 2020-10-31 21:05:43 I already advocated for a single coding style among aports just to avoid that 2020-10-31 21:06:32 Having said that, there's also a need to understand that sometimes there are corner cases, the exceptions that prove the rule ;-) 2020-10-31 21:06:34 every policy usually ends with exceptions 2020-10-31 21:06:37 minimal: merged 2020-10-31 21:07:13 Ariadne: have not pushed the firefox thingy because I am unsure if it solves the issue in its entirety there are still some sandbox error left it seems https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/14152#note_121452 2020-10-31 21:07:22 ikke: thanks. Think that's the package ready now for 3.13.0 2020-10-31 21:07:44 the annoying thing is: I can't reproduce the firefox issue with community/firefox which is weird 2020-10-31 21:08:24 nmeum: Cogitri had the same with the pulse issues 2020-10-31 21:08:47 in what way? 2020-10-31 21:09:09 That he could not reproduce the issues that others had 2020-10-31 21:09:18 Yup 2020-10-31 21:09:24 was it also a sandbox issue? 2020-10-31 21:09:29 didn't hang for me for some reason 2020-10-31 21:10:56 c705: btw #14152 is where you find more information on the firefox issue 2020-10-31 21:11:11 nmeum: thanks, i read that already 2020-10-31 21:11:22 with that patch it doesn't seem to crash anymore I am told, but the error message still seem to appear? 2020-10-31 21:11:42 tabs crash and a segfault gets logged 2020-10-31 21:12:16 without that patch? 2020-10-31 21:12:28 or with that patch applied? 2020-10-31 21:12:34 is the patch applied in edge? 2020-10-31 21:12:37 no 2020-10-31 21:12:40 it's not 2020-10-31 21:12:40 then no 2020-10-31 21:13:39 hmhm 2020-10-31 21:13:45 I think I have an idea how to revise the patch 2020-10-31 21:21:06 harrumph 2020-10-31 21:21:20 rust fails to link in stage1 (which isn't even cross) while crossing 2020-10-31 21:21:57 Log? 2020-10-31 21:25:20 Cogitri: https://tpaste.us/ejvV 2020-10-31 21:27:34 maxice8: why the 2>/dev/null in the find command btw? 2020-10-31 21:28:22 to avoid printing errors 2020-10-31 21:29:41 btw, how long should mgmr take to merge? 2020-10-31 21:31:39 inconsistent 2020-10-31 21:31:47 ok 2020-10-31 21:35:32 Ariadne: Huh 2020-10-31 21:38:15 Yeah, sometimes Gitlab takes very long to rebase a MR or sometimes even fails to do it at all 2020-10-31 21:38:46 yes, that's known, but afaik, mgmr doesn't wait for the rebase to finish 2020-10-31 21:39:20 and I see in the interface the rebase already finished, while mgmr still says it's waiting 2020-10-31 21:40:00 I guess the API didn't refresh it then? 2020-10-31 21:40:06 I guess s 2020-10-31 21:40:17 Would be neat to see what mgmr receives 2020-10-31 21:49:28 Cogitri: yeah i'm not sure whats up 2020-10-31 21:57:40 i went to the rust zulip server 2020-10-31 21:57:44 lets see what they have to say 2020-10-31 21:57:58 I think their Discord is a lot more active 2020-10-31 22:05:52 discord ;/ 2020-10-31 22:05:54 ok 2020-10-31 22:09:21 website says compiler team uses zulip 2020-10-31 22:10:01 Hm, Discord seemed very active 2020-10-31 22:11:39 Not sure if the website isn't updated or if they use both 2020-10-31 22:18:32 they use both 2020-10-31 22:19:21 comparing what we do to what void linux does 2020-10-31 22:19:36 I can't see any notable difference 2020-10-31 22:33:37 tried dropping --as-needed just to test? 2020-10-31 22:59:44 hmm 2020-10-31 22:59:54 we could 2020-10-31 23:08:50 GitLab API doesn't have an option like GitHub to rebase+merge so we have to rebase, which is not good because you can't wait on it, you have to constantly GET with include_rebase_in_progress to check. 2020-10-31 23:09:03 It all could be solved if it had an option like GitHub to rebase and merge at the same time 2020-10-31 23:23:05 or an option to wait on a rebase until it either is successful or fails 2020-10-31 23:28:51 Cogitri: found something weird void does 2020-10-31 23:28:54 Cogitri: may be related 2020-10-31 23:29:35 what it does ? 2020-10-31 23:30:35 local-rebuild = true when crossing