Bug#377964: [Build-common-hackers] Bug#377964: cdbs should use the unversioned interpreter for the default python version

Peter Eisentraut peter_e at gmx.net
Mon Jul 24 23:12:35 UTC 2006


Matthias Klose wrote:
> Peter Eisentraut writes:
> > Matthias Klose wrote:
> > > the interpreter is used by installation scripts to set the
> > > interpreter name in scripts, leading to hash lines
> > > /usr/bin/python2.3, which dh_python then turns into a python2.3
> > > dependency. Please call the unversioned interpreter for the
> > > default python version.
> >
> > I have implemented a fix for this -- see attached patch -- but it
> > breaks the python-numpy build, which you nominated as example, so
> > I'm unsure what to do.
>
> I'll have a look. In which ways does it break?

dh_install -ppython-numpy --sourcedir=debian/tmp
cp: Aufruf von stat für »debian/tmp//usr/bin/f2py2.3« nicht möglich: Datei oder Verzeichnis nicht gefunden

There is only a debian/tmp//usr/bin/f2py.  So probably the file name is
determined from the interpreter name?!?




More information about the Build-common-hackers mailing list