pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/46489: print/py-cups does does build with python-2.7
>Number: 46489
>Category: pkg
>Synopsis: print/py-cups does does build with python-2.7
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 28 05:35:00 +0000 2012
>Originator: Francois Tigeot
>Release: DragonFly
>Organization:
>Environment:
DragonFly akane.zefyris.com 3.1-DEVELOPMENT DragonFly
v3.1.0.803.g000535-DEVELOPMENT #181: Sat May 26 22:02:01 CEST 2012
ftigeot%akane.zefyris.com@localhost:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64
>Description:
print/py-cups fails to build with this error message when the python
version used is 2.7:
cc -DNDEBUG -O -march=core2 -g -pipe -DHAVE_DB_185_H -I/usr/include
-I/usr/pkg/include -O -march=core2 -g -pipe -I/usr/include -I/usr/pkg/include
-I/usr/include -I/usr/pkg/include -fPIC -I/usr/pkg/include/python2.7 -c
cupsmodule.c -o build/temp.dragonfly-3.1-x86_64-2.7/cupsmodule.o
cupsmodule.c: In function 'cups_require':
cupsmodule.c:389: error: 'VERSION' undeclared (first use in this function)
cupsmodule.c:389: error: (Each undeclared identifier is reported only once
cupsmodule.c:389: error: for each function it appears in.)
cupsmodule.c:424: error: expected ')' before 'VERSION'
error: command 'cc' failed with exit status 1
*** Error code 1
>How-To-Repeat:
try to build print/py-cups with pkgsrc-current and python-2.7
>Fix:
Update to version 1.9.61:
- set VERSION= 1.9.61 in Makefile
- remove patch-aa
This new version works out of the box
Home |
Main Index |
Thread Index |
Old Index