[Debian-med-packaging] Renamed repository of biosig moved to match new source package name

Alois Schlögl alois.schloegl at gmail.com
Sun Oct 18 22:26:46 BST 2020


On 10/18/20 10:47 PM, Andreas Tille wrote:
> Hi Alois,
>
> On Sun, Oct 18, 2020 at 09:35:23PM +0200, Alois Schlögl wrote:
>> Thanks, I think this is now a much cleaner structure for managing the source
>> code.
> Yes.
>   
>> Sure, I can have a look. What error do you see ?
>>
>> When I do this
>>
>> git clone https://salsa.debian.org/med-team/biosig biosig-debian
>> cd biosig-debian/
>> ./configure && make
>>
>> I do not see any error. Could it be some compile-time dependency is not
>> installed ?
> ...
> #-/usr/bin/octave --no-gui --eval "pkg install -global biosig4c++/mex/mexbiosig-2.1.0.src.tar.gz"
> # *.mex
> install -d /build/biosig-2.1.0/debian/tmp/usr/lib/x86_64-linux-gnu/octave/site/oct/x86_64-pc-linux-gnu/biosig
> install biosig4c++/mex/*.mex /build/biosig-2.1.0/debian/tmp/usr/lib/x86_64-linux-gnu/octave/site/oct/x86_64-pc-linux-gnu/biosig
> # biosig for octave and matlab
> install -d /build/biosig-2.1.0/debian/tmp/usr/share/octave/site/m/biosig
> cp -r biosig4matlab/*  /build/biosig-2.1.0/debian/tmp/usr/share/octave/site/m/biosig
> rm -rf /build/biosig-2.1.0/debian/tmp/usr/share/octave/site/m/biosig/maybe-missing
> make[2]: *** No rule to make target 'biosig4c++/python/dist/Biosig-2.1.0.tar.gz', needed by 'install'.  Stop.
> make[2]: Leaving directory '/build/biosig-2.1.0'
> dh_auto_install: error: make -j4 install DESTDIR=/build/biosig-2.1.0/debian/tmp AM_UPDATE_INFO_DIR=no returned exit code 2
> make[1]: *** [debian/rules:50: override_dh_auto_install] Error 25
> make[1]: Leaving directory '/build/biosig-2.1.0'
> make: *** [debian/rules:14: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
>

This requires setuptools. Try

      sudo apt-get install python3-setuptools


It's recommended to install:

apt-get install \
         gawk \
         libb64-dev tinyxml-dev libdcmtk-dev \
         liboctave-dev octave \
         python-numpy python3-numpy \
         python-setuptools python3-setuptools \
         libpython-dev libpython3-dev \
         R openjdk-11-jdk


>
> BTW, if you create the release tarball I'd recommend to not ship the dir
> autom4te.cache dir neither config.h.in~, config.log nor config.guess.


Thanks for the hint.

    Alois



>
> Kind regards
>
>       Andreas.
>
>



More information about the Debian-med-packaging mailing list