FS#70877 - [transmission-cli] Not possible to rebuild

Attached to Project: Arch Linux
Opened by Oleksandr Natalenko (post-factum) - Saturday, 15 May 2021, 10:25 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 10 February 2022, 22:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Florian Pritz (bluewind)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

transmission is not possible to rebuild using modern autotools:

```
==> Starting prepare()...
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
ERROR: 'IT_PROG_INTLTOOL' must appear in configure.ac for intltool to work.
autoreconf: error: intltoolize failed with exit status: 1
```

This is a known issue [1], but it seems it won't be fixed in upstream since the only supported build system now is CMake.

Please consider switching to it as well.

[1] https://github.com/transmission/transmission/issues/1573

Additional info:
* package version(s)

core/autoconf 2.71-1
extra/transmission-cli 3.00-2

* config and/or log files etc.

N/A

* link to upstream bug report, if any

See above.

Steps to reproduce:

$ asp export transmission
$ makepkg -srf
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 10 February 2022, 22:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  transmission 3.00-3
Comment by mattia (nTia89) - Saturday, 18 September 2021, 19:04 GMT
I confirm the issue.
Comment by loqs (loqs) - Friday, 10 December 2021, 00:23 GMT
Smallest change would be to change the format of configure.ac so intltool accepts it [1].
Switching to cmake has some issues. The 3.00 tarball missed two files cmake requires [2]. The cmake build also does not support the web interface.
[3] Switches to cmake and uses system libraries for libnatpmp plus miniupnpc  FS#69451 .

[1] PKGBUILD.diff.1
[2] https://github.com/transmission/transmission/issues/1248
[3] PKGBUILD.diff.2
Comment by loqs (loqs) - Wednesday, 09 February 2022, 16:43 GMT
Additional patch applies after PKGBUILD.diff.2 backports use of a bundled library for RC4.
With openssl 3.0.0 RC4 is moved to the legacy provider which is not loaded by default.

Loading...