hamlib build errors
I think I've made some progress, TU Christoph. However, I think just
before the build would otherwise finish, it exits status 2.
What did I do wrong? Adding edited control file & text file of
steps/events/errors.
TU & 73
Jaye ke6sls
--
wishing you well
Jaye, ke6sls--via the toshiba w/thunderchicken
Source: hamlib
Section: hamradio
Priority: optional
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Uploaders:
Ervin Hegedus <airween@gmail.com>,
Christoph Berg <myon@debian.org>,
Build-Depends:
debhelper-compat (= 13),
dh-lua,
dh-python,
libgd-dev,
libindi-dev,
libltdl3-dev,
libnova-dev,
libperl-dev,
libtool-bin,
libusb-1.0-0-dev [linux-any hurd-any],
pkg-config,
python3-all-dev,
source-highlight,
swig,
tcl-dev,
texinfo,
zlib1g-dev,
Build-Depends-Indep:
doxygen,
graphviz,
Standards-Version: 4.6.0
Homepage: https://sourceforge.net/projects/hamlib/
Vcs-Browser: https://salsa.debian.org/debian-hamradio-team/hamlib
Vcs-Git: https://salsa.debian.org/debian-hamradio-team/hamlib.git
Rules-Requires-Root: no
Package: libhamlib4
Architecture: any
Section: libs
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
${misc:Depends},
${shlibs:Depends},
Breaks:
wsjtx (<< 2.4.0~),
libhamlib-utils (<< 4.1),
Description: Run-time library to control radio transceivers and receivers
Most recent amateur radio transceivers allow external control of their
functions through a computer interface. Unfortunately, control commands are
not always consistent across a manufacturer's product line and each
manufacturer's product line differs greatly from its competitors.
.
This library addresses that issue by providing a standardised programming
interface that applications can talk to and translating that into the
appropriate commands required by the radio in use.
.
This package provides the C run-time form of the library. If you wish to
develop software using this library you need the 'libhamlib-dev' package.
Package: libhamlib-utils
Architecture: any
Multi-Arch: no
Depends:
${misc:Depends},
${shlibs:Depends},
libhamlib4 (= ${binary:Version}),
Description: Utilities to support the hamlib radio control library
Most recent amateur radio transceivers allow external control of their
functions through a computer interface. Unfortunately, control commands are
not always consistent across a manufacturer's product line and each
manufacturer's product line differs greatly from its competitors.
.
This library addresses that issue by providing a standardised programming
interface that applications can talk to and translating that into the
appropriate commands required by the radio in use.
.
This package provides command-line utilities to test the hamlib library and
to control transceivers if you're short of anything more sophisticated:
ampctl ampctld rigctl rigctlcom rigctld rigmem rigsmtr rigswr rotctl rotctld
19apr2023
Today, gonna TRY to build hamlibs into a deb . . Here's what I am working with:
http://kk5jy.net/fldigi-build/ for basic build info
https://www.makeuseof.com/create-deb-packages-debian-ubuntu/
for using latest source and building deb(s) packages.
using source from: https://github.com/Hamlib/Hamlib/releases (latest 4.5.5)
Christoph @ debian-hams helpful tip using that control file
my architecture is amd64
20apr2023 (somehow lost all notes after first build attempt)
First attempt yielded many missing dependencies. Installed no errors.
Second attempt ended with many warnings and exit status 2.
21apr2023
Trimmed down control file I downloaded from https://salsa.debian.org/debian-hamradio-team/hamlib
rm -r hamlib-4.5.5
mkdir deb-build
cd deb-build
cp ~/Desktop/hamlib-4.5.5.tar.gz .
tar -zxvf hamlib-4.5.5.tar.gz
cd hamlib-4.5.5
export DEBEMAIL="your@mail.com"
export DEBFULLNAME="Name Lastname"
dh_make --createorig
cd debian
cp ~/Desktop/control .
cd ..
dpkg-buildpackage
I think these are the same warnings from first attempt of using the control file before I edited:
make[1]: Leaving directory '/home/jaye/Desktop/deb-build/hamlib-4.5.5'
dh_installdocs
dh_installchangelogs
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_missing
dh_missing: warning: usr/bin/ampctl exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/bin/ampctld exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/bin/rigctl exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/bin/rigctlcom exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/bin/rigctld exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/bin/rigmem exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/bin/rigsmtr exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/bin/rigswr exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/bin/rigtestlibusb exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/bin/rotctl exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/bin/rotctld exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/include/hamlib/ampclass.h exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/include/hamlib/amplifier.h exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/include/hamlib/amplist.h exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/include/hamlib/config.h exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/include/hamlib/rig.h exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/include/hamlib/rig_dll.h exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/include/hamlib/rigclass.h exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/include/hamlib/riglist.h exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/include/hamlib/rotator.h exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/include/hamlib/rotclass.h exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/include/hamlib/rotlist.h exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/libhamlib++.a exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/libhamlib++.la exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/libhamlib++.so exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/libhamlib++.so.4 exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/libhamlib++.so.4.0.6 exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/libhamlib.a exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/libhamlib.la exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/libhamlib.so exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/libhamlib.so.4 exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/libhamlib.so.4.0.6 exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/pkgconfig/hamlib.pc exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/aclocal/hamlib.m4 exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/doc/hamlib/COPYING exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/doc/hamlib/COPYING.LIB exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/doc/hamlib/ChangeLog exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/doc/hamlib/LICENSE exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/doc/hamlib/README exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/doc/hamlib/README.betatester exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/doc/hamlib/README.developer exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/man/man1/ampctl.1 exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/man/man1/ampctld.1 exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/man/man1/rigctl.1 exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/man/man1/rigctlcom.1 exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/man/man1/rigctld.1 exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/man/man1/rigmem.1 exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/man/man1/rigsmtr.1 exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/man/man1/rigswr.1 exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/man/man1/rotctl.1 exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/man/man1/rotctld.1 exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/man/man7/hamlib-primer.7 exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/man/man7/hamlib-utilities.7 exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/man/man7/hamlib.7 exists in debian/tmp but is not installed to anywhere
The following debhelper tools have reported what they installed (with files per package)
* dh_installdocs: libhamlib-utils (0), libhamlib4 (0)
If the missing files are installed by another tool, please file a bug against it.
When filing the report, if the tool is not part of debhelper itself, please reference the
"Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+).
(in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.gz)
Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built
If the omission is intentional or no other helper can take care of this consider adding the
paths to debian/not-installed.
Remember to be careful with paths containing "x86_64-linux-gnu", where you might need to
use a wildcard or (assuming compat 13+) e.g. ${DEB_HOST_MULTIARCH} in debian/not-installed
to ensure it works on all architectures (see #961104).
dh_missing: error: missing files, aborting
make: *** [debian/rules:18: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
jaye@CF-52:~/Desktop/deb-build/hamlib-4.5.5$
Reply to: