buildbot and incompatible module versioning
Dagobert Michelsen
dam at opencsw.org
Wed Nov 6 13:35:23 CET 2013
Hi Maciej,
Am 06.11.2013 um 12:14 schrieb Maciej (Matchek) Bliziński <maciej at opencsw.org>:
> 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
Indeed, this works:
> cd
> mkdir -p tmp/buildbot
> cd tmp/buildbot
> virtualenv --no-site-packages sandbox
> source sandbox/bin/activate
> easy_install sqlalchemy==0.7.10
> CPPFLAGS=-D_XPG4_2 easy_install buildbot
> ^^^^^^^^^^^^^^^^^^
>>> 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.
Ok, will try.
Best regards
-- Dago
--
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2351 bytes
Desc: not available
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20131106/59fbf351/attachment.p7s>
More information about the maintainers
mailing list