femhub-distribution git version FTBS on Ubuntu 12.04

21 views
Skip to first unread message

Christophe Trophime

unread,
Oct 18, 2012, 2:59:00 AM10/18/12
to fem...@googlegroups.com
Hi,
I'm trying to install femhub-distribution from git on my Ubuntu 12.04.
When typing "make" I got an error complaining about libblas directory.
This can easily be changed (do I also need to libblas.* files from /usr/lib).

Then I get stuck with the following error :


Detected package name: zlib
Installing zlib...
Installing dependencies for zlib...
Package femhub_deb/source/zlib.deb at host: http://femhub.org/stpack/
http://femhub.org/stpack/femhub_deb/source/zlib.deb
Package femhub_spkg/zlib.spkg at host: http://femhub.org/stpack/
http://femhub.org/stpack/femhub_spkg/zlib.spkg
package not found, trying apt-get repo
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances      
Lecture des informations d'état... Fait
Note : la maintenance du paquet de « zlib » est réalisée dans le système de suivi de versions « Bzr » à l'adresse :
http://bzr.debian.org/bzr/pkg-zlib/zlib/debian
Veuillez utiliser la commande :
bzr branch http://bzr.debian.org/bzr/pkg-zlib/zlib/debian
pour récupérer les dernières mises à jour (éventuellement non encore publiées) du paquet.
Nécessité de prendre 583 ko dans les sources.
Réception de : 1 http://fr.archive.ubuntu.com/ubuntu/ precise/main zlib 1:1.2.3.4.dfsg-3ubuntu4 (dsc) [2 463 B]
Réception de : 2 http://fr.archive.ubuntu.com/ubuntu/ precise/main zlib 1:1.2.3.4.dfsg-3ubuntu4 (tar) [562 kB]
Réception de : 3 http://fr.archive.ubuntu.com/ubuntu/ precise/main zlib 1:1.2.3.4.dfsg-3ubuntu4 (diff) [18,8 kB]
583 ko réceptionnés en 0s (1 931 ko/s)
dpkg-source: info: extraction de zlib dans zlib-1.2.3.4.dfsg
dpkg-source: info: extraction de zlib_1.2.3.4.dfsg.orig.tar.gz
dpkg-source: info: extraction de zlib_1.2.3.4.dfsg-3ubuntu4.debian.tar.gz
dpkg-source: info: mise en place de install-shlib
dpkg-source: info: mise en place de minizip-build
dpkg-source: info: mise en place de revert-eof-reporting
dpkg-source: info: mise en place de revert-transparent-feof-test
dpkg-source: info: mise en place de debian-changes-1:1.2.3.4.dfsg-3
dpkg-source: info: mise en place de debian-changes-1:1.2.3.4.dfsg-3ubuntu1
Traceback (most recent call last):
  File "/home/trophime/femhub-distribution/spkg/base/femhub_run.py", line 1163, in <module>
    main()
  File "/home/trophime/femhub-distribution/spkg/base/femhub_run.py", line 163, in main
    build(cpu_count=options.cpu_count)
  File "/home/trophime/femhub-distribution/spkg/base/femhub_run.py", line 1033, in build
    install_package(pkg)
  File "/home/trophime/femhub-distribution/spkg/base/femhub_run.py", line 809, in install_package
    install_package(dep, force_install)
  File "/home/trophime/femhub-distribution/spkg/base/femhub_run.py", line 868, in install_package
    process_command(["./configure","--prefix=$FEMHUB_LOCAL"], cwd=working_dir_project)
  File "/home/trophime/femhub-distribution/spkg/base/femhub_run.py", line 276, in process_command
    check_call(False, args, cwd=cwd)
  File "/home/trophime/femhub-distribution/spkg/base/femhub_run.py", line 267, in check_call
    retcode = subprocess.call(*popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 20] Not a directory: '/tmp/tmprUPRhh/zlib_1.2.3.4.dfsg.orig.tar.gz'
make: *** [all] Erreur 1

I have no clue how to fix this.

Beside this problem I have a question regarding installation. The install looks for deb packages
or pkg package. Are you using "standard" (or already installed) deb or "your" own debs?

Thanks for your help
Best
C

Omar Sobh

unread,
Oct 18, 2012, 7:18:58 PM10/18/12
to fem...@googlegroups.com
Hi,

I'm experiencing the same error as I try to build off of the Github repo. First Item I did was change the make file so that the files copied over properly. :

all:
        mkdir -p ./local/lib
        cp -a -r /usr/lib/libblas* ./local/lib
        cp -a -r /usr/lib/lapack/* ./local/lib
        cp -a -r /usr/lib/libxerces* ./local/lib
        cp -a -r /usr/lib/libarpack* ./local/lib
        cp -a -r /usr/lib/libumfpack* ./local/lib
        ./femhub -b

clean:
        rm -rf spkg/build

distclean: clean
        rm -rf local
        rm -rf spkg/installed/*


I then run make and it stalls out in the same manner you have shown :
dpkg-source: info: applying debian-changes-1:1.2.3.4.dfsg-3ubuntu1
Traceback (most recent call last):
  File "/home/osobh/Downloads/femhub-femhub-distribution-cdad58f/spkg/base/femhub_run.py", line 1163, in <module>
    main()
  File "/home/osobh/Downloads/femhub-femhub-distribution-cdad58f/spkg/base/femhub_run.py", line 163, in main
    build(cpu_count=options.cpu_count)
  File "/home/osobh/Downloads/femhub-femhub-distribution-cdad58f/spkg/base/femhub_run.py", line 1033, in build
    install_package(pkg)
  File "/home/osobh/Downloads/femhub-femhub-distribution-cdad58f/spkg/base/femhub_run.py", line 809, in install_package
    install_package(dep, force_install)
  File "/home/osobh/Downloads/femhub-femhub-distribution-cdad58f/spkg/base/femhub_run.py", line 868, in install_package
    process_command(["./configure","--prefix=$FEMHUB_LOCAL"], cwd=working_dir_project)
  File "/home/osobh/Downloads/femhub-femhub-distribution-cdad58f/spkg/base/femhub_run.py", line 276, in process_command
    check_call(False, args, cwd=cwd)
  File "/home/osobh/Downloads/femhub-femhub-distribution-cdad58f/spkg/base/femhub_run.py", line 267, in check_call
    retcode = subprocess.call(*popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 20] Not a directory: '/tmp/tmpCuscE3/zlib_1.2.3.4.dfsg-3ubuntu4.dsc'
make: *** [all] Error 1

Wish This could be fixed..
Reply all
Reply to author
Forward
0 new messages