Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2024 19:49:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 279865] Mk/Uses/cargo.mk: GitHub-sourced elements of CARGO_CRATES are cloned without git submodules
Message-ID:  <bug-279865-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279865

            Bug ID: 279865
           Summary: Mk/Uses/cargo.mk: GitHub-sourced elements of
                    CARGO_CRATES are cloned without git submodules
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

Created attachment 251581
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D251581&action=
=3Dedit
port.shar

In the attached example the failure occurs because the submodule contains t=
he
CMakeLists.txt file which is missing.


---the failure message---
error: failed to run custom build command for `ls-qpack-sys v0.1.4
(/usr/ports/www/py-qh3/work-py311/ls-qpack-rs-86a836850b45593a1635e757439e2=
91214573828/ls-qpack-sys)`

Caused by:
  process didn't exit successfully:
`/usr/ports/www/py-qh3/work-py311/qh3-1.0.8/target/release/build/ls-qpack-s=
ys-aa90669d06979fb6/build-script-build`
(exit status: 101)
  --- stdout
  CMAKE_TOOLCHAIN_FILE_x86_64-unknown-freebsd =3D None
  CMAKE_TOOLCHAIN_FILE_x86_64_unknown_freebsd =3D None
  HOST_CMAKE_TOOLCHAIN_FILE =3D None
  CMAKE_TOOLCHAIN_FILE =3D None
  CMAKE_GENERATOR_x86_64-unknown-freebsd =3D None
  CMAKE_GENERATOR_x86_64_unknown_freebsd =3D None
  HOST_CMAKE_GENERATOR =3D None
  CMAKE_GENERATOR =3D None
  CMAKE_PREFIX_PATH_x86_64-unknown-freebsd =3D None
  CMAKE_PREFIX_PATH_x86_64_unknown_freebsd =3D None
  HOST_CMAKE_PREFIX_PATH =3D None
  CMAKE_PREFIX_PATH =3D None
  CMAKE_x86_64-unknown-freebsd =3D None
  CMAKE_x86_64_unknown_freebsd =3D None
  HOST_CMAKE =3D None
  CMAKE =3D None
  running: cd
"/usr/ports/www/py-qh3/work-py311/qh3-1.0.8/target/release/build/ls-qpack-s=
ys-db79e05370cb866c/out/build"
&& CMAKE_PREFIX_PATH=3D"" "cmake"
"/usr/ports/www/py-qh3/work-py311/ls-qpack-rs-86a836850b45593a1635e757439e2=
91214573828/ls-qpack-sys/deps/ls-qpack"
"-DLSQPACK_BIN=3DOFF"
"-DCMAKE_INSTALL_PREFIX=3D/usr/ports/www/py-qh3/work-py311/qh3-1.0.8/target=
/release/build/ls-qpack-sys-db79e05370cb866c/out"
"-DCMAKE_C_FLAGS=3D -ffunction-sections -fdata-sections -fPIC -m64
--target=3Dx86_64-unknown-freebsd -pipe -fstack-protector-strong
-fno-strict-aliasing" "-DCMAKE_C_COMPILER=3D/usr/local/libexec/ccache/cc"
"-DCMAKE_CXX_FLAGS=3D -ffunction-sections -fdata-sections -fPIC -m64
-stdlib=3Dlibc++ --target=3Dx86_64-unknown-freebsd -pipe -fstack-protector-=
strong
-fno-strict-aliasing" "-DCMAKE_CXX_COMPILER=3D/usr/local/libexec/ccache/c++"
"-DCMAKE_ASM_FLAGS=3D -ffunction-sections -fdata-sections -fPIC -m64
--target=3Dx86_64-unknown-freebsd -pipe -fstack-protector-strong
-fno-strict-aliasing" "-DCMAKE_ASM_COMPILER=3D/usr/local/libexec/ccache/cc"
"-DCMAKE_BUILD_TYPE=3DRelease"

  --- stderr
  CMake Warning:
    Ignoring extra path from command line:

=20=20=20=20
"/usr/ports/www/py-qh3/work-py311/ls-qpack-rs-86a836850b45593a1635e757439e2=
91214573828/ls-qpack-sys/deps/ls-qpack"


  CMake Error: The source directory
"/usr/ports/www/py-qh3/work-py311/ls-qpack-rs-86a836850b45593a1635e757439e2=
91214573828/ls-qpack-sys/deps/ls-qpack"
does not appear to contain CMakeLists.txt.
  Specify --help for usage, or press the help button on the CMake GUI.
  thread 'main' panicked at
/usr/ports/www/py-qh3/work-py311/qh3-1.0.8/cargo-crates/cmake-0.1.50/src/li=
b.rs:1098:5:

  command did not execute successfully, got: exit status: 1

  build script failed, must exit now
  note: run with `RUST_BACKTRACE=3D1` environment variable to display a bac=
ktrace
warning: build failed, waiting for other jobs to finish...
=F0=9F=92=A5 maturin failed
  Caused by: Failed to build a native library through cargo
  Caused by: Cargo build finished with "exit status: 101": `env -u CARGO
PYO3_ENVIRONMENT_SIGNATURE=3D"cpython-3.11-64bit"
PYO3_PYTHON=3D"/usr/local/bin/python3.11"
PYTHON_SYS_EXECUTABLE=3D"/usr/local/bin/python3.11" "cargo" "rustc" "--feat=
ures"
"pyo3/extension-module" "--features" "pyo3/generate-import-lib"
"--message-format" "json-render-diagnostics" "--manifest-path"
"/usr/ports/www/py-qh3/work-py311/qh3-1.0.8/Cargo.toml" "--release" "--lib"`
Error: command ['maturin-3.11', 'pep517', 'build-wheel', '-i',
'/usr/local/bin/python3.11', '--compatibility', 'off'] returned non-zero ex=
it
status 1

ERROR Backend subprocess exited when trying to invoke build_wheel

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279865-7788>