[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Questions reqarding packaging and conventions

From: Ignacio Coterillo
Subject: Questions reqarding packaging and conventions
Date: Wed, 02 Jun 2021 07:55:31 +0200
User-agent: mu4e 1.4.15; emacs 28.0.50


I'm trying to debug and fix issues with Kerberos based authentication on both 
Icecat and
qutebrowser and got a few questions:

Via strace I found that icecat tries load `` which doesn't exist.

Trivially creating the file as a symbolic link to the `` 
by the `mit-krb5` package and exposing via LD_LIBRARY_PATH solves the issue and
fixes Kerberos based authentication.

- Question 1: Should this be fixed in the mit-krb5 package or in the icecat 

- Question 2: What would be the best way of creating this link in a package?

  I've played with creating a modified `mit-krb5` (i.e. `my-mit-krb5`) with the
  following additional build phase:

  (modify-phases %standard-phases
      (add-after 'install 'create-link
      (lambda _
          (let* ((libpath (getenv "out"))
              (origin (format #f "~a/lib/" libpath))
              (target (format #f "~a/lib/" libpath)))
          (symlink origin target))

  This works, but creates the link with full path target instead of relative 
like the rest of links
  created naturally by the original build process:

  ❯ ls -l 
  lrwxrwxrwx 3 root root     21 Jan  1  1970 
  lrwxrwxrwx 3 root root     21 Jan  1  1970 
  -r--r--r-- 2 root root 380520 Jan  1  1970 
  lrwxrwxrwx 7 root root     82 Jan  1  1970 

  Should I try to `chdir` to the path before creating the link, or is there a 
  way of doing something like this?

qutebrowser Kerberos support comes from `qtwebengine`. The only change needed 
be to add `mit-krb5` as input and add the "--webengine-kerberos=yes" qmake 
option in its
`configure` build phase.

My question here is about whether there is any policy requiring formal 
justification to
increase the number of dependencies of a certain package or this would be 
considered a valid

Best regards,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]