GNU bug report logs -
#41025
blueman does not start
Previous Next
Full log
Message #44 received at 41025 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Raghav Gururajan <raghavgururajan <at> disroot.org> writes:
> + ;; Prevent the autogen.sh script to carry out the configure
> + ;; script, which has not yet been patched to replace /bin/sh.
> + (add-before 'bootstrap 'setenv
> + (lambda _
> + (setenv "NOCONFIGURE" "TRUE")
> + #t))
This phase is no longer necessary after the recent 'core-updates' merge.
> + ;; PATH is hard-coded for FHS directories.
> + ;; Patch it to PATH used by Guix.
> + (add-after 'patch-python-references 'patch-os-path
> + (lambda _
> + (substitute*
> + '("apps/blueman-mechanism.in" "blueman/Functions.py")
> + (("/usr/bin:/bin:/usr/sbin:/sbin")
> + (string-append
> + "~/.guix-profile/bin:"
> + "/run/current-system/profile/bin:"
> + "~/.guix-profile/sbin:"
> + "/run/current-system/profile/sbin"))
> + ((":/sbin:/usr/sbin")
> + (string-append
> + ":/run/current-system/profile/sbin:"
> + "~/.guix-profile/sbin")))
> + #t))
These paths are "impure": the contents will differ from system to
system, and are also unavailable in e.g. 'guix environment -container'.
It might be better to patch these directories to something nonsensical
like "/no-such-path": that ensures we catch any missing references.
That's not always feasible though, but hopefully works for this
package.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 5 years and 91 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.