libera/#devuan-dev/ Friday, 2018-11-02

LeePenI have just pushed a new version of cups-filters to git@git.devuan.org:LeePen/cups-filters.git with a much better Devuan test page provided by golinux.10:54
amesserhi LeePen10:57
KatolaZhi LeePen10:57
amesserLeePen, regarding the tag naming, the point here is, that when we import the upstream into the devuian package repo, the upstream tags <tagname> will not import as upstream/<tagname> but just as <tagname>. Maybe there is an git option which can be used to automate this10:59
KatolaZamesser: it's in gbp.conf11:04
amesserno, i mean you have to make "git fetch" to import upstream tags as "upstream/<tagname>" and not "<tagname>". Otherwise one has to do it manually11:05
amesseri think it is possible, need to manually edit .git/config11:06
KatolaZamesser: you just need to fetch the tag and tag the upstream branch11:06
KatolaZthen you specify how the upstream branch is tagged in debian/gbp.conf11:07
KatolaZno need to re-tag11:07
amesserhmm11:07
KatolaZjust use "upstream-branch= v(%version)s11:07
KatolaZin gbp.conf11:07
amesseryep, i know11:07
KatolaZ(that's just an example)11:07
KatolaZ(if I have got your point correctly)11:08
amessernot really :-)11:09
KatolaZ:D11:09
KatolaZsorry then :)11:09
amesserI would like to see the following tag structure for the git repo:11:09
amesser"devuan/<package-version>" for devuan package tags11:09
amesserand "upstream/<upstream tag name>" for the upstream source tags11:10
KatolaZamesser: there is no policy about that11:10
KatolaZnot even in Debian :)11:10
amesseryep, but i like structure :-)11:10
KatolaZ:D11:10
amesseri have found debian package where it is the same :-)11:10
amesserin binutils you have it like that11:10
KatolaZyeah, but I have found tons of debian packages where this is not the case11:10
KatolaZand you have all sorts of tag structures11:11
amesserthat is true11:11
KatolaZthe most common is version-debversion for debian packages11:11
KatolaZ and just "version" for upstream11:11
KatolaZor "v$version" for upstream11:11
amesseryes, because it is the easiest way11:11
KatolaZit's more because you just don't retag from upstream11:11
KatolaZ(meaning that you don't need to do that)11:12
amesserthe point here is, when upstream is added as a remote to the local copy of the repo, then when you fetch the latest stuff from upstream, the tags are automatically imported just with there names11:12
amesserand this is simple, but i'm afraid about conflicts11:13
KatolaZthere cannot be conflicts11:14
KatolaZsince debian packages are tagged with version-debversion11:14
amesseri mean when upstream in future decides to use a naming - scheme similar to debian versions, well it will become a mess in the package repo11:14
KatolaZdevuan ones are tagged with version-deb-version+devuan-version11:14
KatolaZit can't11:14
amesseryep11:14
KatolaZ:)11:14
KatolaZI mean it can't become a mess11:15
KatolaZif it happens, you start retaggin for that particular package11:15
KatolaZIMHO11:15
amesseranyway, its not a critical point. but since i'm a physicist, i like structure and symmetry :-)11:16
amesserthe elogind packaging from leepen looks very good already.11:16
KatolaZamesser: I asked him to liaise with you and the other guys who have been working on it11:17
KatolaZhim=LeePen11:17
amesserI'm planning to merge his changes to "master" branch when he's ready and then create the "suites/unstable" from it11:17
KatolaZok11:17
KatolaZgreat11:17
KatolaZ:)11:17
amesserUnfortunately, next two eekends are full with family meeting, this year is really horrible regarding spare time for Devuan. Nevertheless i'll setup a VM for beowulf11:18
KatolaZdon't mention it amesser, please :D11:18
KatolaZjust don't mention time11:19
KatolaZ(let alone "spare"...)11:19
amessernext week or so, this is just "unstable" suite from deb.devuan.org?11:19
KatolaZuh?11:19
KatolaZbeowulf is beowulf11:19
KatolaZ(i.e., corresponding to testing)11:19
KatolaZunstable is ceres11:19
amessersorry, always messing up the code names :-)11:20
KatolaZheheheh11:20
amesserso then ceres11:20
KatolaZyeah11:20
KatolaZI will be working on d-i components in the next few days11:21
KatolaZto build an installer for beowulf11:21
amesserok11:21
KatolaZand ease the path for people willing to help with ceres11:21
KatolaZ(who could just dist-upgrade form a beowulf image)11:21
amesserthat would be nice. currently can i use debbootstrap to install ceres?11:22
KatolaZyes11:23
KatolaZdebootstrap has been fixed11:23
amesserfine11:24
amesserBesides that, i'm looking forward to receive my Libre M development kit from puri.sm. Libre M is an ARM 64 bit based mobile phone. I'll gona try to run Devuan on it11:27
golinuxLeePen: Thanks for doing that!  Those pages have been on hold for quite some time.16:47
fsmithredping parazyd - can't upgrade eudev in ceres16:47
KatolaZfsmithred: ?16:47
KatolaZfsmithred: what do you mean?16:48
fsmithrederror message says I need a kernel with certain features16:48
KatolaZo_O16:48
fsmithredand the running kernel already has those features16:48
KatolaZwhich kernel do you have?16:48
fsmithred4.18.0-216:48
fsmithredcan't find anything newer than that16:49
KatolaZwhich version are you trying to upgrade to?16:49
KatolaZmaybe that's the problem16:49
fsmithred3.2.5-116:49
fsmithredState: installed (3.2.2-13), upgrade available (3.2.5-1)16:49
KatolaZ3.2.5 works well with the ascii kernel16:49
fsmithredAT YOUR OWN RISK, you can force the installation of this version of udev16:50
fsmithredWHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND WILL BREAK YOUR SYSTEM16:50
fsmithredAT THE NEXT REBOOT by creating the /etc/udev/kernel-upgrade file.16:50
fsmithredThere is always a safer way to upgrade, do not try this unless you16:50
fsmithredunderstand what you are doing!16:50
KatolaZI am upgrading the ceres kernel to 4.18.2 now16:50
KatolaZfsmithred: does it says which symbol is missing? (16:53
KatolaZ(it's the preinst script)16:53
fsmithredyeah, I'm looking at the script16:54
fsmithredno message about symbols, just kernel configs16:54
KatolaZyeah, I mean config16:54
fsmithredlooks like preinst is set to reject anything less that 2.6 kernel16:54
fsmithred- inotify(2)            (CONFIG_INOTIFY_USER)16:54
fsmithred- signalfd(2)           (CONFIG_SIGNALFD)16:54
fsmithred- accept4(2)16:54
fsmithred- open_by_handle_at(2)  (CONFIG_FHANDLE)16:54
fsmithred- timerfd_create(2)     (CONFIG_TIMERFD)16:54
fsmithred- epoll_create(2)       (CONFIG_EPOLL)16:54
KatolaZyep16:55
fsmithredevery one of those CONFIGs is a =y16:55
KatolaZit's working fine after reboot with the 4.18.0-2 kernel16:55
fsmithrednot here. Is dbus required for this?16:56
KatolaZnow if I try to reinstall it it bails out16:56
KatolaZ(reinstall eudev)16:56
KatolaZI don't have dbus16:56
KatolaZ(minimal testing image)16:56
fsmithredok, so mine should be ok, too16:57
fsmithredI tried adding set -x to preinst but I didn't get any more output16:57
KatolaZyeah I guess oyu should be OK16:57
KatolaZbut we should find which check fails16:57
fsmithredcheck_kernel_features() has that message16:58
fsmithred[ -e /etc/udev/kernel-upgrade ] && return 016:58
fsmithredthat looks like a way to bypass it. The message suggested creating that file...16:59
fsmithredonly if I know what I'm doing16:59
KatolaZit's the check17:00
KatolaZnono17:00
KatolaZit's the check on symbols17:00
KatolaZon needed_symbols17:00
fsmithredegrep -q "^[a-fA-F0-9]+ T \.?sys_${symbol}$" /proc/kallsyms17:01
fsmithredoh, duh17:01
KatolaZyep17:01
KatolaZif you try that one, it fails on the 4.18.0-217:01
fsmithredI tried that, but I forgot to define $symbols17:02
KatolaZtry with inotify_init instead of ${symbol}17:02
fsmithrednothing17:03
KatolaZyep17:03
KatolaZthe check does not work17:03
KatolaZ'cause the symbols are called differently, I guess17:03
KatolaZnow they seem to be separate by arch17:04
KatolaZfsmithred:17:04
KatolaZthere are __x86_sys_inotify_init17:04
fsmithredwhat do you mean?17:04
KatolaZthat the symbol name has changed17:05
KatolaZfsmithred: look for sys_inotify_init17:05
fsmithredyeah, I have a whole list of them I grepped17:05
KatolaZfsmithred: you should only consider the entried with a leading "T "17:06
fsmithredhow do you find the new names?17:06
KatolaZs/entried/entries17:06
fsmithredx64 and ia3217:06
KatolaZyep17:06
fsmithredshould x64 be amd64?17:06
KatolaZnope17:06
KatolaZthe kernel has always used x6417:07
KatolaZ(the support was ready before the actual amd64 spec came out :D)17:07
fsmithrednot surprised17:07
KatolaZlinux was the first kernel ever to support amd6417:07
KatolaZthe software was ready before the hardware was available for sale17:07
KatolaZ:D17:07
fsmithredwow17:08
KatolaZfsmithred: I will have a look at the latest eudev upstream17:12
KatolaZbut I guess we could just amend the check to reflect the new names17:13
KatolaZwe should just be sure that the change is consistent across architectures17:13
KatolaZfsmithred: I think I have a fix17:52
fsmithredcool17:53
KatolaZfsmithred: building now17:57
KatolaZfsmithred: will try to build it later18:02
KatolaZthere is currently a breakage in sid in libglib-object-introspection-perl18:03
fsmithredok18:03
fsmithredI'm busy with other stuff anyway. Let me know when to try again.18:03
KatolaZoki18:04
KatolaZthe fix is pretty straightforward, and works on previous kernel versions as well18:04
fsmithredI'm confused by the regex18:04
KatolaZwhy?18:04
fsmithredthe \.?18:04
fsmithred  \.?sys_${symbol}$"18:05
KatolaZthe new one is18:05
fsmithredescaping the dot means there must be a dot in the pattern?18:05
KatolaZ"^[a-fA-F0-9]+ T .*sys_${symbol}$"18:05
KatolaZyes18:05
fsmithreddot means one char in that one?18:06
KatolaZzero or more18:06
fsmithred * is zero or more18:06
fsmithred isn't .* one or more?18:06
KatolaZnope18:06
KatolaZit's not shell glob18:06
KatolaZit's ERE18:07
fsmithredok, I need to re-learn regex18:07
KatolaZoh sorry, didn't mean that18:07
IrrwahnKatolaZ new version is quite lenient, but I suppose that's fine given the context it's used in18:09
KatolaZyea Irrwahn18:09
KatolaZthe correct one would probably be18:09
Irrwahnyou could presumably also go for sth like (__.+_)?${symbol}$18:11
KatolaZ"^[a-fA-F0-9]+ T (__.*_)*sys_${symbol}$"18:11
IrrwahnAlmost.  :D18:11
Irrwahn+ and ? would be a bit more restrictive compared to *18:11
KatolaZIrrwahn: but we don't know what there can be before sys18:12
IrrwahnYeah, that's true, I was merely making an educated guess. So your first, lenient version should be fine. :)18:13
Irrwahn"I once had a problem. I tried to solve it using regular expressions. Now I have two problems."18:14
KatolaZIrrwahn: I think yours is actually better18:16
IrrwahnWell, mine narrows it down to an optional  (__SOMETHING_) pattern preceding the ${symbol}, but we don't know if that's the only prefix pattern that may occur.18:18
KatolaZwe need to keep "sys_" nevertheless18:19
KatolaZsince all syscalls symbols will start with "sys_"18:19
KatolaZor with "__ARCH_sys_"18:19
IrrwahnErr, yes, forgot that one18:20
KatolaZmmmhhh18:20
IrrwahnSo make it:  "^[a-fA-F0-9]+ T (__.+_)?sys_${symbol}$"  ???18:20
IrrwahnOr even:  "^[a-fA-F0-9]+ T (__[a-zA-Z0-9]+_)?sys_${symbol}$"   ?18:21
IrrwahnAs it'd be unlikely for an arch tag to be non-aplhanumeric.18:22
KatolaZmaybe the best is: "^[a-fA-F0-9]+ T (_+.*_)?sys_${symbol}$"18:22
IrrwahnHm, another nice variation to the song.18:23
KatolaZwhich matches any prefix to "sys" which starts with "__", has anything in between, and a "_" before sys18:23
KatolaZ(well, even something that starts with a single "_" would match18:24
Irrwahnyep, as long as we don't care it also matches __sys18:24
KatolaZwe shouldn't care I guess18:24
Irrwahnnope, would need at least two _, because of the +18:24
KatolaZoh sure18:24
KatolaZI have written a couple of them18:24
KatolaZ:D18:24
IrrwahnRight, lets not be too pedantic for a simple install time kernel symbol check. It won't trigger with any De(bi|vu)an stock kernel after all.18:25
IrrwahnBTW: why didn't I see it complain during debootstrap, but it triggers during a eudev reinstall?18:27
fsmithredI just tried (_+.*_)?sys_${symbol}$" and it failed again18:30
KatolaZuh?18:31
KatolaZI have tried it now18:31
KatolaZ"^[a-fA-F0-9]+ T (_+.*_)?sys_${symbol}$"18:31
fsmithrednot working here18:34
fsmithredsame error18:34
KatolaZfsmithred: what are you trying exactly?18:34
IrrwahnWorksForMe[TM]:  egrep "^[a-fA-F0-9]+ T (_+.*_)?sys_inotify_init$" /proc/kallsyms18:35
fsmithredI'm replacing that string in preinst and then trying to install libeudev1 and eudev again18:35
KatolaZfsmithred: but they would be re-unpackaged...18:35
KatolaZI am just trying: egrep -q "^[a-fA-F0-9]+ T (_+.*_)?sys_${symbol}$" /proc/kallsyms ; echo $?18:36
fsmithredno, the file is not being overwritten18:37
fsmithred118:37
fsmithredwith your command18:38
KatolaZI get a zero18:38
KatolaZo_O18:38
Irrwahnfsmithred: did you define the symbol variable?18:38
fsmithredlol, not lately18:39
fsmithredjust realized that18:39
Irrwahn:D18:39
KatolaZhold on18:39
KatolaZthe symbol symbol is defined in the 'for symbol in $needed_symbols'18:39
fsmithredneeded_symbols='inotify_init signalfd accept4 open_by_handle_at timerfd_create epoll_create'18:40
fsmithredegrep -q "^[a-fA-F0-9]+ T (_+.*_)?sys_${symbol}$" /proc/kallsyms ; echo $?18:40
fsmithred118:40
fsmithredaha!18:40
fsmithredsymbols/symbol18:40
fsmithredgot it!18:43
fsmithred018:43
Irrwahnexport needed_symbols='inotify_init signalfd accept4 open_by_handle_at timerfd_create epoll_create'; for symbol in $needed_symbols ; do egrep -q "^[a-fA-F0-9]+ T (_+.*_)?sys_${symbol}$" /proc/kallsyms ; echo $? ; done18:43
Irrwahngives a bunch of zeros, should be fine.18:43
fsmithredfor i in  inotify_init signalfd accept4 open_by_handle_at timerfd_create epoll_create ; do egrep -q "^[a-fA-F0-9]+ T (_+.*_)?sys_${i}$" /proc/kallsyms ; echo $? ; done18:43
fsmithredyup18:43
KatolaZif ! egrep -q "^[a-fA-F0-9]+ T (_+.*_)?sys_inotify_init$" /proc/kallsyms; then echo NO; fi18:45
KatolaZfsmithred: ^^18:45
KatolaZyou should see nothing18:45
fsmithredthat works, too18:46
KatolaZok18:47
KatolaZI have pushed to suites/unstable18:49
KatolaZwill try to build as soon as the dep issue is solved in Debian18:49
IrrwahnKatolaZ: By any chance, do you know if the debian-init-diversity list is heavily moderated? I registered, but my posts won't show up.18:53
KatolaZIrrwahn: don't think so18:54
KatolaZit's not moderated, AFAIK18:54
Irrwahnmmmhh18:54
KatolaZjust email Jan18:54
IrrwahnYeah, will do that tomorrow, if the status quo doesn't change until then.18:55
golinuxIrrwahn: There is usually a confirmation email.  Did you get that and complete your registration?19:30
KatolaZyes19:31
KatolaZI got a confirmation email19:31
KatolaZand replied19:31
KatolaZit's mailman19:31
Irrwahngolinux: Yes, I got that email and followed the link to confirm. I can login and see me listed on the subscribers page. Just my postings seem to get stuck, they didn't even bounce.19:43
IrrwahnGonna try to contact Matthew who apparently runs the list.19:45
IrrwahnThe To: address I must've gotten correct, as I replied to one of KatolaZ' messages. And sending signed mails shouldn't be an issue, as other posters do that too.19:48
KatolaZIrrwahn: dunno, it's better to ask the administrator19:49
IrrwahnWill do.19:49
golinuxThey might have new posters in moderation as default.  That's what I had to do to DNG after Mikee's last outburst.19:52
golinuxWorks out OK as there aren't that many new people trying to register.19:53
IrrwahnYeah, could be. I'll wait till tomorrow, then contact the admin.19:53
IrrwahnOh, and don't forget to follow golden rule #1:  Don't read the comments!20:01
IrrwahnArgh, wrong window, sorry. -.-20:02
golinuxKatolaZ: I think it would be a good idea to add a link to pkginfo.d.o. on the nav bar of bugs.d.o.20:19
golinuxI'd just call it Packages20:19
golinuxI'm going to add that to the forum nav also20:20

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