View Issue Details

IDProjectCategoryView StatusLast Update
0000571ascendbuild-linuxpublic2013-02-26 13:42
Assigned Tojohn 
Status assignedResolutionopen 
PlatformLinuxOSFedoraOS Version18
Product Version 
Target Version0.9.9Fixed in Version 
Summary0000571: Invalid syntax in File "/builddir/build/BUILD/ascend/scons/", line 43
DescriptionThis 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
+ 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 -
+ '[' 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
+ 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_CPPPATH = ['/usr/include/graphviz']
  File "/builddir/build/BUILD/ascend/scons/", line 43
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/", line 70, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.7/site-packages/mockbuild/", 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']
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

By using the command above, for building will be used scons-2.0.1-1.el5
TagsNo tags attached.



There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2013-02-05 05:19 sagitter New Issue
2013-02-05 05:19 sagitter Status new => assigned
2013-02-05 05:19 sagitter Assigned To => john
2013-02-26 13:42 john Target Version => 0.9.9