<    April 2017    >
Su Mo Tu We Th Fr Sa  
                   1  
 2  3  4  5  6  7  8  
 9 10 11 12 13 14 15  
16 17 18 19 20 21 22  
23 24 25 26 27 _2_8 29  
30
00:58 tru_tru joined
01:09 tmh1999 joined
01:17 s33se_ joined
01:50 blueness joined
03:43 <TemptorSent> Okay, this working around not being able to use full package atoms to apk is getting beyond annoying now -- I'm having to loop over or sed out every package atom just to ask apk what files it contains (apk info -L $pkgatom)
03:47 <TemptorSent> What I want to do is "apk info -v | xargs apk info -L | awk -e '/contains:$/ { pkg=$1 ; next } .....
04:51 coredumb joined
05:07 fabled joined
06:07 vakartel joined
07:00 royger joined
07:04 t0mmy joined
07:06 fekepp joined
07:08 <xsteadfastx> i want to add opus to gstreamer
07:43 <clandmeter> xsteadfastx: http://dup.pw/aports/f8594a59
07:44 <xsteadfastx> ok that was fast
07:44 <xsteadfastx> i did the same
07:44 <xsteadfastx> but wanted to test it first ;-)
07:44 <clandmeter> sudo apk -U upgrade and test ;-)
07:46 <clandmeter> but yes this was fast as the change is not intrusive, and having opus support makes sense :)
07:46 <xsteadfastx> soemtimes its sooo easy :-)
08:08 <^7heo> ncopa: have you built firefox with PIE after version 48?
08:09 <scadu> woohoo, never ending backlog story :P
08:10 <^7heo> moin scadu
08:10 <ncopa> ^7heo: https://git.alpinelinux.org/cgit/aports/tree/testing/firefox/APKBUILD#n127
08:11 <scadu> ^7heo: morning
08:11 <^7heo> ncopa: I've seen that.
08:11 <^7heo> ncopa: I meant continuously
08:12 <scadu> ^7heo: probably I have to try freenode@matrix and riot on the phone. I can't keep up the logs on the phone with weechat :p </offtopic>
08:13 <^7heo> ncopa: I'm asking because a friend of mine is trying to build firefox on BSD with PIE, and examples of patches would help him a lot
08:14 <ncopa> file /usr/lib/firefox-52.0.2/firefox
08:14 <ncopa> /usr/lib/firefox-52.0.2/firefox: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-x86_64.so.1, BuildID[sha1]=467fe507f3c4f58264461cba7d348efb783db9c9, stripped, with debug_info
08:15 <ncopa> it says "shared object", so its built with PIE
08:15 <^7heo> ah
08:15 <^7heo> but so do we have a patch for that?
08:17 <ncopa> i think firefox supports it upstream?
08:18 <ncopa> https://bugzilla.mozilla.org/show_bug.cgi?id=857628
08:18 <ncopa> looks like support for build with PIE have been there since firefox 35
08:18 <ncopa> anything else you need help to google? :-p
08:28 blueness joined
08:35 tty` joined
08:38 tru_tru joined
08:42 fekepp joined
08:50 <clandmeter> nmeum, i added your newapkbuild patch to aports, else it doesn't do much until new version arrives.
08:51 <clandmeter> atleast i think its you :)
08:52 <xsteadfastx> how long does it take if a package got built on the build server to appear in the repos?
08:52 <nmeum> clandmeter: good idea, I considered doing that as well but didn't get around to it - thanks
08:52 <clandmeter> xsteadfastx, depends on the repo's
08:54 <xsteadfastx> i want to test the gst-plugins-base1-r1 it just got built
08:54 <xsteadfastx> for x86_64
08:55 <clandmeter> i mean which mirror :)
08:56 <clandmeter> update freq is probably 15min,30min,1h,1d (depending on the mirror)
08:56 <xsteadfastx> ah ok
08:56 <xsteadfastx> i use dl-cdn.alpine.linux.org... so i just wait a little
08:56 <clandmeter> ncopa, do you know the update freq of cdn
08:56 <clandmeter> ?
08:57 <clandmeter> maybe its a good thing to add that to the metadata of mirrors
09:02 <skarnet> why polling and not notifications
09:03 <clandmeter> cause we have no control over those mirrors
09:03 <skarnet> ugh
09:08 <clandmeter> actually its already possible to trigger on notifications if somebody would implement it. you can sub on our mqtt and listen for upload msg's.
09:10 <xsteadfastx> there is a mqtt server? thats neat. like this its not that hard to get notifications
09:11 <^7heo> ncopa: let's be clear, I merely relay a request from a maintainer in another OS.
09:11 <^7heo> ncopa: and I think he knows how to google.
09:42 blueness joined
09:56 <clandmeter> skarnet, we could still use a partner with a geo located infra to share with us.
09:59 t0mmy joined
10:07 <skarnet> why are you looking at me like that? O.O
10:08 <skarnet> (on a totally unrelated note, can an Alpine cdn note be implemented over busybox httpd and simple sh scripting?)
10:08 <skarnet> s/note/node/
10:10 <Shiz> @ncopa │ it says "shared object", so its built with PIE
10:10 <Shiz> that is not inherently true
10:11 <Shiz> # readelf -d /bin/ls | grep FLAGS_1
10:11 <Shiz> 0x000000006ffffffb (FLAGS_1) Flags: NOW PIE
10:11 <Shiz> this is how you tell it's PIE
10:11 <Shiz> :p
10:11 <ncopa> ah
10:11 <ncopa> thanks
10:11 <ncopa> yes, you are right ofc
10:11 <skarnet> pie or not, I don't like when ldd or readelf or whatever says "dynamically linked" when run on a static binary :(
10:12 <skarnet> it makes me go "shit, what did I do wrong, what build system braindeadness did I fail to work around this time?"
10:13 <Shiz> well
10:13 <Shiz> you can blame ELF for that
10:13 <Shiz> static PIE binaries ARE ELF shared objects
10:13 <Shiz> :P
10:13 <skarnet> ugh
10:13 <skarnet> WHY
10:14 <Shiz> because only shared objects are reloctable, or something
10:14 <skarnet> and can I blame the tools for not specialcasing it and printing a line "it's static pie, don't worry, you're gonna be okay" ?
10:15 <Shiz> it's some brokenness that nobody ever fixed
10:16 <clandmeter> skarnet, because you are old and know ppl ;-)
10:16 <skarnet> do I know people?
10:16 <skarnet> I know you guys
10:16 <skarnet> that's about it :P
10:17 <clandmeter> right, they are the most important anyways :p
10:18 <skarnet> I also know academics who'd be the type to host Haskell or TeX, OpenBSD people who stop listening when I say "Linux", and slash fanfiction writers
10:18 <skarnet> I don't think any of those would be useful to you
10:20 <Shiz> what about crack fanfiction writers
10:20 <skarnet> she does that too
11:18 leo-unglaub joined
11:50 rdutra joined
11:52 t0mmy joined
12:10 leitao joined
13:41 blueness joined
14:18 <jirutka> skarnet: I’m quite glad that I’m not the only one who was surprised that static PIE is not reported as static by ldd :) I thought that it was just my lack of knowledge; but what problem do you see on that? I’ve already verified that it really works on system with different libc and even older kernel
14:19 <jirutka> skarnet: now I just use `readelf -dl` instead of ldd as Shiz showed me
14:20 <clandmeter> ncopa, is it new that when arch is disabled you get an all failed error with abuild?
14:22 <ncopa> possibly
14:22 <ncopa> i think its due to the set -e change
14:22 <ncopa> i dont remmeber if it exited with success earlier
14:22 <ncopa> it probably did
14:22 <ncopa> clandmeter: i think its a bug
14:26 <^7heo> ncopa: so you never patched anything particular to build firefox as PIE?
14:26 <ncopa> i dont think so
14:27 <ncopa> i remember there were some patches to make it work un der PAX
14:27 <ncopa> that i actually tried
14:27 <ncopa> but we removed those
14:27 <ncopa> and disabled the pax memory protection instead
14:28 <^7heo> ncopa: not "un der PaX" but "uhr der PaX"
14:29 <jirutka> ^7heo: lol
14:29 <ncopa> he
14:29 <ncopa> he
14:29 <ncopa> he
14:29 <ncopa> :)
14:30 <jirutka> ^7heo: Wir sind nicht in Deutschland!
14:31 <^7heo> jirutka: oh du sprichst Deutsch?
14:32 <^7heo> Du*
14:33 <clandmeter> eins zwei polizei
14:33 <scadu> clandmeter: XD
14:33 <jirutka> ^7heo: Nein, aber ich benutze Google Translator. ;)
14:34 <^7heo> drei vier grenadier
14:34 <^7heo> jirutka: bwwaah
14:34 <^7heo> Ich benutze 3g mann
14:35 <scadu> ^7heo: we are waiting for you on -offtopic : >
14:43 czart_ joined
15:46 minimalism joined
15:47 <ncopa> jirutka: i have problem with nginx :-/
15:47 <jirutka> ncopa: don’t worry, I’ll update it and fix today
15:47 <ncopa> 1.10.3 does not build with libressl
15:47 <ncopa> and 1.12.0 has modules that does not build
15:47 <ncopa> ok
15:49 <ncopa> i set arch="" in testing/wok meanwhile
15:49 <ncopa> thanks!
15:50 <jirutka> testing/wok? o.O
15:50 <ncopa> depends on nginx
15:51 <ncopa> which cannot be installed now due to missing libcrypto.old
15:52 <jomatv6> Hmmmm... i thought there was a wireguard port for alpine already in some official repos, but that's not the case? Or am I unable to use pkgs.alpinelinux.org ;-)
15:52 <ncopa> i think its in testing?
15:52 <ncopa> edge/testing
15:52 <ncopa> we should probably move it before v3.6
15:53 <jomatv6> ah got it, thanks!
15:53 <jirutka> ncopa: is ipv6.patch in nginx still needed? there’s no comment why it was added and what problem does it solve
16:06 <ncopa> dunno
16:06 <ncopa> commit message says it was needed to listen on ipv6 by default
16:07 <ncopa> kill it
16:07 <ncopa> if its needed then it should go upstream
16:07 <jirutka> I’ve read that, but was it really needed? if you want nginx to listen on IPv6, you specify listen [::]:443 (for example)
16:07 <ncopa> yeah
16:07 <ncopa> kill it
16:07 <jirutka> I really hate when someone put a patch without any proper description why the heck it’s needed and what it actually do
16:09 <jirutka> btw these guys from IBM have very good documentation habits, they always thoroughly explain what and why the commits changes :)
16:10 <rdutra> jirutka: :)
16:27 <jirutka> “The libressl library is not officially meant to be used by 3rd-party applications as a standalone SSL library anyway.” o.O https://github.com/openresty/lua-nginx-module/issues/1035#issuecomment-292275955
16:31 xmux joined
16:49 <skarnet> it's written on the internet, so it must be true
16:50 <jirutka> skarnet: I’ve put it here, so someone more informed about LibreSSL can respond to it, if it’s not true ;)
16:50 <^7heo> I wouldn't assume it to be true.
16:52 <skarnet> well that statement makes zero sense, and that's being generous
16:52 <jirutka> skarnet: could you please respond to the linked issue?
16:52 <skarnet> no I can't, the thread has been closed
16:53 <skarnet> and correcting every wrong sentence on the Internet is not one of my life's goals
16:53 <jirutka> closed, but not locked
16:54 <^7heo> skarnet: whyyyy!? Aren't you aware of https://www.xkcd.com/386/ ?
16:54 <clandmeter> rdutra. did you write the libbsd patch?
16:55 <rdutra> clandmeter: yes
16:55 <clandmeter> i think you can invert the ifdef to x86 and x86_64
16:55 <clandmeter> then all archs will probably work
16:56 <skarnet> ^7heo: I'm very aware of it and I've spent too much time doing it already
16:57 <rdutra> clandmeter: I see. Well, I can do it soon and send a PR
16:57 <^7heo> skarnet: it was a rethorical question ;) Ofc you're aware of it :D
17:00 <clandmeter> rdutra, i think i succesfully build it on arm32/64 so please enbable them.
17:00 <clandmeter> not behind my pc now
17:07 <TemptorSent> RFC - Manifest format: Currently, I'm using the following format for entries in manifest files '%s:%s/%s-%s\t%s:%s\t%s' <type (pkg/kpkg/kbuild/etc.)> <arch> <pkgname> <pkgver> <sumtype> <sum> <filename>.
17:09 <TemptorSent> Symlinks are handled by sumtype 'linkto' and the sum being the link target. Devices are not yet handled, nor are ownership/permissions.
17:11 <TemptorSent> Ideally, such manifests would be either distributed with packages or calculated by apk at installation time, rather than being computed after the fact of extraction.
17:12 blueness joined
17:13 <TemptorSent> I'm looking for any input regarding the format and content for manifests of both package specific and arbitrary file sets.
17:36 <jirutka> ncopa: I’m afraid that we have more issues with nginx vs. new LibreSSL… I’ve run nginx testsuite and many TLS-related tests fails, both on the current version and 1.12.0
17:37 <jirutka> ncopa: the same tests passes on v3.5 against main/nginx@edge
17:38 <jirutka> ncopa: http://tpaste.us/Ynw6
17:59 Emperor_Earth joined
18:00 cyteen joined
18:36 <tmh1999> jirutka : did you check on main/llvm recently ? it fails on x86_64, s390x with this bug : https://git.alpinelinux.org/cgit/aports/tree/testing/llvm4/disable-FileSystemTest.CreateDir-perms-assert.patch
18:36 <tmh1999> I mean, the same bug with that patch
18:37 <tmh1999> besides, even with that patch, still fail with building doc subpackage
18:38 <jirutka> tmh1999: probably, but don’t remember any failure; btw https://github.com/alpinelinux/aports/pull/1261
18:39 <tmh1999> jirutka : beautiful. Guess we I just wait for it.
18:39 <tmh1999> thank you
18:40 <jirutka> tmh1999: it’d be better to help with it ;)
18:41 <tmh1999> jirutka : oh sure
18:59 <jirutka> ncopa: it’s very bad, nginx with LibreSSL 2.5 accepts connections that should be rejected due to invalid cert… or it’s a bug in some Perl TLS library (tests for nginx are written in Perl), but I’ve already checked them and it’s not likely…
19:04 fabled joined
19:07 <jirutka> could please someone else try to build and check http://tpaste.us/oZNL on latest edge?
19:13 <_ikke_> jirutka: I'll try
19:15 <ncopa> huh
19:15 <ncopa> that sounds bad
19:19 <_ikke_> jirutka: I get unsatisfiable constraints
19:19 <jirutka> _ikke_: log pls?
19:20 <_ikke_> jirutka: http://tpaste.us/je0V
19:21 <jirutka> apk update…
19:21 <_ikke_> I just did that
19:21 <jirutka> arch?
19:21 <_ikke_> apk upgrade -U --available
19:22 <tmh1999> use nl.alpinelinux.org
19:22 <_ikke_> ok
19:22 <_ikke_> jirutka: 64 bit
19:22 <_ikke_> x86_64
19:22 <jirutka> then you use some mirror that is out-of-sync
19:22 <_ikke_> dl-cdn
19:23 tmh1999 joined
19:23 <jirutka> dl-cdn is like a Russian roulette :/
19:23 <_ikke_> hehe
19:23 <ncopa> perl-protocol-websocket (missing):
19:23 <_ikke_> Now it's continuing
19:23 <jirutka> use nl.alpinelinux.org or https://repository.fit.cvut.cz/mirrors/alpine/
19:23 <jirutka> these are surely up-to-date
19:24 <ncopa> i though i had that
19:24 <ncopa> rsync.a.o
19:24 <jirutka> yeah, or the source, rsync.a.o, but someone told me that I should not propagate it :P
19:24 <_ikke_> jirutka: Yeah, switched to nl.a.o
19:24 <_ikke_> building now
19:24 <jirutka> we should really solve this issue with mirrors, many mirrors on the list are not reliable
19:24 consus joined
19:26 <ncopa> i suppose i could have built perl-protocol-websockets locally
19:27 <ncopa> i wonder if that error happens with libressl2.4?
19:27 <ncopa> ./h2_ssl_verify_client.t ............... Dubious, test returned 1 (wstat 256, 0x100)
19:27 <ncopa> Failed 1/5 subtests
19:28 <jirutka> ncopa: why? it’s already in repo, at least for x86_64 and x86, b/c other builders are stuck again or something
19:29 <jirutka> ncopa: I’ve tried to that test suite on v3.5 and all tests passes
19:29 <ncopa> ok
19:29 cyteen joined
19:29 <jirutka> tried to run
19:29 <ncopa> that answers the question
19:29 consus joined
19:30 <ncopa> i suppose we have to ask libressl and nginx
19:30 <jirutka> I have no clue what’s wrong, but this kind of error really terrifies me…
19:30 <jirutka> yes
19:30 <ncopa> yes
19:30 <jirutka> if TLS would not work at all, segfault or whatever, ok, but it silently accepts connections that should not be accepted, just after update of ssl lib? this is really bad
19:31 <ncopa> yup
19:41 <consus> Can someone explain me how the docs magic work? I cannot find any pre/post hooks in the package
19:42 <consus> No mentions in apk-tools code
19:42 <tmh1999> consus : abuild code ?
19:42 <jirutka> consus: what do you mean, `apk add docs`?
19:42 <consus> aha
19:43 <consus> And then all my *-doc are pulled in
19:43 <consus> How?
19:43 <tmh1999> consus : https://git.alpinelinux.org/cgit/abuild/tree/abuild.in#n1525 ?
19:44 <jirutka> no, this line https://git.alpinelinux.org/cgit/abuild/tree/abuild.in#n1476
19:44 <consus> Oh
19:44 <consus> So that's how it works
19:44 <consus> A hook in abuild
19:44 <jirutka> yeah, no magic here ;)
19:45 <consus> I was expecting to find this kind of code in apk itself
19:45 <consus> Thanks
19:57 t0mmy joined
20:13 <TemptorSent> ncopa: Do you have a second RE: naming conventions and manifest format?
20:54 stwa_ joined
21:25 stwa_ joined
21:33 stwa_ joined
22:06 <Shiz> jirutka: responded to some stuff
22:07 <Shiz> jirutka │ I really hate when someone put a patch without any proper description why the heck it’s needed and what it actually do
22:07 <Shiz> hehehehe
22:07 <jirutka> Shiz: heh, but this message was not addressed to you, really :)
22:10 <Shiz> i'll add descriptions now
22:11 <jirutka> thanks :)
22:37 blueness joined
23:15 <Shiz> jirutka: still awake? :P
23:16 cyteen joined
23:26 blueness joined
23:40 minimalism joined
23:41 <jirutka> Shiz: yes
23:45 <Shiz> writing descriptions now actually
23:53 <Shiz> jirutka: pushed
23:54 <Shiz> jirutka: also what was the edit you made to the PR?