* [gentoo-user] pycrypto-2.6-r2 fails to build
@ 2013-06-19 0:59 Tamer Higazi
2013-06-19 8:13 ` Helmut Jarausch
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Tamer Higazi @ 2013-06-19 0:59 UTC (permalink / raw
To: gentoo-user
Hi people!
I am trying to build pycrypto, by it fails to merge.
Always I get "ACCESS VIOLATION". I didn't make the merge as user (with
sudo), I am doing it as root from a shell.
Not even a shell opened in gnome. Just in a plain terminal session.
If anybody of you could tell me where the error might be, I would kindly
thank you.
Tamer
The complete build error is here:
http://pastebin.com/raw.php?i=wJsrm2ZH
here the pqv:
[ebuild U ] dev-python/pycrypto-2.6-r2 [2.6] USE="doc* gmp"
PYTHON_TARGETS="python2_7%* -python2_5% -python2_6% -python3_1%
-python3_2% (-python3_3)"
and info:
Portage 2.1.12.2 (default/linux/amd64/13.0/desktop/gnome, gcc-4.6.3,
glibc-2.15-r3, 3.8.13-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname:
Linux-3.8.13-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.2
KiB Mem: 3087856 total, 716656 free
KiB Swap: 3116572 total, 3116572 free
Timestamp of tree: Mon, 17 Jun 2013 21:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash: 4.2_p45
dev-java/java-config: 2.1.12-r1
dev-lang/python: 2.7.3-r3, 3.2.3-r2
dev-util/cmake: 2.8.10.2-r2
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6, 1.12.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.6.3
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo freeswitch
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/lib64/fax
/usr/share/config /usr/share/gnupg/qualified.txt
/usr/share/polkit-1/actions /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild
/etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified
distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch
preserve-libs protect-owned sandbox sfperms strict unknown-features-warn
unmerge-logs unmerge-orphans"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --human-readable
--timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/freeswitch"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apm avahi berkdb bluetooth branding
bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups
custom-cflags cxx dbus disk-partition dri dts dvd dvdr eds emboss encode
evo exif fam firefox flac fontconfig fortran gdbm gif gnome
gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 iconv ipv6
java jpeg kde lcms ldap libnotify libsecret mad mmx mng modules mp3 mp4
mpeg mudflap multilib nautilus ncurses nls nptl ogg opengl openmp pam
pango pcre pdf png policykit ppds pulseaudio python qt3 qt3support qt4
readline scanner sdl session socialweb spell sqlite sse sse2 ssl
startup-notification svg system-sqlite tcpd tiff truetype udev udisks
unicode unlock-notify upower usb vorbis wxwidgets x264 xcb xinerama xml
xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp
atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968
fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic
authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm
authz_default authz_groupfile authz_host authz_owner authz_user
autoindex cache cgi%* cgid%* dav dav_fs dav_lock deflate dir disk_cache
env expires ext_filter file_cache filter headers include info log_config
logio mem_cache mime mime_magic negotiation rewrite setenvif speling
status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi
words flow plan sheets stage tables krita karbon braindump author"
CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool
swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate
evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom
oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing
tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text" LIBREOFFICE_EXTENSIONS="pdfimport" LINGUAS="de en ar"
OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3"
PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7"
RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="sane_backends_mustek_usb2
sane_backends_kvs40xx" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p
iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark
dhcpmac delude chaos account"
USE_PYTHON="2.7"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL,
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] pycrypto-2.6-r2 fails to build
2013-06-19 0:59 [gentoo-user] pycrypto-2.6-r2 fails to build Tamer Higazi
@ 2013-06-19 8:13 ` Helmut Jarausch
2013-06-19 10:41 ` Tamer Higazi
2013-06-19 9:56 ` Daniel Pielmeier
2013-06-19 10:50 ` Helmut Jarausch
2 siblings, 1 reply; 12+ messages in thread
From: Helmut Jarausch @ 2013-06-19 8:13 UTC (permalink / raw
To: gentoo-user
On 06/19/2013 02:59:15 AM, Tamer Higazi wrote:
> Hi people!
> I am trying to build pycrypto, by it fails to merge.
>
>
> Always I get "ACCESS VIOLATION". I didn't make the merge as user (with
> sudo), I am doing it as root from a shell.
>
> Not even a shell opened in gnome. Just in a plain terminal session.
>
> If anybody of you could tell me where the error might be, I would
> kindly
> thank you.
>
>
> Tamer
>
> The complete build error is here:
>
> http://pastebin.com/raw.php?i=wJsrm2ZH
That's strange, since I've just re-emerged the same version of PyCrypto
here.
One difference might be the version of sys-apps/sandbox
On my "unstable" Portage system I'm using sandbox-2.6-rc1 while you have
version 2.5.
> and info:
>
sys-apps/sandbox: 2.5
Perhaps you should file a bug report about this "sandbox violation"
Sorry,
Helmut.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] pycrypto-2.6-r2 fails to build
2013-06-19 0:59 [gentoo-user] pycrypto-2.6-r2 fails to build Tamer Higazi
2013-06-19 8:13 ` Helmut Jarausch
@ 2013-06-19 9:56 ` Daniel Pielmeier
2013-06-19 10:15 ` Tamer Higazi
2013-06-19 10:50 ` Helmut Jarausch
2 siblings, 1 reply; 12+ messages in thread
From: Daniel Pielmeier @ 2013-06-19 9:56 UTC (permalink / raw
To: gentoo-user
2013/6/19 Tamer Higazi <th982a@googlemail.com>:
> Hi people!
> I am trying to build pycrypto, by it fails to merge.
>
>
> Always I get "ACCESS VIOLATION". I didn't make the merge as user (with
> sudo), I am doing it as root from a shell.
>
Which version of setuptools do you have installed?
You can try to rebuild it. If this does not work this is probably a
bug as the compile process tries to access the python site-packages
outside of the sandbox.
--
Regards
Daniel Pielmeier
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] pycrypto-2.6-r2 fails to build
2013-06-19 9:56 ` Daniel Pielmeier
@ 2013-06-19 10:15 ` Tamer Higazi
2013-06-19 10:45 ` Helmut Jarausch
0 siblings, 1 reply; 12+ messages in thread
From: Tamer Higazi @ 2013-06-19 10:15 UTC (permalink / raw
To: gentoo-user
tamer@office / $ emerge -pv setuptools
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-python/setuptools-0.6.30-r1
PYTHON_TARGETS="python2_7 -python2_5 -python2_6 -python3_1 -python3_2"
624 kB
Am 19.06.2013 11:56, schrieb Daniel Pielmeier:
> 2013/6/19 Tamer Higazi <th982a@googlemail.com>:
>> Hi people!
>> I am trying to build pycrypto, by it fails to merge.
>>
>>
>> Always I get "ACCESS VIOLATION". I didn't make the merge as user (with
>> sudo), I am doing it as root from a shell.
>>
>
> Which version of setuptools do you have installed?
>
> You can try to rebuild it. If this does not work this is probably a
> bug as the compile process tries to access the python site-packages
> outside of the sandbox.
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] pycrypto-2.6-r2 fails to build
2013-06-19 8:13 ` Helmut Jarausch
@ 2013-06-19 10:41 ` Tamer Higazi
0 siblings, 0 replies; 12+ messages in thread
From: Tamer Higazi @ 2013-06-19 10:41 UTC (permalink / raw
To: gentoo-user
Same result with the version of sandbox you make use of it!
Tamer
Am 19.06.2013 10:13, schrieb Helmut Jarausch:
>
> That's strange, since I've just re-emerged the same version of PyCrypto
> here.
> One difference might be the version of sys-apps/sandbox
>
> On my "unstable" Portage system I'm using sandbox-2.6-rc1 while you have
> version 2.5.
>
>
>> and info:
>>
> sys-apps/sandbox: 2.5
>
> Perhaps you should file a bug report about this "sandbox violation"
>
> Sorry,
> Helmut.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] pycrypto-2.6-r2 fails to build
2013-06-19 10:15 ` Tamer Higazi
@ 2013-06-19 10:45 ` Helmut Jarausch
0 siblings, 0 replies; 12+ messages in thread
From: Helmut Jarausch @ 2013-06-19 10:45 UTC (permalink / raw
To: gentoo-user
On 06/19/2013 12:15:55 PM, Tamer Higazi wrote:
> tamer@office / $ emerge -pv setuptools
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild R ] dev-python/setuptools-0.6.30-r1
> PYTHON_TARGETS="python2_7 -python2_5 -python2_6 -python3_1 -python3_2"
> 624 kB
>
I've been using version 0.7.3
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] pycrypto-2.6-r2 fails to build
2013-06-19 0:59 [gentoo-user] pycrypto-2.6-r2 fails to build Tamer Higazi
2013-06-19 8:13 ` Helmut Jarausch
2013-06-19 9:56 ` Daniel Pielmeier
@ 2013-06-19 10:50 ` Helmut Jarausch
2013-06-19 10:57 ` Daniel Pielmeier
2 siblings, 1 reply; 12+ messages in thread
From: Helmut Jarausch @ 2013-06-19 10:50 UTC (permalink / raw
To: gentoo-user
On 06/19/2013 02:59:15 AM, Tamer Higazi wrote:
> Hi people!
> I am trying to build pycrypto, by it fails to merge.
>
>
> Always I get "ACCESS VIOLATION". I didn't make the merge as user (with
> sudo), I am doing it as root from a shell.
>
> Not even a shell opened in gnome. Just in a plain terminal session.
>
> If anybody of you could tell me where the error might be, I would
> kindly
> thank you.
>
>
> Tamer
>
> The complete build error is here:
>
> http://pastebin.com/raw.php?i=wJsrm2ZH
In there, there is the message
Permission denied:
'/usr/lib64/python2.7/site-packages/test-easy-install-666.write-test'
I don't have this file here. Could you please check if you have this
file, check it permissions
and delete it in case you have it.
Helmut
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] pycrypto-2.6-r2 fails to build
2013-06-19 10:50 ` Helmut Jarausch
@ 2013-06-19 10:57 ` Daniel Pielmeier
2013-06-19 11:01 ` Helmut Jarausch
0 siblings, 1 reply; 12+ messages in thread
From: Daniel Pielmeier @ 2013-06-19 10:57 UTC (permalink / raw
To: gentoo-user
2013/6/19 Helmut Jarausch <jarausch@igpm.rwth-aachen.de>:
> On 06/19/2013 02:59:15 AM, Tamer Higazi wrote:
>>
>> Hi people!
>> I am trying to build pycrypto, by it fails to merge.
>>
>>
>> Always I get "ACCESS VIOLATION". I didn't make the merge as user (with
>> sudo), I am doing it as root from a shell.
>>
>> Not even a shell opened in gnome. Just in a plain terminal session.
>>
>> If anybody of you could tell me where the error might be, I would kindly
>> thank you.
>>
>>
>> Tamer
>>
>> The complete build error is here:
>>
>> http://pastebin.com/raw.php?i=wJsrm2ZH
>
>
> In there, there is the message
>
> Permission denied:
> '/usr/lib64/python2.7/site-packages/test-easy-install-666.write-test'
>
> I don't have this file here. Could you please check if you have this file,
> check it permissions
> and delete it in case you have it.
>
> Helmut
>
I don't think the file exists, also why should he delete it? It is
setuptools/pycrypto which tries to write files outside the sandbox
which is not allowed.
Tamer you can try if pycrypto installs fine with setuptools 0.7.3. If
yes you should open a bug about the pycrypto-2.6-r2 sandbox issue
with setuptools 0.6.30-r1
--
Regards
Daniel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] pycrypto-2.6-r2 fails to build
2013-06-19 10:57 ` Daniel Pielmeier
@ 2013-06-19 11:01 ` Helmut Jarausch
2013-06-19 11:05 ` Daniel Pielmeier
0 siblings, 1 reply; 12+ messages in thread
From: Helmut Jarausch @ 2013-06-19 11:01 UTC (permalink / raw
To: gentoo-user
On 06/19/2013 12:57:14 PM, Daniel Pielmeier wrote:
> 2013/6/19 Helmut Jarausch <jarausch@igpm.rwth-aachen.de>:
> >> The complete build error is here:
> >>
> >> http://pastebin.com/raw.php?i=wJsrm2ZH
> >
> >
> > In there, there is the message
> >
> > Permission denied:
> >
> '/usr/lib64/python2.7/site-packages/test-easy-install-666.write-test'
> >
> > I don't have this file here. Could you please check if you have
> this file,
> > check it permissions
> > and delete it in case you have it.
> >
> > Helmut
> >
>
> I don't think the file exists, also why should he delete it? It is
> setuptools/pycrypto which tries to write files outside the sandbox
> which is not allowed.
Because it could be that something first checks the existence of that
file
and only if it exists, tries to remove or use it.
Helmut
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] pycrypto-2.6-r2 fails to build
2013-06-19 11:01 ` Helmut Jarausch
@ 2013-06-19 11:05 ` Daniel Pielmeier
2013-06-19 12:23 ` [gentoo-user] pycrypto-2.6-r2 fails to build (SOLVED) Tamer Higazi
0 siblings, 1 reply; 12+ messages in thread
From: Daniel Pielmeier @ 2013-06-19 11:05 UTC (permalink / raw
To: gentoo-user
2013/6/19 Helmut Jarausch <jarausch@igpm.rwth-aachen.de>:
> On 06/19/2013 12:57:14 PM, Daniel Pielmeier wrote:
>>
>> 2013/6/19 Helmut Jarausch <jarausch@igpm.rwth-aachen.de>:
>>
>> >> The complete build error is here:
>> >>
>> >> http://pastebin.com/raw.php?i=wJsrm2ZH
>> >
>> >
>> > In there, there is the message
>> >
>> > Permission denied:
>> > '/usr/lib64/python2.7/site-packages/test-easy-install-666.write-test'
>> >
>> > I don't have this file here. Could you please check if you have this
>> > file,
>> > check it permissions
>> > and delete it in case you have it.
>> >
>> > Helmut
>> >
>>
>> I don't think the file exists, also why should he delete it? It is
>> setuptools/pycrypto which tries to write files outside the sandbox
>> which is not allowed.
>
>
> Because it could be that something first checks the existence of that file
> and only if it exists, tries to remove or use it.
>
> Helmut
>
>
No ebuild should mess with the live system!!!
The problem is probably with the doc use flag.
Tamer you can also try to install pycrypto without this use flag. If
it works you should open a bug about pycypto failing to build with the
doc use flag.
--
Daniel Pielmeier
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] pycrypto-2.6-r2 fails to build (SOLVED)
2013-06-19 11:05 ` Daniel Pielmeier
@ 2013-06-19 12:23 ` Tamer Higazi
2013-06-19 12:24 ` Tamer Higazi
0 siblings, 1 reply; 12+ messages in thread
From: Tamer Higazi @ 2013-06-19 12:23 UTC (permalink / raw
To: gentoo-user
Daniel!
You were absolutely right, it was the "doc" USE Flag that caused the
problem.
Thank you
Am 19.06.2013 13:05, schrieb Daniel Pielmeier:
> No ebuild should mess with the live system!!!
>
> The problem is probably with the doc use flag.
> Tamer you can also try to install pycrypto without this use flag. If
> it works you should open a bug about pycypto failing to build with the
> doc use flag.
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] pycrypto-2.6-r2 fails to build (SOLVED)
2013-06-19 12:23 ` [gentoo-user] pycrypto-2.6-r2 fails to build (SOLVED) Tamer Higazi
@ 2013-06-19 12:24 ` Tamer Higazi
0 siblings, 0 replies; 12+ messages in thread
From: Tamer Higazi @ 2013-06-19 12:24 UTC (permalink / raw
To: gentoo-user
And I will file this evening a bug of course......
Am 19.06.2013 14:23, schrieb Tamer Higazi:
> Daniel!
> You were absolutely right, it was the "doc" USE Flag that caused the
> problem.
>
>
> Thank you
>
>
> Am 19.06.2013 13:05, schrieb Daniel Pielmeier:
>
>> No ebuild should mess with the live system!!!
>>
>> The problem is probably with the doc use flag.
>> Tamer you can also try to install pycrypto without this use flag. If
>> it works you should open a bug about pycypto failing to build with the
>> doc use flag.
>>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2013-06-19 12:24 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-19 0:59 [gentoo-user] pycrypto-2.6-r2 fails to build Tamer Higazi
2013-06-19 8:13 ` Helmut Jarausch
2013-06-19 10:41 ` Tamer Higazi
2013-06-19 9:56 ` Daniel Pielmeier
2013-06-19 10:15 ` Tamer Higazi
2013-06-19 10:45 ` Helmut Jarausch
2013-06-19 10:50 ` Helmut Jarausch
2013-06-19 10:57 ` Daniel Pielmeier
2013-06-19 11:01 ` Helmut Jarausch
2013-06-19 11:05 ` Daniel Pielmeier
2013-06-19 12:23 ` [gentoo-user] pycrypto-2.6-r2 fails to build (SOLVED) Tamer Higazi
2013-06-19 12:24 ` Tamer Higazi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox