x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src -I../common -O2 -pipe -march=native -Wall -Wno-unknown-pragmas -c -o CupsPrintEnvironment.o `test -f '../common/CupsPrintEnvironment.cpp' || echo './'`../common/CupsPrintEnvironment.cpp ../common/CupsPrintEnvironment.cpp: In member function ‘virtual void DymoPrinterDriver::CCupsPrintEnvironmentForLM::ReadData(DymoPrinterDriver::buffer_t&)’: ../common/CupsPrintEnvironment.cpp:139:23: error: ‘cupsBackChannelRead’ was not declared in this scope 139 | ssize_t bytesRead = cupsBackChannelRead((char*)buf, sizeof(buf), 2.5); | ^~~~~~~~~~~~~~~~~~~ make[4]: *** [Makefile:497: CupsPrintEnvironment.o] Error 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_developer-libressl-20190902-111655 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.37.0 * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.13.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm repository timestamp: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Sat, 07 Sep 2019 02:07:03 +0000 emerge -qpvO net-print/dymo-cups-drivers [ebuild N ] net-print/dymo-cups-drivers-1.4.0-r1 USE="-test -usb_modeswitch"
Created attachment 589286 [details] emerge-info.txt
Created attachment 589288 [details] emerge-history.txt
Created attachment 589290 [details] environment
Created attachment 589292 [details] etc.portage.tbz2
Created attachment 589294 [details] logs.tbz2
Created attachment 589296 [details] net-print:dymo-cups-drivers-1.4.0-r1:20190907-023205.log
Created attachment 589298 [details] temp.tbz2
I confirm the same issue, and the fix from upstream at https://github.com/codeprofis/dymo-cups-drivers/pull/1 resolves the issue. The change in src/common/CupsPrintEnvironment.h line 21, add: #include <cups/backend.h> #include <cups/sidechannel.h>
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=467014aadc7dd5e85c0aa4e25083d7a67b8c95c5 commit 467014aadc7dd5e85c0aa4e25083d7a67b8c95c5 Author: Robin H. Johnson <robbat2@gentoo.org> AuthorDate: 2020-11-24 23:01:14 +0000 Commit: Robin H. Johnson <robbat2@gentoo.org> CommitDate: 2020-11-24 23:03:44 +0000 net-print/dymo-cups-drivers: compile-fix for cups-2.3 Fixes: https://bugs.gentoo.org/show_bug.cgi?id=693652 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> .../dymo-cups-drivers-1.4.0-r2.ebuild | 55 ++++++++++++++++++++++ .../files/cups-2.3.0-headers.patch | 24 ++++++++++ 2 files changed, 79 insertions(+)