Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#70198 - [netpbm] Convert to use python 3.

Attached to Project: Arch Linux
Opened by loqs (loqs) - Sunday, 28 March 2021, 20:35 GMT
Last edited by Balló György (City-busz) - Thursday, 08 June 2023, 12:54 GMT
Task Type General Gripe
Category Packages: Extra
Status Unassigned
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


netpbm upstream contains commits that add python3 compatibility [1][2].
After applying the patches the build does not work as some of the docs from netpbm-doc-31Jan2014.tar.xz contain invalid utf-8.
The invalid characters can be preserved and written out again so the man pages will be identical [3].
As an alternative the docs can be converted to utf-8 [4].

Additional info:
* netpbm-10.73.33-1
[3] PKGBUILD.diff.1
[4] PKGBUILD.diff.2
This task depends upon

Comment by loqs (loqs) - Thursday, 01 April 2021, 23:12 GMT
Overlinking can be removed by:
sed -i 's|LDSHLIB = -shared -Wl,-soname,$(SONAME)|LDSHLIB = -shared -Wl,-soname,$(SONAME) $(LDFLAGS)|'
Comment by Lex Black (TrialnError) - Monday, 20 March 2023, 09:00 GMT
Recent history for this package in that regard:
For the time being python(2) support was dropped entirely in august of 2022[0]
In the meantime there were newer releases and the mentioned commits could be released (still figuring it out, but the SF viewer for the history doesn't make it easy).

Edit: The python3 compat seems to be only available from the stable[1] versions and not super_stable, what is currently packaged. Therefore fixed with versions 10.80.00+.

Comment by Christian Heusel (gromit) - Monday, 24 July 2023, 21:24 GMT
@loqs, is this bug still relevant? Currently it seem the package does not need python at all and python2 was long dropped from the repos ...
Comment by loqs (loqs) - Monday, 24 July 2023, 21:32 GMT
The man pages were dropped and become a TODO item in [1]. If the intent is to reinstate the man pages as the TODO implies I could provide an updated patch. Although as the package has no maintainer it might be simpler to close the issue.

Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.