Bug#681750: code-aster-run (as_run) seems to need code-aster-gui (astk)

Andrea Palazzi palazziandrea at yahoo.it
Mon Jul 16 07:37:07 UTC 2012


Package: code-aster-run
Version: 1.8.4-4
Severity: serious
Tags: upstream
Justification: fails to build from source

Hi,

when trying to build binary packages from aster source package, I get
this error:

gv[0]; main() /usr/bin/as_run --make --vers=STA10.6 --destdir=/tmp/buildd/aster-
10.6.0-1/debian/tmp --config=/tmp/buildd/aster-10.6.0-1/debian/tmp//usr/lib/code
aster/STA10.6/config-py2.6.txt
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.6/dist-packages/asrun/main.py", line 109, in main
    start()
  File "/usr/lib/python2.6/dist-packages/asrun/main.py", line 51, in start
    run = AsterRun()
  File "/usr/lib/python2.6/dist-packages/asrun/run.py", line 147, in __init__
    self._init_rc()
  File "/usr/lib/python2.6/dist-packages/asrun/run.py", line 232, in _init_rc
    client.init_user_resource(osp.basename(ficrc))
  File "/usr/lib/python2.6/dist-packages/asrun/client/config.py", line 100, in init_user_resource
    copyfile(self.rcfile(filename, osp.join(confdir, 'astkrc')), self.rcfile(filename))
  File "/usr/lib/python2.6/shutil.py", line 50, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/etc/codeaster/astkrc/prefs'
make: *** [install] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
E: Failed autobuilding of package

It seems that as_run looks for config files of the code-aster-gui
package; I don't see any reason for this, maybe it should be discussed
with upstream...

A (temporary) fix should be to make code-aster-run depending on
code-aster-gui.

Bye
Andrea

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages code-aster-run depends on:
ii  debconf         1.5.42
ii  python          2.7.2-10
ii  python-numpy    1:1.5.1-4
ii  python-support  1.0.14

code-aster-run recommends no packages.

Versions of packages code-aster-run suggests:
ii  ddd    1:3.3.12-3
ii  emacs  23.4+1-2
ii  gdb    7.4really-1

-- Configuration Files:
/etc/codeaster/asrun changed [not included]
/etc/codeaster/aster changed [not included]

-- no debconf information



More information about the debian-science-maintainers mailing list