<ardon>I'm trying to run an Android emulator but I keep getting these after running `ldd ~/.local/share/android/sdk/emulator/emulator` "libgcc_s.so.1 => not found", I have `gcc` installed, so I don't know what could be causing the issue!
<roptat>the emulator is probably a binary from the internet? its runpath is incorrect
<roptat>if you don't want to use a container, you can maybe fix its runpath with patchelf
<ardon>roptat: Yes, it's the "command-line tools only" download section in the Android Studio download page. I then fetched the Android platform tools through `sdkmanager`. Everything went fine except invoking the emulator after creating the AVD.
<ardon>flatwhatson: Is that an actual output for `gcc`? I can't see it listed.
<roptat>you can use something like guix build -e '(@ (gnu packages gcc) gcc)' to build it, but I'm not sure what would be the syntax for installing only the :lib output
<roptat>oh, gcc is not only hidden, but "replaced" by gcc-toolchain
<roptat>so when you install gcc, you actually install gcc-toolchain
<ardon>roptat: Yeah I noticed that too, those libraries don't seem to be installed with the default `gcc-toolchain` though so it doesn't seem to be an error with the rpath. I guess we'll have to wait for someone to chime in with a suggestion on how to install `gcc:lib`
<roptat>that might take some time, most people here are in europe and it's bedtime
<roptat>I would use a manifest for that, but it overrides the whole profile, so not very practical for you, I suppose
<ulfvonbelow>guix package -i $(guix build -e '(begin (use-modules (gnu packages gcc)) gcc)' | grep -- "-lib") at least runs, though I think the meaning is slightly different since it's installing a store item and not a package output
***cbaines_ is now known as cbaines
***dgcampea-2 is now known as dgcampea
<equivoc>is there a way to run guix with wifi? (intel wireless 7260 on a lenovo laptop)
<MysteriousSilver>equivoc: you can try booting the iso to check if your wifi device works with linux-libre
<MysteriousSilver>in some cases it would require a nonfree driver or a binary blob to work, which is an threat for freedom
<muradm>lfam: how your test is progressing on x200? )
***xgqtd is now known as xgqt
<podiki[m]>hi all, question: in other distros I would run some systemd user services, in Guix I can just run those same processes in the background, but what about logging? any suggestions on where to redirect or any logging services in guix to use with user processes?
<roptat>podiki[m], there's a syslog service in %base-services
<roptat>(this would only works if your commands explicitly support it)
<podiki[m]>roptat: I don't think they do, run on their own the go to stdout, in a systemd service it captures the output in the process log.
<podiki[m]>anything I can look at to extend or redirect output from processes to syslog? I'm guessing that is a more general non-guix question?
<muradm>if i have some script with shebang #!/usr/bin/perl is there a way to run this script without modifying using "guix environment --pure --ad-hoc perl" ?
<muradm>currently it fails with /usr/bin/perl not found
<muradm>which perl of course shows its long path via profile
<maximed>muradm, no, it's for the 'operating-system'. It goes in 'services' I think
<muradm>ah no, i don't want to touch that, just want to run "guix environment --pure --ad-hoc perl -- my-perl-script" and forget about it, no need to reconfigure or what ever, never will run that script again in foreseeable future
<maximed>it would be nice if there was a "guix environment --lfs" option or something (using bind mounts?)
<maximed>That's not (yet) the case, but should be technically possible
<muradm>i suppose that will require chroot or a like
<sabasedigh>hello; I sit possible to install guix for normal desktop use?
<podiki[m]>more questions: python. I've made a package for a module, can load it in python, but then python doesn't find a dependent that is listed as a propagated input. is there something more I need to do?
<podiki[m]>in case my question got lost: anything I'm supposed to do for python packages besides runtime deps in propagated-inputs? python is not seeing a dependency even though package has it in propagated-inputs (this is my own package i'm working on)
<podiki[m]>to answer my own question, was perhaps an artifact of installing via `guix install $(guix build -f localfile.scm)` and profile not updating with propagated inputs?
<podiki[m]>(worked once I commited package to my local channel, `guix pull` and install that way)
<roptat>podiki[m], ah yes, when you do that, it only installs the path, but guix has no idea about propagated inputs or search-paths
<acrow>After successfully building a derivation to the store I want to add it to my profile with 'guix package -i /gnu/store/xyxxx....emacs-ix-verWhatever.drv'. This fails with "In unknown file: In procedure opendir: ... Not a directory. The prefix the directory is from the given derivative but truncated in the diagnostic. Anyone else seen this? Any advice? The diagnostic is a truncated backtrace and both these derivatives are from the
<podiki[m]>acrow: this is what I do for testing sometimes with the command I wrote above (to install a guix build), but as you can see ran into a little issue with propagated inputs that way. still, I do use that to test package definitions as I write them (I'm sure there is a better way, probably a guix repl...)
<acrow>I build using 'guix build -L . -f emacs-ix.scm', which contained packages. But these are in a detached directory and so guix is only keeping the derivation. Since this is just me experimenting I'm ducking knowing how to integrate my packages into (gnu packages) and just using a local home directory.
<podiki[m]>you can set up a local git repository to use as a channel, or I think the older env variable (GUIX_PACKAGE_PATH or something? i forget)
<acrow>I'm missing the #:use-modules (local-file) piece, I think.
<acrow>Let me try GUIX_PACKAGE_PATH; that rings a bell.
<acrow>That quickly returned a store path. Now, will guix package -i <my-package-name> find that entry in the store to put it into my current profile?
<podiki[m]>welcome! (I'm still pretty new, so I've probably stumbled on the same things recently)
<acrow>I have fond memories of the, ahead of his time, work of Ulric Eriksson. He created scheme in a grid and some other beautiful applications in the 2000 timeframe. I thought he working alone had produced an application far superior to the commercial offerings of the time but he didn't have influence of mass marketing helping him. :(
<acrow>However, in another tribute to his excellent code, I've been able to build siag on guix. If anyone is interested I'd be happy to post my package for them.
<podiki[m]>just tried a system reconfigure (no significant changes) and hitting `grub-install: error: unknown filesystem.` ....anyone else? lsblk shows boot partition as fat32 still, haven't touched it
<podiki[m]>ah, maybe from before when I enabled `large_dir` for the root partition, grub doesn't like it? (but not a very new feature)