GNU bug report logs - #45462
28.0.50; [feature/native-comp] trailing backslashes in comp-eln-load-path are required but shouldn't

Previous Next

Package: emacs;

Reported by: Mauricio Collares <mauricio <at> collares.org>

Date: Sun, 27 Dec 2020 15:01:02 UTC

Severity: normal

Found in version 28.0.50

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 45462 in the body.
You can then email your comments to 45462 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#45462; Package emacs. (Sun, 27 Dec 2020 15:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mauricio Collares <mauricio <at> collares.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 27 Dec 2020 15:01:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mauricio Collares <mauricio <at> collares.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; [feature/native-comp] trailing backslashes in
 comp-eln-load-path are required but shouldn't
Date: Sun, 27 Dec 2020 12:00:01 -0300
Steps to reproduce

1) Add "~/test" to comp-eln-load-path.
2) Native-compile file.el.

Expected result: The file gets written to
~/test/28.0.50-arch-hash/filename.eln.

Actual result: The file gets written to
~/test28.0.50-arch-hash/filename.eln.

Arguably comp-eln-load-path should behave the same as load-path and
always treat its entries as directories.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45462; Package emacs. (Sun, 27 Dec 2020 17:24:01 GMT) Full text and rfc822 format available.

Message #8 received at 45462 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Mauricio Collares <mauricio <at> collares.org>
Cc: 45462 <at> debbugs.gnu.org
Subject: Re: bug#45462: 28.0.50; [feature/native-comp] trailing backslashes
 in comp-eln-load-path are required but shouldn't
Date: Sun, 27 Dec 2020 17:23:37 +0000
Mauricio Collares <mauricio <at> collares.org> writes:

> Steps to reproduce
>
> 1) Add "~/test" to comp-eln-load-path.
> 2) Native-compile file.el.
>
> Expected result: The file gets written to
> ~/test/28.0.50-arch-hash/filename.eln.
>
> Actual result: The file gets written to
> ~/test28.0.50-arch-hash/filename.eln.
>
> Arguably comp-eln-load-path should behave the same as load-path and
> always treat its entries as directories.

Hi Mauricio,

ee53560c8c should fix this, please have a try.

Thanks for reporting.

  Andrea




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45462; Package emacs. (Tue, 05 Jan 2021 00:36:01 GMT) Full text and rfc822 format available.

Message #11 received at 45462 <at> debbugs.gnu.org (full text, mbox):

From: Mauricio Collares <mauricio <at> collares.org>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: 45462 <at> debbugs.gnu.org
Subject: Re: bug#45462: 28.0.50; [feature/native-comp] trailing backslashes
 in comp-eln-load-path are required but shouldn't
Date: Mon, 04 Jan 2021 21:35:09 -0300
Andrea Corallo <akrl <at> sdf.org> writes:
> Hi Mauricio,
>
> ee53560c8c should fix this, please have a try.
>
> Thanks for reporting.
>
>   Andrea

Hi Andrea,

First of all, happy new year!

I tested it and your fix is working well. Many thanks for the prompt
response and sorry for the delay in verifying it.

Best,
Mauricio




Reply sent to Andrea Corallo <akrl <at> sdf.org>:
You have taken responsibility. (Tue, 05 Jan 2021 09:35:02 GMT) Full text and rfc822 format available.

Notification sent to Mauricio Collares <mauricio <at> collares.org>:
bug acknowledged by developer. (Tue, 05 Jan 2021 09:35:02 GMT) Full text and rfc822 format available.

Message #16 received at 45462-done <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Mauricio Collares <mauricio <at> collares.org>
Cc: 45462-done <at> debbugs.gnu.org
Subject: Re: bug#45462: 28.0.50; [feature/native-comp] trailing backslashes
 in comp-eln-load-path are required but shouldn't
Date: Tue, 05 Jan 2021 09:34:22 +0000
Mauricio Collares <mauricio <at> collares.org> writes:

> Andrea Corallo <akrl <at> sdf.org> writes:
>> Hi Mauricio,
>>
>> ee53560c8c should fix this, please have a try.
>>
>> Thanks for reporting.
>>
>>   Andrea
>
> Hi Andrea,
>
> First of all, happy new year!

happy new year! :)

> I tested it and your fix is working well. Many thanks for the prompt
> response and sorry for the delay in verifying it.

Nice, closing then.

Thanks!

  Andrea




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45462; Package emacs. (Thu, 14 Jan 2021 13:57:02 GMT) Full text and rfc822 format available.

Message #19 received at 45462 <at> debbugs.gnu.org (full text, mbox):

From: Mauricio Collares <mauricio <at> collares.org>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: 45462 <at> debbugs.gnu.org
Subject: Re: bug#45462: 28.0.50; [feature/native-comp] trailing backslashes
 in comp-eln-load-path are required but shouldn't
Date: Thu, 14 Jan 2021 10:56:22 -0300
Andrea Corallo <akrl <at> sdf.org> writes:
> Hi Mauricio,
>
> ee53560c8c should fix this, please have a try.
>
> Thanks for reporting.
>
>   Andrea

Hi Andrea,

As I mentioned before, previous tests worked fine. However, while
debugging #45854, I saw this problem again today. A minimized testcase:

* file1.el:

(require 'file2)
(provide 'file1)

* file2.el:

(advice-add 'top-level :before 'identity)
(provide 'file2)

Then the command

emacs --batch -Q --eval "(add-to-list 'load-path \"~\")" --eval "(setq comp-eln-load-path '(\"~/eln\"))" -f batch-native-compile ~/file1.el

compiles file1 to ~/eln/28.0.50-host-arch/ (as expected) but compiles
the trampoline to ~/eln28.0.50-host-arch/.

Best,
Mauricio




Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 14 Jan 2021 14:17:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45462; Package emacs. (Thu, 14 Jan 2021 14:18:01 GMT) Full text and rfc822 format available.

Message #24 received at 45462 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Mauricio Collares <mauricio <at> collares.org>
Cc: 45462 <at> debbugs.gnu.org
Subject: Re: bug#45462: 28.0.50; [feature/native-comp] trailing backslashes
 in comp-eln-load-path are required but shouldn't
Date: Thu, 14 Jan 2021 14:17:23 +0000
Mauricio Collares <mauricio <at> collares.org> writes:

> Andrea Corallo <akrl <at> sdf.org> writes:
>> Hi Mauricio,
>>
>> ee53560c8c should fix this, please have a try.
>>
>> Thanks for reporting.
>>
>>   Andrea
>
> Hi Andrea,
>
> As I mentioned before, previous tests worked fine. However, while
> debugging #45854, I saw this problem again today. A minimized testcase:

I see where the issue is, should be an easy fix, I'll look into it this
evening.

Reopening this.

  Andrea




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45462; Package emacs. (Thu, 14 Jan 2021 21:45:01 GMT) Full text and rfc822 format available.

Message #27 received at 45462 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Mauricio Collares <mauricio <at> collares.org>
Cc: 45462 <at> debbugs.gnu.org
Subject: Re: bug#45462: 28.0.50; [feature/native-comp] trailing backslashes
 in comp-eln-load-path are required but shouldn't
Date: Thu, 14 Jan 2021 21:43:50 +0000
Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs <at> gnu.org> writes:

> Mauricio Collares <mauricio <at> collares.org> writes:
>
>> Andrea Corallo <akrl <at> sdf.org> writes:
>>> Hi Mauricio,
>>>
>>> ee53560c8c should fix this, please have a try.
>>>
>>> Thanks for reporting.
>>>
>>>   Andrea
>>
>> Hi Andrea,
>>
>> As I mentioned before, previous tests worked fine. However, while
>> debugging #45854, I saw this problem again today. A minimized testcase:
>
> I see where the issue is, should be an easy fix, I'll look into it this
> evening.
>
> Reopening this.

Hi Mauricio,

f1efac1f9e should fix this, could you give it a try?

Thanks

  Andrea




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45462; Package emacs. (Mon, 18 Jan 2021 12:18:01 GMT) Full text and rfc822 format available.

Message #30 received at 45462 <at> debbugs.gnu.org (full text, mbox):

From: Mauricio Collares <mauricio <at> collares.org>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: 45462 <at> debbugs.gnu.org
Subject: Re: bug#45462: 28.0.50; [feature/native-comp] trailing backslashes
 in comp-eln-load-path are required but shouldn't
Date: Mon, 18 Jan 2021 09:17:30 -0300
Andrea Corallo <akrl <at> sdf.org> writes:
>
> Hi Mauricio,
>
> f1efac1f9e should fix this, could you give it a try?
>
> Thanks
>
>   Andrea

I tested 883d937320 and I can confirm this bug is fixed. Thanks!

Best,
Mauricio




Reply sent to Andrea Corallo <akrl <at> sdf.org>:
You have taken responsibility. (Mon, 18 Jan 2021 12:37:02 GMT) Full text and rfc822 format available.

Notification sent to Mauricio Collares <mauricio <at> collares.org>:
bug acknowledged by developer. (Mon, 18 Jan 2021 12:37:02 GMT) Full text and rfc822 format available.

Message #35 received at 45462-done <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Mauricio Collares <mauricio <at> collares.org>
Cc: 45462-done <at> debbugs.gnu.org
Subject: Re: bug#45462: 28.0.50; [feature/native-comp] trailing backslashes
 in comp-eln-load-path are required but shouldn't
Date: Mon, 18 Jan 2021 12:36:38 +0000
Mauricio Collares <mauricio <at> collares.org> writes:

> Andrea Corallo <akrl <at> sdf.org> writes:
>>
>> Hi Mauricio,
>>
>> f1efac1f9e should fix this, could you give it a try?
>>
>> Thanks
>>
>>   Andrea
>
> I tested 883d937320 and I can confirm this bug is fixed. Thanks!

closing

Thanks!

  Andrea




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 16 Feb 2021 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.