Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to emerge dev-python/markupsafe-0.15
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
elmar283
Tux's lil' helper
Tux's lil' helper


Joined: 06 Dec 2004
Posts: 139
Location: Netherlands

PostPosted: Sat Apr 21, 2012 2:55 pm    Post subject: Unable to emerge dev-python/markupsafe-0.15 Reply with quote

After 'emerge -aDNvu @world' and 'emerge -acv' dev-python/markupsafe-0.15 failed to compile. I ran 'revdep-rebuild'. It needs to be compiled to fix broken librarys.

Does someone knows how to fix this?

Here are some logs and config files.

sudo cat /var/tmp/portage/dev-python/markupsafe-0.15/temp/build.log has logged:
Code:

sudo cat /var/tmp/portage/dev-python/markupsafe-0.15/temp/build.log
 * Package:    dev-python/markupsafe-0.15
 * Repository: gentoo
 * Maintainer: python@gentoo.org
 * USE:        elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking MarkupSafe-0.15.tar.gz to /var/tmp/portage/dev-python/markupsafe-0.15/work
>>> Source unpacked in /var/tmp/portage/dev-python/markupsafe-0.15/work
>>> Preparing source in /var/tmp/portage/dev-python/markupsafe-0.15/work/MarkupSafe-0.15 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/markupsafe-0.15/work/MarkupSafe-0.15 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/markupsafe-0.15/work/MarkupSafe-0.15 ...
 * Building of dev-python/markupsafe-0.15 with CPython 2.7...
python2.7 setup.py --with-speedups build -b build-2.7
running build
running build_py
creating build-2.7
creating build-2.7/lib.linux-i686-2.7
creating build-2.7/lib.linux-i686-2.7/markupsafe
copying markupsafe/__init__.py -> build-2.7/lib.linux-i686-2.7/markupsafe
copying markupsafe/tests.py -> build-2.7/lib.linux-i686-2.7/markupsafe
copying markupsafe/_constants.py -> build-2.7/lib.linux-i686-2.7/markupsafe
copying markupsafe/_native.py -> build-2.7/lib.linux-i686-2.7/markupsafe
running egg_info
writing MarkupSafe.egg-info/PKG-INFO
writing top-level names to MarkupSafe.egg-info/top_level.txt
writing dependency_links to MarkupSafe.egg-info/dependency_links.txt
reading manifest file 'MarkupSafe.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'MarkupSafe.egg-info/SOURCES.txt'
copying markupsafe/_speedups.c -> build-2.7/lib.linux-i686-2.7/markupsafe
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
building 'markupsafe._speedups' extension
creating build-2.7/temp.linux-i686-2.7
creating build-2.7/temp.linux-i686-2.7/markupsafe
i686-pc-linux-gnu-gcc -pthread -O2 -march=native -pipe -fPIC -I/usr/include/python2.7 -c markupsafe/_speedups.c -o build-2.7/temp.linux-i686-2.7/markupsafe/_speedups.o
i686-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -O2 -march=native -pipe build-2.7/temp.linux-i686-2.7/markupsafe/_speedups.o -L/usr/lib -lpython2.7 -o build-2.7/lib.linux-i686-2.7/markupsafe/_speedups.so
 * Building of dev-python/markupsafe-0.15 with CPython 3.2...
python3.2 setup.py --with-speedups build -b build-3.2
Traceback (most recent call last):
  File "setup.py", line 3, in <module>
    from setuptools import setup, Extension, Feature
ImportError: No module named setuptools
 * ERROR: dev-python/markupsafe-0.15 failed (compile phase):
 *   Building failed with CPython 3.2 in distutils_building() function
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 3645:  Called distutils_src_compile
 *   environment, line  949:  Called python_execute_function 'distutils_building'
 *   environment, line 2022:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 *
 * If you need support, post the output of 'emerge --info =dev-python/markupsafe-0.15',
 * the complete build log and the output of 'emerge -pqv =dev-python/markupsafe-0.15'.
 * The complete build log is located at '/var/tmp/portage/dev-python/markupsafe-0.15/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/markupsafe-0.15/temp/environment'.
 * S: '/var/tmp/portage/dev-python/markupsafe-0.15/work/MarkupSafe-0.15'


make.conf:
Code:

cat /etc/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=native -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"

#LINGUAS="nl nl_NL"

LINGUAS="nl"

LANG="nl_NL"

USE="apache2 acpi alsa apm autoip avahi bonjour cdr curl cups dbus dvd exif expat fuse gd geoip gs howl-compat imagemagick imap jpeg jpeg2k libwww lm_sensors maildir mdnsresponder-compat mysql mysqli nls ntp pear pam pcre perl php pmu python png spamassassin sasl ssl sql tiff truetype unicode xml zeroconf -ipv6 -X -X11 -xorg -gtk -gnome -ppp -qt4 -kde"

APACHE2_MODULES="alias auth_basic auth_digest authn_default authn_file authz_user cache dav dav_fs dav_lock rewrite authz_host dir mime unique_id"

APACHE2_MPMS="prefork"

VIDEO_CARDS="radeon"

ALSA_CARDS="AC97"

GENTOO_MIRRORS="rsync://mirror.leaseweb.com/gentoo/ http://mirror.leaseweb.com/gentoo/ ftp://mirror.leaseweb.com/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo rsync://ftp.snt.utwente.nl/gentoo"

SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"

ACCEPT_LICENSE="*"

PORTDIR_OVERLAY="/usr/local/portage"


package.use
Code:


cat /etc/portage/package.use
dev-lang/php apache2 bzip2 calendar cgi cli curl exif ftp gd gmp iconv ming mysql mysqli nls pcre session simplexml soap spell spl sqlite sqlite3 ssl tokenizer truetype unicode xml xmlrpc xmlwriter zip
media-gfx/imagemagick bzip2 corefonts cxx gs jpeg openmp perl png tiff truetype xml zlib jpeg2k 
net-fs/samba aov acl avahi client cups netapi pam python readline server smbclient caps quota smbsharemodes swat syslog winbind
sys-libs/talloc compat
app-misc/mc edit gpm nls samba
net-dns/bind berkdb dlz mysql ssl xml resolvconf
mail-client/squirrelmail mysql nls ssl filter spell
dev-db/phpmyadmin -setup
net-print/cups dbus jpeg nls pam php png ppds python samba slp ssl tiff usb
net-print/gutenprint cups readline ppds
media-sound/mt-daapd vorbis
#app-accessibility/speech-dispatcher pulseaudio
www-client/elinks javascript ftp
www-apps/owncloud USE="curl mysql sqlite3 vhosts
net-print/bjfilter ip4100


package.keywords
Code:


cat /etc/portage/package.keywords
sci-misc/boinc
app-admin/webmin
www-apps/owncloud
#required by bjfilter (argument)
net-print/bjfilter ~x86


package.unmask
Code:


cat /etc/portage/package.unmask
net-irc/bitchx
sys-fs/fuse-exfat
sys-fs/exfat-utils


package.accept_keywords
Code:


cat /etc/portage/package.accept_keywords
mail-client/smtpclient
Back to top
View user's profile Send private message
redcap
n00b
n00b


Joined: 10 Jul 2010
Posts: 14

PostPosted: Thu Apr 26, 2012 10:04 pm    Post subject: Reply with quote

Hi there,

I ran into the same problem.
Code:
emerge -1 setuptools
emerge -1 sip


fixed this issue for me.
Back to top
View user's profile Send private message
njuk-njuk
n00b
n00b


Joined: 24 Aug 2003
Posts: 65
Location: New York, NY

PostPosted: Sat Apr 28, 2012 11:04 pm    Post subject: Reply with quote

redcap wrote:
Hi there,

I ran into the same problem.
Code:
emerge -1 setuptools
emerge -1 sip


fixed this issue for me.


thanks redcap.

i had the same problem during a revdep-rebuild. markupsafe failed to rebuild as a result of problems with setuptools, so the first emerge above solved that. then, PyQt4 failed to rebuild as a result of problems with sip, so the second emerge above cleared that up.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum