[Engine-devel] Problem with development environment

Alon Bar-Lev alonbl at redhat.com
Fri Jun 28 07:46:36 UTC 2013


Hello Marina,

Thank you for the report.

I can confirm that.

Workaround:

rm -f packaging/dbscripts/upgrade.sh.log

I will fix that soon.

Thanks,
Alon

----- Original Message -----
> From: "Martin Perina" <mperina at redhat.com>
> To: engine-devel at ovirt.org
> Sent: Friday, June 28, 2013 8:59:53 AM
> Subject: [Engine-devel] Problem with development environment
> 
> Hi,
> 
> I've encountered a problem using development environment. When I run
> 
>  make clean install-dev PREFIX="$HOME/ovirt-engine"
> 
> there appears this error message:
> 
> make[2]: Leaving directory `/home/mperina/projects/ovirt/ovirt-engine'
> # we should avoid make these directories dirty
> make copy-recursive SOURCEDIR=packaging/dbscripts
> TARGETDIR="/home/mperina/ovirt-engine/share/ovirt-engine/dbscripts" \
> 	EXCLUDE_GEN="packaging/bin/engine-prolog.sh packaging/bin/pki-common.sh
> 	packaging/conf/engine.conf.defaults packaging/conf/notifier.conf.defaults
> 	packaging/conf/ovirt-websocket-proxy.conf.defaults
> 	packaging/etc/engine-config/log4j.xml
> 	packaging/etc/engine-manage-domains/log4j.xml
> 	packaging/etc/engine-manage-domains/engine-manage-domains.conf
> 	packaging/etc/notifier/log4j.xml packaging/sys-etc/logrotate.d/ovirt-engine
> 	packaging/services/config.py packaging/services/ovirt-engine.systemd
> 	packaging/services/ovirt-engine.sysv
> 	packaging/services/ovirt-engine-notifier.systemd
> 	packaging/services/ovirt-engine-notifier.sysv
> 	packaging/services/ovirt-websocket-proxy.systemd
> 	packaging/services/ovirt-websocket-proxy.sysv
> 	packaging/setup/ovirt_engine_setup/config.py
> 	packaging/bin/ovirt-engine-log-setup-event.sh ovirt-engine.spec " \
> 	EXCLUDE="$(find packaging/dbscripts \( -name '*.scripts.md5' -or -name
> 	'*.schema' -or -name '*.log' \))"
> make[2]: Entering directory `/home/mperina/projects/ovirt/ovirt-engine'
> ( cd "packaging/dbscripts" && find . -type d -printf '%P\n' ) | while read d;
> do \
> 	install -d -m 755
> 	"/home/mperina/ovirt-engine/share/ovirt-engine/dbscripts/${d}"; \
> done
> ( \
> 	cd "packaging/dbscripts" && find . -type f -printf '%P\n' | \
> 	while read f; do \
> 		exclude=false; \
> 		set -x; \
> 		for x in packaging/bin/engine-prolog.sh packaging/bin/pki-common.sh
> 		packaging/conf/engine.conf.defaults packaging/conf/notifier.conf.defaults
> 		packaging/conf/ovirt-websocket-proxy.conf.defaults
> 		packaging/etc/engine-config/log4j.xml
> 		packaging/etc/engine-manage-domains/log4j.xml
> 		packaging/etc/engine-manage-domains/engine-manage-domains.conf
> 		packaging/etc/notifier/log4j.xml
> 		packaging/sys-etc/logrotate.d/ovirt-engine packaging/services/config.py
> 		packaging/services/ovirt-engine.systemd
> 		packaging/services/ovirt-engine.sysv
> 		packaging/services/ovirt-engine-notifier.systemd
> 		packaging/services/ovirt-engine-notifier.sysv
> 		packaging/services/ovirt-websocket-proxy.systemd
> 		packaging/services/ovirt-websocket-proxy.sysv
> 		packaging/setup/ovirt_engine_setup/config.py
> 		packaging/bin/ovirt-engine-log-setup-event.sh ovirt-engine.spec ; do \
> 			if [ "packaging/dbscripts/${f}" = "${x}.in" ]; then \
> 				exclude=true; \
> 				break; \
> 			fi; \
> 		done; \
> 		for x in packaging/dbscripts/upgrade.sh.log
> /bin/sh: -c: line 12: syntax error: unexpected end of file
> make[2]: *** [copy-recursive] Error 1
> make[2]: Leaving directory `/home/mperina/projects/ovirt/ovirt-engine'
> make[1]: *** [install-packaging-files] Error 2
> make[1]: Leaving directory `/home/mperina/projects/ovirt/ovirt-engine'
> make: *** [install-dev] Error 2
> 
> 
> I've already upgraded to otopi 1.1 (currently
> 1.1.0-0.0.master.20130626.git33d9561.fc18).
> 
> 
> Martin Perina
> 
> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 



More information about the Devel mailing list