Package Details: reproc 14.2.5-2

Git Clone URL: https://aur.archlinux.org/reproc.git (read-only, click to copy)
Package Base: reproc
Description: Cross-platform library that simplifies working with external CLI applications from C and C++
Upstream URL: https://github.com/DaanDeMeyer/reproc
Keywords: c c++ cross-platform library
Licenses: MIT
Submitter: jetm
Maintainer: jetm
Last Packager: jetm
Votes: 6
Popularity: 0.196147
First Submitted: 2018-09-29 20:05 (UTC)
Last Updated: 2024-08-05 20:11 (UTC)

Latest Comments

1 2 Next › Last »

micwoj92 commented on 2024-08-02 20:19 (UTC)

Please add gcc-libs and glibc to depends. gcc can be removed from makedeps.

marrs commented on 2023-07-26 17:32 (UTC) (edited on 2023-07-26 17:33 (UTC) by marrs)

@michimussato see the comments below

@jetm what's the news on this? Are you able to provide the patches?

michimussato commented on 2023-06-21 06:25 (UTC)

reproc build fails:

██████████████████  ████████   michael@pocket3 
██████████████████  ████████   --------------- 
██████████████████  ████████   OS: Manjaro Linux x86_64 
██████████████████  ████████   Host: G1621-02 
████████            ████████   Kernel: 6.3.5-2-MANJARO 
████████  ████████  ████████   Uptime: 1 hour, 33 mins 
████████  ████████  ████████   Packages: 1872 (pacman) 
████████  ████████  ████████   Shell: bash 5.1.16 
████████  ████████  ████████   Resolution: 1920x1200 
████████  ████████  ████████   DE: Cinnamon 5.6.8 
████████  ████████  ████████   WM: Mutter (Muffin) 
████████  ████████  ████████   WM Theme: Mint-Y-Dark-Teal (Mint-Y) 
████████  ████████  ████████   Theme: Mint-Y-Dark-Teal [GTK2/3] 
████████  ████████  ████████   Icons: Papirus-Adapta-Nokto-Maia [GTK2/3] 
                               Terminal: gnome-terminal 
                               CPU: 11th Gen Intel i7-1195G7 (8) @ 5.000GHz 
                               GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics] 
                               Memory: 11164MiB / 15774MiB
Preparing...
Synchronizing package databases...
Refreshing core.db...
Refreshing extra.db...
Refreshing community.db...
Refreshing multilib.db...
Refreshing core.files...
Refreshing extra.files...
Refreshing community.files...
Refreshing multilib.files...
Refreshing AUR...
Nothing to do.
Transaction successfully finished.

Preparing...
Cloning reproc build files...
Generating reproc information...
Checking reproc dependencies...
Resolving dependencies...
Checking inter-conflicts...

Building reproc...
==> Making package: reproc 14.2.4-1 (Wed 21 Jun 2023 08:20:18 AM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found v14.2.4.tar.gz
==> Validating source files with sha256sums...
    v14.2.4.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting v14.2.4.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
CMake Warning:
  Ignoring extra path from command line:

   "../"


-- The C compiler identification is GNU 13.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- The CXX compiler identification is GNU 13.1.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.3s)
-- Generating done (0.0s)
-- Build files have been written to: /var/tmp/pamac-build-michael/reproc/src/build
[  1%] Building C object reproc/CMakeFiles/reproc-resource-deadline.dir/resources/deadline.c.o
[  3%] Building C object reproc/CMakeFiles/reproc-resource-overflow.dir/resources/overflow.c.o
[  5%] Building C object reproc/CMakeFiles/reproc.dir/src/clock.posix.c.o
[  9%] Building C object reproc/CMakeFiles/reproc-resource-env.dir/resources/env.c.o
[  9%] Building C object reproc/CMakeFiles/reproc-resource-path.dir/resources/path.c.o
[ 10%] Building C object reproc/CMakeFiles/reproc-resource-argv.dir/resources/argv.c.o
[ 12%] Building C object reproc/CMakeFiles/reproc-resource-stop.dir/resources/stop.c.o
[ 14%] Building C object reproc/CMakeFiles/reproc-resource-io.dir/resources/io.c.o
[ 16%] Building C object reproc/CMakeFiles/reproc-resource-working-directory.dir/resources/working-directory.c.o
[ 18%] Linking C executable resources/stop
[ 20%] Building C object reproc/CMakeFiles/reproc.dir/src/drain.c.o
[ 21%] Linking C executable resources/deadline
[ 23%] Linking C executable resources/overflow
[ 25%] Linking C executable resources/argv
[ 27%] Linking C executable resources/path
[ 29%] Linking C executable resources/env
[ 30%] Linking C executable resources/working-directory
[ 32%] Linking C executable resources/io
[ 32%] Built target reproc-resource-overflow
[ 32%] Built target reproc-resource-path
[ 32%] Built target reproc-resource-deadline
[ 32%] Built target reproc-resource-stop
[ 32%] Built target reproc-resource-argv
[ 34%] Building C object reproc/CMakeFiles/reproc.dir/src/handle.posix.c.o
[ 36%] Building C object reproc/CMakeFiles/reproc.dir/src/options.c.o
[ 38%] Building C object reproc/CMakeFiles/reproc.dir/src/error.posix.c.o
[ 40%] Building C object reproc/CMakeFiles/reproc.dir/src/init.posix.c.o
[ 41%] Building C object reproc/CMakeFiles/reproc.dir/src/pipe.posix.c.o
[ 41%] Built target reproc-resource-env
[ 41%] Built target reproc-resource-working-directory
[ 43%] Building C object reproc/CMakeFiles/reproc-resource-pid.dir/resources/pid.c.o
[ 43%] Built target reproc-resource-io
[ 45%] Building C object reproc/CMakeFiles/reproc.dir/src/process.posix.c.o
[ 47%] Building C object reproc/CMakeFiles/reproc.dir/src/redirect.posix.c.o
[ 49%] Building C object reproc/CMakeFiles/reproc.dir/src/redirect.c.o
[ 50%] Building C object reproc/CMakeFiles/reproc.dir/src/reproc.c.o
[ 52%] Building C object reproc/CMakeFiles/reproc.dir/src/run.c.o
[ 54%] Building C object reproc/CMakeFiles/reproc.dir/src/strv.c.o
[ 56%] Linking C executable resources/pid
[ 58%] Building C object reproc/CMakeFiles/reproc.dir/src/utf.posix.c.o
[ 58%] Built target reproc-resource-pid
[ 60%] Linking C shared library lib/libreproc.so
[ 60%] Built target reproc
[ 61%] Building C object reproc/CMakeFiles/reproc-test-argv.dir/test/argv.c.o
[ 65%] Building C object reproc/CMakeFiles/reproc-test-deadline.dir/test/deadline.c.o
[ 65%] Building C object reproc/CMakeFiles/reproc-test-io.dir/test/io.c.o
[ 67%] Building C object reproc/CMakeFiles/reproc-test-overflow.dir/test/overflow.c.o
[ 69%] Building C object reproc/CMakeFiles/reproc-test-stop.dir/test/stop.c.o
[ 70%] Building C object reproc/CMakeFiles/reproc-test-env.dir/test/env.c.o
[ 72%] Building C object reproc/CMakeFiles/reproc-test-working-directory.dir/test/working-directory.c.o
[ 74%] Building C object reproc/CMakeFiles/reproc-test-path.dir/test/path.c.o
[ 76%] Building C object reproc/CMakeFiles/reproc-test-pid.dir/test/pid.c.o
[ 78%] Linking C executable test/deadline
[ 80%] Linking C executable test/argv
[ 81%] Linking C executable test/stop
[ 83%] Linking C executable test/path
[ 85%] Linking C executable test/working-directory
[ 87%] Linking C executable test/io
[ 89%] Linking C executable test/env
[ 90%] Linking C executable test/overflow
[ 92%] Linking C executable test/pid
[ 92%] Built target reproc-test-deadline
[ 92%] Built target reproc-test-argv
[ 92%] Built target reproc-test-stop
[ 92%] Built target reproc-test-working-directory
[ 92%] Built target reproc-test-env
[ 94%] Building C object reproc/CMakeFiles/reproc-test-fork.dir/test/fork.c.o
[ 94%] Built target reproc-test-overflow
[ 94%] Built target reproc-test-path
[ 96%] Building CXX object reproc++/CMakeFiles/reproc++.dir/src/reproc.cpp.o
[ 96%] Built target reproc-test-io
[ 96%] Built target reproc-test-pid
[ 98%] Linking C executable test/fork
[ 98%] Built target reproc-test-fork
In file included from /var/tmp/pamac-build-michael/reproc/src/reproc-14.2.4/reproc++/src/reproc.cpp:1:
/var/tmp/pamac-build-michael/reproc/src/reproc-14.2.4/reproc++/include/reproc++/reproc.hpp:95:5: error: declaration of ‘reproc::options::<unnamed struct> reproc::options::env’ changes meaning of ‘env’ [-Wchanges-meaning]
   95 |   } env = {};
      |     ^~~
/var/tmp/pamac-build-michael/reproc/src/reproc-14.2.4/reproc++/include/reproc++/reproc.hpp:91:5: note: used here to mean ‘class reproc::env’
   91 |     env::type behavior;
      |     ^~~
In file included from /var/tmp/pamac-build-michael/reproc/src/reproc-14.2.4/reproc++/include/reproc++/reproc.hpp:11:
/var/tmp/pamac-build-michael/reproc/src/reproc-14.2.4/reproc++/include/reproc++/env.hpp:8:7: note: declared here
    8 | class env : public detail::array {
      |       ^~~
/var/tmp/pamac-build-michael/reproc/src/reproc-14.2.4/reproc++/include/reproc++/reproc.hpp:107:5: error: declaration of ‘reproc::options::<unnamed struct> reproc::options::redirect’ changes meaning of ‘redirect’ [-Wchanges-meaning]
  107 |   } redirect = {};
      |     ^~~~~~~~
/var/tmp/pamac-build-michael/reproc/src/reproc-14.2.4/reproc++/include/reproc++/reproc.hpp:102:5: note: used here to mean ‘struct reproc::redirect’
  102 |     redirect err;
      |     ^~~~~~~~
/var/tmp/pamac-build-michael/reproc/src/reproc-14.2.4/reproc++/include/reproc++/reproc.hpp:68:8: note: declared here
   68 | struct redirect {
      |        ^~~~~~~~
make[2]: *** [reproc++/CMakeFiles/reproc++.dir/build.make:76: reproc++/CMakeFiles/reproc++.dir/src/reproc.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:683: reproc++/CMakeFiles/reproc++.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Am I missing anything?

tallero commented on 2023-06-20 10:21 (UTC)

Or simply require gcc<=11.

jetm commented on 2023-05-18 00:12 (UTC)

Reported upstream issue at https://github.com/DaanDeMeyer/reproc/issues/94. Waiting if the author wants to do a release for gcc-13, otherwise I update the package with the required patch(es).

eclairevoyant commented on 2023-05-17 01:17 (UTC)

@petercxy that's not an actual fix, the actual gcc13 fixes are present upstream

petercxy commented on 2023-05-14 13:07 (UTC)

After gcc13 this package needs CXXFLAGS="-Wno-changes-meaning" to build.

eclairevoyant commented on 2023-03-16 02:54 (UTC)

gcc should be removed from makedepends. As per https://wiki.archlinux.org/title/PKGBUILD#makedepends:

Note: The package base-devel is assumed to be already installed when building with makepkg. Dependencies of this package should not be included in makedepends array.

jetm commented on 2021-03-22 03:12 (UTC)

@gdolle, I have added -DREPROC++=ON. Now I can see the C++ library and headers. Thank you!

gdolle commented on 2021-03-15 11:18 (UTC)

Hi @jetm, reproc++ isn't generated currently, the cmake option should be -DREPROC++=ON instead of -DREPROCXX.

Maybe split the package to provide reproc and reproc-cpp ?