Your message dated Thu, 30 Nov 2023 21:22:10 +0000
with message-id <e1r8ou6-009rwo...@fasolo.debian.org>
and subject line Bug#1056897: fixed in slic3r-prusa 2.6.1+dfsg-4.1
has caused the Debian Bug report #1056897,
regarding FTBFS: Plater.cpp:5313: error: call of overloaded 
‘load_files(<brace-enclosed initializer list>)’ is ambiguous
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 ow...@bugs.debian.org
immediately.)


-- 
1056897: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056897
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: slic3r-prusa
Version: 2.6.1+dfsg-4
Severity: serious
Tags: ftbfs patch
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: onit...@gmail.com

Hi,

During a recent upload, PrusaSlicer failed to build due to incompatible chanes 
in wxWidgets 3.2.

These changes include support for initializer lists, which clashes with some 
overloads in the
PrusaSlicer source code. The errors are as follows:

src/slic3r/GUI/Plater.cpp: In member function ‘void 
Slic3r::GUI::Plater::load_project(const wxString&)’:
src/slic3r/GUI/Plater.cpp:5313:21: error: call of overloaded 
‘load_files(<brace-enclosed initializer list>)’ is ambiguous
 5313 |     if (! load_files({ into_path(filename) }).empty()) {
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/slic3r/GUI/Plater.cpp:20:
src/slic3r/GUI/Plater.hpp:193:25: note: candidate: ‘std::vector<long unsigned 
int> Slic3r::GUI::Plater::load_files(const 
std::vector<boost::filesystem::path>&, bool, bool, bool)’
  193 |     std::vector<size_t> load_files(const 
std::vector<boost::filesystem::path>& input_files, bool load_model = true, bool 
load_config = true, bool imperial_units = false);
      |                         ^~~~~~~~~~
src/slic3r/GUI/Plater.hpp:197:10: note: candidate: ‘bool 
Slic3r::GUI::Plater::load_files(const wxArrayString&, bool)’
  197 |     bool load_files(const wxArrayString& filenames, bool 
delete_after_load = false);
      |          ^~~~~~~~~~

and

src/slic3r/GUI/PhysicalPrinterDialog.cpp: In member function 'void 
Slic3r::GUI::PhysicalPrinterDialog::build_printhost_settings(Slic3r::GUI::ConfigOptionsGroup*)':
src/slic3r/GUI/PhysicalPrinterDialog.cpp:465:27: error: call of overloaded 
'set_values(<brace-enclosed initializer list>)' is ambiguous
  465 |         choice->set_values({ m_config->opt_string("printhost_port") });
      |         ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/slic3r/GUI/ConfigManipulation.hpp:16,
                 from src/slic3r/GUI/Tab.hpp:50,
                 from src/slic3r/GUI/PhysicalPrinterDialog.cpp:28:
src/slic3r/GUI/Field.hpp:381:33: note: candidate: 'void 
Slic3r::GUI::Choice::set_values(const 
std::vector<std::__cxx11::basic_string<char> >&)'
  381 |         void                    set_values(const 
std::vector<std::string> &values);
      |                                 ^~~~~~~~~~
src/slic3r/GUI/Field.hpp:382:33: note: candidate: 'void 
Slic3r::GUI::Choice::set_values(const wxArrayString&)'
  382 |         void                    set_values(const wxArrayString &values);
      |                                 ^~~~~~~~~~

These issues can be worked around with an explicit instantiation of the 
std::vector.
A better solution would be a change to wxWidgets, by making the initializer 
list constructor explicit.

A patch will follow shortly.

Regards,
Gregor


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (300, 
'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-4-amd64 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: slic3r-prusa
Source-Version: 2.6.1+dfsg-4.1
Done: Aaron Rainbolt <arraybo...@ubuntu.com>

We believe that the bug you reported is fixed in the latest version of
slic3r-prusa, 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 1056...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aaron Rainbolt <arraybo...@ubuntu.com> (supplier of updated slic3r-prusa 
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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Wed, 29 Nov 2023 13:34:45 -0600
Source: slic3r-prusa
Built-For-Profiles: noudeb
Architecture: source
Version: 2.6.1+dfsg-4.1
Distribution: unstable
Urgency: medium
Maintainer: Debian 3-D Printing Packages 
<3dprinter-gene...@lists.alioth.debian.org>
Changed-By: Aaron Rainbolt <arraybo...@ubuntu.com>
Closes: 1056897
Changes:
 slic3r-prusa (2.6.1+dfsg-4.1) unstable; urgency=medium
 .
   [ Aaron Rainbolt ]
   * Non-maintainer upload.
 .
   [ Gregor Riepl ]
   * Use explicit initializers for two wxWidgets function calls.
     (Closes: #1056897)
Checksums-Sha1:
 9e38a14635ea3ec085ff1a5baba62437f234e314 2677 slic3r-prusa_2.6.1+dfsg-4.1.dsc
 18cb3b2a723a9b9e1c80bb06c87eb8e4d57de621 66032 
slic3r-prusa_2.6.1+dfsg-4.1.debian.tar.xz
 80e49457d691e896aaf5affafc7aa62f7fb2564f 10704 
slic3r-prusa_2.6.1+dfsg-4.1_source.buildinfo
Checksums-Sha256:
 b5141e3d112fd9c36281979fb61d199331b19436a3f571faf17441c2ab305917 2677 
slic3r-prusa_2.6.1+dfsg-4.1.dsc
 1fd62aad421ecb3eb0c803ed72fb81834fc134407209a5ba123bcb389d9a3bad 66032 
slic3r-prusa_2.6.1+dfsg-4.1.debian.tar.xz
 786e0d6bddf07b9f8255e5cd5131d6fcec67d3819e78ed914cf6f59797cd6e3e 10704 
slic3r-prusa_2.6.1+dfsg-4.1_source.buildinfo
Files:
 5520f9ece3ef9aef90bba84785025265 2677 misc optional 
slic3r-prusa_2.6.1+dfsg-4.1.dsc
 b4871a63cf3a4a5aa1df193b3cc999cd 66032 misc optional 
slic3r-prusa_2.6.1+dfsg-4.1.debian.tar.xz
 917d1f7fe38fc1256b418f29f46182db 10704 misc optional 
slic3r-prusa_2.6.1+dfsg-4.1_source.buildinfo

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

iQIzBAEBCAAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmVnokAACgkQ4n8s+EWM
L6T0yQ/8DtgYEYgvOPEGdusjLe6jFGIsmWjcbUXxVC2dkIXa6SGKHBs0zA9WmZ/z
wHxlFvu4zjkLlqHix5xB1AlFK/o08ETFjE6MqL3i+T7k39sMNi2r0F1VpKFjd0Mq
xWGOqe5akIVpnrrQqplmDojURcqXtst5R0u1rd4Ez25SI63MVTf0jP4jhArALRBp
lCKLxA+ZNYtBnAbtqfOesZddxKRlYJKTSa3bAz7UtYbpC3ApCv4PnUwL1SfMrSBi
4bJtSU1Y7TDqR9yMuzqvOcs8Tc//u9n6+qX1zVBG14yuZJmovEgPB9gjLpy8NphW
EFpEW31haCMfNFDBxyvSGJk4cRSH21PnhklA3DWOqt5zfe+slJFZbgssYoHeIxC6
IgnrW0scY1KDYEAHlGnvTQjBYwrJDTvsHBPNiXTgFRYELlTc0f21XAEjE+533zjF
bKcqovdaoCY/b6aP+h3hsapGQkbPJsmgE2UyvSZBXfEAWl7iu1auyaJdbIKQPKcl
eQbT1JBNYFN1tsttyOIv693G7QccpA6cJ13Qjv/K2f7HdgweVvHXrcuyhu9GTRDO
eSsu/zsQcbHjFPTCos+l/YUPZpW/ujRE3ZB8VT0MZio3IuxjEYG4YY7baUj/Tpca
fp0ePp0g3WiuhEqFOauCeVVYtW4bMom1GJE7VRynnGRcM+cbBbg=
=o5og
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to