PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 637 - Compilation error
: Compilation error
Status: CLOSED INVALID
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: Macintosh Mac OS
: P2 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-01-24 16:05 EET by Daniel Ashbrook
Modified: 2011-02-17 19:19 EET (History)
8 users (show)

See Also:


Attachments
Shiboken build directory (858.33 KB, application/x-bzip2)
2011-02-02 19:19 EET, Daniel Ashbrook
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Ashbrook 2011-01-24 16:05:55 EET
Probably another configuration issue, but; using this cmake config:

cmake .. -DCMAKE_INSTALL_PREFIX=../../install/usr
-DGENERATOR=../../usr/bin/shiboken
-DALTERNATIVE_QT_INCLUDE_DIR=/Library/Frameworks
-DSITE_PACKAGE=../../install/Library/Python/2.6/site-packages

I get the following trying to compile PySide:

[  2%] Building CXX object
PySide/QtCore/CMakeFiles/QtCore.dir/PySide/QtCore/qabstracteventdispatcher_wrapper.cpp.o
In file included from
/Users/dan/tmp/pyside/pyside/build/PySide/QtCore/PySide/QtCore/qabstracteventdispatcher_wrapper.cpp:38:
/Users/dan/tmp/pyside/pyside/build/PySide/QtCore/PySide/QtCore/pyside_qtcore_python.h:2391:
error: 'SbkTypeInfo' is not a template
/Users/dan/tmp/pyside/pyside/build/PySide/QtCore/PySide/QtCore/pyside_qtcore_python.h:2392:
error: explicit specialization of non-template 'Shiboken::SbkTypeInfo'

and a number of errors following from that.
Comment 1 Matti Airas 2011-01-25 05:25:13 EET
Hm, looks like a different issue than the previous ones. Prioritizing P2.

I suggest providing, if possible, the buildbot build configuration as a
reference to help debugging the recurrent OS X compilation issues.
Comment 2 Hugo Parente Lima 2011-02-01 17:56:20 EET
Could you provide more info?
Like:

- Attach the CMakeCache.txt file generated by cmake in the build dir.
- Attach the pyside_qtcore_python.h file, maybe other generated files.
- What revision of each project are you using.

Anyway.. did you try to compile it again?
Comment 3 Daniel Ashbrook 2011-02-02 19:19:19 EET
Created attachment 247 [details]
Shiboken build directory
Comment 4 Daniel Ashbrook 2011-02-02 19:21:06 EET
Updated to latest head for all branches (how to tell the revision number?). I'm
building in order: apiextractor, generatorrunner, shiboken, pyside; as each
completes successfully, I'm installing to a temporary build directory. Same
cmake config as above, and I've removed /usr/lib/cmake entirely.

I'm still only making it to shiboken; now (with the latest head) I'm getting:

[ 38%] Running generator for 'sample' test binding...
Fatal error: line=264, column=61, message=unsupported class attribute: 'native'

Cannot parse file:
/Users/dan/tmp/pyside/shiboken/tests/samplebinding/typesystem_sample.xmlmake[2]:
*** [tests/samplebinding/sample/abstractmodifications_wrapper.cpp] Error 1
make[1]: *** [tests/samplebinding/CMakeFiles/sample.dir/all] Error 2
make: *** [all] Error 2

Attaching entire shiboken build directory.
Comment 5 Hugo Parente Lima 2011-02-04 15:56:05 EET
(In reply to comment #4)
> [ 38%] Running generator for 'sample' test binding...
> Fatal error: line=264, column=61, message=unsupported class attribute: 'native'

This is pretty strange, because this is a XML syntax error, so it should happen
on any env. but it's not happening on our buildbot slaves, neither on my
machine.

In other words, I can't reproduce this.

> Cannot parse file:
> /Users/dan/tmp/pyside/shiboken/tests/samplebinding/typesystem_sample.xmlmake[2]:
> *** [tests/samplebinding/sample/abstractmodifications_wrapper.cpp] Error 1
> make[1]: *** [tests/samplebinding/CMakeFiles/sample.dir/all] Error 2
> make: *** [all] Error 2
> 
> Attaching entire shiboken build directory.
Comment 6 Daniel Ashbrook 2011-02-04 16:15:04 EET
So it's something in my environment; any thoughts on how to isolate the
problem? The two files it references
(shiboken/tests/samplebinding/typesystem_sample.xmlmake and
tests/samplebinding/sample/abstractmodifications_wrapper.cpp) don't exist after
the error, so I'm guessing they're dynamically generated.
Comment 7 Hugo Parente Lima 2011-02-04 16:50:45 EET
(In reply to comment #6)
> So it's something in my environment; any thoughts on how to isolate the
> problem? The two files it references
> (shiboken/tests/samplebinding/typesystem_sample.xmlmake and
> tests/samplebinding/sample/abstractmodifications_wrapper.cpp) don't exist after
> the error, so I'm guessing they're dynamically generated.

No they aren't, this is why your error message is so weird, try to checkout the
code again from git, it seens there are missing files in your working copy.
Comment 8 Daniel Ashbrook 2011-02-04 16:54:28 EET
I've checked out the latest source tree, fresh, and am using the build script
from the buildscripts repository; so far, it looks like it's working. It's
gotten past shiboken and is 66% through pyside now. So I think this bug can be
closed as invalid.
Comment 9 Hugo Parente Lima 2011-02-04 17:15:10 EET
ok, closing it.
Comment 10 Hugo Parente Lima 2011-02-17 19:19:05 EET
Closing bug due to 1.0.0~rc1 release.