(This is still about compiling Pd-vanilla on two Ubuntu Studio laptops)

I solved the dependencies by installing the following libraries -before running the script- on both Ubuntu 14 Trusty and Ubuntu 16 Xenial laptops:
sudo apt-get install libjack-jackd2-dev
sudo apt-get install portaudio19-dev
sudo apt-get install equivs
sudo apt-get install debhelper

Next I ran the script of IOhannes line by line

export LANG=C
MAINREPO=https://deb.debian.org/debian/pool/main/
PDVER=0.50.2-1
sudo apt-get install devscripts
mkdir -p build
cd build
dget -u ${MAINREPO}/p/puredata/puredata_${PDVER}.dsc
cd puredata-${PDVER%-*}
echo 9 > debian/compat
I changed the line "debhelper-compat (= 12)" in debian/control into "debhelper (>= 9)"
sudo mk-build-deps -ir                         

And when I ran the following command "dpkg-buildpackage -rfakeroot" there was a problem on both laptops, "No targets specified and no makefile found." I checked and in the folder build/puredata-0.50.2 there is a Makefile.am file. This is the printout after the "dpkg-buildpackage -rfakeroot" command (exactly the same for both laptops):

-----
dpkg-buildpackage: source package puredata
dpkg-buildpackage: source version 0.50.2-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
dpkg-buildpackage: host architecture i386
 dpkg-source --before-build puredata-0.50.2
dpkg-source: warning: unknown information field 'Rules-Requires-Root' in input data in general section of control info file
 fakeroot debian/rules clean
dh clean
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory `/home/hans/build/puredata-0.50.2'
rm -f debian/gui-plugins/pd-gui-plugin.1
dh_auto_clean
make[1]: Leaving directory `/home/hans/build/puredata-0.50.2'
   dh_clean
 dpkg-source -b puredata-0.50.2
dpkg-source: warning: unknown information field 'Rules-Requires-Root' in input data in general section of control info file
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building puredata using existing ./puredata_0.50.2.orig.tar.gz
dpkg-source: info: building puredata in puredata_0.50.2-1.debian.tar.gz
dpkg-source: info: building puredata in puredata_0.50.2-1.dsc
 debian/rules build
dh build
   dh_testdir
   debian/rules override_dh_auto_configure
make[1]: Entering directory `/home/hans/build/puredata-0.50.2'
dh_auto_configure -- \
        --program-transform-name='s/pd$/puredata/' \
        --libdir=/usr/lib/ \
         --enable-alsa --enable-jack --without-local-portaudio --without-local-portmidi \
        CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed"
make[1]: Leaving directory `/home/hans/build/puredata-0.50.2'
   debian/rules override_dh_auto_build
make[1]: Entering directory `/home/hans/build/puredata-0.50.2'
help2man -N -n "enable or disable a Pd GUI plugin" debian/gui-plugins/pd-gui-plugin > debian/gui-plugins/pd-gui-plugin.1
make CPPFLAGS="-DPD_TIMESTAMP_STRING='\"compiled for Debian (0.50.2-1) on 2020/01/16 at 12:06:08 UTC\"' "
make[2]: Entering directory `/home/hans/build/puredata-0.50.2'
make[2]: *** No targets specified and no makefile found.  Stop.
make[2]: Leaving directory `/home/hans/build/puredata-0.50.2'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/home/hans/build/puredata-0.50.2'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

best,
Hans

On 1/13/20 10:57 PM, IOhannes m zmölnig wrote:
On 1/13/20 10:25 PM, info@hansroels.be wrote:
dpkg-source: warning: unknown information field 'Rules-Requires-Root' in
input data in general section of control info file
is that the xenial or the bionic host?


dpkg-checkbuilddeps: Unmet build dependencies: debhelper-compat (= 12)
you might want to remove that line from debian/control and instead try
$ echo 9 > debian/compat

portaudio19-dev libjack-dev
this i don't understand.
according to https://packages.ubuntu.com/ both of these packages are
present on both xenial and bionic.
you must have the "universe" repository enabled (but afaik, this is
standard)

fasrm
IOhannes


_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list


--