libera/#devuan-dev/ Thursday, 2021-11-25

sadoon_albader[mSo how does one build a full repo using debuild?00:59
Centurion_Dansadoon_albader[m: one package at a time...01:17
sadoon_albader[mWell yes of course I can apt source, then debuild or dpkg-buildpackage each of them separately01:18
sadoon_albader[mBut there's 50k packages01:18
sadoon_albader[msurely there's a scripted way of doing it01:19
onefangDownload the list of packages from a package mirror, write a script to pul lout package names and build them.  Shouldn't be heard for someone that knows how to script.01:21
onefangapt-panopticon has the first part of that already, if you want to pull things out of Lua scripts.01:43
sadoon_albader[mGiven how prevelant the deb based systems are I was expecting that someone might have scripted something like that already03:26
bb|hcbsadoon_albader[m: if you target Devuan, there is no need to rebuild all, because Debian already has a ppc64 port so only Devuan specific packages need to be rebuilt, but with unofficial ports you are stuck with unstable...03:36
sadoon_albader[mThat's exactly what I want to avoid though :P03:37
sadoon_albader[mThe reason I want to rebuild is to have a full stable release03:37
sadoon_albader[mThe unstable is just too.. unstable03:37
sadoon_albader[mPorting devuan over as devuan ppc64 ceres would be a piece of cake03:38
sadoon_albader[mLike you said, all the packages are already built and amprola does the rest if I understand correctly03:38
bb|hcbI suppose there are quite a few packages that FTBFS on ppc64 and their maintainers do not care about that too much, so that is going to be lots of work03:39
bb|hcbSo getting ppc64 stable may not be impossible but is far from practical03:39
sadoon_albader[mVery few, and I'm doing just fine without them03:40
sadoon_albader[mRunning a full KDE desktop with firefox ESR, arcticfox, and webkit2gtk all running fine, with webkit performing the best03:40
sadoon_albader[mOnly few things need patching03:40
sadoon_albader[mI've been running debian sid for 3 months now, I update once a month after doing a btrfs snapshot and so far it's been good03:41
sadoon_albader[mVery usable, have 3 monitors connected. That's on PowerMac G5 mind you03:41
bb|hcbSounds like ceres/sid is fine with you... And the definition of stable is a broad thing - I do not like the Debian's one, that is why I tend to switch to testing in the half of the release cycle03:46
bb|hcbBut it depends, what I do is most probably not the best thing for most users, because from time to time there are problems with it03:46
sadoon_albader[mI like the "nothing changes for two years except for serious bugs and security issues" stable, which matches debian/devuan's :P03:46
sadoon_albader[mUsed to use Arch for years, loved it, but it was time to move on, life gets too busy to be worrying about breaking updates03:47
sadoon_albader[mSo it's a "different strokes for different folks" thing03:47
bb|hcbUnless you start needing newer version of something, e.g. kicad or gcc03:47
bb|hcbExactly - it depends on the use pattern03:48
sadoon_albader[mI rarely do, and when I do I just build it from source, like nheko here03:48
sadoon_albader[mI also keep an arch chroot for those rare use cases03:49
bb|hcbAnd about the rebuild, Devuan uses gbp; but you will need to somehow feed the build results back to satisfy dependecies and maybe one path is to setup amprolla and DAK - I never did that so can't advise03:52
bb|hcbMaybe there is also a simpler way03:54
sadoon_albader[mI'm making my own script lol06:25
sadoon_albader[mLast thing I need for now is a way to remove the build-deps installed before building a said package06:26
bb|hcbJust use gbp or a plain sbuild - that does rebuild in a clear chroot and installs deps for every build06:26
sadoon_albader[mOh that's nice06:27
sadoon_albader[mlike how arch does it, I'm more familiar with arch obviously06:27
sadoon_albader[mlet me check that out06:28
bb|hcbInstalling deps on your host and using debuild is a bad idea. The main use of debuild is to debug because it is faster06:28
sadoon_albader[mActually my idea was to use the vm which would have a clean root anyways06:28
sadoon_albader[mBut this is better06:28
sadoon_albader[mGreat news07:52
sadoon_albader[mI now have a build system using a 20 line script that goes through all the deb-src archive I pulled down (70gb or so)07:53
sadoon_albader[mHowever, I'm using debian sid as my repo, which means newer packages than the ones I'm trying to build. So first I'll build all the libraries, add them to a repo, add that repo to my sources as a higher priority so packages use those correct version libraries, then build everything else, and then rebuild everything else with my new repo as the only source07:54
sadoon_albader[mI think this makes sense07:54
sadoon_albader[mAfter that, when debian is running well, devuan should be a piece of cake07:54
sadoon_albader[mAnd this all seems to work without a virtual machine, I just tell sbuild that it's ppc64 and not ppc64le and it just builds.07:55
sadoon_albader[mHmm perhaps it was a bad idea to build without a vm, no wonder it's so slow, running qemu for everything xD08:35
bb|hcbsadoon_albader[m: Do you build on amd64 or on the native ppc64?08:36
sadoon_albader[mOn ppc64le08:37
sadoon_albader[mIt needs qemu to run ppc64 binaries08:37
sadoon_albader[mTo a virtual machine with KVM avoids that hassle08:37
sadoon_albader[mSince the CPU itself supports both modes08:37
bb|hcbMaybe qemu is emulating it instead of using the native feature of the CPU?08:39
sadoon_albader[mYes, afaik I can only run different endianness in a full vm, not in binfmt kinda stuff09:03
sadoon_albader[mGuess I'll share the script to rebuild full deb repos here later in case anyone needs it heh09:04
sadoon_albader[m18 lines, simple stuff, might build in logging later09:04
bb|hcbWould be nice :) What is the benefit of ppc64 over ppc64le?09:27
sadoon_albader[mNo benefit really, mostly less compatible with modern software so it's a detriment10:06
sadoon_albader[mThe only reason I want to support it is for the PowerMac G510:06
sadoon_albader[mBut some people might find it useful, maybe for old software, or to make sure their software doesn't break on BE10:06
sadoon_albader[mAlso, POWER machines up to POWER7 had no "official" support for LE, even though the chip itself did support in most cases10:07
bgstack15Devuan meet today, Thursday, November 25, at 20:30 UTC. Pad is here: https://pad.dyne.org/code/#/2/code/edit/Exp1litK0IJF8WkI1ODwBRQd/15:15
bgstack15I doubt I can make it. Today is the US holiday of Thanksgiving.15:16
rrqsomewhere between me and Amsterdam theres a networking knot, so I probably won't get onto the video chat21:32

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