Package Details: glabels3-gnubarcode 3.4.1-8

Git Clone URL: (read-only, click to copy)
Package Base: glabels3-gnubarcode
Description: Creating labels and business cards the very easy way. Now with GNU barcode support.
Upstream URL:
Licenses: GPL, LGPL
Conflicts: glabels
Provides: glabels
Submitter: n3e
Maintainer: n3e
Last Packager: n3e
Votes: 1
Popularity: 0.000000
First Submitted: 2019-06-24 12:06 (UTC)
Last Updated: 2020-07-04 23:14 (UTC)

Dependencies (6)

Required by (5)

Sources (2)

Latest Comments

christianlupus commented on 2021-12-22 12:00 (UTC)

Hello, I had a similar problem. For me, the settings in /etc/makepkg.conf contained a reference to -Werror=format-security in CFLAGS. The following patch solved that for me:

diff --git a/PKGBUILD b/PKGBUILD
index 87394ea..691baf7 100644
@@ -65,13 +65,13 @@ build() {

   # AM_CFLAGS seemed like the best insertion point for -fcommon

-  sed '/^AM_CFLAGS/ s/$/ -fcommon/' -i Makefile*
+  sed '/^AM_CFLAGS/ s/$/ -fcommon -Wno-error=format-security/' -i Makefile*

   # We could just run 
   # make AM_CFLAGS='-Ilib -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DHAVE_CONFIG_H -fcommon'
   # but this could break on non-x86-64 builds.

-  make
+  make CFLAGS="$CFLAGS -Wno-error=format-security"

   # Extract header files we'll need when linking against GNU barcode

gwpl commented on 2021-05-30 14:12 (UTC)

Hello n3e, with rua it's the same.

n3e commented on 2021-05-18 15:11 (UTC)


I have only now noticed your comment. I would like to point out that, as far as I know, Pacaur has been abandoned and people have moved toward other alternatives, such as, for example, yay.

Nevertheless, I have tried to reproduce your issue but to no avail. On a clean machine with necessary dependencies, fetching the PKGBUILD and running makepkg produces a working package.

gwpl commented on 2021-05-06 06:51 (UTC)


I tried do compile with pacaur , and ended up with following error:

plessey.c  -fPIC -DPIC -o .libs/plessey.o
plessey.c: In function 'Barcode_pls_encode':
plessey.c:152:9: error: format not a string literal and no format arguments [-Werror=format-security]
  152 |         sprintf(ptr, patterns[checkptr[strlen(text) * 4 + i]]);
      |         ^~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [Makefile:1426: plessey.lo] Error 1
make[2]: Leaving directory '/home/gw/.cache/pacaur/glabels3-gnubarcode/src/barcode-0.99'
make[1]: *** [Makefile:1448: all-recursive] Error 1
make[1]: Leaving directory '/home/gw/.cache/pacaur/glabels3-gnubarcode/src/barcode-0.99'
make: *** [Makefile:1271: all] Error 2
==> ERROR: A failure occurred in build().
:: intltool is now an orphan package
:: itstool is now an orphan package
:: failed to build glabels3-gnubarcode package(s)

amohanan commented on 2020-07-05 05:17 (UTC)

Yes, it's build completed successfully, Thank you

n3e commented on 2020-07-04 23:17 (UTC)

Should build now.

Tracked the problem to the change of default behavior of GCC-10, where -fno-common became the default instead of -fcommon (see, for example, which broke both GNU barcode and gLabels build process.

amohanan commented on 2020-06-29 06:25 (UTC)

Failed to build package