You see me absolutely confused. I've just relaunched a makepkg -fis
against the package, after having cleaned build dirs: everything worked fine for me. Again, my previous build in a clean chroot with devtools
(extra-x86_64-build -- -I fmt9-9.1.0-5-x86_64.pkg.tar.xz -I pyside6-tools-wrappers-20230711-1-any.pkg.tar.xz
) was also successful. So I cannot reproduce the issue (not denying it did not happen on your system, obviously).
I would propose: let other users report the same anomaly if they encounter it - and, if someone is in this case, please pastebin build log.
Search Criteria
Package Details: luxcorerender 2:2.7.beta1-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/luxcorerender.git (read-only, click to copy) |
---|---|
Package Base: | luxcorerender |
Description: | Physically correct, unbiased rendering engine. |
Upstream URL: | https://www.luxcorerender.org/ |
Licenses: | Apache |
Provides: | luxrays |
Submitter: | bartus |
Maintainer: | bartus (howetuft) |
Last Packager: | bartus |
Votes: | 15 |
Popularity: | 0.000077 |
First Submitted: | 2018-05-11 21:03 (UTC) |
Last Updated: | 2024-11-25 20:46 (UTC) |
Dependencies (21)
- blosc (blosc-gitAUR)
- boost-libs
- embree3
- glfw (glfw-wayland-minecraft-cursorfixAUR, glfw-gitAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- opencl-icd-loaderAUR (khronos-ocl-icd-loaderAUR, khronos-ocl-icd-gitAUR, ocl-icd)
- openimagedenoise (openimagedenoise-gitAUR)
- openimageio (openimageio-gitAUR)
- openvdb
- python (python37AUR, python311AUR, python310AUR)
- spdlog (spdlog-gitAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- cuda-sdk (cuda-8.0AUR, cuda-9.2AUR, cuda-9.0AUR, cuda-10.0AUR, cuda-10.2AUR, cuda-11.1AUR, cuda11.1AUR, cuda11.1-toolsAUR, cuda-11.7AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda11.4-versionedAUR, cuda12.0-versionedAUR, cuda) (make)
- doxygen (doxygen-gitAUR, doxygen-yapAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- opencl-headers (opencl-headers-gitAUR) (make)
- pyside2-toolsAUR (make)
- opencl-driver (opencl-nvidia-410xxAUR, amdapp-sdkAUR, opencl-nvidia-440xxAUR, vc4cl-gitAUR, opencl-nvidia-430xxAUR, opencl-legacy-amdgpu-proAUR, intel-compute-runtime-gitAUR, beignetAUR, opencl-nvidia-vulkanAUR, beignet-gitAUR, intel-openclAUR, clvk-gitAUR, opencl-rusticl-mesa-minimal-gitAUR, mesa-gitAUR, mesa-wsl2-gitAUR, opencl-nvidia-535xxAUR, opencl-nvidia-470xxAUR, amdonly-gaming-opencl-clover-mesa-gitAUR, amdonly-gaming-opencl-rusticl-mesa-gitAUR, opencl-nvidia-550xxAUR, opencl-nvidia-390xxAUR, opencl-nvidia-teslaAUR, opencl-amdAUR, intel-compute-runtime-binAUR, opencl-nvidia-betaAUR, intel-compute-runtime-legacy-binAUR, intel-compute-runtime-legacyAUR, opencl-nvidia-525xxAUR, opencl-510xx-nvidiaAUR, opencl-nvidia-340xxAUR, intel-compute-runtime, intel-oneapi-compiler-shared-runtime, opencl-clover-mesa, opencl-nvidia, opencl-rusticl-mesa, rocm-opencl-runtime) (optional) – for gpu acceleration
- Show 1 more dependencies...
Required by (3)
Sources (15)
- 0001-cxx-version.patch
- 0002-silence-compiler-warnings.patch
- 0003-silence-preprocessing.patch
- 0004-glfw.patch
- 0005-boost107400.patch
- 0006-python.patch
- 0007-cpplib.patch
- 0008-clang-isnan-isinf.patch
- 0009-openexr3.patch
- 0010-openvdb.patch
- 0011-openimageio.patch
- 0012-opencolorio.patch
- 0013-boost179-fstream.patch
- 0014-spdlog.patch
- https://github.com/LuxCoreRender/LuxCore/archive/luxcorerender_v2.7beta1.tar.gz
howetuft commented on 2023-08-21 05:16 (UTC)
DarkShadow44 commented on 2023-08-20 22:41 (UTC) (edited on 2023-08-20 22:41 (UTC) by DarkShadow44)
The first time I run makepkg is a fresh git clone from the AUR. That breaks.
But running makepkg again works for some weird reason.
Btw, command is "makepkg -fis" in both cases
howetuft commented on 2023-08-20 17:58 (UTC)
The first time you run makepkg, do you clean beforehand? I mean, do you clean/erase the previous build directory? Otherwise, there can be remnants from the previous build, especially in CMake files, that interfere with the new build...
DarkShadow44 commented on 2023-08-20 17:19 (UTC)
So, I just retried, and the results are weird. When I run makepkg, I get the same fmt error in spdlog. But when I run makepkg again without cleaning, it suddenly works...
Not sure why that is, but it's very reproducible.
howetuft commented on 2023-08-19 14:59 (UTC)
@DarkShadow44 I fixed fmt9 dependency, so this should not be an issue any more. I also slightly modified the last patch, to reinforce fmt9 include paths over fmt10 ones.
I rebuilt the package in a clean chroot (with devtools
) and everything worked fine for me.
Could you please retry to build on your side?
howetuft commented on 2023-08-19 10:47 (UTC)
@DarkShadow44 OK, thank you. At least, it points out one thing: I forgot to add fmt9
in depends, in lieu of fmt
:-( I shall quickly fix that.
For the second issue, once fmt9 is installed, I'm a bit disconcerted: that is exactly what fmt9 should fix. I still have to investigate...
DarkShadow44 commented on 2023-08-19 10:21 (UTC)
@MarsSeed
Log: https://pastebin.com/vRYaLS64
CMake Error at samples/luxcoredemo/CMakeLists.txt:31 (find_package):
Could not find a configuration file for package "fmt" that is compatible
with requested version range "9.0.0...<10.0.0".
The following configuration files were considered but not accepted:
/usr/lib/cmake/fmt/fmt-config.cmake, version: 10.1.0
/lib/cmake/fmt/fmt-config.cmake, version: 10.1.0
After installing fmt9
: https://pastebin.com/vraUcwiY
/tmp/ramdisk/luxcorerender/src/LuxCore-luxcorerender_v2.6/src/luxcore/kernelcachefill.cpp:316:2: required from here
/usr/include/spdlog/logger.h:374:75: error: cannot bind non-const lvalue reference of type ‘double&’ to an rvalue of type ‘double’
374 | fmt::vformat_to(fmt::appender(buf), fmt, fmt::make_format_args(std::forward<Args>(args)...));
howetuft commented on 2023-08-19 10:10 (UTC)
@DarkShadow Just to check something: Could you please manually install fmt9 from AUR and retry to build? Thanks!
MarsSeed commented on 2023-08-19 09:54 (UTC) (edited on 2023-08-19 09:54 (UTC) by MarsSeed)
@DarkShadow44, could you please share the build log on pastebin, or at least excerpts from that, with the initial configuration part and the part where it shows failures in a comment here?
@howetuft, I did not yet have a chance to try the build again due to other engagements. But I wi try again sometime in the next few days to see if it builds for me.
I see your point about the -git package. Originally I thought that that would be easier to fix, but now I understand that this stable one is more viable, as per your experience.
DarkShadow44 commented on 2023-08-19 09:43 (UTC)
Doesn't build, since fmt is at 10.0 now.
Pinned Comments
bartus commented on 2020-06-11 15:32 (UTC) (edited on 2020-08-22 09:39 (UTC) by bartus)
This package is also hosted on GitHub.
issues
andpatches
at GitHub.Use env vars to control build process:
DISABLE_OPENCL=1
to skip opencl kernel build (yields DISABLE_CUDA=1)DISABLE_CUDA=1
to skip cuda kernel build.Usage cases:
export DISABLE_CUDA=1
before buildDISABLE_CUDA=1 ~your-aur-helper~
makepkg DISABLE_CUDA=1
yay -S blender-2.8-git --mflags "DISABLE_CUDA=1"
bartus commented on 2019-04-10 11:42 (UTC)
Please report
issues
andpatches
to luxcorerender@github.com