💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-03-12.txt captured on 2024-05-26 at 16:26:36.

View Raw

More Information

⬅️ Previous capture (2021-12-17)

-=-=-=-=-=-=-

2020-03-12T00:00:34 #kisslinux <sirtomato> is there anybody here using a spotify client
2020-03-12T00:00:50 #kisslinux <sirtomato> i can't find any that work with musl
2020-03-12T00:07:28 #kisslinux <konimex> sirtomato: your best bet is librespot, but even then it's iffy
2020-03-12T00:07:38 #kisslinux <konimex> otherwise, flatpak or web
2020-03-12T00:08:21 #kisslinux <E5ten> how does the web version work on FF cuz on chromium based you need widevine which only works on glibc cuz prop
2020-03-12T00:11:40 #kisslinux <konimex> now that you mentioned it, the web version don't work in KISS, though I thought it was just because of KISS default configs, haven't tried it in Void though
2020-03-12T01:50:05 #kisslinux <Crestwave> dylanaraps: The manpage's contents are https://manpage.me/?q=bash and the texinfo page's contents are https://tiswww.case.edu/php/chet/bash/bashref.html
2020-03-12T01:50:35 #kisslinux <Crestwave> Some parts are identical, but the latter is way more comprehensive, with an introduction, example scripts, and such
2020-03-12T01:50:58 #kisslinux <Crestwave> e.g., search for parallel
2020-03-12T01:54:21 #kisslinux <Crestwave> I used a random webpage word counter and got 40314 words for the manpage and 71096 for the reference manual
2020-03-12T02:12:16 #kisslinux <Crestwave> E5ten: printf %q "${var:=}a" gives me 


177a' which is delete. hm
2020-03-12T02:19:05 #kisslinux <Crestwave> Also, how I interpreted illiliti's question was that they wanted to get the path of an external command. The solutions you posted only checks if the path returned is an external command
2020-03-12T02:19:32 #kisslinux <Crestwave> You could use type -P for that in Bash, but I'm not sure what to do in POSIX
2020-03-12T02:20:50 #kisslinux <illiliti> https://pubs.opengroup.org/onlinepubs/9699919799/utilities/type.html
2020-03-12T02:20:52 #kisslinux <illiliti> OPTIONS - none
2020-03-12T02:21:02 #kisslinux <Crestwave> Yes, that's why I said bash
2020-03-12T02:23:19 #kisslinux <Crestwave> btw why do you need the external path?
2020-03-12T02:26:50 #kisslinux <Crestwave> I think the most practical option would be which unless you're insistent on using builtins
2020-03-12T02:27:14 #kisslinux <Crestwave> but then again, you're getting an external command's path, and I assume it's to execute it? if so, then you aren't using purely builtins anyway
2020-03-12T02:27:50 #kisslinux <illiliti> mksh has 'sleep' builtin. i need to copy external binaries and mksh breaks my script, that's why
2020-03-12T02:27:59 #kisslinux <Crestwave> yeah, so just use which
2020-03-12T02:28:13 #kisslinux <illiliti> which is non posix
2020-03-12T02:28:26 #kisslinux <Crestwave> ah you want pure posix hm
2020-03-12T02:28:39 #kisslinux <illiliti> yep
2020-03-12T02:35:15 #kisslinux <Crestwave> well, manually searching the path might be the only way, then.
2020-03-12T02:47:40 #kisslinux <Crestwave> although it seems that technically command -v should actually print the external path in posix
2020-03-12T02:48:41 #kisslinux <Crestwave> and command might also have to be an external utility in posix so you could call `env command -v cmd` in that case to exclude builtins even if it didn't implement that
2020-03-12T02:49:08 #kisslinux <Crestwave> but unfortunately most don't implement either. which is why pure posix can be ridiculous to follow sometimes
2020-03-12T03:31:26 #kisslinux <E5ten> dylanaraps: is there a way in POSIX sh to list all defined functions?
2020-03-12T08:33:33 #kisslinux <dylanaraps> E5ten: noop
2020-03-12T08:33:35 #kisslinux <dylanaraps> nope
2020-03-12T10:41:15 #kisslinux <dylanaraps> > configure: error: C++ compiler clang++ does not work or no compiler found
2020-03-12T10:41:20 #kisslinux <dylanaraps> ICU hard depends on clang now?
2020-03-12T10:53:01 #kisslinux <konimex> compiler detects clang from your ccache I guess
2020-03-12T10:53:44 #kisslinux <dylanaraps> Ah
2020-03-12T10:53:45 #kisslinux <dylanaraps> Right
2020-03-12T10:55:02 #kisslinux <dylanaraps> This will be interesting to solve.
2020-03-12T10:55:36 #kisslinux <dylanaraps> > export CXX=${CXX:-cc} CC=${CC:-cc}
2020-03-12T10:55:39 #kisslinux <dylanaraps> That works
2020-03-12T10:56:12 #kisslinux <dylanaraps> Though this isn't an issue with the package
2020-03-12T10:56:17 #kisslinux <dylanaraps> It's a ccache issue
2020-03-12T10:56:43 #kisslinux <dylanaraps> Would you prefer I set CC/CXX or leave it as-is?
2020-03-12T10:57:05 #kisslinux <dylanaraps> I guess it doesn't matter for wyver* as it defaults to clang anyway.
2020-03-12T10:58:03 #kisslinux <konimex> for your system, that's up to you, but for KISS, don't set CC/CXX, and for wyver* I maintain the build file myself so it would link to the default compiler only (clang) for now
2020-03-12T10:58:36 #kisslinux <dylanaraps> Alrighty
2020-03-12T10:59:00 #kisslinux <dylanaraps> > /usr/lib/gcc/x86_64-pc-linux-musl/10.0.1/../../../../x86_64-pc-linux-musl/bin/ld: makeconv.o:(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0'
2020-03-12T10:59:01 #kisslinux <dylanaraps> Fun
2020-03-12T10:59:17 #kisslinux <dylanaraps> > /usr/lib/gcc/x86_64-pc-linux-musl/10.0.1/../../../../x86_64-pc-linux-musl/bin/ld: ../../lib/libicui18n.so: undefined reference to `std::terminate()'
2020-03-12T10:59:22 #kisslinux <dylanaraps> A whole bunch of these
2020-03-12T10:59:37 #kisslinux <dylanaraps> > # The g++ compiler is less likely to support C++11.
2020-03-12T10:59:38 #kisslinux <konimex> that's from gcc10?
2020-03-12T10:59:40 #kisslinux <dylanaraps> > # Make sure that we try clang++ first, which provides C++11 support.
2020-03-12T10:59:42 #kisslinux <dylanaraps> Yes
2020-03-12T11:01:34 #kisslinux <konimex> I'm not sure which C++11 support are being talked about there but iirc gcc has support from it since gcc4.9
2020-03-12T11:01:39 #kisslinux <konimex> s/from/for/
2020-03-12T11:01:58 #kisslinux <dylanaraps> The older ICU version (the current one in the repos) works with GCC 10
2020-03-12T11:04:04 #kisslinux <dylanaraps> > /usr/lib/gcc/x86_64-pc-linux-musl/10.0.1/../../../../x86_64-pc-linux-musl/bin/ld: ../../lib/libicui18n.so: undefined reference to `std::terminate()'
2020-03-12T11:04:05 #kisslinux <dylanaraps> Actually
2020-03-12T11:04:09 #kisslinux <dylanaraps> It just fails later
2020-03-12T11:04:21 #kisslinux <dylanaraps> I'll make ICU depend on clang for the time being.
2020-03-12T11:57:10 #kisslinux <lieu> dylanaraps: https://termbin.com/d0i7
2020-03-12T11:57:43 #kisslinux <lieu> from your pure sh bible, only a bit modififed
2020-03-12T11:57:53 #kisslinux <lieu> i call it `kat` lol
2020-03-12T11:58:37 #kisslinux <lieu> things like EOF don't work though
2020-03-12T12:01:19 #kisslinux <lieu> can it be possible?
2020-03-12T12:09:36 #kisslinux <jedavies> Anyone else having icu fail now?  Tarball is 404?
2020-03-12T12:24:52 #kisslinux <jedavies> URL was wrong.
2020-03-12T12:59:42 #kisslinux <dylanaraps> My bad
2020-03-12T13:50:54 #kisslinux <dylanaraps> ??????
2020-03-12T13:50:55 #kisslinux <dylanaraps> https://github.com/eqrion/cbindgen/releases/tag/''
2020-03-12T13:51:04 #kisslinux <dylanaraps> Cbindgen version "''" released
2020-03-12T13:57:39 #kisslinux <sirtomato> can i build firefox
2020-03-12T13:58:05 #kisslinux <sirtomato> it takes 3 years but firefox-bin crashes all the time
2020-03-12T13:58:53 #kisslinux <k1ss> install firefox-privacy
2020-03-12T13:58:58 #kisslinux <sirtomato> ok
2020-03-12T14:04:53 #kisslinux <sirtomato> dylanaraps: https://termbin.com/buq9
2020-03-12T14:04:59 #kisslinux <sirtomato> package list
2020-03-12T14:05:09 #kisslinux <sirtomato> don't have a working browser atm
2020-03-12T14:05:15 #kisslinux <sirtomato> (that supports js)
2020-03-12T14:06:52 #kisslinux <sirtomato> i
2020-03-12T14:07:10 #kisslinux <sirtomato> i'm rebuilding firefox
2020-03-12T14:07:20 #kisslinux <sirtomato> root has a cbindgen build
2020-03-12T14:10:42 #kisslinux <jensendabs> Okay Dylan I'll check the new sowm build in about 10 mins
2020-03-12T14:16:53 #kisslinux <dylanaraps> sirtomato: I'll be pushing a possible cbindgen fix in a few minutes.
2020-03-12T14:40:46 #kisslinux <cunningconnor> Hi dylanaraps. Still having the window movement lag with the new sowm master
2020-03-12T14:48:21 #kisslinux <dylanaraps> Damn
2020-03-12T14:48:25 #kisslinux <dylanaraps> I'll take a deeper look soon
2020-03-12T14:54:42 #kisslinux <cunningconnor> Okay, thanks though :)  Silly question, but I haven't been able to find out much about this on the web. If I chroot into another distro from within KISS then start an X session, does it run from within that distro? And if so would it then be possible to symlink the config files from the actual KISS install?
2020-03-12T14:58:04 #kisslinux <dylanaraps> X can be configured to run GUI applications from a chroot, yeah.
2020-03-12T14:58:16 #kisslinux <dylanaraps> If you don't install the xauth package, it'll "just work".
2020-03-12T14:58:43 #kisslinux <cunningconnor> Ah okay. I don't know what the xauth package is. I'll read up on it now
2020-03-12T14:58:49 #kisslinux <dylanaraps> konimex: This was horrible to figure out. https://github.com/kisslinux/repo/commit/baec60ad1fde095f90251b9d08cde7fd09f51205
2020-03-12T15:00:47 #kisslinux <dylanaraps> Also. It turns out that our cbindgen package did need network...
2020-03-12T15:06:35 #kisslinux <dylanaraps> brb
2020-03-12T15:36:22 #kisslinux <konimex> I hope those cargo crates are small enough
2020-03-12T15:38:16 #kisslinux <dylanaraps> It's no different to how it was
2020-03-12T15:38:36 #kisslinux <dylanaraps> Welcome to rust, go, npm, etc.
2020-03-12T15:38:38 #kisslinux <dylanaraps> Dependency hell
2020-03-12T15:41:51 #kisslinux <konimex> I think you'd want to post the change and the rationale into the kiss weekly update, I kinda want to see the reaction from the fine people over at the linux subreddit (if they even care)
2020-03-12T15:43:33 #kisslinux <dylanaraps> Sure
2020-03-12T15:44:11 #kisslinux <dylanaraps> It shouldn't be this difficult to remove network
2020-03-12T15:44:34 #kisslinux <dylanaraps> 'cargo vendor' exists for the developer of the software to bundle everything into a tarball
2020-03-12T15:44:47 #kisslinux <dylanaraps> Nothing exists for the distributor of the software though
2020-03-12T15:44:53 #kisslinux <konimex> "rationale": people have internet nowadays
2020-03-12T15:45:01 #kisslinux <lieu> o/
2020-03-12T15:45:22 #kisslinux <dylanaraps> The cargo registry is a git clone of 70MB~ to setup
2020-03-12T15:45:38 #kisslinux <dylanaraps> Were we to solely set 'CARGO_HOME=$PWD', there'd be a 70MB download each build
2020-03-12T15:45:44 #kisslinux <dylanaraps> to avoid touching $HOME
2020-03-12T15:46:07 #kisslinux <dylanaraps> It takes about 10 minutes on my net as a git clone is slower than a regular download
2020-03-12T15:46:54 #kisslinux <dylanaraps> I could add a special case to the package manager to automatically do this but then we fall down the path of special cases and I'd rather not go down this road
2020-03-12T15:47:45 #kisslinux <konimex> yeah, afaic current approach works just fine, might want to add some guide to the style guide in case a developer thinks vendoring sucks though
2020-03-12T15:47:47 #kisslinux <dylanaraps> Hell, cbindgen has what 20~ dependencies? What about something like ripgrep which pulls down 100+ crates?
2020-03-12T15:48:59 #kisslinux <dylanaraps> konimex: The style guide for rust defaults to network as community is less strict about the no network requirement.
2020-03-12T15:49:35 #kisslinux <konimex> alright
2020-03-12T15:49:38 #kisslinux <dylanaraps> Neovim is another example. It has a horrible build system and no ability to turn things off/on. It uses cmake to download during build
2020-03-12T15:50:23 #kisslinux <dylanaraps> Whereas regular vim has a modular build system and depends solely on ncurses at a minimum
2020-03-12T15:52:15 #kisslinux <dylanaraps> Ripgrep actually requires 45 crates
2020-03-12T15:52:42 #kisslinux <dylanaraps> It's still a lot though
2020-03-12T15:53:13 #kisslinux <dylanaraps> kiedtl: Have a look at this https://github.com/kisslinux/repo/commit/baec60ad1fde095f90251b9d08cde7fd09f51205
2020-03-12T15:54:25 #kisslinux <dylanaraps> > "rationale": people have internet nowadays
2020-03-12T15:54:50 #kisslinux <kiedtl> only 45?
2020-03-12T15:54:56 #kisslinux <dylanaraps> The counter to this would be that the package manager can't then lock sources, do checksum verification and then sign this all with GPG.
2020-03-12T15:55:19 #kisslinux <dylanaraps> Cargo will sync with crates.io and change the required versions (sometimes(?))
2020-03-12T15:55:31 #kisslinux <dylanaraps> """only"""
2020-03-12T15:55:32 #kisslinux <dylanaraps> ;)
2020-03-12T15:55:53 #kisslinux <dylanaraps> Hell, that's almost half of my installed packages
2020-03-12T15:55:59 #kisslinux <dylanaraps> for the entire system
2020-03-12T15:58:41 #kisslinux <kiedtl> it's rare that I find a package that requires less than ~150 crates, I didn't know rg was so lightweight
2020-03-12T15:59:26 #kisslinux <dylanaraps> That's lightweight???
2020-03-12T15:59:27 #kisslinux <dylanaraps> lol
2020-03-12T16:00:00 #kisslinux <dylanaraps> https://github.com/str4d/rage/blob/master/Cargo.lock#L1836
2020-03-12T16:00:08 #kisslinux <dylanaraps> rage requires 205 crates!
2020-03-12T16:00:23 #kisslinux <dylanaraps> That's insane
2020-03-12T16:01:34 #kisslinux <kiedtl> I was working on a fetch program written in rust with a friend, it requires 210+ crates :(
2020-03-12T16:02:30 #kisslinux <kiedtl> unfortunately the friend doesn't want to trim the dependencies, he/she says 200 crates is no big deal
2020-03-12T16:04:45 #kisslinux <dylanaraps> Your friend is wrong
2020-03-12T16:05:11 #kisslinux <kiedtl> dylanaraps: so if I understand correctly cbindgen stores all crates locally? so no need to download them on build time?
2020-03-12T16:05:22 #kisslinux <dylanaraps> No
2020-03-12T16:05:27 #kisslinux <dylanaraps> I pre-download them
2020-03-12T16:05:33 #kisslinux <dylanaraps> See the sources file
2020-03-12T16:05:45 #kisslinux <dylanaraps> It connects to the net during build
2020-03-12T16:05:46 #kisslinux <kiedtl> oh, nvm
2020-03-12T16:05:58 #kisslinux <kiedtl> It just stores each crate as a source
2020-03-12T16:06:06 #kisslinux <dylanaraps> No
2020-03-12T16:06:11 #kisslinux <kiedtl> I'm confused :(
2020-03-12T16:06:12 #kisslinux <dylanaraps> I do this all manually
2020-03-12T16:06:14 #kisslinux <dylanaraps> OK
2020-03-12T16:06:19 #kisslinux <dylanaraps> I'll explain
2020-03-12T16:08:34 #kisslinux <dylanaraps> Normal 'cargo build' will download all cbindgen dependencies (crates) from crates.io and store them into '~/.cargo'. They'll then be cached for rebuilds.
2020-03-12T16:09:09 #kisslinux <dylanaraps> This isn't a good thing as it then bypasses the locked dependencies (sources file), checksums (checksums file) and signature verification for the KISS repos and this information.
2020-03-12T16:09:30 #kisslinux <dylanaraps> Cargo can also change the dependencies of a package prior to the build
2020-03-12T16:09:44 #kisslinux <dylanaraps> And this all requires network during the build process
2020-03-12T16:10:06 #kisslinux <dylanaraps> My commit above changes cbindgen to download all of its dependency crates through the KISS package manager
2020-03-12T16:10:15 #kisslinux <dylanaraps> The sources file contains a generated list of urls
2020-03-12T16:10:30 #kisslinux <kiedtl> I see
2020-03-12T16:10:31 #kisslinux <dylanaraps> The checksums of these are then a part of the KISS package
2020-03-12T16:10:49 #kisslinux <dylanaraps> I have to manually re-implement 'cargo vendor' to make cargo actually avoid network
2020-03-12T16:11:06 #kisslinux <kiedtl> so if any one of those packages get's an update, those checksums have to be updated...
2020-03-12T16:11:08 #kisslinux <dylanaraps> I also have to set CARGO_HOME to prevent cargo from writing to ~/.cargo
2020-03-12T16:11:10 #kisslinux <dylanaraps> Yes
2020-03-12T16:11:31 #kisslinux <kiedtl> darn, is that worth it?
2020-03-12T16:11:33 #kisslinux <dylanaraps> This can be fixed upstream if they run 'cargo vendor' before making their tarballs
2020-03-12T16:12:04 #kisslinux <dylanaraps> Well, if you want checksum verification, locked download sources, signature verification and no network during build, yes...
2020-03-12T16:12:28 #kisslinux <dylanaraps> These are a requirement for the official repositories (community excluded)
2020-03-12T16:12:37 #kisslinux <dylanaraps> It shouldn't be this difficult though
2020-03-12T16:13:00 #kisslinux <dylanaraps> I believe Gentoo and Debian do similar for their packages
2020-03-12T16:13:56 #kisslinux <dylanaraps> Ideally you'd just pop all of the .crate files into vendor/, run 'cargo build' and it'd all work.
2020-03-12T16:14:29 #kisslinux <dylanaraps> We have to extract each crate, generate checksums for all of them and create/populate a cargo config file on top of this
2020-03-12T16:16:13 #kisslinux <dylanaraps> This is why I don't like rust (and other "modern" languages with their own package managers). ;)
2020-03-12T16:17:28 #kisslinux <dylanaraps> When you have 200 additional moving parts on top of your own software, you're then trusting the code of 200+ people.
2020-03-12T16:18:13 #kisslinux <kiedtl> rust is a very good language, it's just that cargo ruined it
2020-03-12T16:18:45 #kisslinux <kiedtl> most rust programs are just short of the npm disease
2020-03-12T16:18:46 #kisslinux <dylanaraps> Everything is then expected to work...
2020-03-12T16:18:47 #kisslinux <dylanaraps> Dunno about you but I find this to be insane
2020-03-12T16:18:57 #kisslinux <kiedtl> indeed
2020-03-12T16:19:08 #kisslinux <kiedtl> anyway, rust is overkill for most things
2020-03-12T16:19:22 #kisslinux <kiedtl> if robustness is key, then rust is the way to go
2020-03-12T16:19:32 #kisslinux <kiedtl> otherwise, your better of sticking to raw C
2020-03-12T16:19:53 #kisslinux <dylanaraps> What I find odd is that rust (and cargo) also depend on crates
2020-03-12T16:19:58 #kisslinux <dylanaraps> A lot of them too
2020-03-12T16:21:01 #kisslinux <kiedtl> idk why compilers tend to be written in their own programming language
2020-03-12T16:21:10 #kisslinux <dylanaraps> Hell, I have to do similar nonsense to prevent rust from downloading crap duing build
2020-03-12T16:21:15 #kisslinux <dylanaraps> during*
2020-03-12T16:21:16 #kisslinux <kiedtl> it makes them A LOT harder to build
2020-03-12T16:21:24 #kisslinux <dylanaraps> Yup
2020-03-12T16:21:46 #kisslinux <dylanaraps> Rust takes forever to build too...
2020-03-12T16:22:05 #kisslinux <dylanaraps> > 181.2M  total
2020-03-12T16:22:11 #kisslinux <kiedtl> btw, what's the rust bootstrapping compiler written in?
2020-03-12T16:22:15 #kisslinux <kiedtl> cpp or c?
2020-03-12T16:22:16 #kisslinux <dylanaraps> That's the size of the latest rust version on my system
2020-03-12T16:22:20 #kisslinux <dylanaraps> Rust
2020-03-12T16:22:25 #kisslinux <dylanaraps> It's a binary...
2020-03-12T16:22:32 #kisslinux <kiedtl> wth
2020-03-12T16:22:35 #kisslinux <dylanaraps> Chicken and egg problem
2020-03-12T16:22:38 #kisslinux <dylanaraps> OK
2020-03-12T16:22:40 #kisslinux <dylanaraps> Listen to this
2020-03-12T16:22:57 #kisslinux <dylanaraps> To build rust without any binaries you have to go back years to the ocaml version.
2020-03-12T16:22:59 #kisslinux <dylanaraps> BUT
2020-03-12T16:23:06 #kisslinux <dylanaraps> Ocaml is also written in ocaml
2020-03-12T16:23:11 #kisslinux <kiedtl> lmao
2020-03-12T16:23:28 #kisslinux <dylanaraps> So you need to go back to when ocaml wasn't written in ocaml
2020-03-12T16:23:48 #kisslinux <kiedtl> iirc you can build ocaml using a C ocaml compiler
2020-03-12T16:23:53 #kisslinux <kiedtl> I built ocaml once
2020-03-12T16:24:02 #kisslinux <dylanaraps> Once you get to ocaml built rust... You need to build each rust version ONE BY ONE from this point until the latest
2020-03-12T16:24:09 #kisslinux <dylanaraps> That's good to hear...
2020-03-12T16:24:31 #kisslinux <dylanaraps> We're talking 2015(?) rust till latest (5 or so years I believe)
2020-03-12T16:24:57 #kisslinux <dylanaraps> mrustc exists though
2020-03-12T16:25:00 #kisslinux <dylanaraps> Which is nice
2020-03-12T16:25:06 #kisslinux <dylanaraps> See: https://guix.gnu.org/blog/2018/bootstrapping-rust/
2020-03-12T16:25:27 #kisslinux <dylanaraps> Still a fuck ton of rust builds till you get to latest though
2020-03-12T16:27:30 #kisslinux <dylanaraps> kiedtl: This is what led me to believe that ocaml is bootstrapped via binary: https://github.com/ocaml/ocaml/commit/84bbb2fd6f493112b43008a922b39e18e72dae54
2020-03-12T16:27:49 #kisslinux <dylanaraps> ie, there's a binary in the git repository for bootstrap
2020-03-12T16:28:06 #kisslinux <kiedtl> oh, ok
2020-03-12T16:29:58 #kisslinux <kiedtl> wath's this slack bot for?
2020-03-12T16:30:07 #kisslinux <kiedtl> s/wath's/what's/g
2020-03-12T16:33:22 #kisslinux <dylanaraps> Because IRC is old I have to connect via Slack/Matrix/Discord/*? :^)
2020-03-12T16:35:38 #kisslinux <dylanaraps> SPEAKING OF RUST
2020-03-12T16:35:41 #kisslinux <dylanaraps> > Announcing Rust 1.42.0
2020-03-12T16:35:44 #kisslinux <dylanaraps> https://blog.rust-lang.org/2020/03/12/Rust-1.42.html
2020-03-12T16:57:28 #kisslinux <fehawen> :/quit
2020-03-12T16:57:37 #kisslinux <fehawen> lol, damn vim
2020-03-12T16:57:42 #kisslinux <fehawen> sorry (:
2020-03-12T16:58:48 #kisslinux <dylanaraps> lol
2020-03-12T16:58:57 #kisslinux <illiliti> This can be fixed upstream if they run 'cargo vendor' before making their tarballs << did you submit issue/bug to the upstream?
2020-03-12T16:58:59 #kisslinux <dylanaraps> Ctrl+C also works ;)
2020-03-12T16:59:13 #kisslinux <dylanaraps> illiliti: This may not be something they want to do.
2020-03-12T16:59:17 #kisslinux <dylanaraps> It's optional
2020-03-12T17:00:15 #kisslinux <dylanaraps> They don't actually release tarballs themselves either...
2020-03-12T17:00:30 #kisslinux <dylanaraps> They release a binary only
2020-03-12T17:00:34 #kisslinux <illiliti> lol
2020-03-12T17:00:36 #kisslinux <dylanaraps> So this is 100% something they won't do
2020-03-12T17:01:21 #kisslinux <dylanaraps> On the plus side... Our repositories are 100% network free (during build). For real this time!
2020-03-12T17:07:10 #kisslinux <illiliti> So this is 100% something they won't do << but why? i don't think that anyone like precompiled binaries
2020-03-12T17:11:02 #kisslinux <dylanaraps> They don't release a "dist" tarball.
2020-03-12T17:11:18 #kisslinux <dylanaraps> Only the GitHub pre-generated ones.
2020-03-12T17:12:07 #kisslinux <dylanaraps> The rust way (tm) is to do this through cargo
2020-03-12T17:12:20 #kisslinux <dylanaraps> ie, cbindgen is also on crates.io.
2020-03-12T17:12:31 #kisslinux <dylanaraps> It just so happens that GitHub also generate tarballs
2020-03-12T17:13:37 #kisslinux <illiliti> They could use CI to generate proper tarballs
2020-03-12T17:14:13 #kisslinux <dylanaraps> Sure
2020-03-12T17:14:39 #kisslinux <dylanaraps> We'd be getting them to do (arguably) needless work for no reason at all
2020-03-12T17:14:53 #kisslinux <dylanaraps> We're the exception and not the rule here ;)
2020-03-12T17:15:02 #kisslinux <dylanaraps> We're the weird ones who care about this
2020-03-12T17:36:14 #kisslinux <dylanaraps> > Building stage1 std artifacts (x86_64-unknown-linux-musl -> x86_64-unknown-linux-musl)
2020-03-12T17:36:18 #kisslinux <dylanaraps> Rust still building
2020-03-12T18:54:30 #kisslinux <dylanaraps> Rust still building!
2020-03-12T18:55:15 #kisslinux <dylanaraps> It's been three and a half hours
2020-03-12T18:56:57 #kisslinux <mahmudov> which one?
2020-03-12T18:57:25 #kisslinux <dylanaraps> The latest release which came out 4~ hours ago
2020-03-12T18:57:37 #kisslinux <dylanaraps> 1.42.0 iirc
2020-03-12T18:58:08 #kisslinux <mahmudov> for bootstrapping which version is needed?
2020-03-12T18:59:30 #kisslinux <dylanaraps> The rust bootstrap uses the previous release
2020-03-12T18:59:44 #kisslinux <dylanaraps> Though this is only for stage 0 which takes about 5 minutes to compile
2020-03-12T18:59:59 #kisslinux <dylanaraps> It's pointless using the system rust.
2020-03-12T19:00:58 #kisslinux <mahmudov> i thought you use already installed rust version
2020-03-12T19:01:50 #kisslinux <dylanaraps> Nope
2020-03-12T19:02:05 #kisslinux <dylanaraps> Saves 5 minutes~ from the build process
2020-03-12T19:02:15 #kisslinux <dylanaraps> It's rather pointless
2020-03-12T19:02:34 #kisslinux <dylanaraps> The _one_ speedup we could gain is to skip building rust twice
2020-03-12T19:02:50 #kisslinux <dylanaraps> ie, we just use the first rustc, cargo, etc the bootstrap spits out
2020-03-12T19:03:00 #kisslinux <dylanaraps> Instead of verifying that the new rust can build rust
2020-03-12T19:03:26 #kisslinux <mahmudov> just curious, when rust building will be like gcc
2020-03-12T19:04:02 #kisslinux <dylanaraps> The next rust version has a _lot_ of performance improvements on compile times
2020-03-12T19:04:07 #kisslinux <mahmudov> their relase mostly use previous one
2020-03-12T19:04:11 #kisslinux <dylanaraps> We'll see how things progress
2020-03-12T19:04:43 #kisslinux <mahmudov> ie, you can compile gcc 9.x with gcc 5.x isn't it
2020-03-12T19:04:53 #kisslinux <mahmudov> but it is not valid in rust
2020-03-12T19:05:24 #kisslinux <dylanaraps> Nope
2020-03-12T19:05:36 #kisslinux <dylanaraps> See: https://guix.gnu.org/blog/2018/bootstrapping-rust/
2020-03-12T19:05:56 #kisslinux <mahmudov> i saw there
2020-03-12T19:06:01 #kisslinux <dylanaraps> It's a long process
2020-03-12T19:06:07 #kisslinux <mahmudov> it does not make sense
2020-03-12T19:06:18 #kisslinux <dylanaraps> Rust has no stable ABI
2020-03-12T19:06:28 #kisslinux <mahmudov> yeah, i wonder it
2020-03-12T19:06:43 #kisslinux <mahmudov> when they plan a stable abi
2020-03-12T19:06:51 #kisslinux <mahmudov> plan to release..
2020-03-12T19:07:05 #kisslinux <dylanaraps> Never iirc
2020-03-12T19:07:45 #kisslinux <dylanaraps> https://github.com/rust-lang/rfcs/issues/600#issuecomment-526033825
2020-03-12T19:08:42 #kisslinux <dylanaraps> > It is my opinion (as a language team member but not speaking for the team as a whole) that Rust should never have a stable ABI for the default representation repr(Rust).
2020-03-12T19:08:50 #kisslinux <dylanaraps> https://github.com/rust-lang/rfcs/issues/600#issuecomment-526761006
2020-03-12T19:09:47 #kisslinux <mahmudov> hmm
2020-03-12T19:09:53 #kisslinux <mahmudov> thnks for links
2020-03-12T19:10:21 #kisslinux <dylanaraps> Also interesting (article and comments): https://old.reddit.com/r/rust/comments/aoebd5/swift_abi_stability_and_more/
2020-03-12T19:13:01 #kisslinux <mahmudov> lemme read
2020-03-12T19:14:20 #kisslinux <dylanaraps> This one too: https://drewdevault.com/2019/03/25/Rust-is-not-a-good-C-replacement.html
2020-03-12T19:18:32 #kisslinux <mahmudov> yes, i read last one
2020-03-12T19:19:51 #kisslinux <dylanaraps> Rust is still building...
2020-03-12T19:19:55 #kisslinux <dylanaraps> ooo
2020-03-12T19:20:00 #kisslinux <dylanaraps> It's about to finish
2020-03-12T19:20:45 #kisslinux <dylanaraps> Huzzah
2020-03-12T21:21:13 #kisslinux <kiedtl> question: when I submit/update a pkg in the community repo, I fork the repo. But once my PR is merged, the fork is out of date. However, updating the fork means adding an extra merge commit, so future PR's won't work.
2020-03-12T21:21:19 #kisslinux <kiedtl> any way around this?
2020-03-12T21:21:29 #kisslinux <kiedtl> pretty sure I'm doing something exceptionally dumb.
2020-03-12T21:36:46 #kisslinux <jedavies> dylanaraps: would it be reasonable to remove the x86-64-specific options from kiss-chroot?  If not, no probs I'll just fork.
2020-03-12T21:59:05 #kisslinux <dylanaraps> jedavies: See latest commit ($2 sets arch)
2020-03-12T21:59:14 #kisslinux <dylanaraps> kiedtl: You can use branches
2020-03-12T22:06:59 #kisslinux <jedavies> Nice... can you also include the "-mtune=generic" option in the default for $2?  -mtune=generic works on aarch64 but is not valid on powerpc64le.
2020-03-12T22:08:33 #kisslinux <kiedtl> dylanaraps: so, once the branch with my changes is merged into kisslinux/community, my fork will still be out of date.
2020-03-12T22:08:47 #kisslinux <kiedtl> which means that I'll have to pull from upstream into my fork, adding a merge commit.
2020-03-12T22:10:10 #kisslinux <dylanaraps> jedavies: Sure
2020-03-12T22:10:25 #kisslinux <Shyiskhar> Did I break the resolve.conf or did it get set automatically when I installed?
2020-03-12T22:10:45 #kisslinux <dylanaraps> Shyiskhar: It's copied from host (if it doesn't exist) when you use kiss-chroot
2020-03-12T22:12:23 #kisslinux <dylanaraps> kiedtl: You could rebase and force push to your PR.
2020-03-12T22:12:42 #kisslinux <dylanaraps> kiedtl: Or you just 'git rebase' on community.
2020-03-12T22:12:45 #kisslinux <dylanaraps> Lots of options.
2020-03-12T22:13:06 #kisslinux <dylanaraps> jedavies: https://github.com/kisslinux/kiss/commit/4cbe2cb42e76f2cd3ea29fe4ff0de0090df7d8ac
2020-03-12T22:15:16 #kisslinux <jedavies> Thanks, that's great!
2020-03-12T22:22:57 #kisslinux <kiedtl> dylanaraps: ok, thanks!
2020-03-12T22:25:08 #kisslinux <jedavies> Just noticed in CXXFLAGS it has ---march=x86-64 instead of --march=x86-64
2020-03-12T23:28:39 #kisslinux <KayW> im trying to download the kiss-chroot rn, and current speeds are ~20KB/s
2020-03-12T23:28:46 #kisslinux <KayW> damn, this is going to take a while
2020-03-12T23:29:26 #kisslinux <KayW> oh, nevermind? it just finished
2020-03-12T23:47:10 #kisslinux <KayW> ok cool, im working on installing KISS now