**** BEGIN LOGGING AT Mon Jun 04 03:00:00 2018 Jun 04 05:07:15 Anyone here any good with debian packaging? Anyone want to help me get OpenSSL 1.1.0h (either the Upstream version or the Debian version) to compile on Fremantle? (the Debian version needs newer versions of dpkg and debhelper than we have and I dont think upgrading a package as critical as dpkg is something I want to do given the risk of bustage) Jun 04 06:13:33 jonwil : Links, please? To Upstream and Debian versions? I did debian packaging, aeons ago. No idea why would somebody need newer dpkg version, though - and the latest Debian packaging seems to be significantly different from what it used to be in Maemo-like times. Jun 04 06:14:59 https://packages.debian.org/source/sid/openssl has links to openssl_1.1.0h.orig.tar.gz (the upstream source package) and openssl_1.1.0h-4.debian.tar.xz (the Debian packaging and local Debian patches) Jun 04 06:16:20 We would need a new dpkg/dpkg-dev version and a new debhelper version if we were to use the Debian packaging rather than writing our own packaging for Maemo (I think we should be using the Debian local patches either way though, if Debian thinks those changes are important they are probably worth having) Jun 04 06:20:07 Is 0.9.8n the newest one in Maemo repositories? Jun 04 06:20:45 * Oksana is surprised to see Diablo as Maemo3 and Fremantle as Maemo4 Jun 04 06:20:52 http://maemo.org/packages/view/openssl/ ^ Jun 04 06:25:56 https://github.com/community-ssu/openssl/ is the latest version currently in Maemo Jun 04 06:26:12 Its the last 0.9.8 release and its shipped as part of the Community SSU Jun 04 06:26:26 0.9.8zf ... Nice, thank you :-) Jun 04 06:26:39 No, thats 0.9.8zh Jun 04 06:27:44 I think we can assume that any local patch in Jun 04 06:27:57 Ah, I was looking at the 1 release at this github Jun 04 06:28:18 in Maemo that is also in Debian is either no longer needed for 1.1.0h or is part of the local Debian patches for 1.1.0h Jun 04 06:28:30 And the few patches in Maemo that aren't in Debian aren't needed in 1.1.0h Jun 04 06:28:43 One got merged upstream and the others aren't relavent anymore Jun 04 06:29:04 For a first try, it would be nice to follow https://github.com/community-ssu/openssl/blob/master/HOWTOBUILD , only use upstream source package http://http.debian.net/debian/pool/main/o/openssl/openssl_1.1.0h.orig.tar.gz Jun 04 06:29:09 So basically none of the patches in that community SSU git repo are needed Jun 04 06:30:05 So, if patches aren't needed, then http://http.debian.net/debian/pool/main/o/openssl/openssl_1.1.0h.orig.tar.gz , and dpkg-buildpackage -rfakeroot -sa -us -uc -i.git Jun 04 06:30:57 * Oksana needs to get a build environment someday; building this on device would probably overwhelm rootfs Jun 04 06:31:24 * Oksana used to use MADDE on Windows XP, but Windows XP is too out-of-date to connect it to Internet Jun 04 06:31:53 The easiest way to get a build environment going is to do what I do an use the Maemo Ubuntu build VM Jun 04 06:32:11 So easy to just fire up vmware any time I am doing development Jun 04 06:32:33 Much easier (and cheaper) than trying to set up a second machine just for Linux and for Maemo development Jun 04 06:57:19 jonwil : link to VM? /just in case I, or somebody else, get around to running it/ Jun 04 07:00:01 https://www.fladnag.net/downloads/telephone/n900/tools/ has a link to the official Nokia VM Jun 04 07:00:43 You probably want Maemo_Ubuntu_Lucid_Desktop_SDK_Virtual_Image_Final.7z Jun 04 07:01:39 That's the one I am running (although I have a lot of packages installed in there and I have added more disk space and more RAM and stuff as well to the VM image) Jun 04 07:02:52 There is no way Firefox 24.8.1 was gonna compile with the low amount of RAM the image is set up with by default :) Jun 04 07:03:08 Heck, even QT was having problems until I bumped up the RAM Jun 04 07:03:35 There is apparently a more modern dev environment/VM out there somewhere but I dont know anything about it Jun 04 07:04:33 I am keeping with the Nokia VM just because its what I have been using since about 2014 or so (for a while I was using an old PC as a dev box but then I moved house and decided to retire the old PC rather than pay to have it moved) Jun 04 07:31:44 btw, GitHub to follow Nokia, in case someone hasn't heard. Jun 04 07:35:03 maybe they want to access password protected repos? Jun 04 07:35:32 Maxdamantus: mmh? Jun 04 07:35:41 oh, shit. Jun 04 07:36:51 * sparre only has public stuff on Github. And (practically) only as mirrors of his Mercurial repositories on Bitbucket. Jun 04 07:37:18 I don't use github either, but still :) Jun 04 08:23:12 I dont use any private Github stuff but I do use it for public repos Jun 04 08:23:35 I have yet to see anything to suggest Microsoft is going to make github suck though Jun 04 08:27:47 Well, their intention is presumably to make money, and the way they make money usually involves monopolisation (either encouraging users to lock themselves into their products, or shut the former competitor down) Jun 04 08:28:30 https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguish Jun 04 08:29:30 Personally, I don't like the idea of relying on things within the Microsoft ecosystem. Jun 04 08:30:20 and I don't see why they would spend $2M on GitHub if their intention was not to encourage (in whatever way) users of GH to be incorporated into the ecosystem. Jun 04 08:30:57 er, $2B* Jun 04 08:30:59 or whatever it was Jun 04 08:31:43 ah, valued at $2B a few years ago, not known how much they're paying to acquire it. Jun 04 12:17:49 I am planning to move back to my n900. Is there anyone with n900 using yappari here? does it still work? Jun 04 12:18:22 no support Jun 04 12:18:25 no working app Jun 04 12:18:43 whatsapp went 'no 3rd party apps' Jun 04 12:23:25 oh no. Thank you!! And wow.. such an instant reply!! the reason why I love this community!! Jun 04 12:23:47 you just got lucky Jun 04 12:23:57 on irc response time is from 0.5s to 14 days Jun 04 12:24:48 ha ha :) Jun 04 12:25:50 if I want to start using my n900 back, I lost the details of repo urls.. are the ones in the maemo wiki working? Jun 04 12:26:16 ~maemo-repos Jun 04 12:26:17 well, maemo-repos is http://wiki.maemo.org/Repository#List_of_Maemo_repositories Jun 04 12:26:21 also: Jun 04 12:26:24 ~flashing Jun 04 12:26:24 methinks maemo-flashing is http://wiki.maemo.org/Updating_the_tablet_firmware, or - on linux PC - download&extract http://maemo.cloud-7.de/maemo5/patches_n_tools/maemo-my-private-workdir.tgz, cd into it, do sudo ./flash-it-all.sh; or see ~flashing-cmdline, or see ~lazyflashing Jun 04 12:26:45 i suppose you know about cssu? Jun 04 12:27:03 yeah, community ssu :D Jun 04 12:27:53 yep - was an active user of n900 since 2010 till 2016 Jun 04 12:27:57 k, as usual, t.m.o and w.m.o are your best information source Jun 04 12:28:25 cool.. heading there right away!! Jun 04 13:10:52 (( Oksana is surprised to see Diablo as Maemo3 and Fremantle as Maemo4)) I think the "-maemoN" suffix in versions has nothing to do with Maemo 3 or 4 or 5 Jun 04 13:14:15 DocScrutinizer05: Isn't the trailing "-maemoN" in version numbers like "-debN" in Debian - i.e. packaging versions of the same upstream version? Jun 04 13:14:31 prolly Jun 04 13:15:39 I've seen everything from maemo0 to maemo8 on arbitrary packages in apt-chace policy et al Jun 04 13:18:29 leakypug: Jun 04 13:18:31 ~lf Jun 04 13:18:31 it has been said that #maemo lazyflashing is http://wiki.maemo.org/Updating_the_tablet_firmware#The_Lazy_Approach Jun 04 13:18:48 ~jrtools Jun 04 13:18:49 well, jrtools is http://wiki.maemo.org/User:Joerg_rw/tools Jun 04 13:18:57 should get you started Jun 04 13:44:57 Looks like MS paid $7.5B for Github Jun 04 13:46:33 cash money, ka-ching Jun 04 13:46:40 And it seems to be driven by the community-focused developer-tools side of Microsoft rather than the all business other half (the side that shoved Windows 10 down everyone's throat for example) Jun 04 13:46:55 They say good things about not wanting github to change for the worse Jun 04 13:47:10 They say nothing about any kind of lock-in Jun 04 13:48:00 ignore the words, observe the (future) actions Jun 04 13:54:34 If Microsoft does something bad with github, we can always switch things to gitlab or something Jun 04 14:16:37 ok, so I got some packaging for OpenSSL 1.1.0h that should work but now it turns out that the OpenSSL 1.1.0h configure script (which happens to be a Perl script of all things) needs Perl 5.10.0 and the Perl in scratchbox is only 5.8.4. So now I gotta find a way to get a newer Perl in there (and yes it really does seem to need the newer Perl, I tried changing the version from 5.10.0 to 5.8.4... Jun 04 14:16:38 ...and it gave me errors) Jun 04 14:17:30 uh.... Jun 04 14:17:33 nightmare Jun 04 14:17:42 jonwil: are you absolutely certain it really needs 5.10? Jun 04 14:17:53 ah, nevermind Jun 04 14:18:22 Yeah it definitely gives errors if I change the script to look for 5.8.4 as mnimum Jun 04 14:19:39 tbh I'd rather not upgrade perl, since it'd probably end up with yet another tarball that one need to open before being able to build some package Jun 04 14:19:48 (just like gcc-4.7 for thumbs) Jun 04 14:21:18 So what do we do? Jun 04 14:21:48 I know about as much Perl as I do Python (i.e. none) Jun 04 14:22:35 hmm Jun 04 14:23:07 I'd try and patch that configure script, but ... I don't really know what they did and would need to actually read their commit logs Jun 04 14:23:10 commits log* Jun 04 14:26:13 jonwil: I made a .deb package for openssl 1.0.2e Jun 04 14:26:22 i remember I had to tinker a little bit with some perl scripts Jun 04 14:26:34 Got a link to the source code for that? Jun 04 14:26:44 in fact, I think I simply removed them because they were not needed, although they were useful, they were not essential Jun 04 14:26:48 That might help me figure out what I need to change in 1.1.0h Jun 04 14:26:57 Or maybe not if they just got removed Jun 04 14:27:04 I can't exactly remove Configure :) Jun 04 14:27:31 https://github.com/agamez/maemo-openssl-1.0.2/commits/master Jun 04 14:27:31 maybe you need to rebuild with autotools Jun 04 14:27:34 github... Jun 04 14:27:49 Configure is a Perl script and there is no autotools involved Jun 04 14:27:59 ahm Jun 04 14:28:11 Best way is probably to find someone who can actually program Perl and who can come up with a way to do in 5.8.4 what they are using from 5.10.0 Jun 04 14:28:17 build-depends for 1.0.2e doesn't require perl Jun 04 14:28:41 i had to do a few things Jun 04 14:28:46 eval 'exec perl -S $0 ${1+"$@"}' Jun 04 14:28:49 i'm sure those commits will be helpful to you Jun 04 14:29:03 ceene: in Configure from your repository Jun 04 14:29:22 dunno about build-depends, but it looks like perl to me :) Jun 04 14:29:27 then it should've been on Build-depends Jun 04 14:29:28 yep Jun 04 14:29:37 but i built this thing on Jun 04 14:29:42 scratchbox Jun 04 14:29:48 i forgot the name for a second Jun 04 14:30:01 so perl was already available anyway Jun 04 14:30:04 haha Jun 04 14:30:06 yep Jun 04 14:30:22 that's all i remember, it's from dec 2015 Jun 04 14:30:34 but i do know that i was able to build a .deb package for maemo and it did work Jun 04 14:30:53 I haven't fiddled with maemo/openssl for years either Jun 04 14:31:05 i also did something to qt4 Jun 04 14:31:50 https://github.com/agamez/qt-x11-maemo/commits/RemoveSSL3 Jun 04 14:32:04 and also Jun 04 14:32:09 https://github.com/agamez/qt-x11-maemo/commits/UpgradeSSL Jun 04 14:32:34 i think I had to something to it so yappari could download sent images Jun 04 14:32:37 Thanks. Jun 04 14:32:46 because whatsapp servers started blocking tls3, as it's insecure Jun 04 14:33:04 i don't think i got to release this, because few days after that, yappari stopped working at all Jun 04 14:33:14 and I left lots of things in progress Jun 04 14:33:52 In my case I need TLS 1.2 because the backend for my public transit agency now needs TLS 1.2 minumum in order to work (which means my Fahrplan backend is broken until I get TLS 1.2 into QT) Jun 04 14:34:11 i think last branch, UpgradeSSL, should make it work Jun 04 14:34:15 alongside a modern openssl Jun 04 14:34:17 the one from my repo Jun 04 14:34:29 both together should work for you, just as they are, i think Jun 04 14:34:41 I am sure I can get the OpenSSL 1.1.0h build I have going working correctly Jun 04 14:34:50 Much better than using an out-of-date build with possible bugs in it./ Jun 04 14:34:55 my 1.0.2e did work Jun 04 14:34:57 I just need to find someone who knows Perl Jun 04 14:35:03 most likely Jun 04 14:35:06 so, probably there's not much work to do to port it to build 1.1.0h Jun 04 14:35:15 if you take a look, I removed a couple of .pl scripts Jun 04 14:36:25 i think Jun 04 14:36:29 i'm a bit confused now Jun 04 14:36:52 should have documented the whole process, not only the repo Jun 04 14:37:53 in any case, 1.0.2e is still better than what is right now in maemo, so it's a step ahead, even if you don't manage to upgrade to 1.1.0h Jun 04 14:44:33 I am sure that if I can find a Perl programmer I can get 1.1.0h working Jun 04 14:44:59 That said, finding someone who can actually understand code written in that abomination may not be so easy :P Jun 04 14:48:01 does it shout a lot? Jun 04 14:48:08 or just a couple random things? Jun 04 14:48:34 can you post a log? Jun 04 14:48:34 When I downgrade the version it complains about foreach and then stops Jun 04 14:49:58 http://search.cpan.org/~shay/perl-5.26.2/pod/perl5100delta.pod Jun 04 14:50:00 This document describes the differences between the 5.8.8 release and the 5.10.0 release. Jun 04 14:50:21 i assume there's no pratical difference between 5.8.4 and 5.8.8, being different only on the third number Jun 04 14:56:21 https://pastebin.com/mQ0vzF03 Jun 04 14:56:29 That's the full log of errors I get Jun 04 14:57:59 your openssl is the one from debian or from openssl repo? Jun 04 14:58:29 The configure file is exactly the one from OpenSSL 1.1.0h (debian uses the upstream version with no applied patches) Jun 04 15:03:01 i don't get why it complains about the backlash Jun 04 15:03:25 foreach (sort split(/\s+/,$target{bn_ops})) { Jun 04 15:03:28 this is on your Configure Jun 04 15:03:35 I dont know either Jun 04 15:03:39 and this is on openssl1.0.2e, still requiring only 5.0.0 Jun 04 15:03:40 I know nothing about Perl Jun 04 15:03:43 foreach (sort split(/\s+/,$bn_ops)) Jun 04 15:06:10 yeah, this perl thing is clearly write once, read never again Jun 04 15:06:59 problem lies not on that line Jun 04 15:07:04 but on line 1212 Jun 04 15:07:08 $predefined{$1} = $2 // ""; Jun 04 15:07:15 / is a new operator on 5.10.0 Jun 04 15:07:50 //, I meant Jun 04 15:08:14 Thus, EXPR1 // EXPR2 returns the value of EXPR1 if it's defined, otherwise, the value of EXPR2 is returned. (EXPR1 is evaluated in scalar context, EXPR2 in the context of // itself). Usually, this is the same result as defined(EXPR1) ? EXPR1 : EXPR2 Jun 04 15:09:29 can you try this Jun 04 15:09:30 --- Configure 2018-06-04 16:58:27.000000000 +0200 Jun 04 15:09:30 +++ Configure.new 2018-06-04 17:09:17.744789676 +0200 Jun 04 15:09:30 @@ -1209,7 +1209,7 @@ Jun 04 15:09:30 open(PIPE, "$cc -dM -E -x c /dev/null 2>&1 |"); Jun 04 15:09:30 while () { Jun 04 15:09:32 m/^#define\s+(\w+(?:\(\w+\))?)(?:\s+(.+))?/ or last; Jun 04 15:09:34 - $predefined{$1} = $2 // ""; Jun 04 15:09:36 + $predefined{$1} = defined($2) ? $2 : ""; Jun 04 15:09:38 } Jun 04 15:09:40 close(PIPE); Jun 04 15:09:58 some bot didn't like me pasting that here Jun 04 15:10:05 https://pastebin.com/sQyzzzJY Jun 04 15:10:18 just replace $predefined{$1} = $2 // ""; at line 1212 with $predefined{$1} = defined($2) ? $2 : ""; Jun 04 15:19:11 ok, so if we have the line return $withargs{zlib_lib} // "ZLIB1"; in perl, what is the right replacement for that one? Jun 04 15:20:08 return defined($withargs{zlib_lib}) ? $withargs{zlib_lib} : "ZLIB1"; Jun 04 15:21:27 basically, a // b means: if variable 'a' is defined, let's use its value, otherwise, let's use b as fallback value Jun 04 15:28:53 i'm leaving now Jun 04 15:29:07 let me know if this ends up working out Jun 04 15:29:32 ping my name so i can scroll easily back then :) Jun 04 15:29:33 cya! Jun 04 16:58:31 +0m5 for Maemo5 versioning. -0maemoX would be used for a application port, if I remember my debian packaging correctly. Jun 04 19:56:21 yey. being on IRC with a N810 Jun 04 19:56:32 a dream comes true finally Jun 04 19:56:38 \o Jun 04 19:57:39 want to convert n810 into intelligent and remotely controllable audio player too? :) Jun 04 19:58:47 without bricking it? Jun 04 19:58:50 kinda.. Jun 04 19:58:56 try oscp Jun 04 19:58:57 * dreamer has an N810 that is kind of purposeless Jun 04 19:59:48 I do heard of it. will try eventually Jun 04 20:00:28 this nis such a beautiful device. kb feels strage after 5 years of N900 Jun 04 20:00:51 but getting familiar with it Jun 04 20:00:58 you can control oscp core running on n810 with remote running on n900 (or pc) Jun 04 20:01:02 or the other way round Jun 04 20:02:06 nice Jun 04 20:02:34 it also has internet radio browser built in Jun 04 20:02:58 in case you dont have enough audio files Jun 04 20:03:00 is internet radio still possible on this? Jun 04 20:03:10 sure, why not? Jun 04 20:03:10 ah you answered faster Jun 04 20:03:12 cool Jun 04 20:05:56 not to mention support for plethora of mod formats Jun 04 20:23:53 well this is some heavy stuff. i'll need time to set it up properly Jun 04 20:23:59 weekend Jun 04 20:24:13 'this'? Jun 04 20:24:37 ocsp Jun 04 20:24:46 nah Jun 04 20:25:10 unless starting app manager is heavy stuff Jun 04 23:28:18 >> There is no way Firefox 24.8.1 was gonna compile with the low amount of RAM the image is set up with by default :) << Then there is probably no way Firefox 24 will be able to run on Maemo 5 at usable speed. Joking, a little... But the latest Firefox tends to be overly complicated/bloated. For Jun 04 23:28:18 example, I think that handling of videos in web pages should be left to "Mediaplayer media plug-in", instead of Firefox itself. Jun 04 23:29:46 jonwil : Sveta knows Perl. Programmed in it. Will point her your way, once she is back at the computer (in several hours or so). Jun 04 23:51:36 I managed to get some more help over in #perl :) Jun 04 23:51:41 Nice friendly people Jun 05 00:38:53 unless the "mediaplayer media plug in" is just something that receives a URL or filename of the pre-downloaded video, that seems like it would just add more bloat. **** BEGIN LOGGING AT Tue Jun 05 02:04:39 2018 Jun 05 02:06:55 I finally got OpenSSL 1.1.0h to work Jun 05 02:07:01 Or at least its actually compiling now. Jun 05 02:07:33 I think I got all the Perl bits that dont work on 5.8.4 sorted with various mods and hacks to the Perl scripts Jun 05 02:08:45 I would LOVE to meet the guy who decided that writing a Configure script in Perl was a good idea (mostly so I can punch them in the face for doing it :P) **** ENDING LOGGING AT Tue Jun 05 03:00:14 2018