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!
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!
FS#47954 - [pyalpm] Pacman 5 api breaks pyalpm
Attached to Project:
Arch Linux
Opened by Vorbote (vorbote) - Saturday, 30 January 2016, 12:18 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Sunday, 31 January 2016, 19:49 GMT
Opened by Vorbote (vorbote) - Saturday, 30 January 2016, 12:18 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Sunday, 31 January 2016, 19:49 GMT
|
DetailsHi, when recompiling pyalpm 0.7-3 against pacman 5.0 libraries, I have the following errors:
==> Making package: pyalpm 0.7-3 (sáb ene 30 07:08:16 COT 2016) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found pyalpm-0.7.tar.gz ==> Validating source files with sha1sums... pyalpm-0.7.tar.gz ... Passed ==> Extracting sources... -> Extracting pyalpm-0.7.tar.gz with bsdtar ==> Removing existing $pkgdir/ directory... ==> Starting build()... running build running build_py running build_ext building 'pyalpm' extension gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=core2 -mtune=core2 -O2 -pipe -fstack-protector-strong -Wno-format -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c src/pyalpm.c -o build/temp.linux-x86_64-3.5/src/pyalpm.o -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unused-function -Wdeclaration-after-statement -ansi -D_FILE_OFFSET_BITS=64 -DVERSION="0.7" gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=core2 -mtune=core2 -O2 -pipe -fstack-protector-strong -Wno-format -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c src/util.c -o build/temp.linux-x86_64-3.5/src/util.o -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unused-function -Wdeclaration-after-statement -ansi -D_FILE_OFFSET_BITS=64 -DVERSION="0.7" gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=core2 -mtune=core2 -O2 -pipe -fstack-protector-strong -Wno-format -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c src/package.c -o build/temp.linux-x86_64-3.5/src/package.o -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unused-function -Wdeclaration-after-statement -ansi -D_FILE_OFFSET_BITS=64 -DVERSION="0.7" In file included from /usr/include/python3.5m/Python.h:65:0, from src/package.c:25: /usr/include/python3.5m/pytime.h:136:56: warning: ‘struct timespec’ declared inside parameter list PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); ^ /usr/include/python3.5m/pytime.h:136:56: warning: its scope is only this definition or declaration, which is probably not what you want gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=core2 -mtune=core2 -O2 -pipe -fstack-protector-strong -Wno-format -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c src/db.c -o build/temp.linux-x86_64-3.5/src/db.o -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unused-function -Wdeclaration-after-statement -ansi -D_FILE_OFFSET_BITS=64 -DVERSION="0.7" In file included from /usr/include/python3.5m/Python.h:65:0, from src/db.c:24: /usr/include/python3.5m/pytime.h:136:56: warning: ‘struct timespec’ declared inside parameter list PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); ^ /usr/include/python3.5m/pytime.h:136:56: warning: its scope is only this definition or declaration, which is probably not what you want gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=core2 -mtune=core2 -O2 -pipe -fstack-protector-strong -Wno-format -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c src/options.c -o build/temp.linux-x86_64-3.5/src/options.o -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unused-function -Wdeclaration-after-statement -ansi -D_FILE_OFFSET_BITS=64 -DVERSION="0.7" gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=core2 -mtune=core2 -O2 -pipe -fstack-protector-strong -Wno-format -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c src/handle.c -o build/temp.linux-x86_64-3.5/src/handle.o -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unused-function -Wdeclaration-after-statement -ansi -D_FILE_OFFSET_BITS=64 -DVERSION="0.7" gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=core2 -mtune=core2 -O2 -pipe -fstack-protector-strong -Wno-format -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c src/transaction.c -o build/temp.linux-x86_64-3.5/src/transaction.o -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unused-function -Wdeclaration-after-statement -ansi -D_FILE_OFFSET_BITS=64 -DVERSION="0.7" In file included from /usr/include/python3.5m/Python.h:65:0, from src/transaction.c:25: /usr/include/python3.5m/pytime.h:136:56: warning: ‘struct timespec’ declared inside parameter list PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); ^ /usr/include/python3.5m/pytime.h:136:56: warning: its scope is only this definition or declaration, which is probably not what you want src/transaction.c: In function ‘pyalpm_eventcb’: src/transaction.c:144:10: error: ‘ALPM_EVENT_PACORIG_CREATED’ undeclared (first use in this function) case ALPM_EVENT_PACORIG_CREATED: ^ src/transaction.c:144:10: note: each undeclared identifier is reported only once for each function it appears in error: command 'gcc' failed with exit status 1 ==> ERROR: A failure occurred in build(). Aborting... |
This task depends upon
Closed by Rémy Oudompheng (remyoudompheng)
Sunday, 31 January 2016, 19:49 GMT
Reason for closing: Fixed
Additional comments about closing: update to 0.8
Sunday, 31 January 2016, 19:49 GMT
Reason for closing: Fixed
Additional comments about closing: update to 0.8

Patch is avaliable at https://lists.archlinux.org/pipermail/arch-projects/2016-January/004320.html

The patch works; namcap is doing its thing as expected.

I have updated pyalpm.