Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941779 - net-ftp/filezilla-3.67.1 - fails to build with clang-19: .../include/c++/v1/string_view:300:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
Summary: net-ftp/filezilla-3.67.1 - fails to build with clang-19: .../include/c++/v1/s...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL: https://trac.filezilla-project.org/ti...
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-libcxx
  Show dependency tree
 
Reported: 2024-10-18 18:02 UTC by ernsteiswuerfel
Modified: 2025-01-18 17:48 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (filezilla-3.67.1:20241018-172821.log,20.92 KB, text/plain)
2024-10-18 18:02 UTC, ernsteiswuerfel
Details
emerge --info (file_941779.txt,7.67 KB, text/plain)
2024-10-18 18:03 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2024-10-18 18:02:42 UTC
Created attachment 906302 [details]
build.log

[...]
/bin/sh ../../libtool  --tag=CXX   --mode=compile clang++ -std=c++17 -DHAVE_CONFIG_H   -I../../config  -DBUILDING_FILEZILLA -DNDEBUG -fvisibility=hidden -Os -march=x86-64-v2 -pipe -Wall -Werror=partial-availability -c -o libfzclient_private_la-activity_logger_layer.lo `test -f 'activity_logger_layer.cpp' || echo './'`activity_logger_layer.cpp
libtool: compile:  clang++ -std=c++17 -DHAVE_CONFIG_H -I../../config -DBUILDING_FILEZILLA -DNDEBUG -fvisibility=hidden -Os -march=x86-64-v2 -pipe -Wall -Werror=partial-availability -c activity_logger_layer.cpp  -fPIC -DPIC -o .libs/libfzclient_private_la-activity_logger_layer.o
/bin/sh ../../libtool  --tag=CXX   --mode=compile clang++ -std=c++17 -DHAVE_CONFIG_H   -I../../config  -DBUILDING_FILEZILLA -DNDEBUG -fvisibility=hidden -Os -march=x86-64-v2 -pipe -Wall -Werror=partial-availability -c -o libfzclient_private_la-commands.lo `test -f 'commands.cpp' || echo './'`commands.cpp
libtool: compile:  clang++ -std=c++17 -DHAVE_CONFIG_H -I../../config -DBUILDING_FILEZILLA -DNDEBUG -fvisibility=hidden -Os -march=x86-64-v2 -pipe -Wall -Werror=partial-availability -c commands.cpp  -fPIC -DPIC -o .libs/libfzclient_private_la-commands.o
In file included from commands.cpp:1:
In file included from ./filezilla.h:1:
In file included from ./../include/libfilezilla_engine.h:12:
In file included from /usr/include/libfilezilla/libfilezilla.hpp:7:
In file included from /usr/include/libfilezilla/string.hpp:9:
In file included from /usr/include/c++/v1/string:647:
/usr/include/c++/v1/string_view:300:42: error: implicit instantiation of
      undefined template 'std::char_traits<unsigned char>'
  300 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/usr/include/libfilezilla/hash.hpp:112:44: note: in instantiation of
      template class 'std::basic_string_view<unsigned char>' requested here
  112 |           std::enable_if_t<sizeof(typename PasswordContainer::value_type) == sizeof(uint8_t) &&
      |                                            ^
/usr/include/libfilezilla/hash.hpp:114:22: note: while substituting prior
      template arguments into non-type template parameter [with PasswordContainer =
      std::basic_string_view<uint8_t>, SaltContainer = std::basic_string_view<uint8_t>]
  114 |   ...pbkdf2_hmac_sha256(PasswordContainer const& password, SaltContainer const& salt, size_t length, unsigned int iterations)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libfilezilla/hash.hpp:116:9: note: while substituting deduced
      template arguments into function template 'pbkdf2_hmac_sha256' [with PasswordContainer =
      std::basic_string_view<uint8_t>, SaltContainer = std::basic_string_view<uint8_t>, $2 =
      (no value)]
  116 |         return pbkdf2_hmac_sha256(std::basic_string_view<uint8_t>(reinterpret_cast<uint8...
      |                ^
/usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared
      here
   45 | struct char_traits;
      |        ^
1 error generated.
make[3]: *** [Makefile:996: libfzclient_private_la-commands.lo] Error 1
make[3]: Leaving directory '/var/tmp/portage/net-ftp/filezilla-3.67.1/work/filezilla-3.67.1/src/engine'
make[2]: *** [Makefile:690: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/net-ftp/filezilla-3.67.1/work/filezilla-3.67.1/src/engine'
make[1]: *** [Makefile:439: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-ftp/filezilla-3.67.1/work/filezilla-3.67.1/src'
make: *** [Makefile:635: all-recursive] Error 1
Comment 1 ernsteiswuerfel archtester 2024-10-18 18:03:07 UTC
Created attachment 906303 [details]
emerge --info
Comment 2 Davide Palma 2025-01-18 17:48:45 UTC
This is an issue of libfilezilla ( #941775 ), not filezilla.