Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

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!
Tasklist

FS#70011 - [mesa-dri1] Base Package FTBFS

Attached to Project: Community Packages
Opened by loqs (loqs) - Tuesday, 16 March 2021, 09:01 GMT
Last edited by Connor Behan (connorbehan) - Sunday, 18 April 2021, 22:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Connor Behan (connorbehan)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Package fails to build from source probably due to a compiler update. The issue is not fixed by adding -fcommon to CFLAGS/CXXFLAGS. Fixed by attached patch [1] based on upstream commit [2].
Not included test for availability of hidden attribute as current versions gcc and clang both supported it.
Also the package relies on python2 to generate c source files it requires. Would you like me to investigate porting to python3?

Additional info:
* 7.11.2-10
* mesa-dri1-symbol-visibility.patch
* https://lists.freedesktop.org/archives/mesa-dev/2016-July/122804.html

Steps to reproduce:
Build package in a clean chroot.
This task depends upon

Closed by  Connor Behan (connorbehan)
Sunday, 18 April 2021, 22:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  Thanks everyone who looked into this!
Comment by Emil (xexaxo) - Tuesday, 16 March 2021, 12:18 GMT
loqs thumbs up on the patch - it is spot on.

Wrt python2->3 porting:

The only python scripts used for these drivers should be the ones in src/mapi.
From a very quick look b39bdb07164211c483a3c8a8625689169be09cc4~2..b39bdb07164211c483a3c8a8625689169be09cc4 might be enough.

I would suggest opening an MR upstream with the backports and cc-ing me (evelikov). Will try to get them merged as time permits.
Comment by Andreas Radke (AndyRTR) - Tuesday, 16 March 2021, 20:30 GMT
https://archlinux.org/packages/?sort=&q=mesa-dri1 - there's no such a package in our repos.
Comment by loqs (loqs) - Tuesday, 16 March 2021, 21:20 GMT
https://archlinux.org/packages/community/x86_64/mesa-dri1/

@xexaxo there were a few other conversions required. Apologies for this not being split out yet.

Loading...