Article View: linux.debian.bugs.rc
Article #1994Bug#1152584: rust-zbar-rust: FTBFS: The system library `zbar` required by crate `zbar-rust` was not found.
From: Santiago Vila
Date: Fri, 30 Oct 2026 11:30
Date: Fri, 30 Oct 2026 11:30
68 lines
4799 bytes
4799 bytes
Package: src:rust-zbar-rust
Version: 0.0.24-2
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202610/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:rust-zbar-rust, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
Package libv4l2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libv4l2.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libv4l2', required by 'zbar', not found
The system library `zbar` required by crate `zbar-rust` was not found.
The file `zbar.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
The PKG_CONFIG_PATH environment variable is not set.
HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `zbar.pc`.
stack backtrace:
0: __rustc::rust_begin_unwind
at /usr/src/rustc-1.97.1/library/std/src/panicking.rs:689:5
1: core::panicking::panic_fmt
at /usr/src/rustc-1.97.1/library/core/src/panicking.rs:80:14
2: core::result::unwrap_failed
at /usr/src/rustc-1.97.1/library/core/src/result.rs:1867:5
3: <core::result::Result<pkg_config::Library, pkg_config::Error>>::unwrap
at /usr/src/rustc-1.97.1/library/core/src/result.rs:1233:23
4: build_script_build::run_pkg_config
at ./build.rs:139:10
5: build_script_build::find_zbar_lib_dirs::{closure#2}
at ./build.rs:72:70
6: <core::result::Result<alloc::vec::Vec<std::path::PathBuf>, std::env::VarError>>::or_else::<std::env::VarError, build_script_build::find_zbar_lib_dirs::{closure#2}>
at /usr/src/rustc-1.97.1/library/core/src/result.rs:1565:23
7: build_script_build::find_zbar_lib_dirs
at ./build.rs:72:10
8: build_script_build::main
at ./build.rs:12:20
9: <fn() as core::ops::function::FnOnce<()>>::call_once
at /usr/src/rustc-1.97.1/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
warning: build failed, waiting for other jobs to finish...
dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101
make: *** [debian/rules:3: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID:
<NTSY3-8NRf-45@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1152584: rust-zbar-rust: FTBFS: The system library `zbar` required by crate `zbar-rust` was not found. Date: Fri, 30 Oct 2026 12:30:03 +0100 Message-ID: <NTSY3-8NRf-45@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Fri Oct 30 11:27:54 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Santiago Vila <sanvila@debian.org>, 1152584@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sanvila@debian.org, pkg-rust-maintainers@alioth-lists.debian.net X-Debian-Pr-Message: report 1152584 X-Debian-Pr-Package: src:rust-zbar-rust X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: rust-zbar-rust X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/836610 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 68 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 30 Oct 2026 11:23:35 +0000 X-Original-Message-ID: <E1xMkhr-000UWz-36@paradis.debian.org>