View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000571 | ascend | build-linux | public | 2013-02-05 05:19 | 2013-02-26 13:42 |
Reporter | sagitter | ||||
Assigned To | john | ||||
Priority | high | Severity | block | Reproducibility | always |
Status | assigned | Resolution | open | ||
Platform | Linux | OS | Fedora | OS Version | 18 |
Product Version | |||||
Target Version | 0.9.9 | Fixed in Version | |||
Summary | 0000571: Invalid syntax in File "/builddir/build/BUILD/ascend/scons/sundials.py", line 43 | ||||
Description | This error appears when I try to build an 'el5 rpm' by using 'mock' tool. In Fedora 18 it is not present. In particular: ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/ascend.spec'], False, '/var/lib/mock/epel-5-x86_64/root/', None, 0, True, False, 1000, 984, None, False, {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'}, logger=<mockbuild.trace_decorator.getLog object at 0x1154790>) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/ascend.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.81430 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf ascend + /bin/gzip -dc /builddir/build/SOURCES/ascend-0.9.8.tar.gz + tar -xf - tar: Read 8704 bytes from - + STATUS=0 + '[' 0 -ne 0 ']' + cd ascend ++ /usr/bin/id -u + '[' 1000 = 0 ']' ++ /usr/bin/id -u + '[' 1000 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.32432 + umask 022 + cd /builddir/build/BUILD + cd ascend + LANG=C + export LANG + unset DISPLAY + scons -j2 INSTALL_ROOT=/var/tmp/ascend-0.9.8-0.1.4424svn.el5.centos-d24842 INSTALL_PREFIX=/usr INSTALL_SHARE=/usr/share INSTALL_BIN=/usr/bin INSTALL_INCLUDE=/usr/include INSTALL_LIB=/usr/lib64 INSTALL_DOC=/usr/share/doc/ascend-0.9.8 TCL=/usr DEBUG=1 WITH_DOC_BUILD=1 WITH_DOC_INSTALL=1 WITH_SOLVERS=QRSLV,LSODE,CMSLV,IDA,LRSLV,DOPRI5,IPOPT ABSOLUTE_PATHS=1 CC=gcc CXX=g++ ascend ascxx pygtk tcltk models solvers scons: Reading SConscript files ... GRAPHVIZ_LIBS = ['gvc', 'graph', 'cgraph', 'cdt'] GRAPHVIZ_LIBPATH = None GRAPHVIZ_CPPPATH = ['/usr/include/graphviz'] File "/builddir/build/BUILD/ascend/scons/sundials.py", line 43 finally: ^ SyntaxError: invalid syntax error: Bad exit status from /var/tmp/rpm-tmp.32432 (%build) Bad exit status from /var/tmp/rpm-tmp.32432 (%build) RPM build errors: Child return code was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/ascend.spec'] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 359, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/ascend.spec'] LEAVE do --> EXCEPTION RAISED | ||||
Steps To Reproduce | - Upgrade to sundials-2.5.0 - Running $ mock --no-clean -r epel-5-x86_64 rebuild ascend-0.9.8-0.1.4424svn.fc18.src.rpm PS. By using the command above, for building will be used scons-2.0.1-1.el5 | ||||
Tags | No tags attached. | ||||