Package Details: opentimelineio0.14 0.14.1-3

Git Clone URL: https://aur.archlinux.org/opentimelineio0.14.git (read-only, click to copy)
Package Base: opentimelineio0.14
Description: Open Source API and interchange format for editorial timeline information
Upstream URL: http://opentimeline.io/
Licenses: Apache
Conflicts: opentimelineio
Provides: opentimelineio
Submitter: tecnotercio
Maintainer: tecnotercio
Last Packager: tecnotercio
Votes: 1
Popularity: 0.000004
First Submitted: 2023-02-05 21:47 (UTC)
Last Updated: 2023-05-19 19:47 (UTC)

Dependencies (5)

Required by (6)

Sources (3)

Latest Comments

tecnotercio commented on 2023-05-19 19:50 (UTC)

@machinehum: The "package" function had an error when installing the Python library, and has now been fixed.

machinehum commented on 2023-05-12 19:21 (UTC) (edited on 2023-05-12 19:24 (UTC) by machinehum)

I deleted the files and tried again, fixed it.

I'm trying to install opentimelineio0.14 and getting this...

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                                                   [##############################################] 100%
(1/1) checking package integrity                                                 [##############################################] 100%
(1/1) loading package files                                                      [##############################################] 100%
(1/1) checking for file conflicts                                                [##############################################] 100%
error: failed to commit transaction (conflicting files)
opentimelineio0.14: /home/machinehum/projects/AUR/opentimelineio0.14/src/OpenTimelineIO-0.14.1/build/lib.linux-x86_64-cpython-311/opentimelineio/_opentime.cpython-311-x86_64-linux-gnu.so exists in filesystem
opentimelineio0.14: /home/machinehum/projects/AUR/opentimelineio0.14/src/OpenTimelineIO-0.14.1/build/lib.linux-x86_64-cpython-311/opentimelineio/_otio.cpython-311-x86_64-linux-gnu.so exists in filesystem
Errors occurred, no packages were upgraded.

It looks like PKGBUILD is trying to install in /home?

tecnotercio commented on 2023-05-06 22:44 (UTC)

@gardotd426: I have updated PKGBUILD with your suggestion. Thank you.

gardotd426 commented on 2023-05-06 07:23 (UTC)

Putting this in cstd.patch and adding cstd.patch to prepare() fixes it and allows it to build:

--- a/src/opentime/rationalTime.h   2023-05-06 03:18:57.251616481 -0400
+++ b/src/opentime/rationalTime.h   2023-05-06 03:18:37.881280100 -0400
@@ -1,5 +1,6 @@
 #pragma once

+#include <cstdint>
 #include "opentime/errorStatus.h"
 #include "opentime/version.h"
 #include <cmath>

gardotd426 commented on 2023-05-06 07:12 (UTC)

Fails to build.

==> Starting prepare()...
patching file CMakeLists.txt
patching file src/opentimelineio/any.h
patching file src/opentimelineio/optional.h
patching file src/py-opentimelineio/opentimelineio-bindings/otio_utils.h
==> Sources are ready.
==> Making package: opentimelineio0.14 0.14.1-1 (Sat 06 May 2023 03:08:34 AM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The C compiler identification is GNU 13.1.1
-- The CXX compiler identification is GNU 13.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- OTIO C++ installing to /usr
-- Building shared libs
-- Installing C++ bindings to: /usr
-- Installing C++ dynamic libraries to: /usr/lib
--   Installing 'any' and 'nonstd' for C++ (OTIO_DEPENDENCIES_INSTALL=ON)
-- Install Python bindings: OFF
-- Building C++ with Coverage: OFF
-- Checking git repo is available:
fatal: not a git repository (or any parent up to mount point /home/matt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- Configuring done (0.2s)
-- Generating done (0.0s)
-- Build files have been written to: /home/matt/tmp/makepkg/opentimelineio0.14/src/build
[  5%] Building CXX object src/opentime/CMakeFiles/opentime.dir/errorStatus.cpp.o
[  5%] Building CXX object src/opentime/CMakeFiles/opentime.dir/rationalTime.cpp.o
In file included from /home/matt/tmp/makepkg/opentimelineio0.14/src/OpenTimelineIO-0.14.1/src/opentime/rationalTime.cpp:1:
/home/matt/tmp/makepkg/opentimelineio0.14/src/OpenTimelineIO-0.14.1/src/opentime/rationalTime.h: In function ‘constexpr double opentime::v1_0::fabs(double)’:
/home/matt/tmp/makepkg/opentimelineio0.14/src/OpenTimelineIO-0.14.1/src/opentime/rationalTime.h:24:9: error: ‘uint64_t’ does not name a type
   24 |         uint64_t i;
      |         ^~~~~~~~
/home/matt/tmp/makepkg/opentimelineio0.14/src/OpenTimelineIO-0.14.1/src/opentime/rationalTime.h:6:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
    5 | #include <cmath>
  +++ |+#include <cstdint>
    6 | #include <limits>
/home/matt/tmp/makepkg/opentimelineio0.14/src/OpenTimelineIO-0.14.1/src/opentime/rationalTime.h:26:10: error: ‘union opentime::v1_0::fabs(double)::<unnamed>’ has no member named ‘i’
   26 |     bits.i &= std::numeric_limits<uint64_t>::max() / 2;
      |          ^
/home/matt/tmp/makepkg/opentimelineio0.14/src/OpenTimelineIO-0.14.1/src/opentime/rationalTime.h:26:35: error: ‘uint64_t’ was not declared in this scope
   26 |     bits.i &= std::numeric_limits<uint64_t>::max() / 2;
      |                                   ^~~~~~~~
/home/matt/tmp/makepkg/opentimelineio0.14/src/OpenTimelineIO-0.14.1/src/opentime/rationalTime.h:26:35: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/matt/tmp/makepkg/opentimelineio0.14/src/OpenTimelineIO-0.14.1/src/opentime/rationalTime.h:26:43: error: template argument 1 is invalid
   26 |     bits.i &= std::numeric_limits<uint64_t>::max() / 2;
      |                                           ^
make[2]: *** [src/opentime/CMakeFiles/opentime.dir/build.make:90: src/opentime/CMakeFiles/opentime.dir/rationalTime.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:116: src/opentime/CMakeFiles/opentime.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: opentimelineio0.14-exit status 4

gardotd426 commented on 2023-05-06 07:12 (UTC)

Fails to build.

==> Starting prepare()...
patching file CMakeLists.txt
patching file src/opentimelineio/any.h
patching file src/opentimelineio/optional.h
patching file src/py-opentimelineio/opentimelineio-bindings/otio_utils.h
==> Sources are ready.
==> Making package: opentimelineio0.14 0.14.1-1 (Sat 06 May 2023 03:08:34 AM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The C compiler identification is GNU 13.1.1
-- The CXX compiler identification is GNU 13.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- OTIO C++ installing to /usr
-- Building shared libs
-- Installing C++ bindings to: /usr
-- Installing C++ dynamic libraries to: /usr/lib
--   Installing 'any' and 'nonstd' for C++ (OTIO_DEPENDENCIES_INSTALL=ON)
-- Install Python bindings: OFF
-- Building C++ with Coverage: OFF
-- Checking git repo is available:
fatal: not a git repository (or any parent up to mount point /home/matt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- Configuring done (0.2s)
-- Generating done (0.0s)
-- Build files have been written to: /home/matt/tmp/makepkg/opentimelineio0.14/src/build
[  5%] Building CXX object src/opentime/CMakeFiles/opentime.dir/errorStatus.cpp.o
[  5%] Building CXX object src/opentime/CMakeFiles/opentime.dir/rationalTime.cpp.o
In file included from /home/matt/tmp/makepkg/opentimelineio0.14/src/OpenTimelineIO-0.14.1/src/opentime/rationalTime.cpp:1:
/home/matt/tmp/makepkg/opentimelineio0.14/src/OpenTimelineIO-0.14.1/src/opentime/rationalTime.h: In function ‘constexpr double opentime::v1_0::fabs(double)’:
/home/matt/tmp/makepkg/opentimelineio0.14/src/OpenTimelineIO-0.14.1/src/opentime/rationalTime.h:24:9: error: ‘uint64_t’ does not name a type
   24 |         uint64_t i;
      |         ^~~~~~~~
/home/matt/tmp/makepkg/opentimelineio0.14/src/OpenTimelineIO-0.14.1/src/opentime/rationalTime.h:6:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
    5 | #include <cmath>
  +++ |+#include <cstdint>
    6 | #include <limits>
/home/matt/tmp/makepkg/opentimelineio0.14/src/OpenTimelineIO-0.14.1/src/opentime/rationalTime.h:26:10: error: ‘union opentime::v1_0::fabs(double)::<unnamed>’ has no member named ‘i’
   26 |     bits.i &= std::numeric_limits<uint64_t>::max() / 2;
      |          ^
/home/matt/tmp/makepkg/opentimelineio0.14/src/OpenTimelineIO-0.14.1/src/opentime/rationalTime.h:26:35: error: ‘uint64_t’ was not declared in this scope
   26 |     bits.i &= std::numeric_limits<uint64_t>::max() / 2;
      |                                   ^~~~~~~~
/home/matt/tmp/makepkg/opentimelineio0.14/src/OpenTimelineIO-0.14.1/src/opentime/rationalTime.h:26:35: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/matt/tmp/makepkg/opentimelineio0.14/src/OpenTimelineIO-0.14.1/src/opentime/rationalTime.h:26:43: error: template argument 1 is invalid
   26 |     bits.i &= std::numeric_limits<uint64_t>::max() / 2;
      |                                           ^
make[2]: *** [src/opentime/CMakeFiles/opentime.dir/build.make:90: src/opentime/CMakeFiles/opentime.dir/rationalTime.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:116: src/opentime/CMakeFiles/opentime.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: opentimelineio0.14-exit status 4