Barcode backend does not work after update to ubuntu 20.04

Bug #1901164 reported by Eduard Mann
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
barcode (Ubuntu)
Confirmed
Undecided
Unassigned
glabels (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Release:
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Paket: glabels (3.4.1-1.2) [universe]

Expected that labels which were created with Ubuntu 18.04, including barcode code 128, still displayed and could be printed.Unfortunately the barcode is not displayed any more. Error Message Barcode is not valid - free translation.

Further the gnu-barcode / barcode backend is not selectable for the barcode object in glabels, even the barcode package is installed.

Assumption:

the barcode package does not install the library starting from 0.99 by default (which is fixed in the groovy version 0.99-4), therefore the build of the glabels package does not include this library during the build phase neither are the runtime libs provided on the installed system.

Workaround which worked for me:

Uninstall the packages:
* barcode (0.99-3) [universe]
* glabels (3.4.1-1.2) [universe]
* glabels-data (3.4.1-1.2) [universe]

Download and Install the barcode package from groovy (using dpkg -i):

* barcode (0.99-4) [universe]

Rebuild the glabels package from Source:

mkdir glabels-build
cd glabels-build/
apt-get source glabels
cd glabels-3.4.1/
debchange -i
dpkg-source --commit
debuild -us -uc -i -I

Install the fresh build package:

sudo debi

The barcode backend become available in glabels after the above steps.

Please find also the build packages attached.

Tags: foca
Revision history for this message
Eduard Mann (edma) wrote :
Eduard Mann (edma)
description: updated
Revision history for this message
Monisa Aslam (libsmcs) wrote :

while trying to install build packages attached, receiving the error, xubuntu20 "the following package have unmet dependencies"

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in barcode (Ubuntu):
status: New → Confirmed
Changed in glabels (Ubuntu):
status: New → Confirmed
Revision history for this message
Kytrix (kytrix) wrote :

Thanks for your help !
I was able to generate labels with code128 barcode.
I just had to manualy install some dev packages in specific version, because of dependencies issues.

Revision history for this message
Kytrix (kytrix) wrote :

here is the two package i had to install manually:
sudo apt install libpcre3=2:8.39-12build1 libpcre2-8-0=10.34-7

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.