Bug#1023939: findimagedupes: debian build process fails to set version

Jonathan H N Chin debian at jhnc.org
Sat Nov 12 18:54:22 GMT 2022


Package: findimagedupes
Version: 2.20.1-1
Severity: normal

Dear Maintainer,

Hi I am the author of findimagedupes.

I believe you are building directly from the files on github.
I don't provide the tar release file there. Perhaps I should.

Building the debian package directly from the findimagesupes file
does not set the `$Id` string inside the code. Because of this,
the `--version` option is failing.

I set the string when building a tar release file by running
"make dist" to extract the version from git and then patch the code:

```
    dist: README.md
    	git describe --tags > VERSION
    	./patchver 
    	[...]
```

`patchver` updates the variable in the code:

```
    perl -i -pe 's/^(my \$Id = ).*/$1"'$(cat VERSION)'";/' findimagedupes
```


-jonathan


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-125-generic (SMP w/1 CPU thread)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages findimagedupes depends on:
ii  libc6                       2.36-4
ii  libfile-mimeinfo-perl       0.33-1
ii  libgraphics-magick-perl     1.4+really1.3.38+hg16739-1+b1
ii  libinline-c-perl            0.82-1
ii  libinline-perl              0.86-1
ii  perl                        5.36.0-4
ii  perl-base [perlapi-5.36.0]  5.36.0-4

findimagedupes recommends no packages.

findimagedupes suggests no packages.

-- no debconf information



More information about the debian-science-maintainers mailing list