Sorry for the delay, I uploaded checkinstall 1.6.2+git20170426.d24a630-4
which has this fix.

Stephen

On Oct 23, 2023 at 9:58:53 AM, Stephen Gelman <ssg...@debian.org> wrote:

> It’s maintained, however the upstream no longer exists so I need to vet
> any patches myself. I will take a look at the provided patch and get it
> uploaded!
>
> Stephen
>
> On Oct 20, 2023 at 8:56:31 AM, Siddh Raman Pant <c...@siddh.me> wrote:
>
>> Is the package no longer maintained? If it is, it should be removed from
>> the repo.
>>
>> It is 2023, and checkinstall is still broken.
>>
>> Thanks,
>> Siddh
>>
>> On Sat, 02 Jul 2022 02:18:35 +0000 Geoffrey Hausheer <
>> debianbug...@pblue.org> wrote:
>>
>> Package: checkinstall
>>
>> Version: 1.6.2+git20170426.d24a630-2
>>
>> Followup-For: Bug #717778
>>
>> X-Debbugs-Cc: debianbug...@pblue.org
>>
>>
>> It appears that the root of this issue may be in instw_setpathrel
>>
>> Specifically, the 'stat' command that is used to get the length of a
>> symlink should
>>
>> be 'lstat' instead.
>>
>>
>> Here is a 1 line-patch that addressed the issue for me:
>>
>>
>> --- a/installwatch/installwatch.c
>>
>> +++ b/installwatch/installwatch.c
>>
>> @@ -1691,7 +1691,7 @@
>>
>>   if ( dirfd == AT_FDCWD ) return instw_setpath(instw, relpath);
>>
>>
>>
>>   snprintf(proc_path, PROC_PATH_LEN, "/proc/self/fd/%d", dirfd);
>>
>> - if(true_stat(proc_path, &s) == -1)
>>
>> + if(true_lstat(proc_path, &s) == -1)
>>
>>   goto out;
>>
>>   if(!(newpath = malloc(s.st_size+strlen(relpath)+2)))
>>
>>   goto out;
>>
>>
>>
>>
>> -- System Information:
>>
>> Debian Release: 11.3
>>
>>   APT prefers stable-updates
>>
>>   APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
>> 'stable')
>>
>> Architecture: amd64 (x86_64)
>>
>>
>> Kernel: Linux 5.10.67-zfs (SMP w/4 CPU threads)
>>
>> Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
>> TAINT_UNSIGNED_MODULE
>>
>> Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
>>
>> Shell: /bin/sh linked to /bin/dash
>>
>> Init: unable to detect
>>
>>
>> Versions of packages checkinstall depends on:
>>
>> ii  dpkg-dev        1.20.10
>>
>> ii  file            1:5.39-3
>>
>> ii  libc6           2.31-13+deb11u3
>>
>> ii  sensible-utils  0.0.14
>>
>>
>> Versions of packages checkinstall recommends:
>>
>> ii  make  4.3-4.1
>>
>>
>> Versions of packages checkinstall suggests:
>>
>> ii  gettext  0.21-4
>>
>>
>> -- Configuration Files:
>>
>> /etc/checkinstallrc changed [not included]
>>
>>
>> -- no debconf information
>>
>>
>>
>>

Reply via email to