[Fink-devel] boost1.35.systempython-1.35.0-5 failed to build
Hi Martin, I recently got updated boost1.35.systempython packages, but they fail to build. The build process says updating 127 packages, and many lines later, the result is 119 targets updated, 4 skipped, 4 failed. The failed packages are: darwin.compile.c++ bin.v2/libs/python/build/darwin/release/macosx- version-10.4/threading-multi/class.o darwin.compile.c++ bin.v2/libs/python/build/darwin/release/macosx- version-10.4/class.o darwin.compile.c++ bin.v2/libs/python/build/darwin/release/link-static/ macosx-version-10.4/threading-multi/class.o darwin.compile.c++ bin.v2/libs/python/build/darwin/release/link-static/ macosx-version-10.4/class.o Seeing the objectfile names, it sounds like it's the same file, and it seems like the same list of errors, too. I've pasted a list of the errors below, and a full build log is available at the following link: http://paster.dazjorz.com/?p=4734 Sjors darwin.compile.c++ bin.v2/libs/python/build/darwin/release/link-static/ macosx-version-10.4/threading-multi/class.o libs/python/src/object/class.cpp:145: error: 'PyVarObject_HEAD_INIT' was not declared in this scope libs/python/src/object/class.cpp:146: error: expected `}' before 'const_cast' libs/python/src/object/class.cpp:146: error: expected ',' or ';' before 'const_cast' libs/python/src/object/class.cpp: In function 'PyObject* boost::objects::static_data()': libs/python/src/object/class.cpp:209: error: 'static_data_object' was not declared in this scope libs/python/src/object/class.cpp:211: error: 'Py_TYPE' was not declared in this scope libs/python/src/object/class.cpp:216: error: 'upcast' was not declared in this scope libs/python/src/object/class.cpp:216: error: expected primary- expression before '' token libs/python/src/object/class.cpp:216: error: 'static_data_object' was not declared in this scope libs/python/src/object/class.cpp: In function 'int boost::class_setattro(PyObject*, PyObject*, PyObject*)': libs/python/src/object/class.cpp:237: error: 'downcast' was not declared in this scope libs/python/src/object/class.cpp:237: error: expected primary- expression before '' token libs/python/src/object/class.cpp:244: error: 'Py_TYPE' was not declared in this scope libs/python/src/object/class.cpp: At global scope: libs/python/src/object/class.cpp:251: error: 'PyVarObject_HEAD_INIT' was not declared in this scope libs/python/src/object/class.cpp:252: error: expected `}' before 'const_cast' libs/python/src/object/class.cpp:252: error: expected ',' or ';' before 'const_cast' libs/python/src/object/class.cpp:304: error: 'instance_holder' has not been declared libs/python/src/object/class.cpp: In function 'void install(PyObject*)': libs/python/src/object/class.cpp:307: error: 'm_next' was not declared in this scope libs/python/src/object/class.cpp:307: error: 'objects' has not been declared libs/python/src/object/class.cpp:307: error: 'instance' was not declared in this scope libs/python/src/object/class.cpp:307: error: expected primary- expression before '' token libs/python/src/object/class.cpp:307: error: expected primary- expression before ')' token libs/python/src/object/class.cpp:307: error: expected `)' before 'self' libs/python/src/object/class.cpp:308: error: 'objects' has not been declared libs/python/src/object/class.cpp:308: error: expected primary- expression before '' token libs/python/src/object/class.cpp:308: error: expected primary- expression before ')' token libs/python/src/object/class.cpp:308: error: expected `)' before 'self' libs/python/src/object/class.cpp: At global scope: libs/python/src/object/class.cpp:315: error: 'type_handle' does not name a type libs/python/src/object/class.cpp: In function 'void objects::instance_dealloc(PyObject*)': libs/python/src/object/class.cpp:330: error: 'instance' was not declared in this scope libs/python/src/object/class.cpp:330: error: expected primary- expression before '' token libs/python/src/object/class.cpp:330: error: 'kill_me' was not declared in this scope libs/python/src/object/class.cpp:330: error: expected primary- expression before '' token libs/python/src/object/class.cpp:330: error: expected primary- expression before ')' token libs/python/src/object/class.cpp:330: error: expected `;' before 'inst' libs/python/src/object/class.cpp:332: error: 'instance_holder' was not declared in this scope libs/python/src/object/class.cpp:332: error: 'p' was not declared in this scope libs/python/src/object/class.cpp:332: error: 'next' was not declared in this scope libs/python/src/object/class.cpp:335: error: expected class-name before '(' token libs/python/src/object/class.cpp:336: error: 'instance_holder' is not a class or namespace libs/python/src/object/class.cpp:336: error: cannot dynamic_cast 'p' (of type 'type error') to type 'void*' (source is not a pointer) libs/python/src/object/class.cpp:336: error: 'deallocate' was not declared in this scope
Re: [Fink-devel] boost1.35.systempython-1.35.0-5 failed to build
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Martin, I recently got updated boost1.35.systempython packages, but they fail to build. The build process says updating 127 packages, and many lines later, the result is 119 targets updated, 4 skipped, 4 failed. The failed packages are: darwin.compile.c++ bin.v2/libs/python/build/darwin/release/macosx- version-10.4/threading-multi/class.o darwin.compile.c++ bin.v2/libs/python/build/darwin/release/macosx- version-10.4/class.o darwin.compile.c++ bin.v2/libs/python/build/darwin/release/link-static/ macosx-version-10.4/threading-multi/class.o darwin.compile.c++ bin.v2/libs/python/build/darwin/release/link-static/ macosx-version-10.4/class.o Seeing the objectfile names, it sounds like it's the same file, and it seems like the same list of errors, too. I've pasted a list of the errors below, and a full build log is available at the following link: http://paster.dazjorz.com/?p=4734 Sjors darwin.compile.c++ bin.v2/libs/python/build/darwin/release/link-static/ macosx-version-10.4/threading-multi/class.o libs/python/src/object/class.cpp:145: error: 'PyVarObject_HEAD_INIT' was not declared in this scope libs/python/src/object/class.cpp:146: error: expected `}' before 'const_cast' libs/python/src/object/class.cpp:146: error: expected ',' or ';' before 'const_cast' libs/python/src/object/class.cpp: In function 'PyObject* boost::objects::static_data()': libs/python/src/object/class.cpp:209: error: 'static_data_object' was not declared in this scope libs/python/src/object/class.cpp:211: error: 'Py_TYPE' was not declared in this scope libs/python/src/object/class.cpp:216: error: 'upcast' was not declared in this scope libs/python/src/object/class.cpp:216: error: expected primary- expression before '' token libs/python/src/object/class.cpp:216: error: 'static_data_object' was not declared in this scope libs/python/src/object/class.cpp: In function 'int boost::class_setattro(PyObject*, PyObject*, PyObject*)': libs/python/src/object/class.cpp:237: error: 'downcast' was not declared in this scope libs/python/src/object/class.cpp:237: error: expected primary- expression before '' token libs/python/src/object/class.cpp:244: error: 'Py_TYPE' was not declared in this scope libs/python/src/object/class.cpp: At global scope: libs/python/src/object/class.cpp:251: error: 'PyVarObject_HEAD_INIT' was not declared in this scope libs/python/src/object/class.cpp:252: error: expected `}' before 'const_cast' libs/python/src/object/class.cpp:252: error: expected ',' or ';' before 'const_cast' libs/python/src/object/class.cpp:304: error: 'instance_holder' has not been declared libs/python/src/object/class.cpp: In function 'void install(PyObject*)': libs/python/src/object/class.cpp:307: error: 'm_next' was not declared in this scope libs/python/src/object/class.cpp:307: error: 'objects' has not been declared libs/python/src/object/class.cpp:307: error: 'instance' was not declared in this scope libs/python/src/object/class.cpp:307: error: expected primary- expression before '' token libs/python/src/object/class.cpp:307: error: expected primary- expression before ')' token libs/python/src/object/class.cpp:307: error: expected `)' before 'self' libs/python/src/object/class.cpp:308: error: 'objects' has not been declared libs/python/src/object/class.cpp:308: error: expected primary- expression before '' token libs/python/src/object/class.cpp:308: error: expected primary- expression before ')' token libs/python/src/object/class.cpp:308: error: expected `)' before 'self' libs/python/src/object/class.cpp: At global scope: libs/python/src/object/class.cpp:315: error: 'type_handle' does not name a type libs/python/src/object/class.cpp: In function 'void objects::instance_dealloc(PyObject*)': libs/python/src/object/class.cpp:330: error: 'instance' was not declared in this scope libs/python/src/object/class.cpp:330: error: expected primary- expression before '' token libs/python/src/object/class.cpp:330: error: 'kill_me' was not declared in this scope libs/python/src/object/class.cpp:330: error: expected primary- expression before '' token libs/python/src/object/class.cpp:330: error: expected primary- expression before ')' token libs/python/src/object/class.cpp:330: error: expected `;' before 'inst' libs/python/src/object/class.cpp:332: error: 'instance_holder' was not declared in this scope libs/python/src/object/class.cpp:332: error: 'p' was not declared in this scope libs/python/src/object/class.cpp:332: error: 'next' was not declared in this scope libs/python/src/object/class.cpp:335: error: expected class-name before '(' token libs/python/src/object/class.cpp:336: error: 'instance_holder' is not a class or namespace libs/python/src/object/class.cpp:336: error: cannot dynamic_cast 'p' (of type 'type
Re: [Fink-devel] boost1.35.systempython-1.35.0-5 failed to build
Op 14 jan 2010, om 13:11 heeft Alexander Hansen het volgende geschreven: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Martin, I recently got updated boost1.35.systempython packages, but they fail to build. The build process says updating 127 packages, and many lines later, the result is 119 targets updated, 4 skipped, 4 failed. The failed packages are: darwin.compile.c++ bin.v2/libs/python/build/darwin/release/macosx- version-10.4/threading-multi/class.o darwin.compile.c++ bin.v2/libs/python/build/darwin/release/macosx- version-10.4/class.o darwin.compile.c++ bin.v2/libs/python/build/darwin/release/link- static/ macosx-version-10.4/threading-multi/class.o darwin.compile.c++ bin.v2/libs/python/build/darwin/release/link- static/ macosx-version-10.4/class.o Seeing the objectfile names, it sounds like it's the same file, and it seems like the same list of errors, too. I've pasted a list of the errors below, and a full build log is available at the following link: http://paster.dazjorz.com/?p=4734 Sjors And you're on what OS version and architecture? Oops, right. I'm on 10.5, Intel x86; installed Python-related packages: i boost1.35.nopyt 1.35.0-5 Boost C++ Libraries (shared libs) (i) boost1.35.syste 1.35.0-5 Boost C++ Libraries: static and source libs (i) boost1.35.syste 1.35.0-5 Boost C++ Libraries (shared libs) i python25 1:2.5.4-1Interpreted, object-oriented language i python25-shlibs 1:2.5.4-1Interpreted, object-oriented language i python26 1:2.6.4-1Interpreted, object-oriented language i python26-shlibs 1:2.6.4-1Interpreted, object-oriented language (By the way, -devel is more appropriate for questions about packaging and to report on unmaintained packages. -users is preferred for bug reports) Sorry. Cc'ing -users, next copy can remove -devel if you want to. Sjors -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] boost1.35.systempython-1.35.0-5 failed to build
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Op 14 jan 2010, om 13:11 heeft Alexander Hansen het volgende geschreven: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Martin, I recently got updated boost1.35.systempython packages, but they fail to build. The build process says updating 127 packages, and many lines later, the result is 119 targets updated, 4 skipped, 4 failed. The failed packages are: darwin.compile.c++ bin.v2/libs/python/build/darwin/release/macosx- version-10.4/threading-multi/class.o darwin.compile.c++ bin.v2/libs/python/build/darwin/release/macosx- version-10.4/class.o darwin.compile.c++ bin.v2/libs/python/build/darwin/release/link-static/ macosx-version-10.4/threading-multi/class.o darwin.compile.c++ bin.v2/libs/python/build/darwin/release/link-static/ macosx-version-10.4/class.o Seeing the objectfile names, it sounds like it's the same file, and it seems like the same list of errors, too. I've pasted a list of the errors below, and a full build log is available at the following link: http://paster.dazjorz.com/?p=4734 Sjors And you're on what OS version and architecture? Oops, right. I'm on 10.5, Intel x86; installed Python-related packages: i boost1.35.nopyt 1.35.0-5 Boost C++ Libraries (shared libs) (i) boost1.35.syste 1.35.0-5 Boost C++ Libraries: static and source libs (i) boost1.35.syste 1.35.0-5 Boost C++ Libraries (shared libs) i python25 1:2.5.4-1Interpreted, object-oriented language i python25-shlibs 1:2.5.4-1Interpreted, object-oriented language i python26 1:2.6.4-1Interpreted, object-oriented language i python26-shlibs 1:2.6.4-1Interpreted, object-oriented language (By the way, -devel is more appropriate for questions about packaging and to report on unmaintained packages. -users is preferred for bug reports) Sorry. Cc'ing -users, next copy can remove -devel if you want to. Sjors Nah, we started it on -devel, so let's finish it there. I'm just trying to think of ways to make it easier for users to find their issues in the archives. I'm not able to reproduce this error on 10.5/i386. You didn't do anything to your system's Python, by chance? - -- Alexander Hansen Fink User Liaison -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktPK1sACgkQB8UpO3rKjQ/mLgCdFLR1vJCpelIY6fUUqzLwZqNq OHsAoKNB0hlTF4Tdwv2IkwQsE11LMqjN =Souo -END PGP SIGNATURE- -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] boost1.35.systempython-1.35.0-5 failed to build
Op 14 jan 2010, om 15:34 heeft Alexander Hansen het volgende geschreven: Nah, we started it on -devel, so let's finish it there. I'm just trying to think of ways to make it easier for users to find their issues in the archives. I'm not able to reproduce this error on 10.5/i386. You didn't do anything to your system's Python, by chance? All that's different here, as far as I'm aware, is that I have a symlink at /Users/sjors/bin/python to /sw/bin/python2.6. At /usr/bin, I have python* links to /System/Library/Frameworks/Python.framework/ Versions/2.5/bin; the python binaries there seem to work fine. The keyword compilation doesn't find, it should be defined in some headerfile, that's probably the place to start looking. Do you have PyVarObject_HEAD_INIT somewhere in /sw/include or something? I've got this: /sw/include/python2.6/object.h:#define PyVarObject_HEAD_INIT(type, size) \ I wonder if compilation simply doesn't include object.h, and if so, why. FWIW Snaggle in #fink just reported he had the same problems. Sjors -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] boost1.35.systempython-1.35.0-5 failed to build
Alexander Hansen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Op 14 jan 2010, om 13:11 heeft Alexander Hansen het volgende geschreven: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Martin, I recently got updated boost1.35.systempython packages, but they fail to build. The build process says updating 127 packages, and many lines later, the result is 119 targets updated, 4 skipped, 4 failed. The failed packages are: darwin.compile.c++ bin.v2/libs/python/build/darwin/release/macosx- version-10.4/threading-multi/class.o darwin.compile.c++ bin.v2/libs/python/build/darwin/release/macosx- version-10.4/class.o darwin.compile.c++ bin.v2/libs/python/build/darwin/release/link-static/ macosx-version-10.4/threading-multi/class.o darwin.compile.c++ bin.v2/libs/python/build/darwin/release/link-static/ macosx-version-10.4/class.o Seeing the objectfile names, it sounds like it's the same file, and it seems like the same list of errors, too. I've pasted a list of the errors below, and a full build log is available at the following link: http://paster.dazjorz.com/?p=4734 Sjors And you're on what OS version and architecture? Oops, right. I'm on 10.5, Intel x86; installed Python-related packages: i boost1.35.nopyt 1.35.0-5 Boost C++ Libraries (shared libs) (i) boost1.35.syste 1.35.0-5 Boost C++ Libraries: static and source libs (i) boost1.35.syste 1.35.0-5 Boost C++ Libraries (shared libs) i python25 1:2.5.4-1Interpreted, object-oriented language i python25-shlibs 1:2.5.4-1Interpreted, object-oriented language i python26 1:2.6.4-1Interpreted, object-oriented language i python26-shlibs 1:2.6.4-1Interpreted, object-oriented language (By the way, -devel is more appropriate for questions about packaging and to report on unmaintained packages. -users is preferred for bug reports) Sorry. Cc'ing -users, next copy can remove -devel if you want to. Sjors Nah, we started it on -devel, so let's finish it there. I'm just trying to think of ways to make it easier for users to find their issues in the archives. I'm not able to reproduce this error on 10.5/i386. You didn't do anything to your system's Python, by chance? I get the same error on 10.5/i386. Previous revisions of boost1.35.systempython (-2 and -3) built fine, but -5 crashes with the error: 'PyVarObject_HEAD_INIT' was not declared in this scope errors that Sjors also gets. include/python2.5/object.h (fink's or system) doesn't define PyVarObject_HEAD_INIT. python2.6/object.h does. Yet, boost1.35.python25 builds OK. Hanspeter -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] boost1.35.systempython-1.35.0-5 failed to build
Hanspeter Niederstrasser wrote: I get the same error on 10.5/i386. Previous revisions of boost1.35.systempython (-2 and -3) built fine, but -5 crashes with the error: 'PyVarObject_HEAD_INIT' was not declared in this scope errors that Sjors also gets. Like Alex, I didn't get the error on 10.5/i386, but I see now that that I could have got it, too. In fact, the systempython variant does not mean that the package uses necessarily the python from /System/Library. It means rather use whatever python you can find, and this can be different on different machines. This used to be OK, because boost does not really _use_ python, it only creates an interface. Unfortunately, this does not seem to be OK any longer, because the python developers have taken lessons from the freetype2 or gnome guys; they now routinely introduce API incompatibilities, even in micro-version updates. The boost package version 1.35.0-5 has a patch against such an incompatibility between python 2.6.2 and 2.6.3. Anyway, I have now put an updated version 1.35.0-6 on the server which should solve the problem for the moment. It doesn't apply the patch for the systempython variant, so the build error will go away. -- Martin -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] boost1.35.systempython-1.35.0-5 failed to build
Martin Costabel wrote: Hanspeter Niederstrasser wrote: I get the same error on 10.5/i386. Previous revisions of boost1.35.systempython (-2 and -3) built fine, but -5 crashes with the error: 'PyVarObject_HEAD_INIT' was not declared in this scope errors that Sjors also gets. Like Alex, I didn't get the error on 10.5/i386, but I see now that that I could have got it, too. In fact, the systempython variant does not mean that the package uses necessarily the python from /System/Library. It means rather use whatever python you can find, and this can be different on different machines. This used to be OK, because boost does not really _use_ python, it only creates an interface. Unfortunately, this does not seem to be OK any longer, because the python developers have taken lessons from the freetype2 or gnome guys; they now routinely introduce API incompatibilities, even in micro-version updates. The boost package version 1.35.0-5 has a patch against such an incompatibility between python 2.6.2 and 2.6.3. Anyway, I have now put an updated version 1.35.0-6 on the server which should solve the problem for the moment. It doesn't apply the patch for the systempython variant, so the build error will go away. Thanks Martin. Rev. -6 fixed things here. Hanspeter -- Hanspeter Niederstrasser hanspeter AT snaggledworks DOT com -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel