[Bug 1895567] Review Request: usd - 3D VFX pipeline interchange file format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1895567

Mamoru TASAKA <mtasaka@xxxxxxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mtasaka@xxxxxxxxxxxxxxxxx



--- Comment #11 from Mamoru TASAKA <mtasaka@xxxxxxxxxxxxxxxxx> ---
F-34 build tree now has openshadinglanguage-1.11.10.0-8.fc34 and dependency
conflict against boost is now resolved.

Now compiling usd-21.02-1.fc34.src.rpm shows the same error on comment 7:
https://koji.fedoraproject.org/koji/taskinfo?taskID=61358957

... and it seems that this error can be fixed with:

```
--- USD-21.02/pxr/base/arch/demangle.cpp.orig   2021-01-20 09:13:57.000000000
+0900
+++ USD-21.02/pxr/base/arch/demangle.cpp        2021-02-05 16:37:27.154126908
+0900
@@ -36,6 +36,7 @@ using std::string;
 #if (ARCH_COMPILER_GCC_MAJOR == 3 && ARCH_COMPILER_GCC_MINOR >= 1) || \
     ARCH_COMPILER_GCC_MAJOR > 3 || defined(ARCH_COMPILER_CLANG)
 #define _AT_LEAST_GCC_THREE_ONE_OR_CLANG
+#include <cxxabi.h>
 #endif

 PXR_NAMESPACE_OPEN_SCOPE
@@ -138,7 +139,6 @@ _StripPxrInternalNamespace(string* name)
 #endif

 #if defined(_AT_LEAST_GCC_THREE_ONE_OR_CLANG)
-#include <cxxabi.h>

 /*
  * This routine doesn't work when you get to gcc3.4.
```

I guess including system header later in the source confuses namespace, because
this source uses "using namespace" and PXR_NAMESPACE_OPEN_SCOPE .


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux