Arch Linux

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#34658 - [pyalpm] fail build pyalpm git

Attached to Project: Arch Linux
Opened by Gustavo Alvarez (sl1pkn07) - Sunday, 07 April 2013, 14:33 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Tuesday, 16 April 2013, 06:57 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.3m -c src/pyalpm.c -o build/temp.linux-x86_64-3.3/src/pyalpm.o -Wall -Wextra -Werror -Wconversion -Wno-unused-parameter -Wno-unused-function -Wdeclaration-after-statement -ansi -D_FILE_OFFSET_BITS=64 -DVERSION="0.6"
In file included from /usr/include/python3.3m/Python.h:112:0,
from src/pyalpm.h:21,
from src/pyalpm.c:21:
/usr/include/python3.3m/modsupport.h:29:1: error: ‘PyArg_ParseTuple’ is an unrecognized format function type [-Werror=format=]
PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3);
^
cc1: all warnings being treated as errors
error: command 'gcc' failed with exit status 1
This task depends upon

Closed by  Rémy Oudompheng (remyoudompheng)
Tuesday, 16 April 2013, 06:57 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Not a pyalpm bug, please open a bug for the python package.
Comment by Rémy Oudompheng (remyoudompheng) - Sunday, 07 April 2013, 22:11 GMT Comment by Gustavo Alvarez (sl1pkn07) - Monday, 08 April 2013, 00:02 GMT
uhm... then... howto build [extra] package?

not use gcc4.8 and python3?

build [extra] package fail for me in same point
Comment by Rémy Oudompheng (remyoudompheng) - Monday, 08 April 2013, 06:36 GMT
The python package must be fixed.
Comment by shanmu thiagaraja (shanmu) - Friday, 12 April 2013, 15:06 GMT
If it helps the patch for python is documented in this python bug:

http://bugs.python.org/issue17547
patch is at http://bugs.python.org/file29574/00175-fix-configure-Wformat.patch
Comment by shanmu thiagaraja (shanmu) - Friday, 12 April 2013, 15:07 GMT
I can try to fix python package, if someone can point me in the right direction (documentation etc.) on adding this patch before building the package.
Comment by Gustavo Alvarez (sl1pkn07) - Monday, 15 April 2013, 11:55 GMT
fixed in [extra]

add -Wno-format in CFLAGS fix build in GIT

greetings

Loading...