← Back to team overview

yade-pkg team mailing list archive

Re: r2478 packaging problem

 

 Hi, Vaclav,

you have changed those strings already?

Anyway, 2486 does not packages:


scons: done building targets.
#install platform-independent files (docs, scripts, examples)
#NO_SCONS_GET_RECENT= scons profile=deb PREFIX=debian/yade-bzr2486/usr debian/yade-bzr2486/usr/share/doc/yade-bzr2486-doc
mkdir -p debian/yade-bzr2486/usr/share/doc/yade-bzr2486
cp -r examples scripts debian/yade-bzr2486/usr/share/doc/yade-bzr2486
# copy pixmap files in relevant directories
mkdir -p debian/yade-bzr2486/usr/share/pixmaps
cp debian/*.xpm debian/yade-bzr2486/usr/share/pixmaps
# UGLY! generate sphinx docs only if python-sphinx is installed (distinguishes distributions which should build it or not as per debian/control-template build-deps) if dpkg-query -W python-sphinx; then cd doc/sphinx; PYTHONPATH=. YADE_PREFIX=../../debian/yade-bzr2486/usr/ ../../debian/yade-bzr2486/usr/bin/yade-bzr2486 yadeSphinx.py; cd _build/latex; xelatex Yade.tex; xelatex Yade.tex; xelatex Yade.tex; cd ../..; mkdir -p ../../debian/yade-bzr2486-doc/usr/share/doc/yade-bzr2486; cp -r _build/html _build/latex/Yade.pdf ../../debian/yade-bzr2486-doc/usr/share/doc/yade-bzr2486; else echo "Not building HTML documentation, since the python-sphinx package is not installed"; fi
python-sphinx    1.0~hg20100604
Welcome to Yade bzr2486
Traceback (most recent call last):
File "../../debian/yade-bzr2486/usr/bin/yade-bzr2486", line 105, in <module>
    import yade
File "../../debian/yade-bzr2486/usr//lib/yade-bzr2486/py/yade/__init__.py", line 60, in <module>
    import system
File "../../debian/yade-bzr2486/usr//lib/yade-bzr2486/py/yade/system.py", line 9, in <module>
    from yade._customConverters import *
ImportError: ../../debian/yade-bzr2486/usr//lib/yade-bzr2486/py/yade/_customConverters.so: undefined symbol: _ZTV10MatchMaker
cd: 1: can't cd to _build/latex
This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian)
 restricted \write18 enabled.
entering extended mode
! I can't find file `Yade.tex'.
<*> Yade.tex

(Press Enter to retry, or Control-D to exit)
Please type another input file name:
! Emergency stop.
<*> Yade.tex

No pages of output.
Transcript written on texput.log.
This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian)
 restricted \write18 enabled.
entering extended mode
! I can't find file `Yade.tex'.
<*> Yade.tex

(Press Enter to retry, or Control-D to exit)
Please type another input file name:
! Emergency stop.
<*> Yade.tex

No pages of output.
Transcript written on texput.log.
This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian)
 restricted \write18 enabled.
entering extended mode
! I can't find file `Yade.tex'.
<*> Yade.tex

(Press Enter to retry, or Control-D to exit)
Please type another input file name:
! Emergency stop.
<*> Yade.tex

No pages of output.
Transcript written on texput.log.
cp: cannot stat `_build/html': No such file or directory
cp: cannot stat `_build/latex/Yade.pdf': No such file or directory
make: *** [install] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//18296 and its subdirectories






On 13.10.2010 15:08, Vaclav Smilauer wrote:
Hi Anton, sorry for that.

I think it should help if you go to py/SConscript and modify this line:

-       env.SharedLibrary('_customConverters',['wrapper/customConverters.cpp'],SHLIBPREFIX='',LIBS=env['LIBS']+linkPlugins(['Dispatching']))
+       env.SharedLibrary('_customConverters',['wrapper/customConverters.cpp'],SHLIBPREFIX='',LIBS=env['LIBS']+linkPlugins(['Dispatching']+(['OpenGLRenderer','GLDrawFunctor'] if 'opengl' in env['features'] else [])))

I am sorry to not do it myself now, as the whole trunk here is messy...

Cheers, vaclav



_______________________________________________
Mailing list: https://launchpad.net/~yade-pkg
Post to     : yade-pkg@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-pkg
More help   : https://help.launchpad.net/ListHelp





Follow ups

References