Giter Club home page Giter Club logo

mchehab / zbar Goto Github PK

View Code? Open in Web Editor NEW
878.0 878.0 185.0 5.26 MB

ZBar is an open source software suite for reading bar codes from various sources, including webcams. As its development stopped in 2012, I took the task of keeping it updated with the V4L2 API. This is the main repository for it. There's a clone at at LinuxTV.org, and another one at gitlab.

Home Page: https://linuxtv.org/downloads/zbar/

License: GNU Lesser General Public License v2.1

Makefile 0.77% Java 2.31% C 65.15% Shell 1.29% M4 1.89% C++ 10.09% Assembly 0.03% Objective-C 10.81% Perl 2.39% HTML 0.22% Python 2.86% XS 1.33% PHP 0.01% NSIS 0.54% Pascal 0.32%
barcode barcode-scanner linux v4l2

zbar's People

Contributors

a1346054 avatar animal451 avatar benck avatar city-busz avatar dagmcr avatar daniel-falk avatar dfandrich avatar dirkmueller avatar dleidert avatar dougsland avatar echterago avatar eliatolin avatar felixonmars avatar ffontaine avatar hosiet avatar htgoebel avatar itsmattkc avatar jameshilliard avatar jarekczek avatar jose1711 avatar lrn avatar matheusmoreira avatar mchehab avatar saloniamatteo avatar shlyakpavel avatar spadix0 avatar ssrlive avatar thejj avatar timlegge avatar wqh17101 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zbar's Issues

Not Building for Windows "cannot find -lMagickWand-6.Q16"

Hi,

I really will appreciate your help. Thanks in advance for the great work done here:

I'm trying to build for windows following all instructions but adding imagemagick since I need to build zbarimg ... for Windows.

Then the instructions I am following from a brand new Ubuntu 18.04 are:

sudo apt-get install -y \
    autoconf automake autotools-dev libdbus-1-dev \
    pkg-config binutils-mingw-w64-i686 gcc-mingw-w64 \
    mingw-w64-i686-dev mingw-w64-common win-iconv-mingw-w64-dev \
    xmlto imagemagick libmagickwand-dev gettext libtool

Then, build Zbar with:

Then, build Zbar with:

export PKG_CONFIG_PATH=/usr/x86_64-w64-mingw32/lib/pkgconfig

autoreconf -vfi

CC=i686-w64-mingw32-gcc ./configure --host=i686-w64-mingw32 \
    --prefix=/usr/local/win32 --with-directshow \
    --without-gtk --without-python --without-qt --without-java \
    --enable-pthread

make

But after compiling everything else to that point I am getting the following error:
CCLD zbarimg/zbarimg.exe
/usr/bin/i686-w64-mingw32-ld: cannot find -lMagickWand-6.Q16

I will appreciate so much your help. We have a great need to build this one.
Thanks in advance again.

PDF417 decoding is incomplete

Hello!

I am attempting to make a PDF417 barcode reader for the web using Web Assembly (there's a few out there but the only reliable one is licenced). The idea is simple, just build a binary file with C code that can be called via JavaScript.

I followed this guide which got me almost there! I had to add --enable-codes=pdf417 as a parameter to configure to enable PDF417 symbols and disable all the others I'm not interested in.

The code actually works amazingly well for any other type of symbol (see demo) but if I compile ZBar to accept PDF417, it detects it but throws a warning:

WARNING: zbar/decoder/pdf417.c:73: pdf417_decode8: Assertion "clst >= 0 && clst < 9" failed.
dir=0 sig=5a44 k=9 buf[0000]=

WARNING: zbar/decoder/pdf417.c:89: pdf417_decode8: Assertion "g[0] >= 0 && g[1] >= 0 && g[2] >= 0" failed.
dir=1 sig=ca03 k=6 g0=ffffffff g1=e71 g2=585 buf[0000]=

And of course, no decoding is done. Those assertions are on lines 71 and 86 of ZBar.

You can see all the code I'm using in the guide I mentioned earlier (the only difference is that I enabled PDF417 before compiling)

For any other type of barcode it works amazingly! Is PDF417 not fully implemented? Is there anything I can do to make it work?

ZBar is too sensible to image rotation

Currently, ZBar is too sensible to image rotation, as can be shown with this small script:

$ mkdir rotated; cd examples
$ for i in code-128.png; do for j in $(seq 1 359); do n=${i/.png/-$j.png}; convert -rotate $j $i ../rotated/$n;done; done
$ for i in ../rotated/*.png; do if [ "$(zbarimg $i 2>/dev/null|grep CODE-128:https://github.com/mchehab/zbar)" == '' ]; then echo $i; fi; done|wc -l
316

Perhaps it should pass the image to an algorithm that would try to improve the image before running the decoders.

Question: when are new releases made?

When are new releases made?

I would like to use the new binary qr scanning feature, but this is not in the latest release. For now, I am using the the latest commit, but sake of configuration management it would be nice to have a new release at some point.

Thanks!

[QT5] unsupported request: no input or output formats available

Hello there,

I'm fairly new to QT5 and I cannot figure why the QZBar class does not want to work. I can successfully scan barcodes with the zbarcam cli tool but cannot use it inside my app.
I do not have X server installed and use the framebuffer to display my app fullscreen. The app works well without the QZBar code.

I'm using v4l2loopback to convert the stream from my camera to a proper format (using gstreamer). I cannot figure out why it cannot find any output format. Can you help me? Thank you!

main.cpp

#include <QtCore/QtGlobal>
#include <QtWidgets>
#include "mainwindow.h"

int main(int argc, char **argv) { 
    QApplication app (argc, argv); 
    MainWindow w(nullptr);
    w.setWindowFlags(Qt::FramelessWindowHint);
    w.showFullScreen();
    return app.exec(); 
}

mainwindow.cpp

#include "mainwindow.h"
#include "zbar/QZBar.h"

using namespace zbar;

MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
{
    zbar_set_verbosity(32);
    QZBar *bcr = new QZBar(this, 1);
    bcr->setVideoDevice("/dev/video0");
    bcr->setVideoEnabled(true);
    setCentralWidget(bcr);
}

output log

QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QStandardPaths: wrong ownership on runtime directory /tmp, 0 instead of 1000
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
_zbar_video_open: opened camera device /dev/video0 (fd=20)
_zbar_v4l2_probe: Dummy video device (0x0000) on platform:v4l2loopback-000 driver v4l2 loopback (version 4.4.49)
_zbar_v4l2_probe:     capabilities: CAPTURE READWRITE STREAMING
ERROR: zbar video in v4l2_reset_crop():
    system error: querying crop support (VIDIOC_CROPCAP): Inappropriate ioctl for device (25)
v4l2_probe_formats: current format: YU12(32315559) 1280 x 720 (line=0x500 size=0x151800)
v4l2_probe_formats: setting requested size: 40960 x 30720
v4l2_probe_formats: final format: YU12(32315559) 1280 x 720 (line=0x500 size=0x151800)
_zbar_v4l2_probe: using I/O mode: MMAP
ERROR: zbar video in zbar_negotiate_format():
    unsupported request: no input or output formats available
ERROR: ERROR: zbar video in zbar_negotiate_format():
    unsupported request: no input or output formats available

Release precompiled binaries?

Is it possible that from the current version also the /bin directory with e.g. zbarimg.exe is also checked in?
I think not everybody has the possibility to get the build running by himself/herself, so makign the binaries available would possibly be useful

best regards

Decoding binary QR codes produces incorrect output

Decoding QR codes containing binary data with zbar 0.23 produces incorrect output.

I can reliably recover base64-encoded binary data encoded as alphanumeric and binary QR codes. However, binary data encoded directly in a binary QR code isn't decoded correctly by zbar.

Here's a script that reproduces the issue:

dd if=/dev/urandom bs=1024 count=1 > test.bin
base64 > test.b64                  < test.bin

qrencode -8 -o test.bin.8.png < test.bin
qrencode -8 -o test.b64.8.png < test.b64
qrencode -c -o test.b64.c.png < test.b64

zbarimg --raw test.bin.8.png | head -c -1 > test.bin.8.decoded.raw
zbarimg --raw test.b64.8.png | head -c -1 > test.b64.8.decoded.raw
zbarimg --raw test.b64.c.png | head -c -1 > test.b64.c.decoded.raw

sha1sum test.bin test.bin.8.decoded.raw \
        test.b64 test.b64.8.decoded.raw test.b64.c.decoded.raw

# 39378ba14d291710ac6458ced16fb0b29e901b84  test.bin
# 35138ed378bde1975e1908b3467dd8453b333bb4  test.bin.8.decoded.raw
# c4983f3be7f4a2ef3a63c9c9aa162155ffead6db  test.b64
# c4983f3be7f4a2ef3a63c9c9aa162155ffead6db  test.b64.8.decoded.raw
# c4983f3be7f4a2ef3a63c9c9aa162155ffead6db  test.b64.c.decoded.raw

I want to decode binary data that's been QR encoded and printed on paper. I verified that the problem exists when trying to decode scanned images as well as video captured with zbarcam.

Cannot disable QR code detection

I removed the qrcode in enable_codes string at line 102 in configure.ac then built the program. Still detects QR code. Also, when i try to add some printf statements in function zbar_process_image in processor.c, it doesn't recognize the changes, and the new added codes don't work.
These two issues appear to happen at the same instance, so i think they are related.
Steps to reproduce:

Reproducible rate: 75%
Os tested:

  • Ubuntu 16.04 gcc 5.4.0 (worked)
  • Ubuntu 18.04 gcc 7.4.0
  • Linuxmint 19.04 gcc 7.4.0

Google Play services dependencies for Android porting

Hi,
maybe (probably) is an obvious question: Android port has a google play services dependencies, or not?
I ask this because, in my project, I use google vision.
Google Vision depends on google play service, which needs to be always updated, otherwise user, before scanning, has to wait until updating from google play store is completed.
It is a annoying issue

Thank you!
Lewix

ZBar in Debian buster

I would like to invite @bzed to get involved in our Debian packaging, which is based on the official one. We have continuous integration builds for Debian sid.

We should consider whether current version of ZBar could be included in Debian buster. Looking at buster freeze policy, I think it is feasible. We can discuss details if you are interested.

zbarimg fail to decode large QR code created by qrencode

This issue is originally reported to https://bugs.debian.org/719013 .

I just tested this with zbar version 0.22, and sure enough, the problem still exist:

$ yes | dd bs=1 count=3000 | qrencode -S -v 32 -o /tmp/foo.png
$ zbarimg /tmp/foo-0*
scanned 0 barcode symbols from 2 images in 0.16 seconds


WARNING: barcode data was not detected in some image(s)
Things to check:
  - is the barcode type supported? Currently supported symbologies are:
    . EAN/UPC (EAN-13, EAN-8, EAN-2, EAN-5, UPC-A, UPC-E, ISBN-10, ISBN-13)
    . DataBar, DataBar Expanded
    . Code 128
    . Code 93
    . Code 39
    . Codabar
    . Interleaved 2 of 5
    . QR code
    . SQ code
  - is the barcode large enough in the image?
  - is the barcode mostly in focus?
  - is there sufficient contrast/illumination?
  - If the symbol is split in several barcodes, are they combined in one image?
  - Did you enable the barcode type?
    some EAN/UPC codes are disabled by default. To enable all, use:
    $ zbarimg -S*.enable <files>
    Please also notice that some variants take precedence over others.
    Due to that, if you want, for example, ISBN-10, you should do:
    $ zbarimg -Sisbn10.enable <files>

$

I expected zbar to handle QR codes generated by qrencode.

examples/sha1sum missing in distribution archive

The file examples/sha1sum is missing in the distribution archive (this was the case in the upstream 0.10 archive already). This inhibits running the tests (test/test_examples.sh fails on all test-cases).

zbar crashes on QR code decoding

I recently tried to decode a QR code of the chip tan stuff my bank does (out of curiosity what's encoded in it). Scanning such a QR code makes zbar crash. See the attached demo QR code:
chipTanQr

The content seems to be some binary data, using https://zxing.org/w/decode.jspx , I get:

DK
X@Ã\2'NrND;�]uywgp~[rì

Perhaps, zbar expects the QR code content not to be bytes? Anyway, would be cool if it wouldn't crash ;-)

Zbar iOS SDK crash: ZBarSymbolSet was mutated while being enumerated

Bug is in ZBarReaderView.m - Line 585

I'm getting a few of these in Firebase Crashlytics from live users.

for(ZBarSymbol *s in syms) if(!sym || s.type == ZBAR_QRCODE || s.quality > sym.quality) sym = s;

Somehow syms must be getting updated elsewhere in the code while this loop takes place. Maybe copy syms before enumerating it? Just a guess, because I'm not sure how the code flows here.

Headless Zbarcam with Webcam throws errors

Hi, I am running on a Macbook Air and have been passing my webcam via VirtualBox to a VM, a headless Arch Linux machine running
zbarcam --nodisplay -Sdisable -Sqrcode.enable

It will usually run fine for 10-15 minutes, and then will stop scanning and then will make an endless loop of printing the following. It will also cease to scan correctly:

"Not a JPEG file: starts with 0xff 0xd9"

Running zbar not in headless mode doesnt seem to produce this problem.
But, this required me to install a dummy X driver and a lot of other configuration I would rather not have to do. (launch X just for zbar, then appropriately kill it)

Let me know if you need any more information about my system.

Troubles decoding QR codes scanned from paper

I have created some large QR codes with qrencode -v 40 (~1600 bytes base64 text per QR code). The resulting files can be decoded with zbarimg without any issues, as expected:

martin@dogmeat ~ % zbarimg -q --raw admin-pins.txt.xz.gf.100.gz.png | head -c 10; echo
H4sICNsLeV
martin@dogmeat ~ % zbarimg -q --raw admin-pins.txt.xz.gf.103.gz.png | head -c 10; echo
H4sICNsLeV
martin@dogmeat ~ % zbarimg -q --raw admin-pins.txt.xz.gf.162.gz.png | head -c 10; echo
H4sICNsLeV

Then I printed these PNG files and then scanned them with our office printer into a PDF file with the scanner set to 800 dpi. I then used GIMP to convert the PDF pages to PNG. Decoding these PNG files with zbarimg seems to be very hit-and-miss - on my first attempt, zbarimg would only read 1/3 files, on the next attempt 0/3, and now 2/3 files:

martin@dogmeat ~/Downloads % zbarimg -q --raw 1.png | head -c 10; echo
H4sICNsLeV
martin@dogmeat ~/Downloads % zbarimg -q --raw 2.png | head -c 10; echo
H4sICNsLeV
martin@dogmeat ~/Downloads % zbarimg -q --raw 3.png | head -c 10; echo

I made another attempt with GIMP set to 200px/in, no anti-aliasing, and now it's again 0/3:

martin@dogmeat ~/Downloads % zbarimg -q --raw a1.png       
martin@dogmeat ~/Downloads % zbarimg -q --raw a2.png
martin@dogmeat ~/Downloads % zbarimg -q --raw a3.png
martin@dogmeat ~/Downloads % 

Possibly related to #21? I've tried to fiddle with GIMP settings now a lot, also tried my hand at manually rotating the images, but I haven't found a reliable way to decode all three images :(

Attachments

These are the original files as generated by qrencode, which work fine:

admin-pins.txt.xz.gf.100.gz.png
admin-pins.txt.xz.gf.103.gz.png
admin-pins.txt.xz.gf.162.gz.png

This is the scanned PDF: DOC190911-20190911171020.pdf

This is the attempt where 2/3 work:

1.png
2.png
3.png

This is the attempt where 0/3 work:

a1.png
a2.png
a3.png

coverity scannning

It might be a good idea to enable coverity scanning on this codebase which is free for open source projects. See here for details on signing up. I suspect it would find a number of issues on a large older parser heavy c codebase like this.

python bindings: fails to build

Hi!

I'm trying to build it with lib32 libraries support, but get errors during the build
Can you help me?

Version: 0.23
Python: 3.6.9
uname -r : x86_64

config.log

...
configure:22033: checking whether /usr/bin/python3.6 version is >= 2.7.0
configure:22044: /usr/bin/python3.6 -c import sys # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x minver = list(map(int, '2.7.0'.split('.'))) + [0, 0, 0] minverhex = 0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
configure:22047: $? = 0
configure:22049: result: yes
configure:22142: checking for /usr/bin/python3.6 version
configure:22149: result: 3.6
configure:22161: checking for /usr/bin/python3.6 platform
configure:22168: result: linux
configure:22194: checking for /usr/bin/python3.6 script directory
configure:22229: result: ${prefix}/lib64/python3.6/site-packages
configure:22238: checking for /usr/bin/python3.6 extension module directory
configure:22273: result: ${exec_prefix}/lib64/python3.6/site-packages
configure:22303: checking Python.h usability
configure:22303: x86_64-pc-linux-gnu-gcc -m32 -c -march=x86-64 -O2 -pipe  -DNDEBUG -I/usr/include/python3.6m -I/usr/include/python3.6m  -Wno-unused-result -Wsign-compare -march=x86-64 -O2 -pipe -fwrapv -DNDEBUG  -ULONG_BIT conftest.c >&5
configure:22303: $? = 0
configure:22303: result: yes
configure:22303: checking Python.h presence
configure:22303: x86_64-pc-linux-gnu-gcc -m32 -E  -DNDEBUG -I/usr/include/python3.6m -I/usr/include/python3.6m  -Wno-unused-result -Wsign-compare -march=x86-64 -O2 -pipe -fwrapv -DNDEBUG  -ULONG_BIT conftest.c
In file included from /usr/include/python3.6m/Python.h:53,
                 from conftest.c:46:
/usr/include/python3.6m/pyport.h:686:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
  686 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
      |  ^~~~~
configure:22303: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zbar"
| #define PACKAGE_TARNAME "zbar"
| #define PACKAGE_VERSION "0.23"
| #define PACKAGE_STRING "zbar 0.23"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "zbar"
| #define VERSION "0.23"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define ZBAR_VERSION_MAJOR 0
| #define ZBAR_VERSION_MINOR 23
| #define ZBAR_VERSION_PATCH 0
| #define LIB_VERSION_MAJOR 0
| #define LIB_VERSION_MINOR 3
| #define LIB_VERSION_REVISION 0
| #define ENABLE_EAN 1
| #define ENABLE_DATABAR 1
| #define ENABLE_CODE128 1
| #define ENABLE_CODE93 1
| #define ENABLE_CODE39 1
| #define ENABLE_CODABAR 1
| #define ENABLE_I25 1
| #define ENABLE_QRCODE 1
| #define ENABLE_SQCODE 1
| #define ENABLE_PDF417 0
| #define HAVE_ICONV 1
| #define ICONV_CONST 
| #define HAVE_POLL_H 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_LIBPTHREAD 1
| #define __USE_UNIX98 1
| #define X_DISPLAY_MISSING 1
| /* end confdefs.h.  */
| #include <Python.h>
configure:22303: result: no
configure:22303: WARNING: Python.h: accepted by the compiler, rejected by the preprocessor!
configure:22303: WARNING: Python.h: proceeding with the compiler's result
configure:22303: checking for Python.h
configure:22303: result: yes
...

Build log

make -j7 
make  all-recursive
make[1]: Entering directory '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23-abi_x86_32.x86'
Making all in zbar
make[2]: Entering directory '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23-abi_x86_32.x86/zbar'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o libzbar_la-config.lo `test -f 'config.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`config.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o libzbar_la-error.lo `test -f 'error.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`error.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o libzbar_la-symbol.lo `test -f 'symbol.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`symbol.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o libzbar_la-image.lo `test -f 'image.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`image.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o libzbar_la-convert.lo `test -f 'convert.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`convert.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o libzbar_la-processor.lo `test -f 'processor.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`processor.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o libzbar_la-refcnt.lo `test -f 'refcnt.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`refcnt.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/symbol.c  -fPIC -DPIC -o .libs/libzbar_la-symbol.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/error.c  -fPIC -DPIC -o .libs/libzbar_la-error.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/config.c  -fPIC -DPIC -o .libs/libzbar_la-config.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/image.c  -fPIC -DPIC -o .libs/libzbar_la-image.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/convert.c  -fPIC -DPIC -o .libs/libzbar_la-convert.o
/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/image.c: In function ‘zbar_image_write’:
/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/image.c:238:9: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
  238 |     int n = 0, rc = 0;
      |         ^
/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/convert.c: In function ‘convert_yuvp_to_rgb’:
/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/convert.c:581:25: warning: variable ‘srcn’ set but not used [-Wunused-but-set-variable]
  581 |     unsigned long srcm, srcn;
      |                         ^~~~
/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/convert.c:581:19: warning: variable ‘srcm’ set but not used [-Wunused-but-set-variable]
  581 |     unsigned long srcm, srcn;
      |                   ^~~~
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o libzbar_la-window.lo `test -f 'window.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`window.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o libzbar_la-video.lo `test -f 'video.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`video.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o libzbar_la-img_scanner.lo `test -f 'img_scanner.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`img_scanner.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/processor.c  -fPIC -DPIC -o .libs/libzbar_la-processor.o
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o libzbar_la-scanner.lo `test -f 'scanner.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`scanner.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o libzbar_la-decoder.lo `test -f 'decoder.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`decoder.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/refcnt.c  -fPIC -DPIC -o .libs/libzbar_la-refcnt.o
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o libzbar_la-misc.lo `test -f 'misc.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`misc.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o libzbar_la-sqcode.lo `test -f 'sqcode.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`sqcode.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/img_scanner.c  -fPIC -DPIC -o .libs/libzbar_la-img_scanner.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/video.c  -fPIC -DPIC -o .libs/libzbar_la-video.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/decoder.c  -fPIC -DPIC -o .libs/libzbar_la-decoder.o
/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/img_scanner.c: In function ‘_zbar_scan_image’:
/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/img_scanner.c:862:17: warning: variable ‘h’ set but not used [-Wunused-but-set-variable]
  862 |     unsigned w, h, cx1, cy1;
      |                 ^
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/window.c  -fPIC -DPIC -o .libs/libzbar_la-window.o
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o decoder/libzbar_la-sq_finder.lo `test -f 'decoder/sq_finder.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`decoder/sq_finder.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/scanner.c  -fPIC -DPIC -o .libs/libzbar_la-scanner.o
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o processor/libzbar_la-posix.lo `test -f 'processor/posix.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`processor/posix.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o processor/libzbar_la-null.lo `test -f 'processor/null.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`processor/null.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/misc.c  -fPIC -DPIC -o .libs/libzbar_la-misc.o
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o processor/libzbar_la-lock.lo `test -f 'processor/lock.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`processor/lock.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o decoder/libzbar_la-ean.lo `test -f 'decoder/ean.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`decoder/ean.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/sqcode.c  -fPIC -DPIC -o .libs/libzbar_la-sqcode.o
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o decoder/libzbar_la-databar.lo `test -f 'decoder/databar.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`decoder/databar.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o decoder/libzbar_la-code128.lo `test -f 'decoder/code128.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`decoder/code128.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/decoder/sq_finder.c  -fPIC -DPIC -o decoder/.libs/libzbar_la-sq_finder.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/processor/null.c  -fPIC -DPIC -o processor/.libs/libzbar_la-null.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/processor/posix.c  -fPIC -DPIC -o processor/.libs/libzbar_la-posix.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/decoder/ean.c  -fPIC -DPIC -o decoder/.libs/libzbar_la-ean.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/processor/lock.c  -fPIC -DPIC -o processor/.libs/libzbar_la-lock.o
/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/processor/lock.c: In function ‘_zbar_processor_wait’:
/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/processor/lock.c:211:28: warning: unused variable ‘w’ [-Wunused-variable]
  211 |             proc_waiter_t *w = proc_waiter_dequeue(proc);
      |                            ^
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o decoder/libzbar_la-code93.lo `test -f 'decoder/code93.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`decoder/code93.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o decoder/libzbar_la-code39.lo `test -f 'decoder/code39.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`decoder/code39.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o decoder/libzbar_la-codabar.lo `test -f 'decoder/codabar.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`decoder/codabar.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/decoder/databar.c  -fPIC -DPIC -o decoder/.libs/libzbar_la-databar.o
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o decoder/libzbar_la-i25.lo `test -f 'decoder/i25.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`decoder/i25.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o decoder/libzbar_la-qr_finder.lo `test -f 'decoder/qr_finder.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`decoder/qr_finder.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/decoder/code128.c  -fPIC -DPIC -o decoder/.libs/libzbar_la-code128.o
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o qrcode/libzbar_la-qrdec.lo `test -f 'qrcode/qrdec.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`qrcode/qrdec.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o qrcode/libzbar_la-qrdectxt.lo `test -f 'qrcode/qrdectxt.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`qrcode/qrdectxt.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/decoder/codabar.c  -fPIC -DPIC -o decoder/.libs/libzbar_la-codabar.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/decoder/code39.c  -fPIC -DPIC -o decoder/.libs/libzbar_la-code39.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/decoder/code93.c  -fPIC -DPIC -o decoder/.libs/libzbar_la-code93.o
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o qrcode/libzbar_la-rs.lo `test -f 'qrcode/rs.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`qrcode/rs.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/decoder/i25.c  -fPIC -DPIC -o decoder/.libs/libzbar_la-i25.o
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o qrcode/libzbar_la-isaac.lo `test -f 'qrcode/isaac.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`qrcode/isaac.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o qrcode/libzbar_la-bch15_5.lo `test -f 'qrcode/bch15_5.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`qrcode/bch15_5.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/decoder/qr_finder.c  -fPIC -DPIC -o decoder/.libs/libzbar_la-qr_finder.o
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o qrcode/libzbar_la-binarize.lo `test -f 'qrcode/binarize.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`qrcode/binarize.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o qrcode/libzbar_la-util.lo `test -f 'qrcode/util.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`qrcode/util.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/qrcode/qrdec.c  -fPIC -DPIC -o qrcode/.libs/libzbar_la-qrdec.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/qrcode/qrdectxt.c  -fPIC -DPIC -o qrcode/.libs/libzbar_la-qrdectxt.o
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o video/libzbar_la-null.lo `test -f 'video/null.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`video/null.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include    -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o window/libzbar_la-null.lo `test -f 'window/null.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/'`window/null.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/qrcode/isaac.c  -fPIC -DPIC -o qrcode/.libs/libzbar_la-isaac.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/qrcode/rs.c  -fPIC -DPIC -o qrcode/.libs/libzbar_la-rs.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/qrcode/bch15_5.c  -fPIC -DPIC -o qrcode/.libs/libzbar_la-bch15_5.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/qrcode/binarize.c  -fPIC -DPIC -o qrcode/.libs/libzbar_la-binarize.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/qrcode/util.c  -fPIC -DPIC -o qrcode/.libs/libzbar_la-util.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/video/null.c  -fPIC -DPIC -o video/.libs/libzbar_la-null.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar -I../include -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/zbar/window/null.c  -fPIC -DPIC -o window/.libs/libzbar_la-null.o
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -m32 -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -no-undefined -version-info 3:0:3 -export-symbols-regex "^(zbar|_zbar.*_error)_.*"      -Wl,-O1 -Wl,--as-needed -o libzbar.la -rpath /usr/lib libzbar_la-config.lo libzbar_la-error.lo libzbar_la-symbol.lo libzbar_la-image.lo libzbar_la-convert.lo libzbar_la-processor.lo processor/libzbar_la-lock.lo libzbar_la-refcnt.lo libzbar_la-window.lo libzbar_la-video.lo libzbar_la-img_scanner.lo libzbar_la-scanner.lo libzbar_la-decoder.lo libzbar_la-misc.lo decoder/libzbar_la-ean.lo decoder/libzbar_la-databar.lo decoder/libzbar_la-code128.lo decoder/libzbar_la-code93.lo decoder/libzbar_la-code39.lo decoder/libzbar_la-codabar.lo decoder/libzbar_la-i25.lo  decoder/libzbar_la-qr_finder.lo qrcode/libzbar_la-qrdec.lo qrcode/libzbar_la-qrdectxt.lo qrcode/libzbar_la-rs.lo qrcode/libzbar_la-isaac.lo qrcode/libzbar_la-bch15_5.lo qrcode/libzbar_la-binarize.lo qrcode/libzbar_la-util.lo libzbar_la-sqcode.lo decoder/libzbar_la-sq_finder.lo  processor/libzbar_la-posix.lo      video/libzbar_la-null.lo     processor/libzbar_la-null.lo window/libzbar_la-null.lo          -lpthread 
libtool: link: /usr/bin/nm -B  .libs/libzbar_la-config.o .libs/libzbar_la-error.o .libs/libzbar_la-symbol.o .libs/libzbar_la-image.o .libs/libzbar_la-convert.o .libs/libzbar_la-processor.o processor/.libs/libzbar_la-lock.o .libs/libzbar_la-refcnt.o .libs/libzbar_la-window.o .libs/libzbar_la-video.o .libs/libzbar_la-img_scanner.o .libs/libzbar_la-scanner.o .libs/libzbar_la-decoder.o .libs/libzbar_la-misc.o decoder/.libs/libzbar_la-ean.o decoder/.libs/libzbar_la-databar.o decoder/.libs/libzbar_la-code128.o decoder/.libs/libzbar_la-code93.o decoder/.libs/libzbar_la-code39.o decoder/.libs/libzbar_la-codabar.o decoder/.libs/libzbar_la-i25.o decoder/.libs/libzbar_la-qr_finder.o qrcode/.libs/libzbar_la-qrdec.o qrcode/.libs/libzbar_la-qrdectxt.o qrcode/.libs/libzbar_la-rs.o qrcode/.libs/libzbar_la-isaac.o qrcode/.libs/libzbar_la-bch15_5.o qrcode/.libs/libzbar_la-binarize.o qrcode/.libs/libzbar_la-util.o .libs/libzbar_la-sqcode.o decoder/.libs/libzbar_la-sq_finder.o processor/.libs/libzbar_la-posix.o video/.libs/libzbar_la-null.o processor/.libs/libzbar_la-null.o window/.libs/libzbar_la-null.o   | sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /bin/sed 's/.* //' | sort | uniq > .libs/libzbar.exp
libtool: link: /bin/grep -E -e "^(zbar|_zbar.*_error)_.*" ".libs/libzbar.exp" > ".libs/libzbar.expT"
libtool: link: mv -f ".libs/libzbar.expT" ".libs/libzbar.exp"
libtool: link: echo "{ global:" > .libs/libzbar.ver
libtool: link:  cat .libs/libzbar.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libzbar.ver
libtool: link:  echo "local: *; };" >> .libs/libzbar.ver
libtool: link:  x86_64-pc-linux-gnu-gcc -m32 -shared  -fPIC -DPIC  .libs/libzbar_la-config.o .libs/libzbar_la-error.o .libs/libzbar_la-symbol.o .libs/libzbar_la-image.o .libs/libzbar_la-convert.o .libs/libzbar_la-processor.o processor/.libs/libzbar_la-lock.o .libs/libzbar_la-refcnt.o .libs/libzbar_la-window.o .libs/libzbar_la-video.o .libs/libzbar_la-img_scanner.o .libs/libzbar_la-scanner.o .libs/libzbar_la-decoder.o .libs/libzbar_la-misc.o decoder/.libs/libzbar_la-ean.o decoder/.libs/libzbar_la-databar.o decoder/.libs/libzbar_la-code128.o decoder/.libs/libzbar_la-code93.o decoder/.libs/libzbar_la-code39.o decoder/.libs/libzbar_la-codabar.o decoder/.libs/libzbar_la-i25.o decoder/.libs/libzbar_la-qr_finder.o qrcode/.libs/libzbar_la-qrdec.o qrcode/.libs/libzbar_la-qrdectxt.o qrcode/.libs/libzbar_la-rs.o qrcode/.libs/libzbar_la-isaac.o qrcode/.libs/libzbar_la-bch15_5.o qrcode/.libs/libzbar_la-binarize.o qrcode/.libs/libzbar_la-util.o .libs/libzbar_la-sqcode.o decoder/.libs/libzbar_la-sq_finder.o processor/.libs/libzbar_la-posix.o video/.libs/libzbar_la-null.o processor/.libs/libzbar_la-null.o window/.libs/libzbar_la-null.o   -Wl,--as-needed -lpthread  -m32 -march=x86-64 -O2 -Wl,-O1   -Wl,-soname -Wl,libzbar.so.0 -Wl,-version-script -Wl,.libs/libzbar.ver -o .libs/libzbar.so.0.3.0
libtool: link: (cd ".libs" && rm -f "libzbar.so.0" && ln -s "libzbar.so.0.3.0" "libzbar.so.0")
libtool: link: (cd ".libs" && rm -f "libzbar.so" && ln -s "libzbar.so.0.3.0" "libzbar.so")
libtool: link: ( cd ".libs" && rm -f "libzbar.la" && ln -s "../libzbar.la" "libzbar.la" )
make[2]: Leaving directory '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23-abi_x86_32.x86/zbar'
Making all in .
make[2]: Entering directory '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23-abi_x86_32.x86'
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23 -I./include  -I/usr/include/python3.6m -I/usr/include/python3.6m  -Wno-unused-result -Wsign-compare -march=x86-64 -O2 -pipe -fwrapv -DNDEBUG  -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c -o python/zbar_la-zbarmodule.lo `test -f 'python/zbarmodule.c' || echo '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/'`python/zbarmodule.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23 -I./include -I/usr/include/python3.6m -I/usr/include/python3.6m -Wno-unused-result -Wsign-compare -march=x86-64 -O2 -pipe -fwrapv -DNDEBUG -I/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/include -DNDEBUG -Wall -Wno-parentheses -march=x86-64 -O2 -pipe -c /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/python/zbarmodule.c  -fPIC -DPIC -o python/.libs/zbar_la-zbarmodule.o
In file included from /usr/include/python3.6m/Python.h:53,
                 from /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/python/zbarmodule.h:24,
                 from /tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23/python/zbarmodule.c:24:
/usr/include/python3.6m/pyport.h:686:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
  686 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
      |  ^~~~~
make[2]: *** [Makefile:1445: python/zbar_la-zbarmodule.lo] Error 1
make[2]: Leaving directory '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23-abi_x86_32.x86'
make[1]: *** [Makefile:1873: all-recursive] Error 1
make[1]: Leaving directory '/tmp/portage/media-gfx/zbar-0.23/work/zbar-0.23-abi_x86_32.x86'
make: *** [Makefile:953: all] Error 2

Python 2/3: import zbar throws Import Error undefined symbol: zbar_image_get_crop

I followed the building process at README.md and installed three binary program and python package successfully. However, when i try to import zbar, it throws the above error. Have tried on 4 different machines, both python 2 and 3, I still couldn't get past this. Currently i have to use subprocess, but i don't think it is the ideal way to do.

OS tested:
Ubuntu 16.04
Ubuntu 18.04
LinuxMint 19.04

Configure error with libv4l enabled

When running ./configure, the following info indicates grammar errors in configure scripts:

[...]
checking libv4l2.h usability... yes
checking libv4l2.h presence... yes
checking for libv4l2.h... yes
./configure: line 15166: V4L2_CFLAGS: command not found
./configure: line 15167: V4L2_LIBS: command not found
checking for V4L2... yes
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
[...]

Note there are two "command not found" lines.

Support Micro QR Code

qrencode has

   -M, --micro
          encode in a Micro QR Code. (experimental)

But

$ zbarimg --version
0.23

cannot read them.

zbarcam uses a lot of CPU time

I am trying to use zbarcam in --nodisplay mode with a USB camera.
The camera resolution is 1600x1200, zbarcam uses 100% CPU.
Using --prescale=800x600 or -Sx-density=8 -Sy-density=8 the CPU usage goes down to around 70% which is still too much.
The laptop is a Lenovo Edge E545, 4 core AMD A10-5750M APU, 2.5GHz.
Is it planned to make zbar to use GPU acceleration for barcode decoding through Mesa?

Can't compile v0.23.1 due to missing gettext.h

zbarcam/zbarcam.c:38:10: fatal error: ../zbar/gettext.h: No such file or directory
   38 | #include "../zbar/gettext.h"
      |          ^~~~~~~~~~~~~~~~~~~

Config opts:

  - "--without-qt"
  - "--without-qt5"
  - "--without-gtk"
  - "--without-xv"
  - "--without-imagemagick"
  - "--without-dbus"
  - "--with-python=python3"
  - "--disable-doc"
  - "--enable-codes=qrcode"

v0.23 works fine though 👍

Migrate onto Python 3 and GTK+ 3

Python 2 will stop maintenance by 2020. I guess it's reasonable to open an issue to migrate away from python2 (as well as gtk2).

raspberry pi install (with java) - issues

Trying to run configure on the latest raspbian image, these issues occurred:

needed to 'apt-get install gettext' to get past an issue with AM_ICONV(). It then could tell me it wasn't using gettext

needed to 'apt-get install libgtk2.0-dev' Tried libgtk-3-dev but that failed

cannot install the java examples because javah is missing under jdk11. These days the header files are produced from the .java files using javac -h
See this article for the gory details: https://stackoverflow.com/questions/48816188/kotlin-replacement-for-javah
It seems the only solution is to use java 8 :-/

While I am here, two questions:
what is an "SQ Code" as opposed to a QR Code, and how would I generate one?

and does anyone know what the codes in the boston dynamics warehouse video are?
https://www.youtube.com/watch?v=5iV_hB08Uns

Enable Travis CI

Before opening the pull request that adds continuous integration support, @mchehab, Travis CI should be enabled for this repository. This way, the request should be automatically tested.

iPhone: ITMS-90809: Deprecated API Usage - UIWebView

Hi there,

ZBarHelpController.h/.m use UIWebview, and this API is on Apple's deprecation list:
https://developer.apple.com/documentation/uikit/uiwebview

When uploading the app to appstoreconnect you get a warning that future submissions containing these API references will be refused automatically.

Apple's direction is to replace use of UIWebView with WKWebView.

I'm working on fixing this locally. But, just in case I missed something, I'm raising this issue ticket for awareness and fair warning in case there's a clamour of 'It's fixed already - look more closely!'

Thank you,

Ben.

Code-93 barcode not decoded

Hello,
I'm using zbar 0.20 from the command line (invoked from a PHP script, if that matters), to decode a png image that contains a single Code-93 barcode (extracted from a PDF).
Every hundred barcodes, I get one that is not being decoded, a failing sample is attached.

img-001

zbar does not crash nor segfaults, it simply answers me:
scanned 0 barcode symbols from 1 images in 0.02 seconds

I have tried with v0.23, and I get the same result.

Any ideas on how to proceed from here?

packaging / distribution / installation

I am having some difficulty installing on my system, as discussed in #64 . This is probably due to my n00bness on the topic of locally compiling / installing things.

This makes me think about a couple of questions:

  • Is this well the repo used for building the package as distributed by Debian / Ubuntu et. co. for example? Looking there and there:

https://packages.debian.org/jessie/zbar-tools

https://manpages.ubuntu.com/manpages/bionic/man1/zbarimg.1.html

it does not seem so (the old SourceForge project is still what is linked I think).

  • May it be possible to provide some regular builds / deb packages?

@matheusmoreira that may be of interest to you too, as you know I am especially interested in the features of your binary branch :)

Support QR codes split in different images

This is Debian #719013. Besides doing a graceful exit, I do not know whether QR codes split in different images should be supported. If the structured QR codes are in the same image, data is decoded successfully.

debian/ directory

could you remove that from the tarball releases? it'll make it easier to maintain for debian maintainers. (or just put it in a debian branch if you want to keep it)

Broken build, zbar.h: No such file or directory

This is caused by commit d09afa6

First I had a problem where it told me ZBAR_SQCODE is undefined, which I traced back to it using my system zbar.h. After I uninstalled my system zbar it complained about not finding zbar.h.

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../zbar -I../include -I../../zbar -I../include -mthreads -I/mingw32/include -Wall -Wno-parentheses -g -O2 -MT libzbar_la-symbol.lo -MD -MP -MF .deps/libzbar_la-symbol.Tpo -c ../../zbar/symbol.c  -DDLL_EXPORT -DPIC -o .libs/libzbar_la-symbol.o
../../zbar/config.c:31:10: fatal error: zbar.h: No such file or directory
 #include <zbar.h>
          ^~~~~~~~
compilation terminated.

OSX autoreconf -vfi fails

autoreconf -vfi

autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I config
configure.ac:141: warning: macro 'AM_ICONV' not found in library
autoreconf: configure.ac: tracing
autoreconf: running: glibtoolize --copy --force
glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
glibtoolize: copying file 'config/ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config'.
glibtoolize: copying file 'config/libtool.m4'
glibtoolize: copying file 'config/ltoptions.m4'
glibtoolize: copying file 'config/ltsugar.m4'
glibtoolize: copying file 'config/ltversion.m4'
glibtoolize: copying file 'config/lt~obsolete.m4'
configure.ac:141: warning: macro 'AM_ICONV' not found in library
autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoconf --force
configure.ac:141: error: possibly undefined macro: AM_ICONV
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/local/Cellar/autoconf/2.69/bin/autoconf failed with exit status: 1

Can't create working configure. It creates configure file but running it gives error:

configure: error: cannot find install-sh, install.sh, or shtool in config "."/config

Add one shot mode

Add a mode where the application quits after reading one qr code, rather than continue scanning.
This is useful for scripting, where you may not want to receive duplicate data.

Support multiple QR codes in a single image

This is Debian #869234. Unlike #24, this is about many independent QR codes in a single image; I am not sure whether this case should be supported. Report also complains about high CPU time, which I have not experienced because the test image did not produce any symbol.

decoding binary data

This is an issue opened after some discussion happening on stackoverflow:

https://stackoverflow.com/questions/60506222/encode-decode-binary-data-in-a-qr-code-using-qrencode-and-zbarimg-in-bash

I have some binary data that I want to encode in a qr-code and then be able to decode. I want to use binary data purely for the efficiency of the encoding (i.e., I want to have a qr-code of minimum size given the data to transmit).

It looks like qrencode is able to correctly encode, but that zbarimg does something weird at decoding.

  • Do you agree with the conclusions that are reached on the stackoverflow thread?

  • How could binary data decryption take place? Is there already a way to do that? If not could this be added / how / who could add / test it (note: I can try to help to my best).

Fail to see QR code other readers handle

Attached is a image with a QR code where zbar failed to see it, while smart phone readers are able to read it. Is there some way to get zbar to recognize it too?

DSC00028

Problem with gtk_widget_hide/gtk_widget_show

Hello,

I'm having problems when I hide and show, respectively, a ZBarGtk widget using gtk_widget_hide and gtk_widget_show. Initially the ZBarGtk widget is initialized and visible and displays the video stream from the webcam correctly. When I now hide the widget and show it again, no video stream is visible (note: the widget containing the ZBarGtk widget gets resized correctly upon show and hide, only the video stream is missing); when I drag another window over the ZBarGtk widget it gets refreshed and the video stream is visible again.

I can reproduce this with the zbarcam-gtk application easily by adding gtk_widget_hide and gtk_widget_show calls to the status_button_toggled callback function.

Has anyone got a clue what can be done here?

Thanks and best regards,
Christian

How To Start Zbar

Can anyone tell me how to start the application? I have it installed on Debian 10 but there is no menu item.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.