buildbot and incompatible module versioning

Maciej (Matchek) Bliziński maciej at opencsw.org
Wed Nov 6 12:14:23 CET 2013


2013/11/6 Dagobert Michelsen <dam at opencsw.org>:
> Well, it does not work when trying to install twisted because there is a definition
> like this missing:
>   EXTRA_CPPFLAGS += -D_XPG4_2

Does this work?
http://stackoverflow.com/questions/9849257/how-to-set-cflags-and-ldflags-to-compile-pycrypto

>> If you insist on having a package, you could create an alternate
>> sqlalchemy package that would not install into /opt/csw/lib/pythonX.Y
>> but some custom place, specifically for buildbot. Then you could use
>> the PYTHONPATH env variable to access this library.
>>
>> You could combine the two like so:
>>
>> export VIRTUALENV_EXTRA_SEARCH_DIR="/path/to/dists /path/to/other/dists"
>>
>> http://www.virtualenv.org/en/latest/#environment-variables-and-configuration-files
>
> The it would be best to add the specific version of sqlalchemy to the buildbot
> package and make wrappers around the executables?

Yes, it's best if buildbot comes with a private copy of sqlalchemy.

Maciej


More information about the maintainers mailing list