tmg-nl / openstack-overlay Goto Github PK
View Code? Open in Web Editor NEWAn overlay with the required ebuilds to install and run Openstack on Gentoo Linux
An overlay with the required ebuilds to install and run Openstack on Gentoo Linux
I spotted at least 3 ebuilds added yesterday missing a digest.
Namely:
glance-2012.1.2.ebuild
horizon-2012.1.1.ebuild
nova-2012.1.2.ebuild
There are some problems with patch structure. Original source has changed and patch couldn't be applied. Here is working server-setup-disable-initd-install.patch
--- setup.py.orig 2012-11-21 13:22:28.834041747 +0100
+++ setup.py 2012-11-21 13:26:51.704041146 +0100
@@ -39,11 +39,10 @@
'bin/quantum-rootwrap',
]
-config_path = 'etc/quantum/'
-init_path = 'etc/init.d'
+config_path = '/etc/quantum/'
rootwrap_path = 'etc/quantum/rootwrap.d'
ovs_plugin_config_path = 'etc/quantum/plugins/openvswitch'
-cisco_plugin_config_path = 'etc/quantum/plugins/cisco'
+ovs_plugin_config_path = '/etc/quantum/plugins/openvswitch'
linuxbridge_plugin_config_path = 'etc/quantum/plugins/linuxbridge'
nvp_plugin_config_path = 'etc/quantum/plugins/nicira'
ryu_plugin_config_path = 'etc/quantum/plugins/ryu'
@@ -66,7 +65,6 @@
'etc/quantum/rootwrap.d/nec-plugin.filters',
'etc/quantum/rootwrap.d/openvswitch-plugin.filters',
'etc/quantum/rootwrap.d/ryu-plugin.filters']),
Django 1.3.1 was removed from portage 6 weeks ago. But there is a hard dependency on this version in the horizon ebuilds.
Layman overlays are supposed to have a couple directories that are missing from the openstack overlay.
An example from the emacs overlay:
root@sphinkpad:/var/lib/layman/emacs # tree profiles/
profiles/
├── categories
└── repo_name
root@sphinkpad:/var/lib/layman/emacs # tree metadata/
metadata/
└── layout.conf
Here are the warnings I get when trying to use the overlay:
root@sphinkpad:~ # emerge -s python-designateclient
!!! Repository 'openstack' is missing masters attribute in '/var/lib/layman/openstack/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
WARNING: One or more repositories have missing repo_name entries:
/var/lib/layman/openstack/profiles/repo_name
NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.
My portage version is: sys-apps/portage-2.2.26:0
Downloading 'http://pypi.python.org/packages/source/p/python-novaclient/python-novaclient-2.6.6.tar.gz'
--2012-02-19 16:19:44-- http://pypi.python.org/packages/source/p/python-novaclient/python-novaclient-2.6.6.tar.gz
Resolving pypi.python.org... 82.94.164.168, 2001:888:2000:d::a8
Connecting to pypi.python.org|82.94.164.168|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-02-19 16:19:44 ERROR 404: Not Found.
it seams pypi no longer provide that version of package, I have to rename python-novaclient-2.6.6.ebuild into python-novaclient-2012.1.ebuild to install
It would be nice to have python-designateclient.
I've a fresh amd64 system with ~amd64 accept keyword.
Passlib fail tu build because it try tu use python 3.2.
Is it possible to force passlib to use python 2.7?
I'm trying to emerge nova using the overlay for the first time on a freshly updated Gentoo x86_64 machine. When it gets to anyjson, the build fails; excerpt:
* Building of dev-python/anyjson-0.3.3 with CPython 2.7...
python2.7 setup.py build -b build-2.7
running build
running build_py
creating build-2.7
creating build-2.7/lib
creating build-2.7/lib/anyjson
copying anyjson/__init__.py -> build-2.7/lib/anyjson
warning: build_py: byte-compiling is disabled, skipping.
* Building of dev-python/anyjson-0.3.3 with CPython 3.2...
python3.2 setup.py build -b build-3.2
Traceback (most recent call last):
File "setup.py", line 9, in <module>
from setuptools import setup, find_packages
ImportError: No module named setuptools
That looks to me like it runs fine once using python-2.7, then tries to build again with python-3.2, which, of course, fails when it tries to use setuptools. In the anyjson ebuild, I find:
EAPI=3
PYTHON_DEPEND=2
SUPPORT_PYTHON_ABIS=1
RESTRICT_PYTHON_ABIS="3.*"
I find that "RESTRICT" setting in a lot of the ebuilds in the overlay so I assume that's the tweak mentioned in the overlay's documentation page to prevent building with Python 3. Is that right? But if so, why isn't it working for this package? Could there be something missing from this ebuild?
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-21774.log"
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line
F: open_wr
S: deny
P: /proc/xen/privcmd
A: /proc/xen/privcmd
R: /proc/xen/privcmd
C: python2.7 setup.py build -b build-2.7
Portage 2.1.10.44 (hardened/linux/amd64, gcc-4.5.3, glibc-2.13-r4, 3.2.1-gentoo-r2 x86_64)
System uname: Linux-3.2.1-gentoo-r2-x86_64-AMD_Phenom-tm-_II_X4_945_Processor-with-gentoo-2.0.3
Timestamp of tree: Thu, 16 Feb 2012 14:30:01 +0000
app-shells/bash: 4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.6.6-r2, 2.7.2-r3, 3.1.4-r3
dev-util/cmake: 2.8.6-r4
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.9.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.68
sys-devel/automake: 1.10.3, 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.4.5, 4.5.3-r1
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.13-r4
Repositories: gentoo x-openstack
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fPIC"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo/ ftp://mirrors.sohu.com/gentoo/ http://gentoo.channelx.biz/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/openstack"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 berkdb bzip2 cgi cli cracklib crypt ctype cups curl cxx dri exif flatfile ftp gd gdbm gpm hardened hash iconv imap ipv6 jpeg justify lapack memcache mmx modules mudflap multilib mysql mysqli ncurses nls nptl nptlonly openmp pam pax_kernel pcre png pppd python readline reflection romio sasl session simplexml snmp spell spl sqlite sse sse2 ssl status sysfs tcpd tidy tokenizer truetype unicode urandom xml xmlreader xmlwriter xorg xpm zip zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" APACHE2_MPMS="itk" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
ebuild.sh, line 93: Called src_prepare
die "Failed Patch: ${patchname}!";
emerge --info '=net-misc/quantum-9999'
,emerge -pqv '=net-misc/quantum-9999'
.A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.