alunduil / etest Goto Github PK
View Code? Open in Web Editor NEWebuild testing framework
License: MIT License
ebuild testing framework
License: MIT License
Error: /home/alunduil/Projects/gentoo/portage-tree/app-emulation/bochs/bochs-2.4.1.ebuild
128: if [ use vnc ]
^
unexpected token: [ use vnc ]
then
dodoc README.rfb || die "dodoc failed"
fi
if [ use wxwidgets ]
then
dodoc README-wxWindows || die "dodoc failed"
fi
}
testuser@archtester ~/cvsPortage/gentoo-x86/dev-python/lxml $ etest lxml-3.4.0.ebuild
47: for test in test.py selftest.py selftest2.py; do
^
unexpected token (DO): do
Error: 47: for test in test.py selftest.py selftest2.py; do
^
unexpected token (DO): do
Error: /home/alunduil/Projects/gentoo/portage-tree/app-arch/afio/afio-2.5.1.ebuild
27: for i in 1 2 3 4; do
^
unexpected token (NUMBER): 1
Error: /home/alunduil/Projects/gentoo/portage-tree/app-cdr/acetoneiso/acetoneiso-2.3.ebuild
6: MY_P=${PN}_${PV}
^
unexpected token: _${PV}
inherit flag-o-matic qt4-r2
DESCRIPTION="a feature-rich and complete software application to manage CD/DVD images"
HOMEPAGE="http://sourceforge.net/projects/${PN}/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="kde"
DEPEND="dev-qt/qtcore:4
dev-qt/qtdbus:4
dev-qt/qtgui:4
dev-qt/qtwebkit:4
kde? ( media-libs/phonon )
!kde? ( || ( dev-qt/qtphonon:4 media-libs/phonon ) )"
RDEPEND="${DEPEND}
sys-fs/fuseiso"
S=${WORKDIR}/${MY_P}/${PN}
DOCS=(../AUTHORS ../CHANGELOG ../FEATURES ../README)
src_prepare() {
sed -i -e 's:unrar-nonfree:unrar:g' sources/compress.h locale/*.ts || die
sed -i -e 's:include <Phonon/:include <:' sources/* || die "phonon sed failed"
}
src_configure() {
append-cxxflags -I/usr/include/KDE/Phonon
qt4-r2_src_configure
}
Error: /home/alunduil/Projects/gentoo/portage-tree/app-forensics/air/air-2.0.0-r1.ebuild
25: export PERLTK_VER=`perl -e 'use Tk;print "$Tk::VERSION";'`
^
unexpected token: `perl -e 'use Tk;print "$Tk::VERSION";'`
env INTERACTIVE=no INSTALL_DIR="${D}/usr" TEMP_DIR="${T}" \
FINAL_INSTALL_DIR=/usr \
./install-${P} \
|| die "failed to install - please attach ${T}/air-install.log to a bug report at http://bugs.gentoo.org"
dodoc README
dodoc "${T}/air-install.log"
fowners root:users /usr/share/air/logs
fperms ug+rwx /usr/share/air/logs
fperms a+x /usr/bin/air
mkfifo "${D}usr/share/air/air-fifo" || die "pipe creation failed"
fperms ug+rw /usr/share/air/air-fifo
fowners root:users /usr/share/air/air-fifo
}
pkg_postinst() {
elog "The author, [email protected], would appreciate an email of the install file /usr/share/doc/${PF}/air-install.log"
}
Error: /home/alunduil/Projects/gentoo/portage-tree/app-accessibility/SphinxTrain/SphinxTrain-0.9.1-r1.ebuild
31: find bin.* -mindepth 1 -maxdepth 1 -type f -exec dobin '{}' \; || die
^
unexpected token: \; || die
dodoc README etc/*cfg
dohtml doc/*{txt,html,sgml}
}
pkg_postinst() {
elog "Detailed usage and training instructions can be found at"
elog "http://www.speech.cs.cmu.edu/SphinxTrain/"
}
Error: /home/alunduil/Projects/gentoo/portage-tree/kde-base/gwenview/gwenview-4.12.5.ebuild
34: else
^
unexpected token (ELSE): else
=net-wireless/grimwepa-1.10_p5-r100[+extra,test]
USE flags should not start with a '+': +extra
Error: /home/alunduil/Projects/gentoo/portage-tree/app-portage/cfg-update/cfg-update-1.8.7.ebuild
31: eend $?
^
unexpected token: $?
ebegin "Disabling paludis hook"
cfg-update --ebuild --disable-paludis-hook
eend $?
fi
}
pkg_postrm() {
ewarn
ewarn "If you want to permanently remove cfg-update from your system"
ewarn "you should manually remove the alias for emerge from /root/.bashrc"
ewarn "followed by running: unalias emerge"
ewarn "and remove the index file /var/lib/cfg-update/checksum.index"
ewarn
}
src_install() {
exeinto /usr/bin
doexe cfg-update emerge_with_indexing_for_cfg-update emerge_with_indexing_for_cfg-update_phphelper cfg-update_phphelper emerge_with_indexing_for_cfg-update_bashhelper
insinto /usr/lib/cfg-update
doins cfg-update cfg-update_indexing .bashrc test.tgz
dodoc ChangeLog
doman *.8
insinto /etc
doins cfg-update.conf
doins cfg-update.hosts
keepdir /var/lib/cfg-update
}
pkg_postinst() {
if [[ ! -e "${ROOT}"/var/lib/cfg-update/checksum.index \
&& -e "${ROOT}"/var/lib/cfg-update/checksum.index ]]
then
ebegin "Moving checksum.index from /usr/lib/cfg-update to /var/lib/cfg-update"
mv "${ROOT}"/usr/lib/cfg-update/checksum.index \
"${ROOT}"/var/lib/cfg-update/checksum.index
eend $?
fi
if [[ -e "${ROOT}"/usr/bin/paludis ]]
then
ewarn
ewarn "If you have used Paludis version <0.20.0 on your system, chances are"
ewarn "that you have some corrupted CONTENTS files on your system..."
ewarn
ewarn "Please run: cfg-update --check-packages"
ewarn
ewarn "The above command will check all packages installed with Paludis and"
ewarn "will output a list of packages that need to be re-installed with"
ewarn "Paludis 0.20.0 or higher. If you do not re-install these packages"
ewarn "you risk losing your custom settings when updating configuration"
ewarn "files, that belong to these packages, with cfg-update!"
ewarn
fi
if [[ ${ROOT} == / ]]
then
ebegin "Moving backups to /var/lib/cfg-update/backups"
/usr/bin/cfg-update --ebuild --move-backups
eend $?
fi
einfo
einfo "If this is a first time install, please check the configuration"
einfo "in /etc/cfg-update.conf before using cfg-update:"
einfo
einfo "If your system does not have an X-server installed you need to"
einfo "change the MERGE_TOOL to sdiff, imediff2 or vimdiff."
einfo "If you have X installed, set MERGE_TOOL to your favorite GUI tool:"
einfo "xxdiff, beediff, kdiff3, meld (default), gtkdiff, gvimdiff, tkdiff"
einfo
einfo "TIP: to maximize the chances of future automatic updates, run:"
einfo "cfg-update --optimize-backups"
einfo
}
28: local localblas="$(for i in $($(tc-getPKG_CONFIG) --libs-only-l blas lapack);do a="${a} ${i/-l/${locallib}}.so "; done; echo ${a})"
^
unexpected token (WORD): .so
Error: 28: local localblas="$(for i in $($(tc-getPKG_CONFIG) --libs-only-l blas lapack);do a="${a} ${i/-l/${locallib}}.so "; done; echo ${a})"
^
unexpected token (WORD): .so
etest -v nova-2014.2.ebuild
123: )
^
unexpected token ()): )
Error: 123: )
^
unexpected token ()): )
Error: /home/alunduil/Projects/gentoo/portage-tree/app-doc/abs-guide/abs-guide-6.6.ebuild
31: dodoc -r *
^
unexpected token: *
docompress -x /usr/share/doc/${PF}
}
Error: /home/alunduil/Projects/gentoo/portage-tree/sys-boot/arcload/arcload-0.50-r1.ebuild
37: einfo ">>> Building the 'wreckoff' utility with $(tc-getBUILD_CC) ..."
^
unexpected token (>): >
Error: /home/alunduil/Projects/gentoo/portage-tree/dev-scheme/bigloo/bigloo-3.0c_p4.ebuild
42: # emake compile-bee || die "compiling bee failed"
^
unexpected token: "
}
pkg_postinst() {
use emacs && elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
}
28: python_set_active_version 2
^
unexpected token (NEWLINE):
Error: /var/overlays/pentoo/net-wireless/haraldscan/haraldscan-0.41.ebuild
28: python_set_active_version 2
^
unexpected token (NEWLINE):
alunduil@elijah pyrax % etest
Traceback (most recent call last):
File "/usr/lib64/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 331, in _make_request
httplib_response = conn.getresponse(buffering=True)
TypeError: getresponse() got an unexpected keyword argument 'buffering'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 333, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib64/python3.3/http/client.py", line 1147, in getresponse
response.begin()
File "/usr/lib64/python3.3/http/client.py", line 358, in begin
version, status, reason = self._read_status()
File "/usr/lib64/python3.3/http/client.py", line 320, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib64/python3.3/socket.py", line 297, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/python3.3/site-packages/requests/adapters.py", line 362, in send
timeout=timeout
File "/usr/lib64/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 559, in urlopen
_pool=self, _stacktrace=stacktrace)
File "/usr/lib64/python3.3/site-packages/requests/packages/urllib3/util/retry.py", line 245, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/lib64/python3.3/site-packages/requests/packages/urllib3/packages/six.py", line 310, in reraise
raise value
File "/usr/lib64/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 516, in urlopen
body=body, headers=headers)
File "/usr/lib64/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 336, in _make_request
self, url, "Read timed out. (read timeout=%s)" % read_timeout)
requests.packages.urllib3.exceptions.ReadTimeoutError: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.3/etest", line 9, in <module>
load_entry_point('etest==0.0.1-alpha', 'console_scripts', 'etest')()
File "/usr/lib64/python3.3/site-packages/click/core.py", line 610, in __call__
return self.main(*args, **kwargs)
File "/usr/lib64/python3.3/site-packages/click/core.py", line 590, in main
rv = self.invoke(ctx)
File "/usr/lib64/python3.3/site-packages/click/core.py", line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib64/python3.3/site-packages/click/core.py", line 416, in invoke
return callback(*args, **kwargs)
File "/usr/lib64/python3.3/site-packages/etest/__init__.py", line 48, in etest
check.run()
File "/usr/lib64/python3.3/site-packages/etest/tests.py", line 90, in run
_.remove_image(image_id)
File "/usr/lib64/python3.3/site-packages/docker/client.py", line 809, in remove_image
res = self._delete(self._url("/images/" + image), params=params)
File "/usr/lib64/python3.3/site-packages/docker/client.py", line 79, in _delete
return self.delete(url, **self._set_request_timeout(kwargs))
File "/usr/lib64/python3.3/site-packages/requests/sessions.py", line 529, in delete
return self.request('DELETE', url, **kwargs)
File "/usr/lib64/python3.3/site-packages/requests/sessions.py", line 457, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib64/python3.3/site-packages/requests/sessions.py", line 569, in send
r = adapter.send(request, **kwargs)
File "/usr/lib64/python3.3/site-packages/requests/adapters.py", line 422, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
If no local /usr/portage
tree can be found, we should utilize a docker image with the portage tree instead.
0 tests ran in 0.0 seconds
AND
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib64/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 493, in urlopen
body=body, headers=headers)
File "/usr/lib64/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 291, in _make_request
conn.request(method, url, *_httplib_request_kw)
File "/usr/lib64/python3.3/site-packages/docker/unixconn/unixconn.py", line 48, in request
super(UnixHTTPConnection, self).request(method, url, *_kwargs)
File "/usr/lib64/python3.3/http/client.py", line 1065, in request
self._send_request(method, url, body, headers)
File "/usr/lib64/python3.3/http/client.py", line 1103, in _send_request
self.endheaders(body)
File "/usr/lib64/python3.3/http/client.py", line 1061, in endheaders
self._send_output(message_body)
File "/usr/lib64/python3.3/http/client.py", line 906, in _send_output
self.send(msg)
File "/usr/lib64/python3.3/http/client.py", line 844, in send
self.connect()
File "/usr/lib64/python3.3/site-packages/docker/unixconn/unixconn.py", line 39, in connect
sock.connect(self.base_url.replace("http+unix:/", ""))
FileNotFoundError: [Errno 2] No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/python3.3/site-packages/requests/adapters.py", line 327, in send
timeout=timeout
File "/usr/lib64/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 543, in urlopen
raise MaxRetryError(self, url, e)
requests.packages.urllib3.exceptions.MaxRetryError: UnixHTTPConnectionPool(host='localhost', port=None): Max retries exceeded with url: /run/docker.sock/v1.12/images/alunduil/etest:latest/json (Caused by <class 'FileNotFoundError'>: [Errno 2] No such file or directory)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/python3.3/threading.py", line 901, in _bootstrap_inner
self.run()
File "/usr/lib64/python3.3/threading.py", line 858, in run
self._target(_self._args, *_self._kwargs)
File "/usr/lib64/python3.3/site-packages/etest/init.py", line 59, in _
check.run()
File "/usr/lib64/python3.3/site-packages/etest/tests.py", line 83, in run
docker.pull(self.base_docker_image)
File "/usr/lib64/python3.3/site-packages/etest/docker.py", line 26, in pull
image_id = client.inspect_image(image_name)['Id']
File "/usr/lib64/python3.3/site-packages/docker/client.py", line 634, in inspect_image
self._get(self._url("/images/{0}/json".format(image_id))),
File "/usr/lib64/python3.3/site-packages/docker/client.py", line 76, in _get
return self.get(url, *_self._set_request_timeout(kwargs))
File "/usr/lib64/python3.3/site-packages/requests/sessions.py", line 468, in get
return self.request('GET', url, *_kwargs)
File "/usr/lib64/python3.3/site-packages/requests/sessions.py", line 456, in request
resp = self.send(prep, *_send_kwargs)
File "/usr/lib64/python3.3/site-packages/requests/sessions.py", line 559, in send
r = adapter.send(request, *_kwargs)
File "/usr/lib64/python3.3/site-packages/requests/adapters.py", line 375, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: UnixHTTPConnectionPool(host='localhost', port=None): Max retries exceeded with url: /run/docker.sock/v1.12/images/alunduil/etest:latest/json (Caused by <class 'FileNotFoundError'>: [Errno 2] No such file or directory)
Now starting up Docker manually:
0 tests ran in 0.0 seconds
Guidance ?
Error: /home/alunduil/Projects/gentoo/portage-tree/app-pda/barry/barry-0.18.3.ebuild
52: find "${S}"/doc/www/doxygen/html -name "*.map" -size 0 -exec rm -f {} +
^
unexpected token ({): {
alunduil@elijah portage-tree % etest -vfd app-emacs
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.3/etest", line 9, in <module>
load_entry_point('etest==0.0.1a0', 'console_scripts', 'etest')()
File "/usr/lib64/python3.3/site-packages/click/core.py", line 610, in __call__
return self.main(*args, **kwargs)
File "/usr/lib64/python3.3/site-packages/click/core.py", line 590, in main
rv = self.invoke(ctx)
File "/usr/lib64/python3.3/site-packages/click/core.py", line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib64/python3.3/site-packages/click/core.py", line 416, in invoke
return callback(*args, **kwargs)
File "/usr/lib64/python3.3/site-packages/etest/__init__.py", line 73, in etest
for check in tests.Tests(ebuilds):
File "/usr/lib64/python3.3/site-packages/etest/tests.py", line 167, in __iter__
use_flags = list(ebuild.use_flags)
File "/usr/lib64/python3.3/functools.py", line 275, in wrapper
result = user_function(*args, **kwds)
File "/usr/lib64/python3.3/site-packages/etest/ebuild.py", line 53, in use_flags
return [ re.sub(r'^[+-]', '', _) for _ in self.parse()['IUSE'].split() ]
KeyError: 'IUSE'
48: echo "CONFIG_EAP=y" >> ${CONFIG}
^
unexpected token (=): =
Error: /var/overlays/pentoo/net-wireless/hostapd/hostapd-1.0-r6.ebuild
48: echo "CONFIG_EAP=y" >> ${CONFIG}
^
unexpected token (=): =
Error: /home/alunduil/Projects/gentoo/portage-tree/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild
56: archive(byte) = "cairo.cma"
^
unexpected token (WORD): byte)
Error: /home/alunduil/Projects/gentoo/portage-tree/games-rpg/arx-fatalis-data/arx-fatalis-data-1.21-r1.ebuild
36: de) mylang="german" ;;
^
unexpected token (WORD): mylang
When the following happens we should wait a couple of seconds and retry (three times or so) and then drop the number of threads if we still timeout.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib64/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request
httplib_response = conn.getresponse(buffering=True)
TypeError: getresponse() got an unexpected keyword argument 'buffering'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 355, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib64/python3.3/http/client.py", line 1147, in getresponse
response.begin()
File "/usr/lib64/python3.3/http/client.py", line 358, in begin
version, status, reason = self._read_status()
File "/usr/lib64/python3.3/http/client.py", line 320, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib64/python3.3/socket.py", line 297, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/python3.3/site-packages/requests/adapters.py", line 370, in send
timeout=timeout
File "/usr/lib64/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 564, in urlopen
_pool=self, _stacktrace=stacktrace)
File "/usr/lib64/python3.3/site-packages/requests/packages/urllib3/util/retry.py", line 245, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/lib64/python3.3/site-packages/requests/packages/urllib3/packages/six.py", line 310, in reraise
raise value
File "/usr/lib64/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 518, in urlopen
body=body, headers=headers)
File "/usr/lib64/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 357, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/usr/lib64/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 285, in _raise_timeout
raise ReadTimeoutError(self, url, "Read timed out. (read timeout=%s)" % timeout_value)
requests.packages.urllib3.exceptions.ReadTimeoutError: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/python3.3/threading.py", line 901, in _bootstrap_inner
self.run()
File "/usr/lib64/python3.3/threading.py", line 858, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib64/python3.3/site-packages/etest/__init__.py", line 55, in _
check.run()
File "/usr/lib64/python3.3/site-packages/etest/tests.py", line 136, in run
tag = tag_name,
File "/usr/lib64/python3.3/site-packages/etest/docker/container.py", line 10, in commit
return common.CLIENT.commit(*args, **kwargs)
File "/usr/lib64/python3.3/site-packages/docker/client.py", line 479, in commit
return self._result(self._post_json(u, data=conf, params=params),
File "/usr/lib64/python3.3/site-packages/docker/client.py", line 236, in _post_json
return self._post(url, data=json.dumps(data2), **kwargs)
File "/usr/lib64/python3.3/site-packages/docker/client.py", line 73, in _post
return self.post(url, **self._set_request_timeout(kwargs))
File "/usr/lib64/python3.3/site-packages/requests/sessions.py", line 504, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/lib64/python3.3/site-packages/requests/sessions.py", line 461, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib64/python3.3/site-packages/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "/usr/lib64/python3.3/site-packages/requests/adapters.py", line 433, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
Error: /home/alunduil/Projects/gentoo/portage-tree/sys-libs/cracklib/cracklib-2.8.19.ebuild
33: prepare|configure|compile|install)
^
unexpected token (NEWLINE):
Error: /home/alunduil/Projects/gentoo/portage-tree/app-benchmarks/acovea/acovea-5.1.1-r1.ebuild
46: find "${D}" -name '*.la' -exec rm -f '{}' +
^
unexpected token: +
}
Error: /home/alunduil/Projects/gentoo/portage-tree/xfce-extra/thunar-vcs-plugin/thunar-vcs-plugin-0.1.4.ebuild
35: mv "${WORKDIR}"/${P}-${lang}.po po/${lang}.po || die
^
unexpected token: die
done
xfconf_src_prepare
}
Error: /home/alunduil/Projects/gentoo/portage-tree/app-admin/389-console/389-console-1.1.7-r1.ebuild
44: --pkg_args "-Djava.util.prefs.systemRoot=\"\$HOME/.${PN}\" -Djava.util.prefs.userRoot=\"\$HOME/.${PN}\"" \
^
unexpected token: \$HOME/.${PN}\" -Djava.util.prefs.userRoot=\"\$HOME/.${PN}\"" \
|| die
doicon "${DISTDIR}"/fedora.png || die "doicon failed"
make_desktop_entry ${PN} "Port389 Management Console" fedora System
}
* Package: app-portage/etest-9999
* Repository: alunduil
* Maintainer: [email protected]
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_3 python_targets_python3_4 test userland_GNU
* FEATURES: preserve-libs sandbox test userpriv usersandbox
>>> Unpacking source...
* Fetching git://github.com/alunduil/etest.git ...
git fetch git://github.com/alunduil/etest.git +HEAD:refs/git-r3/HEAD
git symbolic-ref refs/git-r3/app-portage/etest/0/__main__ refs/heads/master
* Checking out git://github.com/alunduil/etest.git to /var/tmp/portage/app-portage/etest-9999/work/etest-9999 ...
git checkout --quiet master
GIT update -->
repository: git://github.com/alunduil/etest.git
at the commit: 086985731bb45d0d30c1f60f4a6b57861238892b
>>> Source unpacked in /var/tmp/portage/app-portage/etest-9999/work
>>> Preparing source in /var/tmp/portage/app-portage/etest-9999/work/etest-9999 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-portage/etest-9999/work/etest-9999 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-portage/etest-9999/work/etest-9999 ...
* It seems that you need to set USE_PYTHON to make sure that legacy
* packages will be built with respect to PYTHON_TARGETS correctly:
*
* USE_PYTHON='3.3'
*
* Please note that after changing the USE_PYTHON variable, you may need
* to run 'python-updater' to rebuild affected packages.
*
* For more information on PYTHON_TARGETS and python.eclass
* compatibility, please see the relevant Wiki article [1].
*
* [1] https://wiki.gentoo.org/wiki/Project:Python/PYTHON_TARGETS
* python3_3: running distutils-r1_run_phase distutils-r1_python_compile
* python3_4: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python3.3 setup.py build
/usr/bin/python3.4 setup.py build
running build
running build_py
running build
running build_py
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/etest
copying etest/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/etest
copying etest/docker.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/etest
copying etest/ebuild.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/etest
copying etest/information.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/etest
copying etest/overlay.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/etest
copying etest/tests.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/etest
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest
copying test_etest/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest
copying test_etest/test_common.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest
copying test_etest/test_helpers.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/etest/lexers
copying etest/lexers/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/etest/lexers
copying etest/lexers/bash.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/etest/lexers
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/etest/parsers
copying etest/parsers/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/etest/parsers
copying etest/parsers/bash.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/etest/parsers
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures
copying test_etest/test_fixtures/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_system
copying test_etest/test_system/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_system
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_unit
copying test_etest/test_unit/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_unit
copying test_etest/test_unit/test_ebuild.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_unit
copying test_etest/test_unit/test_overlay.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_unit
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/etest
copying etest/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/etest
copying etest/docker.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/etest
copying etest/ebuild.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/etest
copying etest/information.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/etest
copying test_etest/test_unit/test_tests.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_unit
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_ebuilds
copying test_etest/test_fixtures/test_ebuilds/5efda208255149dcb4777b869d98482e.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_ebuilds
copying test_etest/test_fixtures/test_ebuilds/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_ebuilds
copying test_etest/test_fixtures/test_ebuilds/eab5f11185a74264acb98eeb95b3238f.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_ebuilds
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/032bfd4400a74dee8d41ac515a56a44b.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/0431e3bee752482986467023e54b4673.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/0c486b86149342bdba2e9b32428d73d1.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/19310cb9eefb40e3a1a008ab8b9013c8.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying etest/overlay.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/etest
copying etest/tests.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/etest
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest
copying test_etest/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest
copying test_etest/test_common.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest
copying test_etest/test_helpers.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/etest/lexers
copying test_etest/test_fixtures/test_scripts/232f4c230eeb4549bd869d475cc97163.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/3cbefae6b9e8430d869d836352347c0e.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/40e465907f16472db2828d3998a03ae0.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/419f4873d82340699c55000386901621.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/47c908515a97487a8ce309eaa7ac3081.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/6dbeb0b3da5745edbf1388fd722c94dc.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/7d982739ef8348d48935d14cb74f160d.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/86795acaa3c74f41a23bac16342ca2d8.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/bec3d10b974e4447853ef59268946fe1.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/c20ac8ba1ced46b8981c4037e23bf6a5.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying etest/lexers/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/etest/lexers
copying etest/lexers/bash.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/etest/lexers
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/etest/parsers
copying etest/parsers/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/etest/parsers
copying etest/parsers/bash.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/etest/parsers
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures
copying test_etest/test_fixtures/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_system
copying test_etest/test_system/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_system
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_unit
copying test_etest/test_unit/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_unit
copying test_etest/test_unit/test_ebuild.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_unit
copying test_etest/test_fixtures/test_scripts/d5aaeeee36574cd3bf4ffa100537703d.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_unit/test_overlay.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_unit
copying test_etest/test_fixtures/test_scripts/de2255e260cb47f1ba24c79477fb3ba6.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_unit/test_tests.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_unit
copying test_etest/test_fixtures/test_scripts/e2a2b40a96df4dd093dc7f1c94e67eda.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/f48d0b3fb57247a8be8fd90327a224c3.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_scripts
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_tests
copying test_etest/test_fixtures/test_tests/27815bf05fa7437fa68bba9372139e9b.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_tests
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_ebuilds
copying test_etest/test_fixtures/test_ebuilds/5efda208255149dcb4777b869d98482e.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_ebuilds
copying test_etest/test_fixtures/test_ebuilds/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_ebuilds
copying test_etest/test_fixtures/test_ebuilds/eab5f11185a74264acb98eeb95b3238f.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_ebuilds
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/032bfd4400a74dee8d41ac515a56a44b.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/0431e3bee752482986467023e54b4673.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/0c486b86149342bdba2e9b32428d73d1.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/19310cb9eefb40e3a1a008ab8b9013c8.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_tests/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_tests
copying test_etest/test_fixtures/test_tests/abd0bd5f2bb14c1b886f8bdf0f2f0567.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_fixtures/test_tests
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_unit/test_parsers
copying test_etest/test_unit/test_parsers/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_unit/test_parsers
copying test_etest/test_unit/test_parsers/test_bash.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/test_etest/test_unit/test_parsers
copying etest/parsers/bash.p -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_4/lib/etest/parsers
warning: build_py: byte-compiling is disabled, skipping.
copying test_etest/test_fixtures/test_scripts/232f4c230eeb4549bd869d475cc97163.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/3cbefae6b9e8430d869d836352347c0e.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/40e465907f16472db2828d3998a03ae0.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/419f4873d82340699c55000386901621.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/47c908515a97487a8ce309eaa7ac3081.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/6dbeb0b3da5745edbf1388fd722c94dc.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/7d982739ef8348d48935d14cb74f160d.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/86795acaa3c74f41a23bac16342ca2d8.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/bec3d10b974e4447853ef59268946fe1.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/c20ac8ba1ced46b8981c4037e23bf6a5.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/d5aaeeee36574cd3bf4ffa100537703d.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/de2255e260cb47f1ba24c79477fb3ba6.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/e2a2b40a96df4dd093dc7f1c94e67eda.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
copying test_etest/test_fixtures/test_scripts/f48d0b3fb57247a8be8fd90327a224c3.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_scripts
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_tests
copying test_etest/test_fixtures/test_tests/27815bf05fa7437fa68bba9372139e9b.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_tests
copying test_etest/test_fixtures/test_tests/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_tests
copying test_etest/test_fixtures/test_tests/abd0bd5f2bb14c1b886f8bdf0f2f0567.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_fixtures/test_tests
creating /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_unit/test_parsers
copying test_etest/test_unit/test_parsers/__init__.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_unit/test_parsers
copying test_etest/test_unit/test_parsers/test_bash.py -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/test_etest/test_unit/test_parsers
copying etest/parsers/bash.p -> /var/tmp/portage/app-portage/etest-9999/work/etest-9999-python3_3/lib/etest/parsers
warning: build_py: byte-compiling is disabled, skipping.
>>> Source compiled.
>>> Test phase: app-portage/etest-9999
* python3_3: running distutils-r1_run_phase python_test
* python3_4: running distutils-r1_run_phase python_test
............................F.....F.........................................................
======================================================================
FAIL: overlay.Overlay().directory—nonempty overlay,subdirectory
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/tmp/portage/app-portage/etest-9999/work/etest-9999/test_etest/test_unit/test_overlay.py", line 110, in test_nonempty_overlay_discovery
self.assertEqual(self.overlay.directory, self.mocked_directory.replace('/app-portage/etest', ''))
nose.proxy.AssertionError: '/var/tmp/portage/app-portage/etest-9999/work/etest-9999/t[27 chars]rlay' != '/var/tmp/portage-9999/work/etest-9999/test_etest/test_fixtures/overlay'
- /var/tmp/portage/app-portage/etest-9999/work/etest-9999/test_etest/test_fixtures/overlay
? ------------------
+ /var/tmp/portage-9999/work/etest-9999/test_etest/test_fixtures/overlay
-------------------- >> begin captured logging << --------------------
test_etest.test_helpers: INFO: STARTING: mock ebuild
test_etest.test_common: DEBUG: mocking etest.overlay.ebuild
test_etest.test_helpers: INFO: STOPPING: mock ebuild
--------------------- >> end captured logging << ---------------------
Coverage.py warning: No data was collected.
Name Stmts Miss Cover Missing
--------------------------------------------------
etest 75 75 0% 6-113
etest.docker 14 14 0% 6-34
etest.ebuild 41 41 0% 6-82
etest.information 7 7 0% 6-12
etest.lexers 0 0 100%
etest.lexers.bash 87 87 0% 6-212
etest.overlay 24 24 0% 6-43
etest.parsers 0 0 100%
etest.parsers.bash 248 248 0% 6-672
--------------------------------------------------
TOTAL 496 496 0%
----------------------------------------------------------------------
Ran 46 tests in 0.295s
FAILED (failures=1)
======================================================================
FAIL: overlay.Overlay().directory—nonempty overlay,subdirectory
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/tmp/portage/app-portage/etest-9999/work/etest-9999/test_etest/test_unit/test_overlay.py", line 110, in test_nonempty_overlay_discovery
self.assertEqual(self.overlay.directory, self.mocked_directory.replace('/app-portage/etest', ''))
nose.proxy.AssertionError: '/var/tmp/portage/app-portage/etest-9999/work/etest-9999/test_etest/test_fixture [truncated]... != '/var/tmp/portage-9999/work/etest-9999/test_etest/test_fixtures/overlay'
- /var/tmp/portage/app-portage/etest-9999/work/etest-9999/test_etest/test_fixtures/overlay
? ------------------
+ /var/tmp/portage-9999/work/etest-9999/test_etest/test_fixtures/overlay
-------------------- >> begin captured logging << --------------------
test_etest.test_helpers: INFO: STARTING: mock ebuild
test_etest.test_common: DEBUG: mocking etest.overlay.ebuild
test_etest.test_helpers: INFO: STOPPING: mock ebuild
--------------------- >> end captured logging << ---------------------
Coverage.py warning: No data was collected.
Name Stmts Miss Cover Missing
--------------------------------------------------
etest 75 75 0% 6-113
etest.docker 14 14 0% 6-34
etest.ebuild 41 41 0% 6-82
etest.information 7 7 0% 6-12
etest.lexers 0 0 100%
etest.lexers.bash 87 87 0% 6-212
etest.overlay 24 24 0% 6-43
etest.parsers 0 0 100%
etest.parsers.bash 248 248 0% 6-672
--------------------------------------------------
TOTAL 496 496 0%
----------------------------------------------------------------------
Ran 46 tests in 0.274s
FAILED (failures=1)
* ERROR: app-portage/etest-9999::alunduil failed (test phase):
* Tests failed under python3.3
*
* Call stack:
* ebuild.sh, line 93: Called src_test
* environment, line 4147: Called distutils-r1_src_test
* ERROR: app-portage/etest-9999::alunduil failed (test phase):
* Tests failed under python3.4
* environment, line 1403: Called _distutils-r1_run_foreach_impl 'python_test'
*
* Call stack:
* environment, line 304: Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'python_test'
* ebuild.sh, line 93: Called src_test
* environment, line 3997: Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
* environment, line 4147: Called distutils-r1_src_test
* environment, line 2996: Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
* environment, line 1403: Called _distutils-r1_run_foreach_impl 'python_test'
* environment, line 2939: Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
* environment, line 304: Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'python_test'
* environment, line 2937: Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
* environment, line 2987: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test'
* environment, line 3997: Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
* environment, line 922: Called distutils-r1_run_phase 'python_test'
* environment, line 2996: Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
* environment, line 1338: Called python_test
* environment, line 2939: Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
* environment, line 4041: Called die
* The specific snippet of code:
* environment, line 2937: Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
* environment, line 2987: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test'
* environment, line 922: Called distutils-r1_run_phase 'python_test'
* environment, line 1338: Called python_test
* nosetests test_etest/test_unit || die "Tests failed under ${EPYTHON}"
* environment, line 4041: Called die
*
* The specific snippet of code:
* If you need support, post the output of `emerge --info '=app-portage/etest-9999::alunduil'`,
* the complete build log and the output of `emerge -pqv '=app-portage/etest-9999::alunduil'`.
/usr/lib/portage/python2.7/isolated-functions.sh: line 195: wait: `Tests failed under python3.3': not a pid or valid job spec
* The complete build log is located at '/var/tmp/portage/app-portage/etest-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-portage/etest-9999/temp/environment'.
* Working directory: '/var/tmp/portage/app-portage/etest-9999/work/etest-9999'
* S: '/var/tmp/portage/app-portage/etest-9999/work/etest-9999'
* nosetests test_etest/test_unit || die "Tests failed under ${EPYTHON}"
*
* If you need support, post the output of `emerge --info '=app-portage/etest-9999::alunduil'`,
* the complete build log and the output of `emerge -pqv '=app-portage/etest-9999::alunduil'`.
/usr/lib/portage/python2.7/isolated-functions.sh: line 195: wait: `Tests failed under python3.4': not a pid or valid job spec
* The complete build log is located at '/var/tmp/portage/app-portage/etest-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-portage/etest-9999/temp/environment'.
* Working directory: '/var/tmp/portage/app-portage/etest-9999/work/etest-9999'
* S: '/var/tmp/portage/app-portage/etest-9999/work/etest-9999'
/usr/lib/portage/python2.7/isolated-functions.sh: line 226: kill: (30960) - No such process
=================================================================
System Settings
=================================================================
System uname: Linux-3.13.3-gentoo-x86_64-Intel-R-_Core-TM-_i5-3350P_CPU_@_3.10GHz-with-gentoo-2.2
KiB Mem: 16396416 total, 363108 free
KiB Swap: 0 total, 0 free
Timestamp of tree: Fri, 05 Dec 2014 22:00:01 +0000
sh bash 4.3_p30-r1
ld GNU ld (GNU Binutils) 2.24
app-shells/bash: 4.3_p30-r1
dev-java/java-config: 2.2.0
dev-lang/perl: 5.20.1-r3
dev-lang/python: 2.7.8, 3.3.5-r1, 3.4.2
dev-util/cmake: 3.0.2
dev-util/pkgconfig: 0.28-r2
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.13.6
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6, 1.14.1
sys-devel/binutils: 2.24-r3
sys-devel/gcc: 4.9.1
sys-devel/gcc-config: 1.8
sys-devel/libtool: 2.4.3-r2
sys-devel/make: 4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc: 2.20
Repositories: gentoo **CENSORED** linters-overlay carton-overlay sublime-text betagarden gamerlay alunduil
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /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=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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="/home/ar/Projects/overlay /home/ar/Projects/linters-overlay /var/lib/layman/carton /var/lib/layman/sublime-text /var/lib/layman/betagarden /var/lib/layman/gamerlay /var/lib/layman/alunduil"
USE="X a52 aac acl acpi aes alsa amd64 avahi berkdb bzip2 cairo cli colord cracklib crypt cups cxx dbus dri dts eds emboss encode evo exif fam firefox flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 iconv introspection ipv6 jpeg lcms libnotify libsecret mad mmx mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengal opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python qt3support readline sdl session sna sound spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vdpau vorbis wxwidgets x264 xcb 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="authn_core authz_core socache_shmcb unixd 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 ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
=================================================================
Package Settings
=================================================================
app-portage/etest-9999 was built with the following:
USE="-test" ABI_X86="64" PYTHON_TARGETS="python3_3 python3_4"
Error: /home/alunduil/Projects/gentoo/portage-tree/app-crypt/acr38u/acr38u-1.7.11-r1.ebuild
9: MY_P=ACR38_LINUX_$(get_version_component_range 1)00$(get_version_component_range 2)$(get_version_component_range 3)_P
^
unexpected token: _P
SLOT="0"
LICENSE="LGPL-2.1"
KEYWORDS="~amd64 ~x86"
DESCRIPTION="Non CCID driver for ACR38 AC1038-based Smart Card Reader"
#SRC_URI="http://www.acs.com.hk/drivers/eng/${MY_P}.tar.bz2"
# tarball release is encapsuled in a .zip file :-(
# http://www.acs.com.hk/drivers/eng/ACR38_Driver_Lnx_101_P.zip
# I'm waiting an answer from [email protected] about that !
SRC_URI="http://www.linuxunderground.be/${MY_P}.tar.bz2"
HOMEPAGE="http://www.acs.com.hk"
# Make this safe from collisions, require a version of pcsc-lite that
# uses libusb-1.0 and use the wrapper library instead.
# Changed back from dev-libs/libusb-compat to virtual/libusb:0 because
# libusb-compat is marked stable and primary in the virtual. -ssuominen
RDEPEND=">=sys-apps/pcsc-lite-1.6.4
virtual/libusb:0"
DEPEND="${RDEPEND}
virtual/pkgconfig"
S=${WORKDIR}/${MY_P}
IUSE=""
src_prepare() {
epatch_user
sed -i -e '/pcdir/s:@prefix@/lib:$(libdir):' src/controllib/Makefile.am
eautoreconf
}
src_configure() {
econf \
--enable-static=false \
--enable-usbdropdir="${D}/usr/$(get_libdir)/readers/usb"
}
src_install() {
emake DESTDIR="${D}" install
prune_libtool_files
# note: for eudev support this pkg may always need to install rules to /usr
udev_newrules "${FILESDIR}"/${PV}.rules 92-pcscd-acr38u.rules
}
~/cvsPortage/gentoo-x86/dev-python/wsgiproxy2 $ etest wsgiproxy2-0.4.2.ebuild
yields
40: sphinx-build -b html -d _build/doctrees . _build/html
^
unexpected token: _build/doctrees . _build/html
fi
}
python_test() {
nosetests || die "Tests fail with ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}
Error: 40: sphinx-build -b html -d _build/doctrees . _build/html
^
unexpected token: _build/doctrees . _build/html
fi
}
python_test() {
nosetests || die "Tests fail with ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}
Error: /home/alunduil/Projects/gentoo/alunduil-overlay/dev-python/python-keystoneclient/python-keystoneclient-1.0.0.ebuild
45: }
^
unexpected token (}): }
~/improvise/net-misc $ etest vpcs
yields
16: IUSE=""
^
unexpected token: ""
DEPEND=""
RDEPEND=""
S="${S}/src/"
src_prepare() {
# move Makefile in place
cp Makefile.linux Makefile
# replace hardcoded CFLAGS with user set CFLAGS
# append -fno-strict-aliasing to CFLAGS to suppress QA issues from upstream
# add user $LDFLAGS in the front and remove -s that strips binary
sed -e "s/-D\$(CPUTYPE)/${CFLAGS} -fno-strict-aliasing/" \
-e "s/^LDFLAGS=/LDFLAGS=${LDFLAGS} /" \
-e "s/-s //" \
-i Makefile || die
}
src_compile() {
emake CC=$(tc-getCC)
}
src_install() {
#put binary in /usr/bin
dobin vpcs
doman ../man/vpcs.1
}
Error: {'EAPI': 5, 'SRC_URI': 'mirror://sourceforge/$PN}/$PV/${P-src.tbz', 'SLOT': '0', 'HOMEPAGE': 'http://vpcs.sourceforge.net', 'DESCRIPTION': 'Simulate up to 9 PCs in place of VMware boxes in a Dynamips network', 'LICENSE': 'BSD-2', 'KEYWORDS': '~amd64 ~x86'}
16: IUSE=""
^
unexpected token: ""
DEPEND=""
RDEPEND=""
S="${S}/src/"
src_prepare() {
# move Makefile in place
cp Makefile.linux Makefile
# replace hardcoded CFLAGS with user set CFLAGS
# append -fno-strict-aliasing to CFLAGS to suppress QA issues from upstream
# add user $LDFLAGS in the front and remove -s that strips binary
sed -e "s/-D\$(CPUTYPE)/${CFLAGS} -fno-strict-aliasing/" \
-e "s/^LDFLAGS=/LDFLAGS=${LDFLAGS} /" \
-e "s/-s //" \
-i Makefile || die
}
src_compile() {
emake CC=$(tc-getCC)
}
src_install() {
#put binary in /usr/bin
dobin vpcs
doman ../man/vpcs.1
}
~/improvise/media-libs $ etest media-libs
16: IUSE=""
^
unexpected token: ""
DEPEND=""
RDEPEND="${DEPEND}"
Error: {'DESCRIPTION': 'A small Qt-based C++ library which allows to fetch TV series information from thetvdb.com', 'SRC_URI': 'http://sourceforge.net/projects/libtvdb/files/latest/download/$P.tar.bz2', 'SLOT': '4', 'EAPI': 4, 'HOMEPAGE': 'http://sourceforge.net/projects/libtvdb/', 'KEYWORDS': '~amd64 ~x86', 'LICENSE': 'GPL-2'}
16: IUSE=""
^
unexpected token: ""
DEPEND=""
RDEPEND="${DEPEND}"
Error: /home/alunduil/Projects/gentoo/portage-tree/app-antivirus/clamav/clamav-0.98.1-r1.ebuild
110: do
^
unexpected token (DO): do
Error: /home/alunduil/Projects/gentoo/portage-tree/app-text/XML-Schema-learner/XML-Schema-learner-1.0.0.ebuild
31: :
^
unexpected token: :
}
src_install() {
emake DESTDIR="${D}" PREFIX="/usr" install
dodoc README.rst
}
Hello,
I'm new to etest. I've got it installed and it seemed to have worked once testing a newly minted apache-mesos ebuild that is filed in BGO.
/usr/local/portage/sys-cluster/mesos
etest mesos
38: $(use_enable python)
^
unexpected token: $(use_enable python)
$(use_enable java)
}src_compile() {
cd "${S}/build"
emake -j1 V=1
}src_install() {
cd "${S}/build"
emake DESTDIR="${D}" install || die "emake install
failed"
}Ok now what?
Error: /home/alunduil/Projects/gentoo/portage-tree/www-client/chromium/chromium-39.0.2171.65.ebuild
260: local CTARGET=${CTARGET:-${CHOST}}
^
unexpected token (}): }
Error: /home/alunduil/Projects/gentoo/portage-tree/app-editors/XML-XSH2/XML-XSH2-2.1.6-r1.ebuild
22: SRC_TEST=do
^
unexpected token (DO): do
Running etest as ordinary user:
/usr/portage/sys-cluster/hpl $ etest hpl-2.0-r3.ebuild
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.3/etest", line 9, in
load_entry_point('etest==0.0.1-alpha', 'console_scripts', 'etest')()
File "/usr/lib64/python3.3/site-packages/click/core.py", line 610, in call
return self.main(_args, *_kwargs)
File "/usr/lib64/python3.3/site-packages/click/core.py", line 567, in main
raise RuntimeError('Click will abort further execution '
RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment. Either switch to Python 2 or consult http://click.pocoo.org/python3/ for mitigation steps.
~/improvise/dev-python $ etest oslo-utils
yields
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.3/etest", line 9, in <module>
load_entry_point('etest==0.0.1-alpha', 'console_scripts', 'etest')()
File "/usr/lib64/python3.3/site-packages/click/core.py", line 610, in __call__
return self.main(*args, **kwargs)
File "/usr/lib64/python3.3/site-packages/click/core.py", line 590, in main
rv = self.invoke(ctx)
File "/usr/lib64/python3.3/site-packages/click/core.py", line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib64/python3.3/site-packages/click/core.py", line 416, in invoke
return callback(*args, **kwargs)
File "/usr/lib64/python3.3/site-packages/etest/__init__.py", line 80, in etest
for check in tests.Tests(ebuilds):
File "/usr/lib64/python3.3/site-packages/etest/tests.py", line 170, in __iter__
use_flags = list(ebuild.use_flags)
File "/usr/lib64/python3.3/functools.py", line 275, in wrapper
result = user_function(*args, **kwds)
File "/usr/lib64/python3.3/site-packages/etest/ebuild.py", line 49, in use_flags
return self.parse()['IUSE'].split()
File "/usr/lib64/python3.3/functools.py", line 275, in wrapper
result = user_function(*args, **kwds)
File "/usr/lib64/python3.3/site-packages/etest/ebuild.py", line 75, in parse
lexer = lexer.lexer,
File "/usr/lib64/python3.3/site-packages/ply/yacc.py", line 265, in parse
return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
File "/usr/lib64/python3.3/site-packages/ply/yacc.py", line 971, in parseopt_notrack
p.callable(pslice)
File "/usr/lib64/python3.3/site-packages/etest/parsers/bash.py", line 629, in p_assignment_word_word
_ = expand_word(p[3])
File "/usr/lib64/python3.3/site-packages/etest/parsers/bash.py", line 63, in expand_word
words.extend([ prefix + _ + suffix for _ in expand_word(expansion) ])
File "/usr/lib64/python3.3/site-packages/etest/parsers/bash.py", line 63, in expand_word
words.extend([ prefix + _ + suffix for _ in expand_word(expansion) ])
File "/usr/lib64/python3.3/site-packages/etest/parsers/bash.py", line 53, in expand_word
rest = rest[:rest.rindex(suffix)].strip('\\}')
ValueError: substring not found
ditto oslo-i18n
re-assignment of myconf
63: use !gtk3 && myconf="${myconf} --with-gtk=2.0"
^
unexpected token (BANG): !
Error: 63: use !gtk3 && myconf="${myconf} --with-gtk=2.0"
^
unexpected token (BANG): !
Error: /home/alunduil/Projects/gentoo/portage-tree/app-dicts/aspell-it/aspell-it-2.4.20070901.ebuild
14: IUSE=
^
unexpected token (NEWLINE)
Error: /home/alunduil/Projects/gentoo/portage-tree/app-mobilephone/anyremote/anyremote-6.4.ebuild
21: src_configure() {
^
unexpected token ((): (
Error: /home/alunduil/Projects/gentoo/portage-tree/app-misc/asciinema/asciinema-0.9.8.ebuild
did not receive any input
Error: /home/alunduil/Projects/gentoo/portage-tree/app-backup/amanda/amanda-3.3.3-r1.ebuild
39: currentamanda="$(set | egrep "^AMANDA_" | grep -v '^AMANDA_ENV_SETTINGS' | xargs)"
^
unexpected token: ^AMANDA_" | grep -v '^AMANDA_ENV_SETTINGS' | xargs)"
# First we set the defaults
[ -z "${AMANDA_GROUP_GID}" ] && AMANDA_GROUP_GID=87
[ -z "${AMANDA_GROUP_NAME}" ] && AMANDA_GROUP_NAME=amanda
[ -z "${AMANDA_USER_NAME}" ] && AMANDA_USER_NAME=amanda
[ -z "${AMANDA_USER_UID}" ] && AMANDA_USER_UID=87
[ -z "${AMANDA_USER_SH}" ] && AMANDA_USER_SH=/bin/bash
[ -z "${AMANDA_USER_HOMEDIR}" ] && AMANDA_USER_HOMEDIR=/var/spool/amanda
[ -z "${AMANDA_USER_GROUPS}" ] && AMANDA_USER_GROUPS="${AMANDA_GROUP_NAME}"
# This installs Amanda, with the server. However, it could be a client,
# just specify an alternate server name in AMANDA_SERVER.
[ -z "${AMANDA_SERVER}" ] && AMANDA_SERVER="${HOSTNAME}"
[ -z "${AMANDA_SERVER_TAPE}" ] && AMANDA_SERVER_TAPE="${AMANDA_SERVER}"
[ -z "${AMANDA_SERVER_INDEX}" ] && AMANDA_SERVER_INDEX="${AMANDA_SERVER}"
[ -z "${AMANDA_TAR_LISTDIR}" ] && AMANDA_TAR_LISTDIR=${AMANDA_USER_HOMEDIR}/tar-lists
[ -z "${AMANDA_CONFIG_NAME}" ] && AMANDA_CONFIG_NAME=DailySet1
[ -z "${AMANDA_TMPDIR}" ] && AMANDA_TMPDIR=/var/tmp/amanda
[ -z "${AMANDA_DBGDIR}" ] && AMANDA_DBGDIR="$AMANDA_TMPDIR"
# These are left empty by default
[ -z "${AMANDA_PORTS_UDP}" ] && AMANDA_PORTS_UDP=
[ -z "${AMANDA_PORTS_TCP}" ] && AMANDA_PORTS_TCP=
[ -z "${AMANDA_PORTS_BOTH}" ] && AMANDA_PORTS_BOTH=
[ -z "${AMANDA_PORTS}" ] && AMANDA_PORTS=
# What tar to use
[ -z "${AMANDA_TAR}" ] && AMANDA_TAR=/bin/tar
# Now pull in the old stuff
if [ -f "${ROOT}${ENVDIR}/${ENVDFILE}" ]; then
# We don't just source it as we don't want everything in there.
eval $(egrep "^AMANDA_" "${ROOT}${ENVDIR}/${ENVDFILE}" | grep -v '^AMANDA_ENV_SETTINGS')
fi
# Re-apply the new settings if any
[ -n "${currentamanda}" ] && eval `echo "${currentamanda}"`
}
pkg_setup() {
amanda_variable_setup
# If USE=minimal, give out a warning, if AMANDA_SERVER is not set to
# another host than HOSTNAME.
if use minimal && [ "${AMANDA_SERVER}" = "${HOSTNAME}" ] ; then
elog "You are installing a client-only version of Amanda."
elog "You should set the variable \$AMANDA_SERVER to point at your"
elog "Amanda-tape-server, otherwise you will have to specify its name"
elog "when using amrecover on the client."
elog "For example: Use something like"
elog "AMANDA_SERVER=\"myserver\" emerge amanda"
elog
fi
enewgroup "${AMANDA_GROUP_NAME}" "${AMANDA_GROUP_GID}"
enewuser "${AMANDA_USER_NAME}" "${AMANDA_USER_UID}" "${AMANDA_USER_SH}" "${AMANDA_USER_HOMEDIR}" "${AMANDA_USER_GROUPS}"
}
src_unpack() {
# we do not want the perl src_unpack
default_src_unpack
}
src_prepare() {
# gentoo bug #331111
sed -i '/^check-local: check-perl$/d' "${S}"/config/automake/scripts.am
sed -i '/^check-local:/s,syntax-check,,g' "${S}"/perl/Makefile.am
# bug with glibc-2.16.0
sed -i -e '/gets is a security/d' "${S}"/gnulib/stdio.in.h
eautoreconf
# places for us to work in
mkdir -p "${MYFILESDIR}"
# Now we store the settings we just created
set | egrep "^AMANDA_" | grep -v '^AMANDA_ENV_SETTINGS' > "${TMPENVFILE}"
# Prepare our custom files
einfo "Building custom configuration files"
local i # our iterator
local sedexpr # var for sed expr
sedexpr=''
for i in ${ENV_SETTINGS_AMANDA} ; do
local val
eval "val=\"\${${i}}\""
sedexpr="${sedexpr}s|__${i}__|${val}|g;"
done
# now apply the sed expr
for i in "${FILESDIR}"/amanda-* ; do
sed -re "${sedexpr}" <"${i}" >"${MYFILESDIR}/`basename ${i}`"
done
(
cat "${MYFILESDIR}"/amanda-amandahosts-client-2.5.1_p3-r1
use minimal || cat "${MYFILESDIR}"/amanda-amandahosts-server-2.5.1_p3-r1
) > "${T}"/amandahosts
if ! use minimal; then
sed -i -e 's:^\(my $amandahomedir\)=.*:\1 = $localstatedir;:' \
server-src/am{addclient,serverconfig}.pl || die
fi
}
src_configure() {
# fix bug #36316
addpredict /var/cache/samba/gencache.tdb
# fix bug #376169
addpredict /run/blkid
addpredict /etc/blkid.tab
[ ! -f "${TMPENVFILE}" ] && die "Variable setting file (${TMPENVFILE}) should exist!"
source "${TMPENVFILE}"
local myconf
einfo "Using ${AMANDA_SERVER_TAPE} for tape server."
myconf="${myconf} --with-tape-server=${AMANDA_SERVER_TAPE}"
einfo "Using ${AMANDA_SERVER_INDEX} for index server."
myconf="${myconf} --with-index-server=${AMANDA_SERVER_INDEX}"
einfo "Using ${AMANDA_USER_NAME} for amanda user."
myconf="${myconf} --with-user=${AMANDA_USER_NAME}"
einfo "Using ${AMANDA_GROUP_NAME} for amanda group."
myconf="${myconf} --with-group=${AMANDA_GROUP_NAME}"
einfo "Using ${AMANDA_TAR} as Tar implementation."
myconf="${myconf} --with-gnutar=${AMANDA_TAR}"
einfo "Using ${AMANDA_TAR_LISTDIR} as tar listdir."
myconf="${myconf} --with-gnutar-listdir=${AMANDA_TAR_LISTDIR}"
einfo "Using ${AMANDA_CONFIG_NAME} as default config name."
myconf="${myconf} --with-config=${AMANDA_CONFIG_NAME}"
einfo "Using ${AMANDA_TMPDIR} as Amanda temporary directory."
myconf="${myconf} --with-tmpdir=${AMANDA_TMPDIR}"
if [ -n "${AMANDA_PORTS_UDP}" ] && [ -n "${AMANDA_PORTS_TCP}" ] && [ -z "${AMANDA_PORTS_BOTH}" ] ; then
eerror "If you want _both_ UDP and TCP ports, please use only the"
eerror "AMANDA_PORTS environment variable for identical ports, or set"
eerror "AMANDA_PORTS_BOTH."
die "Bad port setup!"
fi
if [ -n "${AMANDA_PORTS_UDP}" ]; then
einfo "Using UDP ports ${AMANDA_PORTS_UDP/,/-}"
myconf="${myconf} --with-udpportrange=${AMANDA_PORTS_UDP}"
fi
if [ -n "${AMANDA_PORTS_TCP}" ]; then
einfo "Using TCP ports ${AMANDA_PORTS_TCP/,/-}"
myconf="${myconf} --with-tcpportrange=${AMANDA_PORTS_TCP}"
fi
if [ -n "${AMANDA_PORTS}" ]; then
einfo "Using ports ${AMANDA_PORTS/,/-}"
myconf="${myconf} --with-portrange=${AMANDA_PORTS}"
fi
# Extras
# Speed option
myconf="${myconf} --with-buffered-dump"
# "debugging" in the configuration is NOT debug in the conventional sense.
# It is actually just useful output in the application, and should remain
# enabled. There are some cases of breakage with MTX tape changers as of
#2.5.1p2 that it exposes when turned off as well.
myconf="${myconf} --with-debugging"
# Where to put our files
myconf="${myconf} --localstatedir=${AMANDA_USER_HOMEDIR}"
# Samba support
myconf="${myconf} `use_with samba smbclient /usr/bin/smbclient`"
# Support for BSD, SSH, BSDUDP, BSDTCP security methods all compiled in by
# default
myconf="${myconf} --with-bsd-security"
myconf="${myconf} --with-ssh-security"
myconf="${myconf} --with-bsdudp-security"
myconf="${myconf} --with-bsdtcp-security"
# kerberos-security mechanism version 5
myconf="${myconf} `use_with kerberos krb5-security`"
# Amazon S3 support
myconf="${myconf} `use_enable s3 s3-device`"
# libcurl is required for S3 but otherwise optional
if ! use s3; then
myconf="${myconf} $(use_with curl libcurl)"
fi
# Client only, as requested in bug #127725
if use minimal ; then
myconf="${myconf} --without-server"
else
# amplot
myconf="${myconf} $(use_with gnuplot)"
fi
# IPv6 fun.
myconf="${myconf} `use_with ipv6`"
# This is to prevent the IPv6-is-working test
# As the test fails on binpkg build hosts with no IPv6.
use ipv6 && export amanda_cv_working_ipv6=yes
# I18N
myconf="${myconf} `use_enable nls`"
# Bug #296634: Perl location
perl_set_version
myconf="${myconf} --with-amperldir=${VENDOR_LIB}"
# Bug 296633: --disable-syntax-checks
# Some tests are not safe for production systems
myconf="${myconf} --disable-syntax-checks"
# build manpages
myconf="${myconf} --enable-manpage-build"
# bug #483120
tc-export AR
econf \
$(use_with readline) \
${myconf}
}
src_compile() {
# Again, do not want the perl-module src_compile
default_src_compile
}
src_install() {
[ ! -f "${TMPENVFILE}" ] && die "Variable setting file (${TMPENVFILE}) should exist!"
source ${TMPENVFILE}
einfo "Doing stock install"
emake DESTDIR="${D}" install || die
# Build the envdir file
# Don't forget this..
einfo "Building environment file"
(
echo "# These settings are what was present in the environment when this"
echo "# Amanda was compiled. Changing anything below this comment will"
echo "# have no effect on your application, but it merely exists to"
echo "# preserve them for your next emerge of Amanda"
cat "${TMPENVFILE}" | sed "s,=\$,='',g"
) >> "${MYFILESDIR}/${ENVDFILE}"
# Env.d
einfo "Installing environment config file"
doenvd "${MYFILESDIR}/${ENVDFILE}"
# Lock down next section (up until docs).
insopts -m0640
# Installing Amanda Xinetd Services Definition
einfo "Installing xinetd service file"
insinto /etc/xinetd.d
if use minimal ; then
newins "${MYFILESDIR}"/amanda-xinetd-2.6.1_p1-client amanda
else
newins "${MYFILESDIR}"/amanda-xinetd-2.6.1_p1-server amanda
fi
if ! use minimal; then
einfo "Installing Sample Daily Cron Job for Amanda"
insinto /etc/cron.daily
newins "${MYFILESDIR}/amanda-cron" amanda
fi
einfo "Installing systemd service and socket files for Amanda"
systemd_dounit "${FILESDIR}"/amanda.socket || die
systemd_newunit "${FILESDIR}"/amanda.service-r1 '[email protected]' || die
insinto /etc/amanda
einfo "Installing .amandahosts File for ${AMANDA_USER_NAME} user"
doins "${T}/amandahosts"
fperms 600 /etc/amanda/amandahosts
dosym /etc/amanda/amandahosts "${AMANDA_USER_HOMEDIR}/.amandahosts"
insinto "${AMANDA_USER_HOMEDIR}"
einfo "Installing .profile for ${AMANDA_USER_NAME} user"
newins "${MYFILESDIR}/amanda-profile" .profile
insinto /etc/amanda
doins "${S}/example/amanda-client.conf"
if ! use minimal ; then
insinto "/etc/amanda/${AMANDA_CONFIG_NAME}"
doins "${S}/example/amanda.conf"
doins "${S}/example/disklist"
keepdir "${AMANDA_USER_HOMEDIR}/${AMANDA_CONFIG_NAME}/index"
fi
keepdir "${AMANDA_TAR_LISTDIR}"
keepdir "${AMANDA_USER_HOMEDIR}/amanda"
keepdir "${AMANDA_TMPDIR}/dumps"
# Just make sure it exists for XFS to work...
use xfs && keepdir /var/xfsdump/inventory
local i
for i in "${AMANDA_USER_HOMEDIR}" "${AMANDA_TAR_LISTDIR}" \
"${AMANDA_TMPDIR}" /etc/amanda; do
einfo "Securing directory (${i})"
fowners -R ${AMANDA_USER_NAME}:${AMANDA_GROUP_NAME} ${i}
done
# Do NOT use -R
fperms 0700 \
"${AMANDA_USER_HOMEDIR}" "${AMANDA_TAR_LISTDIR}" \
"${AMANDA_TMPDIR}" "${AMANDA_TMPDIR}/dumps" \
"${AMANDA_USER_HOMEDIR}/amanda" \
/etc/amanda
if ! use minimal ; then
fperms 0700 \
"${AMANDA_USER_HOMEDIR}/${AMANDA_CONFIG_NAME}" \
/etc/amanda/${AMANDA_CONFIG_NAME}
fi
einfo "Setting setuid permissions"
amanda_permissions_fix "${D}"
# Relax permissions again
insopts -m0644
# docs
einfo "Installing documentation"
dodoc AUTHORS ChangeLog DEVELOPING NEWS README ReleaseNotes UPGRADING
# our inetd sample
einfo "Installing standard inetd sample"
newdoc "${MYFILESDIR}/amanda-inetd.amanda.sample-2.6.0_p2-r2" amanda-inetd.amanda.sample
# Amanda example configs
einfo "Installing example configurations"
rm "${D}"/usr/share/amanda/{COPYRIGHT,ChangeLog,NEWS,ReleaseNotes}
mv "${D}/usr/share/amanda/example" "${D}/usr/share/doc/${PF}/"
docinto example1
newdoc "${FILESDIR}/example_amanda.conf" amanda.conf
newdoc "${FILESDIR}/example_disklist-2.5.1_p3-r1" disklist
newdoc "${FILESDIR}/example_global.conf" global.conf
einfo "Cleaning up dud .la files"
perl_set_version
find "${D}"/"${VENDOR_LIB}" -name '*.la' -print0 |xargs -0 rm -f
}
pkg_postinst() {
[ ! -f "${TMPENVFILE}" -a "$MERGE_TYPE" == "binary" ] && \
TMPENVFILE="${ROOT}${ENVDIR}/${ENVDFILE}"
[ ! -f "${TMPENVFILE}" ] && die "Variable setting file (${TMPENVFILE}) should exist!"
source "${TMPENVFILE}"
# Migration of amandates from /etc to $localstatedir/amanda
if [ -f "${ROOT}/etc/amandates" -a \
! -f "${ROOT}/${AMANDA_USER_HOMEDIR}/amanda/amandates" ]; then
einfo "Migrating amandates from /etc/ to ${AMANDA_USER_HOMEDIR}/amanda"
einfo "A backup is also placed at /etc/amandates.orig"
cp -dp "${ROOT}/etc/amandates" "${ROOT}/etc/amandates.orig"
mkdir -p "${ROOT}/${AMANDA_USER_HOMEDIR}/amanda/"
cp -dp "${ROOT}/etc/amandates" "${ROOT}/${AMANDA_USER_HOMEDIR}/amanda/amandates"
fi
if [ -f "${ROOT}/etc/amandates" ]; then
einfo "If you have migrated safely, please delete /etc/amandates"
fi
einfo "Checking setuid permissions"
amanda_permissions_fix "${ROOT}"
elog "You should configure Amanda in /etc/amanda now."
elog
elog "If you use xinetd, Don't forget to check /etc/xinetd.d/amanda"
elog "and restart xinetd afterwards!"
elog
elog "Otherwise, please look at /usr/share/doc/${PF}/inetd.amanda.sample"
elog "as an example of how to configure your inetd."
elog
elog "NOTICE: If you need raw access to partitions you need to add the"
elog "amanda user to the 'disk' group."
elog
elog "NOTICE: If you have a tape changer, you need to add the amanda user"
elog "to the 'tape' group."
elog
elog "If you use localhost in your disklist your restores may break."
elog "You should replace it with the actual hostname!"
elog "Please also see the syntax changes to amandahosts."
elog
elog "Please note that this package no longer explicitly depends on"
elog "virtual/inetd, as it supports modes where an inetd is not needed"
elog "(see bug #506028 for details)."
}
# We have had reports of amanda file permissions getting screwed up.
# Losing setuid, becoming too lax etc.
# ONLY root and users in the amanda group should be able to run these binaries!
amanda_permissions_fix() {
local root="$1"
[ -z "${root}" ] && die "Failed to pass root argument to amanda_permissions_fix!"
local le="/usr/libexec/amanda"
for i in /usr/sbin/amcheck "${le}"/calcsize "${le}"/killpgrp \
"${le}"/rundump "${le}"/runtar "${le}"/dumper \
"${le}"/planner ; do
chown root:${AMANDA_GROUP_NAME} "${root}"/${i}
chmod u=srwx,g=rx,o= "${root}"/${i}
done
}
Some overlays require other overlays to be accessible (and may not be available through layman's defaults). Should we handle this? If so, how should we handle this?
Error: /home/alunduil/Projects/gentoo/portage-tree/net-p2p/bitcoin-qt/bitcoin-qt-0.8.5.ebuild
39: local filt= yeslang= nolang=
^
unexpected token (=): =
local mycmakeargs=(
-DVALA_EXECUTABLE="${VALAC}"
-DGSETTINGS_COMPILE=OFF
-DMINIMAL_FLAGS=ON
)
cmake-utils_src_configure
38: -DVALA_EXECUTABLE="${VALAC}"
^
unexpected token (=): =
Error: 38: -DVALA_EXECUTABLE="${VALAC}"
^
unexpected token (=): =
Error: /home/alunduil/Projects/gentoo/portage-tree/net-print/adobeps/adobeps-1.0.6-r1.ebuild
23: IUSE_LINGUAS=( en da de es fi fr it ja ko nl no pt_BR se zh_CN )
^
unexpected token (FI): fi
26: insinto /usr/$(get_libdir)/crda/
^
unexpected token ((): (
Error: /usr/portage/net-wireless/wireless-regdb/wireless-regdb-20130213.ebuild
26: insinto /usr/$(get_libdir)/crda/
^
unexpected token ((): (
Error: /home/alunduil/Projects/gentoo/portage-tree/gnome-base/dconf/dconf-0.12.1.ebuild
32: echo 'CONFIG_PROTECT_MASK="/etc/dconf"' >> 51dconf
^
unexpected token (NUMBER): 51
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.