FS#79264 - [gd] Unable to build

Attached to Project: Arch Linux
Opened by entrider (entrider) - Tuesday, 01 August 2023, 03:44 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 01 August 2023, 05:52 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I'm unable to build extra/gd package, I get the following error:

====================================
GD 2.3.3: tests/test-suite.log
====================================

# TOTAL: 195
# PASS: 193
# SKIP: 0
# XFAIL: 0
# FAIL: 2
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: gdimagecopyresampled/bug00201
===================================

gdimagecopyresampled/bug00201.c:73: Total pixels changed: 268 with a maximum channel difference of 131.
FAIL gdimagecopyresampled/bug00201 (exit status: 1)

FAIL: gdimagegrayscale/basic
============================

gdimagegrayscale/basic.c:25: Total pixels changed: 16800 with a maximum channel difference of 131.
FAIL gdimagegrayscale/basic (exit status: 1)

Additional info:
* package version: 2.3.3-6
* link to upstream bug report: https://github.com/libgd/libgd/issues/857

Steps to reproduce:
1. Download extra/gd package.
2. Try to build it with makepkg.
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 01 August 2023, 05:52 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Tuesday, 01 August 2023, 05:52 GMT
You are building with `-march=x86-64-v3' which causes the test failures. Please don't do that.

Arch official packages are built with [1]. Anything else is not supported.

[1] https://gitlab.archlinux.org/archlinux/devtools/-/blob/v1.0.3/config/makepkg/x86_64.conf

Loading...