Re: [Help needed] Possible change from gcc failed both openxr and luxcorerender

2021-04-19 Thread Jonathan Wakely

On 18/04/21 23:38 -0700, Luya Tshimbalanga wrote:


On 2021-04-15 6:33 a.m., Jonathan Wakely wrote:


The error for this build is completely different to the errors you
showed above:
/builddir/build/BUILD/LuxCore-luxcorerender_v2.5/include/luxrays/utils/utils.h:40:18: 
error: 'std::std' has not been declared

   40 | #define isinf(f) std::isinf(f)
  |  ^~~

That's a bug in the source package.


What will be the suggestion to address that issue before contacting 
upstream luxcorerender?


Replace the silly macro above with something like:

using std::isinf;
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: [Help needed] Possible change from gcc failed both openxr and luxcorerender

2021-04-19 Thread Luya Tshimbalanga


On 2021-04-15 6:33 a.m., Jonathan Wakely wrote:


The error for this build is completely different to the errors you
showed above:
/builddir/build/BUILD/LuxCore-luxcorerender_v2.5/include/luxrays/utils/utils.h:40:18: 
error: 'std::std' has not been declared

   40 | #define isinf(f) std::isinf(f)
  |  ^~~

That's a bug in the source package.


What will be the suggestion to address that issue before contacting 
upstream luxcorerender?







Result from openxr

https://copr.fedorainfracloud.org/coprs/luya/blender-egl/build/2131057/


This one has the errors above, and there is no sign of -lstdc++fs in
the linker command. It's a package bug.



You are right. I managed to solve the issue for openxr.

--
Luya Tshimbalanga
Fedora Design Team
Fedora Design Suite maintainer
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: [Help needed] Possible change from gcc failed both openxr and luxcorerender

2021-04-15 Thread Jonathan Wakely

On 14/04/21 16:06 -0700, Luya Tshimbalanga wrote:
Due to a possible change related to GCC, packages like openxr and 
luxcorereneder failed to build with these errors:


I don't think there's any relevant change in GCC.

It looks like these packages simply fail to link with -lstdc++fs (or
they have that flag in the wrong position in the link command, it
needs to be after any objects that depend on it).

/tmp/ccHa7xrs.ltrans2.ltrans.o: in function 
`RuntimeManifestFile::CreateIfValid(std::__cxx11::basic_stringstd::char_traits, std::allocator > const&, 
std::vectorstd::default_delete >, 
std::allocatorstd::default_delete > > >&)':
:(.text+0x3b56): undefined reference to 
`std::experimental::filesystem::v1::current_path[abi:cxx11]()'
/usr/bin/ld: :(.text+0x3ba6): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: :(.text+0x3bc6): undefined reference to `std::experimental::filesystem::v1::canonical(std::experimental::filesystem::v1::__cxx11::path 
const&, std::experimental::filesystem::v1::__cxx11::path const&)'
/usr/bin/ld: /tmp/ccHa7xrs.ltrans2.ltrans.o: in function 
`CheckAllFilesInThePath(std::__cxx11::basic_stringstd::char_traits, std::allocator > const&, bool, 
std::vector, 
std::allocator >, 
std::allocatorstd::char_traits, std::allocator > > >&)':
:(.text+0x7da5): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: :(.text+0x7dad): undefined reference to `std::experimental::filesystem::v1::status(std::experimental::filesystem::v1::__cxx11::path 
const&)'
/usr/bin/ld: :(.text+0x7e9b): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: :(.text+0x7eac): undefined reference to `std::experimental::filesystem::v1::__cxx11::directory_iterator::directory_iterator(std::experimental::filesystem::v1::__cxx11::path 
const&, std::experimental::filesystem::v1::directory_options, 
std::error_code*)'
/usr/bin/ld: :(.text+0x7f52): undefined reference to `std::experimental::filesystem::v1::__cxx11::directory_iterator::operator*() 
const'

/usr/bin/ld: :(.text+0x8033): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::directory_iterator::operator++()'
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref
/tmp/ccHa7xrs.ltrans3.ltrans.o: in function 
`FileSysUtilsGetAbsolutePath(std::__cxx11::basic_stringstd::char_traits, std::allocator > const&, 
std::__cxx11::basic_string, 
std::allocator >&)':
:(.text+0x15d7): undefined reference to 
`std::experimental::filesystem::v1::current_path[abi:cxx11]()'
/usr/bin/ld: :(.text+0x1626): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: :(.text+0x163e): undefined reference to `std::experimental::filesystem::v1::absolute(std::experimental::filesystem::v1::__cxx11::path 
const&, std::experimental::filesystem::v1::__cxx11::path const&)'
/usr/bin/ld: /tmp/ccHa7xrs.ltrans3.ltrans.o: in function 
`FileSysUtilsCombinePaths(std::__cxx11::basic_stringstd::char_traits, std::allocator > const&, 
std::__cxx11::basic_string, 
std::allocator > const&, std::__cxx11::basic_stringstd::char_traits, std::allocator >&) [clone .isra.0]':
:(.text+0x1f05): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: :(.text+0x1f69): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: :(.text+0x1fc4): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: /tmp/ccHa7xrs.ltrans3.ltrans.o: in function 
`FileSysUtilsGetParentPath(std::__cxx11::basic_stringstd::char_traits, std::allocator > const&, 
std::__cxx11::basic_string, 
std::allocator >&) [clone .isra.0]':
:(.text+0x234d): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: :(.text+0x235d): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::parent_path() 
const'
/usr/bin/ld: /tmp/ccHa7xrs.ltrans3.ltrans.o: in function 
`FileSysUtilsIsAbsolutePath(std::__cxx11::basic_stringstd::char_traits, std::allocator > const&) [clone 
.isra.0]':
:(.text+0x25fd): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: :(.text+0x2605): undefined reference to `std::experimental::filesystem::v1::__cxx11::path::has_root_directory() 
const'
/usr/bin/ld: /tmp/ccHa7xrs.ltrans3.ltrans.o: in function 
`FileSysUtilsPathExists(std::__cxx11::basic_stringstd::char_traits, std::allocator > const&) [clone 
.isra.0]':
:(.text+0x271d): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: :(.text+0x2725): undefined reference to `std::experimental::filesystem::v1::status(std::experimental::filesystem::v1::__cxx11::path 
const&)'

collect2: error: ld returned 1 exit status
gmake[2]: *** 

[Help needed] Possible change from gcc failed both openxr and luxcorerender

2021-04-14 Thread Luya Tshimbalanga
Due to a possible change related to GCC, packages like openxr and 
luxcorereneder failed to build with these errors:


/tmp/ccHa7xrs.ltrans2.ltrans.o: in function 
`RuntimeManifestFile::CreateIfValid(std::__cxx11::basic_stringstd::char_traits, std::allocator > const&, 
std::vectorstd::default_delete >, 
std::allocatorstd::default_delete > > >&)':
:(.text+0x3b56): undefined reference to 
`std::experimental::filesystem::v1::current_path[abi:cxx11]()'
/usr/bin/ld: :(.text+0x3ba6): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: :(.text+0x3bc6): undefined reference to 
`std::experimental::filesystem::v1::canonical(std::experimental::filesystem::v1::__cxx11::path 
const&, std::experimental::filesystem::v1::__cxx11::path const&)'
/usr/bin/ld: /tmp/ccHa7xrs.ltrans2.ltrans.o: in function 
`CheckAllFilesInThePath(std::__cxx11::basic_stringstd::char_traits, std::allocator > const&, bool, 
std::vector, 
std::allocator >, std::allocatorstd::char_traits, std::allocator > > >&)':
:(.text+0x7da5): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: :(.text+0x7dad): undefined reference to 
`std::experimental::filesystem::v1::status(std::experimental::filesystem::v1::__cxx11::path 
const&)'
/usr/bin/ld: :(.text+0x7e9b): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: :(.text+0x7eac): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::directory_iterator::directory_iterator(std::experimental::filesystem::v1::__cxx11::path 
const&, std::experimental::filesystem::v1::directory_options, 
std::error_code*)'
/usr/bin/ld: :(.text+0x7f52): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::directory_iterator::operator*() 
const'
/usr/bin/ld: :(.text+0x8033): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::directory_iterator::operator++()'

/usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref
/tmp/ccHa7xrs.ltrans3.ltrans.o: in function 
`FileSysUtilsGetAbsolutePath(std::__cxx11::basic_stringstd::char_traits, std::allocator > const&, 
std::__cxx11::basic_string, 
std::allocator >&)':
:(.text+0x15d7): undefined reference to 
`std::experimental::filesystem::v1::current_path[abi:cxx11]()'
/usr/bin/ld: :(.text+0x1626): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: :(.text+0x163e): undefined reference to 
`std::experimental::filesystem::v1::absolute(std::experimental::filesystem::v1::__cxx11::path 
const&, std::experimental::filesystem::v1::__cxx11::path const&)'
/usr/bin/ld: /tmp/ccHa7xrs.ltrans3.ltrans.o: in function 
`FileSysUtilsCombinePaths(std::__cxx11::basic_stringstd::char_traits, std::allocator > const&, 
std::__cxx11::basic_string, 
std::allocator > const&, std::__cxx11::basic_stringstd::char_traits, std::allocator >&) [clone .isra.0]':
:(.text+0x1f05): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: :(.text+0x1f69): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: :(.text+0x1fc4): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: /tmp/ccHa7xrs.ltrans3.ltrans.o: in function 
`FileSysUtilsGetParentPath(std::__cxx11::basic_stringstd::char_traits, std::allocator > const&, 
std::__cxx11::basic_string, 
std::allocator >&) [clone .isra.0]':
:(.text+0x234d): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: :(.text+0x235d): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::parent_path() const'
/usr/bin/ld: /tmp/ccHa7xrs.ltrans3.ltrans.o: in function 
`FileSysUtilsIsAbsolutePath(std::__cxx11::basic_stringstd::char_traits, std::allocator > const&) [clone .isra.0]':
:(.text+0x25fd): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: :(.text+0x2605): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::has_root_directory() 
const'
/usr/bin/ld: /tmp/ccHa7xrs.ltrans3.ltrans.o: in function 
`FileSysUtilsPathExists(std::__cxx11::basic_stringstd::char_traits, std::allocator > const&) [clone .isra.0]':
:(.text+0x271d): undefined reference to 
`std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: :(.text+0x2725): undefined reference to 
`std::experimental::filesystem::v1::status(std::experimental::filesystem::v1::__cxx11::path 
const&)'

collect2: error: ld returned 1 exit status
gmake[2]: *** [src/loader/CMakeFiles/openxr_loader.dir/build.make:273: 
src/loader/libopenxr_loader.so.1.0.15] Error 1
gmake[2]: Leaving directory 
'/builddir/build/BUILD/OpenXR-SDK-Source-release-1.0.15/x86_64-redhat-linux-gnu'
gmake[1]: *** [CMakeFiles/Makefile2:338: 
src/loader/CMakeFiles/openxr_loader.dir/all]