FS#57547 - [xorgproto] missing headers from printproto

Attached to Project: Arch Linux
Opened by Victor Collod (multun) - Saturday, 17 February 2018, 13:52 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 21 February 2018, 06:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Using xorgproto 2018.2-1, /usr/include/X11/extensions/Print.h as well as /usr/include/X11/extensions/Printstr.h are missing, eventhough it's supposed to replace printproto.

It causes some packages not to build, such as ddd.

Steps to reproduce:

diff

https://webcache.googleusercontent.com/search?q=cache:a0tNZEAu-icJ:https://www.archlinux.org/packages/extra/any/printproto/files/+

VS

https://www.archlinux.org/packages/extra/any/xorgproto/
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 21 February 2018, 06:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  2018.3-1
Comment by Doug Newgard (Scimmia) - Saturday, 17 February 2018, 17:16 GMT
Looks like that's hidden under a "legacy" option, so yeah, either the conflicts/provides/replaces should be removed or it needs to be enabled.

https://cgit.freedesktop.org/xorg/proto/xorgproto/tree/meson.build#n76
Comment by Kiss Ákos (akosch) - Saturday, 17 February 2018, 17:26 GMT
Also stumbled upon this when my openmotif emacs build failed.
Comment by Andreas Radke (AndyRTR) - Saturday, 17 February 2018, 21:16 GMT
building with -Dlegacy=true fails here:
Meson encountered an error in file include/X11/extensions/meson.build, line 107, column 4:
File xcalibrateproto.h does not exist.

I've sent a mail to Keith to fix this. The headers seems to be missing from the tarball distribution.

But can't we avoid to include the legacy headers? I guess all software should be able to drop them.
Comment by Victor Collod (multun) - Saturday, 17 February 2018, 22:30 GMT
> But can't we avoid to include the legacy headers? I guess all software should be able to drop them.

Well no, I guess quite many people do not want you to decide whether they can easily build old software on archlinux.
Even worse, the current setup *breaks builds*.

If you would like people to drop these header, you would have to make a separate package instead.

How about including these files for now ?

Loading...