2024-04-05.log

joschminute: if you don't want to wait another 4 hours, the Debian buildds already are done building the package and you can grab them from the incoming repo here: http://incoming.debian.org/debian-buildd/pool/main/r/reform-firedecor/00:09
- chomwitt (QUIT: Ping timeout: 246 seconds) (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)00:09
minutejosch: oh great, i can try it on my rk3588 reform now00:10
minutejosch: it works!00:12
minutejosch: this fixed the issue, nice. the package is the same version though, right?00:12
joschsame version as what other package?00:15
joschthe debian revision is incremented by 100:15
- mjw (QUIT: Ping timeout: 260 seconds) (~mjw@gnu.wildebeest.org)00:17
minutejosch: ah yeah, nevermind. it's now 23-4 and before it was 23-3... 00:17
vagrantcreform-specific packages in debian ... shiny!00:24
minuteyessss00:35
+ bgs (~bgs@212-85-160-171.dynamic.telemach.net)01:23
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)01:30
- bgs (QUIT: Remote host closed the connection) (~bgs@212-85-160-171.dynamic.telemach.net)01:31
+ bgs (~bgs@212-85-160-171.dynamic.telemach.net)01:33
- bgs (QUIT: Remote host closed the connection) (~bgs@212-85-160-171.dynamic.telemach.net)01:41
+ bgs (~bgs@212-85-160-171.dynamic.telemach.net)01:44
- bgs (QUIT: Remote host closed the connection) (~bgs@212-85-160-171.dynamic.telemach.net)01:47
+ bgs (~bgs@212-85-160-171.dynamic.telemach.net)01:49
- bgs (QUIT: Remote host closed the connection) (~bgs@212-85-160-171.dynamic.telemach.net)01:57
+ bgs (~bgs@212-85-160-171.dynamic.telemach.net)01:59
- mtm (QUIT: Ping timeout: 268 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)02:02
- bgs (QUIT: Remote host closed the connection) (~bgs@212-85-160-171.dynamic.telemach.net)02:02
+ bgs (~bgs@212-85-160-171.dynamic.telemach.net)02:05
- bgs (QUIT: Remote host closed the connection) (~bgs@212-85-160-171.dynamic.telemach.net)02:11
+ bgs (~bgs@212-85-160-171.dynamic.telemach.net)02:14
- nsc (QUIT: Ping timeout: 256 seconds) (~nicolas@i5E86127A.versanet.de)03:30
+ nsc (~nicolas@i5C74DDFC.versanet.de)03:31
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)04:10
- skipwich (QUIT: Quit: DISCONNECT) (~skipwich@user/skipwich)05:01
+ skipwich (~skipwich@user/skipwich)05:02
+ Christoph__ (~Christoph@p54bf6382.dip0.t-ipconnect.de)05:13
- Christoph_ (QUIT: Ping timeout: 256 seconds) (~Christoph@p4fe73e33.dip0.t-ipconnect.de)05:16
+ chomwitt (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)05:25
- bgs (QUIT: Remote host closed the connection) (~bgs@212-85-160-171.dynamic.telemach.net)05:32
- Christoph__ (QUIT: Remote host closed the connection) (~Christoph@p54bf6382.dip0.t-ipconnect.de)05:42
+ bgs (~bgs@212-85-160-171.dynamic.telemach.net)08:10
- bgs (QUIT: Remote host closed the connection) (~bgs@212-85-160-171.dynamic.telemach.net)08:18
+ jacobk (~quassel@64.189.201.150)08:46
- jacobk (QUIT: Ping timeout: 240 seconds) (~quassel@64.189.201.150)09:40
+ mjw (~mjw@gnu.wildebeest.org)09:47
Twodisbetterwhen upgrade lpc tools and reform tools is it necessary to reboot?10:59
Twodisbetter*upgrading rather11:00
joschTwodisbetter: necessary for what?11:03
Twodisbetterto reboot11:03
Twodisbetterwhen you upgrade reform2 lpc and reform tools11:03
Twodisbetterdo I need to reboot is the question11:03
joschit depends on what you want to achieve11:04
joschsometimes reform-tools will change something about how the system is booted11:04
joschif you want that to take affect, then yes you can reboot11:04
joschbut you don't need to11:04
TwodisbetterAlso when those reform tools upgrades it always changes the reform standby script. I always forget how to find the file to remove the keyboard backlight section, as I don't wnat them turned on when resuming11:04
TwodisbetterI don't forget how, just where that script is11:07
joschTwodisbetter: do you mean /usr/sbin/reform-standby?11:08
joschTwodisbetter: and what do you mean by "it always changes it"? The last change in that script was last year october.11:09
Twodisbetteryes, thank you!11:09
TwodisbetterWHen you upgrade tools it seems to overwrite any modifications i make to that file11:09
TwodisbetterAll I am doing is commenting out keyboard backlight on in the resume section11:10
Twodisbetterbut when I upgrade the file is replaced and I have to recomment that out11:11
joschyes, that is by design11:12
Twodisbetterok, makes sense11:13
joschif you want your custom standby scripts you could either dpkg-divert the file11:13
TwodisbetterI'll just make a note on where the reform-standby file is )/usr/sbin)11:13
Twodisbetterno, I would rather not mess up things that are supposed to happen, because there are good reasons behind those actions11:14
joschor you could overwrite /lib/systemd/system/reform-sleep.service by putting a service of the same name into /etc and modifying that to call your custom sleep script11:14
TwodisbetterSO just remembering where the file is it good for me. 11:14
Twodisbetterleaving it like this means that if there are changes to the script due to architectural or driver based changes that I always inherit those things. 11:14
TwodisbetterFor me the Reform being rock solid is the most important thing. 11:14
- kensanata (QUIT: Quit: Ping timeout (120 seconds)) (~alex@user/kensanata)12:16
+ kensanata (~alex@user/kensanata)12:17
minuteok, back in action12:37
minutelast night i worked on clearing out my email backlog. very interesting @ systemd-growfs josch 12:53
- mjw (QUIT: Ping timeout: 256 seconds) (~mjw@gnu.wildebeest.org)12:55
* Guest2486 -> mjw13:10
- Aard (QUIT: Ping timeout: 264 seconds) (~bwachter@edna-edison.lart.info)13:22
+ Aard (~bwachter@217.11.60.132)13:25
minutejosch: lets say i have a new pipeline stage build_qcacld in reform-debian-packages that makes reform-qcacld2*.deb artifacts. how do i get the reprepro stage to include them? i don't fully understand the code. it looks like it picks up stuff from a "changes" dir but i don't understand what that is. 13:42
joschminute: you would add your job to the dependencies of reprepro and that job is supposed to put the .changes file from your build in the changes directory13:45
joschreprepo will pick it up from that dir13:45
minuteahaa, so i don't think that dpkg --build creates a changes file?13:46
minutei am currently building the packages like this: i have a tree of files containing DEBIAN dir and a control file. i run dpkg --build on it. done13:46
minuteso i guess i need to look into how to make a changes file13:47
minute> dpkg-genchanges13:47
joschi think reprepo can also work with plain *.deb files but you then might need to adjust the reprepo job accordingly13:47
minuteok 13:48
minutethe man page mentions > includedeb codename .deb-filename13:49
joschthen that's probably what you want13:50
minuteso i will try sth like: for d in reform-qcacld2*.deb; do reprepro includedeb "$OURSUITE" "$d"13:50
joschyes, probably13:58
joschyou also don't need a new pipeline stage for your job13:58
joschi'd put it into the "build" stage13:59
joschjust declare the dependencies accordingly13:59
minutejosch: sorry, stage was the wrong term14:01
minutei put it in the build stage, perhaps these are called jobs?14:02
minutebuild_qcacld:14:02
minute  stage: build14:02
- mtm (QUIT: Ping timeout: 260 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)14:02
joschcool! :)14:02
minuteok, pushed my punch cards to the mainframe14:03
minutelets see how many trials this'll need to work :D14:03
minutehttps://source.mnt.re/reform/reform-debian-packages/-/pipelines/197814:04
minutei'll work on other stuff in the meantime.14:04
joschminute: though you are not running "reprepro includedeb" anywhere, are you?14:09
joschminute: also, you seem to expect the *.deb in a directory called "linux" but they are in the "changes" directory14:11
minutejosch: i thought i added that to the reprepro script, will check in a minute14:37
minutejosch: ah ok. when building locally those debs end up in the linux directory14:37
minuteah damn i didn't push my changes to reprepro.sh14:41
minuteok, 2nd try https://source.mnt.re/reform/reform-debian-packages/-/pipelines/197914:43
joschminute: the linux *.deb are in the linux directory, yes but they are not listed to be kept as artifacts14:46
joschit looks okay now -- lets see what breaks :)14:51
minuteok :D15:24
minutethanks for spotting those things!15:24
minutejosch: i wonder what we could do to make the kernel build faster :3 i wonder what is the bottleneck15:35
joschminute: more cores?15:36
minutehmm we already have 4815:36
joschthe debian kernel is just huge because it builds everything15:36
joschdistcc?15:36
joschthe reform kernel build times are already very fast because i disabled lots of stuff15:37
minutehmmmmm somehow it just seems slower to me than it should... if my lowly i9-9900k can build it in a similar time, on disk15:37
minutebut maybe it's just the reality15:37
joschbut if it builds the same source, then your i9-9900k might have fewer but faster cores?15:37
joschthe recent error might be a missing "apt-get update"15:42
grimmwarecould be io bound instead of cpu bound. How big is the actual build on-disk? If you've got enough memory the quickest way to test might be repeating the build but in tmpfs.15:46
joschgrimmware: on the CI the whole build is done in a tmpfs15:47
grimmware🔥15:47
joschthe machine has 47 G of memory :)15:47
minuteoh nooo @ this failure... 15:52
minutewhy oh why did i remove the apt update15:52
joschto feel a bit better, remember that i used to wait six hours for a kernel build imx8mq :D15:56
[tj]how long does the kernel build take?15:58
josch[tj]: 32 minutes16:01
joschand another 2 minutes to install build dependencies16:01
hramrachsome rpm based distributions generate dependencies based on the kernel module symbol CRCs 16:03
hramrachlike it imports a symbol it depends on it, it exports a symbol it provides it16:03
hramrachsomewhat inflates the amount of kernel package metadata16:04
joschthe debian linux packaging is horribly complicated -- nothing i've ever seen before16:06
jnit's quite arcane, really16:07
q66i've seen worse16:07
q66but debian packaging is overall kinda antiquated and lacking in many aspects16:07
joschq66: yes, certainly many things would've been done differently if Debian was created in 2024 instead of 199616:09
yankcrimethat's why fpm exists16:09
q66josch: right16:10
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)16:10
hramrachwhat is fpm?16:10
joschq66: unfortunately we are now stuck with 35k packages that are done that way :/16:10
q66yeah i don't mean it negatively towards debian, legacy is legacy16:10
joschbut there are distros like nix which do a lot of things nicer16:10
joschq66: i agree with your point but i think the bigger problem in debian is the strong package ownership16:11
q66i still prefer debian to any other big distro fwiw, especially anything rpm-based16:11
q66a key point in it is that debian is not corporate-controlled16:12
hramrachthe problem with rpm-based distros is .. rpm16:12
joschq66: well... ;)16:12
q66it may not seem like much but it does mean the project cares more about good interop with the others16:13
q66while the likes of redhat mostly care about their own interests16:13
joschit is a bit better than that yeah16:13
hramrachDebian is not corparoate-controlled but it's also not corporate-sponsored which is probably one of the reasons for lack of developer power to provide fixes - another might be some legacy of lack of organizational flexibility16:14
joschcorporations still have a big influence on debian. Many DDs are paid for their work and naturally they can do much more in a day than somebody working on Debian in their free time.16:14
minuteaha, it is probably because i don't "  extends: .setup"16:15
joschand since usually things happen because people find time working on them...16:15
joschminute: uh nice find!16:15
joschminute: in other news, i can now create a sparse system image16:15
joschls -lh reform-system-ls1028a.img16:15
josch-rw-r--r-- 1 josch josch 5.1G Apr  5 16:10 reform-system-ls1028a.img16:15
joschdu -h reform-system-ls1028a.img16:15
josch3.7Greform-system-ls1028a.img16:15
q66i maintain an independent distro and even though we have nothing to do with debian we end up using some of their system components (e.g. initramfs-tools and a few others) and i feel a lot more comfortable dealing with these than equivalent corporate-written projects (e.g. from fedora)16:16
joschminute: together with bmaptool this allows only writing 3.7G to the sd-card instead of 5.1G16:17
joschi had to write my own tool using lseek(..., SEEK_HOLE) and copy_file_range() because I didn't find an existing tool that would work like dd but respect sparse-ness16:18
minutejosch: wow16:20
joschin case anybody knows how to improve this: https://superuser.com/a/1838012/23528616:22
hramrachhm, I cannot post on SO. Tried to register once aand it's nuts. Initially you can only post questions and answers, not comment. Tried to ask a question got downwoted or something, got some negative points, could not do anything anymore, done.16:25
joschminute: would this help you with flashing 700 pocket reforms? i can create a branch with this if you would like to try out whether bmaptool is able to speed-up your processes by a bit or if it adds more complexity than it saves time16:25
minutejosch: not sure, maybe it would help! i just need the files and commands instead of doing dd from the img on usb stick to mmcblk216:28
joschokay, i'll prepare something so that you can see if you like it16:29
joschi never used it before myself, so i cannot tell you how easy/hard it is :D16:29
joschbut according to the docs it should just be: bmap copy system.img /dev/mmcblk016:30
joschif nothing else, this exercise made me learn about the copy_file_range system call which seems to be relatively recent and according to the docs only stabilized in kernel 5.1916:31
minutejosch: sounds good @ bmap copy16:38
+ jacobk (~quassel@64.189.201.150)17:12
minute> /usr/bin/bash: line 137: cd: changes: No such file or directory17:15
minuteok so so the linux artifacts don't seem to be there17:15
minutels in pwd (/builds/reform/reform-debian-packages) yields absolutely nothign17:16
minutejosch: gah i think i need another stage? because artifacts get passed only from stage to stage, not to other parallel jobs maybe?17:19
joschminute: the job should not be parallel if you have a depends relationship between them17:20
minuteyeah it's not actually parallel. i mean they are in the same stage17:21
minutei have a dependency on build_linux17:21
minutebut both jobs are in the build stage17:21
joschas far as i understood the gitlab docs, you don't need stages if you don't want to17:21
joschstages are a different way to think about dependencies17:21
minutejosch: where can i see that? and how would i find the artifacts?17:22
joschunfortuntaly i have my daughter here now -- i can only really look at it again around after 22:0017:22
minuteok thanks, then i have to figure it out myself now... probably i have to introduce another stage but we'll see17:22
minute> You can use the 'needs' keyword for this17:23
minutenot sure if that really exists17:23
- chomwitt (QUIT: Ping timeout: 255 seconds) (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)17:24
minute> Use artifacts: true (default) or artifacts: false to control when artifacts are downloaded in jobs that use needs. 17:24
minutehttps://docs.gitlab.com/ee/ci/yaml/index.html#needs17:24
minute> You should not combine needs with dependencies in the same job. 17:25
minute> Use the dependencies keyword to define a list of specific jobs to fetch artifacts from. The specified jobs must all be in earlier stages17:25
minute> must all be in earlier stages17:26
joschoooooh17:50
joschsorry, then i was wrong17:50
joschand your hunch was spot-on17:51
ericsfragayou can have file wide src block header arguments using #+property: lines17:55
ericsfraga(sorry, wrong room)17:56
joschminute: are you going to retry the reform-debian-package pipeline this evening? otherwise i'd squeeze a run of reform-system-image in18:28
joschi don't want to cut into your CI time :)18:29
minutejosch: i will retry it until it works yeah18:37
minuteargh, wrote cd.. instead of cd ..18:37
minutebut at least the packages were identified correctly18:37
minute> LINUX_SRC_DEB=linux-source-6.7_6.7.9-reform2-2+reform20240405T152722Z_all.deb18:38
minute> LINUX_CFG_DEB=linux-config-6.7_6.7.9-reform2-2+reform20240405T152722Z_arm64.deb18:38
- ericsfraga (QUIT: Quit: ERC 5.6-git (IRC client for GNU Emacs 30.0.50)) (~user@2.28.19.21)18:38
+ ericsfraga (~user@2.28.19.21)18:40
minutehere we go again (5th try)18:40
joschfingers crossed!18:41
joschminute: didn't you want to create a new stage for build_qcacld so that it's able to fetch artifacts from build_linux?19:02
minutejosch: no, i use needs:19:16
minutejosch: needs can take artifacts from jobs in the same stage, unlike dependencies:19:18
joschhuh interesting19:38
minuteanother blunder! 6th try going19:41
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@64.189.201.150)19:45
+ mark_ (~mjw@gnu.wildebeest.org)19:46
+ Christoph_ (~Christoph@p54bf6382.dip0.t-ipconnect.de)19:47
joschevery try only takes 50 minutes19:48
joschwhen i upload to debian, i have to wait 6 hours for things to change in the archive :D19:49
minuteone needs to be patient :319:50
joschit's the difference between my hobby and your job on which your livelyhood depends -- waiting is much easier for me19:52
minuteyeah, sometimes i'm stressed because every hour or day i spend here costs a lot of money (cost of living + cost of running the workspace etc) 19:53
+ gustav28 (~gustav@c-fd68524e.019-141-67626730.bbcust.telenor.se)20:02
- xktr (QUIT: Ping timeout: 260 seconds) (~xktr@user/xktr)20:10
+ xktr (~xktr@user/xktr)20:11
* mjw -> Guest319820:14
- Guest3198 (QUIT: Killed (silver.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)20:14
* mark_ -> mjw20:14
+ Guest3198 (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)20:15
+ jacobk (~quassel@utdpat242060.utdallas.edu)20:15
Twodisbetterminute: no stress or anything, but do you have any news on the pocket and suspend? No worries either, no news is not bad news. 20:30
minuteTwodisbetter: last time i checked it worked, but audio didn't work after resume. i will soon check how it is working in the meantime with the current kernel20:44
Twodisbetterminute: fantastic! Awesome work as usual! 20:45
minutemaybe as a workaround we can reload audio related module20:45
Twodisbetterseems like it would probably work, I believe we are basically doing similar things on the reform itself. 20:45
joschminute: about the latest error, your .deb seems to be missing the Section: field20:53
joschminute: you might want to add "Section: kernel" to https://source.mnt.re/reform/qcacld2/-/blob/binary-deb/debian/DEBIAN/control?ref_type=heads20:55
minutejosch: oh i just wanted to ask20:58
minutejosch: thanks, do you see any other missing fields?20:58
minutehmm what's good about this is that i can maybe rerun just the build_qcacld2 + reprepro jobs after that20:58
joschminute: here are all fields of the *.deb of the qcacld dkms package which I uploaded to Debian: https://paste.debian.net/1313242/21:01
joschInstalled-Size is probably computed automatically21:02
joschminute: but you could download the *.deb from the last failed run and check21:02
joschyes, re-running the jobs after updating qcacld git might be enough21:02
joschsuccess \o/21:08
josch6 and a half tries is a charm :)21:08
minutewoohooo21:09
minutenice21:09
minutegoing for a walk with tina :321:09
joschtina has been waiting for CI finally being finished as well :D21:13
+ chomwitt (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)21:46
- jacobk (QUIT: Ping timeout: 240 seconds) (~quassel@utdpat242060.utdallas.edu)21:59
- chomwitt (QUIT: Ping timeout: 268 seconds) (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)22:14
- gustav28 (QUIT: Quit: Quit) (~gustav@c-fd68524e.019-141-67626730.bbcust.telenor.se)22:15
+ bgs (~bgs@212-85-160-171.dynamic.telemach.net)23:05
+ minutepocket (~reform@ip5b40d69f.dynamic.kabel-deutschland.de)23:57
minutepocketyo!23:57
minutepockettest driving pocket reform a bit.23:59
joschusing the freshly built image?23:59
minutepocketi think it's from yesterday, and i rsynced the changes to emmc23:59

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!