GNU bug report logs -
#78877
31.0.50; Command `package-vc-rebuild' fails with error '(wrong-type-argument stringp nil)'
Previous Next
Full log
View this message in rfc822 format
Philip Kaludercic <philipk <at> posteo.net> writes:
>> I think this bug could be related to the changes installed as part of
>> Bug#78017.
>
> Could you elaborate your suspicion?
The commit 4226eb2b2040 "Avoid using symbolic links when installing
local VC packages" replaced symlinks with autoload indirections. So,
now the directory created by `package-vc-install-from-checkout' contains
the following files in my test:
<user-emacs-directory>/elpa/pkg-foo/pkg-foo-pkg.el
;;; Generated package description from pkg-foo.el -*- no-byte-compile: t -*-
(define-package "pkg-foo" "0" "No description available." 'nil :kind vc :commit "85d90568599b3716295fe44b4611b5b31cd3b611")
<user-emacs-directory>/elpa/pkg-foo/pkg-foo-autoloads.el
;; Autoload indirection for package-vc
(load (expand-file-name "/home/n/tmp/pkg-foo/pkg-foo-autoloads.el" (or (and load-file-name (file-name-directory load-file-name)) (car load-path))))
My suspicion is that after this change, `package-vc--main-file' cannot
find a main file in that directory anymore. Does it make sense?
Roi
This bug report was last modified 30 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.