Source: cpm
Version: 0.32-1.5
Severity: wishlist
Tags: sid ftbfs
User: debian-de...@lists.debian.org
Usertags: loongarch64

Dear maintainers,

When compiling the package cpm for loong64 in the Debian Package Auto-Building environment [1].
We gave you feedback on the FTBFS compilation issue in advance.
Other architectures will have the same error if they retrigger the compilation.

The error message is as follows:
......omit
checking for wget_wch in -lncursesw... yes
checking for ncursesw5-config... no
: error: Could not find ncursesw5-config anywhere.
    tail -v -n \+0 config.log
......omit

- Full log of compilation errors reported (latest build status),please see [2] or [3].
The version of the dependency package libncurses-dev is 6.4+20230625-2.
- Full log of compiling properly (Builds as of 2022-12-22), please see [4].
The dependency package libncurses-dev is version 6.3+20220423-2

After analyzing, the cpm source package compile error is related to the libncurses-dev package. The latest version of ncurses 6.4+20230625 does not provide a soft link from ncursesw6-config to ncursesw5-config. The version of ncurses 6.3 and earlier versions, e.g. ncurses 6.2+20201114 provide softlinks from ncursesw6-config, for example, root@buildd:~/ncurses-6.2+20201114# cat debian/libncurses-dev.links |grep ncursesw5-config
usr/bin/ncursesw6-config usr/bin/ncursesw5-config
usr/share/man/man1/ncursesw6-config.1 usr/share/man/man1/ncursesw5-config.1

Therefore, it is recommended that maintainers consider modifying the cpm code to accommodate all architectures.
If you have any questions, you can contact me at any time.

[1]:https://buildd.debian.org/status/package.php?p=cpm&suite=sid
[2]:https://buildd.debian.org/status/fetch.php?pkg=cpm&arch=loong64&ver=0.32-1.5&stamp=1693581473&raw=0
[3]:https://buildd.debian.org/status/fetch.php?pkg=cpm&arch=riscv64&ver=0.32-1.5&stamp=1692832959&raw=0
[4]:https://buildd.debian.org/status/fetch.php?pkg=cpm&arch=amd64&ver=0.32-1.5&stamp=1671734620&raw=0

thanks,
Dandan Zhang

Reply via email to