Your message dated Sat, 05 Oct 2024 10:28:04 +0000
with message-id <[email protected]>
and subject line Bug#1079071: fixed in rustc 1.81.0+dfsg1-1~exp2
has caused the Debian Bug report #1079071,
regarding dh-cargo: fails to build glycin-loaders when lto is disabled via 
DEB_BUILD_OPTIONS
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1079071: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1079071
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dh-cargo
Version: 31
Severity: normal
X-Debbugs-Cc: [email protected]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


I ran into this when building glycin-loaders:

=============================================
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/share/cargo/bin/cargo prepare-debian debian/cargo_registry 
--link-from-system
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=6', 
'optimize=-lto', 'optimize=-lto'] [] ['-j6'] -1
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, 
x86_64-linux-gnu
debian cargo wrapper: linking /usr/share/cargo/registry/* into 
/<<PKGBUILDDIR>>/debian/cargo_registry/
rm -f Cargo.lock
dh_auto_configure -- \
- -Dloaders="glycin-heif, glycin-image-rs, glycin-svg" \
- -Dhost_arch="x86_64-unknown-linux-gnu"
        cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 
meson setup .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr 
--sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu 
-Dpython.bytecompile=-1 "-Dloaders=glycin-heif, glycin-image-rs, glycin-svg" 
-Dhost_arch=x86_64-unknown-linux-gnu
The Meson build system
Version: 1.5.1
Source dir: /<<PKGBUILDDIR>>
Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
Build type: native build
Project name: glycin-loaders
Project version: 1.0.1
Rust compiler for the host machine: rustc -C linker=cc (rustc 1.79.0)
Rust linker for the host machine: rustc -C linker=cc ld.bfd 2.43
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Run-time dependency libseccomp found: YES 2.5.5
Run-time dependency libheif found: YES 1.18.1
Run-time dependency cairo found: YES 1.18.0
Run-time dependency gtk4 found: YES 4.14.4
Program cargo found: YES (/usr/share/cargo/bin/cargo)
Configuring tmp-glycin-heif using configuration
Program msgfmt found: YES (/usr/bin/msgfmt)
Configuring tmp-glycin-image-rs using configuration
Configuring tmp-glycin-svg using configuration
Program meson found: YES
Program /<<PKGBUILDDIR>>/build-aux/setup-integration-test.py found: YES 
(/<<PKGBUILDDIR>>/build-aux/setup-integration-test.py)
Build targets in project: 9

glycin-loaders 1.0.1

  User defined options
    buildtype         : plain
    libdir            : lib/x86_64-linux-gnu
    localstatedir     : /var
    prefix            : /usr
    sysconfdir        : /etc
    wrap_mode         : nodownload
    python.bytecompile: -1
    host_arch         : x86_64-unknown-linux-gnu
    loaders           : glycin-heif, glycin-image-rs, glycin-svg

Found ninja-1.12.1 at /usr/bin/ninja
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build
        cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j6 -v
[0/9] env LOCALEDIR=/usr/share/locale /usr/share/cargo/bin/cargo build 
--target-dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo_target/loaders 
--profile release --manifest-path /<<PKGBUILDDIR>>/Cargo.toml --package 
glycin-heif
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=6', 
'optimize=-lto'] [] ['-j6'] -1
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, 
x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', 
'/usr/bin/cargo', '-Zavoid-dev-deps', 'build', '--verbose', '--verbose', '-j6', 
'--target', 'x86_64-unknown-linux-gnu', '--target-dir', 
'/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo_target/loaders', '--profile', 
'release', '--manifest-path', '/<<PKGBUILDDIR>>/Cargo.toml', '--package', 
'glycin-heif', '--config profile.release.lto = false'],) {}
error: unexpected argument '--config profile.release.lto ' found

  tip: a similar argument exists: '--config'

Usage: cargo build --verbose... --jobs <N> --target [<TRIPLE>] --target-dir 
<DIRECTORY> --profile <PROFILE-NAME> --manifest-path <PATH> --package [<SPEC>] 
--config <KEY=VALUE>

For more information, try '--help'.
FAILED: loaders/glycin-heif-bin 
========================================================

Note that I passed along "optimize=-lto" to disable lto via
DEB_BUILD_OPTIONS. This causes the build to fail. Right now I use a hack
via sed'ing lto to false.
.
Also seems weird that the option is passed along twice ?
It would be great if this could get fixed so I can drop the hack.


best,

werdahias


- -- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.10.3-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: OpenRC (via /run/openrc), PID 1: init
LSM: AppArmor: enabled

Versions of packages dh-cargo depends on:
ii  cargo      1.79.0+dfsg1-2
ii  debhelper  13.18
ii  perl       5.38.2-5
ii  python3    3.12.5-1

dh-cargo recommends no packages.

dh-cargo suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iIsEARYIADMWIQQUWTv/Sl6/b+DpcW7svtu2B7myvgUCZsObuRUcd2VyZGFoaWFz
QGRlYmlhbi5vcmcACgkQ7L7btge5sr4F+gEAwpxJ1qc8KDnlQuVJyAUtcGxopGOS
idsl51sDrfVrk+YA/2sS8VAQLam43LH/5BqFiQCS1thfppiWELf6qX5iqoEH
=nXCl
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
Source: rustc
Source-Version: 1.81.0+dfsg1-1~exp2
Done: Fabian Grünbichler <[email protected]>

We believe that the bug you reported is fixed in the latest version of
rustc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Fabian Grünbichler <[email protected]> (supplier of updated 
rustc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 04 Oct 2024 18:28:19 +0200
Source: rustc
Architecture: source
Version: 1.81.0+dfsg1-1~exp2
Distribution: experimental
Urgency: medium
Maintainer: Debian Rust Maintainers 
<[email protected]>
Changed-By: Fabian Grünbichler <[email protected]>
Closes: 1079071
Changes:
 rustc (1.81.0+dfsg1-1~exp2) experimental; urgency=medium
 .
   * source: duplicate lintian overrides to make ftp-masters happy
   * cargo wrapper: fix LTO handling (Closes: #1079071)
Checksums-Sha1:
 f48340cd8bffb330e1aa54e07dba6a634ca0343a 4031 rustc_1.81.0+dfsg1-1~exp2.dsc
 3aaca14de1f295208e9e3df68a0e3e11bae6d9e2 135484 
rustc_1.81.0+dfsg1-1~exp2.debian.tar.xz
 7f1032ff6b2bb4a5d4f27d3e904ea3299e38b57f 16608 
rustc_1.81.0+dfsg1-1~exp2_amd64.buildinfo
Checksums-Sha256:
 3cf4d094d9e481d0b3246a1a742dddceacd5cb4098f6315c8a4ac9a5ff300d87 4031 
rustc_1.81.0+dfsg1-1~exp2.dsc
 c5e1ec12106ec5287d267cbd8dfb77384d74c162b114dd8526e3164650046d84 135484 
rustc_1.81.0+dfsg1-1~exp2.debian.tar.xz
 21b98a0a26e105e74cb6fd4026f8b456afd24aa1fa1146efe1aacc32d39c2545 16608 
rustc_1.81.0+dfsg1-1~exp2_amd64.buildinfo
Files:
 027b42c7a966f983aac18cb45964f096 4031 devel optional 
rustc_1.81.0+dfsg1-1~exp2.dsc
 51ec607b3119df4a0b25afc8911e1e0d 135484 devel optional 
rustc_1.81.0+dfsg1-1~exp2.debian.tar.xz
 235a3d7649dad50d8ad2465e60e0b6c7 16608 devel optional 
rustc_1.81.0+dfsg1-1~exp2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJVBAEBCAA/FiEEbdkGe7ToK0Amc9ppdh5TKjcTRTAFAmcA9BghHGRlYmlhbkBm
YWJpYW4uZ3J1ZW5iaWNobGVyLmVtYWlsAAoJEHYeUyo3E0UwYD0QAIkrcvNXJ/PT
ooMH5mnrBxpkZwhuIMDsvacD1SO2Y036bH4PbOOIdnrPkUkueDAc7zqQNUVbP6d1
va53pAsmntuaLOdazx341ebquT1qI5/17GSmJ9odhD+n66usnGS2GhslEWhvckJr
zMN6Vr37On08WIP4/xnfvV+CMapSxUMoBRG3IUdbDKcA2GApTHVajQo31n5ooRhn
1w9H5FznwHgmg0bKj2UqiFJUF70cNcyt8pNWDhlohS5xbzjk3RNt/VM5xXtHd+ah
k68JvOl+0hDA0bq4rmdJC9k1Aaq3rzEy5KsPja+7w6QeJRciFpz05b/79QKnCruk
QMGyrTCKEIYdIFtJsv8HovuV6tdaXRW4kwnbqwLbtnIqkPYyZ8oklzLglNygERVZ
4m2mMc1eqilZ83ry3w5A4fIUwJoQfzn1x2+IDRuhyiVo3dRdOK9ssQQ7hPPRMe52
N1yx2pE1YXRbYbKzzn0AOg5ZQxEnbvZ/qdfity0rcmAZREsyZTP1PZstLLwp9oko
WNKm/BZ71spVjnUX2hGZuP14PDb37owa/ekM/COiUP6D65lI72xb3sNa5zK2WXf+
WJxUIyBWh0f85OLjQn7m5l4ygN81usO2K7Qy6IWCcXjniCAR5zkTCgbN77rM8rNO
FVYB+GIhOQLlAwZVbpGm4Yvjrd8gE8rp
=Ia8O
-----END PGP SIGNATURE-----

Attachment: pgpx8iqlhIDbc.pgp
Description: PGP signature


--- End Message ---

Reply via email to