Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365351 - dev-python/pycrypto forces -O3 from build system as opposed to respecting user set level
Summary: dev-python/pycrypto forces -O3 from build system as opposed to respecting use...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-29 20:25 UTC by Samuli Suominen (RETIRED)
Modified: 2018-04-20 21:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild patch (pycrypto.patch,493 bytes, patch)
2011-12-02 09:36 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2011-04-29 20:25:41 UTC
# grep C.*FLAGS /etc/make.conf
CFLAGS="-O2 -pipe -mcpu=power5 -mtune=power5" # -mabi=altivec"
CXXFLAGS="-O2 -pipe -mcpu=power5 -mtune=power5" # -mabi=altivec"

>>> Emerging (1 of 2) dev-python/pycrypto-2.3

[ .. ]

running build_ext
building 'Crypto.PublicKey._fastmath' extension
creating build-2.7/temp.linux-ppc64-2.7
creating build-2.7/temp.linux-ppc64-2.7/src
powerpc64-unknown-linux-gnu-gcc -pthread -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/_fastmath.c -o build-2.7/temp.linux-ppc64-2.7/src/_fastmath.o
powerpc64-unknown-linux-gnu-gcc -pthread -shared -Wl,--as-needed -O2 -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing build-2.7/temp.linux-ppc64-2.7/src/_fastmath.o -L/usr/lib64 -lgmp -lpython2.7 -o build-2.7/lib.linux-ppc64-2.7/Crypto/PublicKey/_fastmath.so
building 'Crypto.Hash.MD2' extension
powerpc64-unknown-linux-gnu-gcc -pthread -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build-2.7/temp.linux-ppc64-2.7/src/MD2.o
powerpc64-unknown-linux-gnu-gcc -pthread -shared -Wl,--as-needed -O2 -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing build-2.7/temp.linux-ppc64-2.7/src/MD2.o -L/usr/lib64 -lpython2.7 -o build-2.7/lib.linux-ppc64-2.7/Crypto/Hash/MD2.so
building 'Crypto.Hash.MD4' extension
powerpc64-unknown-linux-gnu-gcc -pthread -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD4.c -o build-2.7/temp.linux-ppc64-2.7/src/MD4.o
powerpc64-unknown-linux-gnu-gcc -pthread -shared -Wl,--as-needed -O2 -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing build-2.7/temp.linux-ppc64-2.7/src/MD4.o -L/usr/lib64 -lpython2.7 -o build-2.7/lib.linux-ppc64-2.7/Crypto/Hash/MD4.so
building 'Crypto.Hash.SHA256' extension
powerpc64-unknown-linux-gnu-gcc -pthread -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA256.c -o build-2.7/temp.linux-ppc64-2.7/src/SHA256.o
powerpc64-unknown-linux-gnu-gcc -pthread -shared -Wl,--as-needed -O2 -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing build-2.7/temp.linux-ppc64-2.7/src/SHA256.o -L/usr/lib64 -lpython2.7 -o build-2.7/lib.linux-ppc64-2.7/Crypto/Hash/SHA256.so
building 'Crypto.Hash.RIPEMD160' extension
powerpc64-unknown-linux-gnu-gcc -pthread -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing -fPIC -std=c99 -O3 -fomit-frame-pointer -DPCT_BIG_ENDIAN=1 -Isrc/ -I/usr/include/python2.7 -c src/RIPEMD160.c -o build-2.7/temp.linux-ppc64-2.7/src/RIPEMD160.o
powerpc64-unknown-linux-gnu-gcc -pthread -shared -Wl,--as-needed -O2 -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing build-2.7/temp.linux-ppc64-2.7/src/RIPEMD160.o -L/usr/lib64 -lpython2.7 -o build-2.7/lib.linux-ppc64-2.7/Crypto/Hash/RIPEMD160.so
building 'Crypto.Cipher.AES' extension
powerpc64-unknown-linux-gnu-gcc -pthread -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/AES.c -o build-2.7/temp.linux-ppc64-2.7/src/AES.o
powerpc64-unknown-linux-gnu-gcc -pthread -shared -Wl,--as-needed -O2 -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing build-2.7/temp.linux-ppc64-2.7/src/AES.o -L/usr/lib64 -lpython2.7 -o build-2.7/lib.linux-ppc64-2.7/Crypto/Cipher/AES.so
building 'Crypto.Cipher.ARC2' extension
powerpc64-unknown-linux-gnu-gcc -pthread -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/ARC2.c -o build-2.7/temp.linux-ppc64-2.7/src/ARC2.o
powerpc64-unknown-linux-gnu-gcc -pthread -shared -Wl,--as-needed -O2 -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing build-2.7/temp.linux-ppc64-2.7/src/ARC2.o -L/usr/lib64 -lpython2.7 -o build-2.7/lib.linux-ppc64-2.7/Crypto/Cipher/ARC2.so
building 'Crypto.Cipher.Blowfish' extension
powerpc64-unknown-linux-gnu-gcc -pthread -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/Blowfish.c -o build-2.7/temp.linux-ppc64-2.7/src/Blowfish.o
powerpc64-unknown-linux-gnu-gcc -pthread -shared -Wl,--as-needed -O2 -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing build-2.7/temp.linux-ppc64-2.7/src/Blowfish.o -L/usr/lib64 -lpython2.7 -o build-2.7/lib.linux-ppc64-2.7/Crypto/Cipher/Blowfish.so
building 'Crypto.Cipher.CAST' extension
powerpc64-unknown-linux-gnu-gcc -pthread -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/CAST.c -o build-2.7/temp.linux-ppc64-2.7/src/CAST.o
powerpc64-unknown-linux-gnu-gcc -pthread -shared -Wl,--as-needed -O2 -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing build-2.7/temp.linux-ppc64-2.7/src/CAST.o -L/usr/lib64 -lpython2.7 -o build-2.7/lib.linux-ppc64-2.7/Crypto/Cipher/CAST.so
building 'Crypto.Cipher.DES' extension
powerpc64-unknown-linux-gnu-gcc -pthread -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -Isrc/libtom/ -I/usr/include/python2.7 -c src/DES.c -o build-2.7/temp.linux-ppc64-2.7/src/DES.o
powerpc64-unknown-linux-gnu-gcc -pthread -shared -Wl,--as-needed -O2 -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing build-2.7/temp.linux-ppc64-2.7/src/DES.o -L/usr/lib64 -lpython2.7 -o build-2.7/lib.linux-ppc64-2.7/Crypto/Cipher/DES.so
building 'Crypto.Cipher.DES3' extension
powerpc64-unknown-linux-gnu-gcc -pthread -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -Isrc/libtom/ -I/usr/include/python2.7 -c src/DES3.c -o build-2.7/temp.linux-ppc64-2.7/src/DES3.o
powerpc64-unknown-linux-gnu-gcc -pthread -shared -Wl,--as-needed -O2 -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing build-2.7/temp.linux-ppc64-2.7/src/DES3.o -L/usr/lib64 -lpython2.7 -o build-2.7/lib.linux-ppc64-2.7/Crypto/Cipher/DES3.so
building 'Crypto.Cipher.ARC4' extension
powerpc64-unknown-linux-gnu-gcc -pthread -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/ARC4.c -o build-2.7/temp.linux-ppc64-2.7/src/ARC4.o
powerpc64-unknown-linux-gnu-gcc -pthread -shared -Wl,--as-needed -O2 -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing build-2.7/temp.linux-ppc64-2.7/src/ARC4.o -L/usr/lib64 -lpython2.7 -o build-2.7/lib.linux-ppc64-2.7/Crypto/Cipher/ARC4.so
building 'Crypto.Cipher.XOR' extension
powerpc64-unknown-linux-gnu-gcc -pthread -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/XOR.c -o build-2.7/temp.linux-ppc64-2.7/src/XOR.o
powerpc64-unknown-linux-gnu-gcc -pthread -shared -Wl,--as-needed -O2 -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing build-2.7/temp.linux-ppc64-2.7/src/XOR.o -L/usr/lib64 -lpython2.7 -o build-2.7/lib.linux-ppc64-2.7/Crypto/Cipher/XOR.so
building 'Crypto.Util.strxor' extension
powerpc64-unknown-linux-gnu-gcc -pthread -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/strxor.c -o build-2.7/temp.linux-ppc64-2.7/src/strxor.o
powerpc64-unknown-linux-gnu-gcc -pthread -shared -Wl,--as-needed -O2 -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing build-2.7/temp.linux-ppc64-2.7/src/strxor.o -L/usr/lib64 -lpython2.7 -o build-2.7/lib.linux-ppc64-2.7/Crypto/Util/strxor.so
building 'Crypto.Util._counter' extension
powerpc64-unknown-linux-gnu-gcc -pthread -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/_counter.c -o build-2.7/temp.linux-ppc64-2.7/src/_counter.o
powerpc64-unknown-linux-gnu-gcc -pthread -shared -Wl,--as-needed -O2 -pipe -mcpu=power5 -mtune=power5 -fno-inline-functions -fno-strict-aliasing build-2.7/temp.linux-ppc64-2.7/src/_counter.o -L/usr/lib64 -lpython2.7 -o build-2.7/lib.linux-ppc64-2.7/Crypto/Util/_counter.so
>>> Source compiled.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-12-02 09:36:23 UTC
Created attachment 294491 [details, diff]
ebuild patch

A 2 line patch.  tested, works
Comment 2 Mike Gilbert gentoo-dev 2011-12-14 22:17:54 UTC
Upstream appears to be doing this intentionally. Does this cause the package to not function properly?
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-20 21:23:58 UTC
No reply, package dead.