Package Details: meshroom-bin 2023.3.0-1

Git Clone URL: https://aur.archlinux.org/meshroom-bin.git (read-only, click to copy)
Package Base: meshroom-bin
Description: Meshroom is a free, open-source 3D Reconstruction Software based on the AliceVision framework.
Upstream URL: https://github.com/alicevision/meshroom
Keywords: 3d photogrammetry reconstruction
Licenses: MPL2
Conflicts: meshroom
Provides: meshroom
Submitter: MrKMG
Maintainer: andybreuhan
Last Packager: andybreuhan
Votes: 16
Popularity: 0.010712
First Submitted: 2018-09-05 16:32 (UTC)
Last Updated: 2023-12-18 13:27 (UTC)

Latest Comments

1 2 Next › Last »

Techi commented on 2023-04-08 14:32 (UTC)

There's an issue with the symbolic links in /usr/share/meshroom-bin; they link back to where the package is built rather than where the actual files are supposed to be.

andybreuhan commented on 2023-04-06 18:14 (UTC)

Maybe these links will be added later, for the latest 2023.1 it's again available only on fosshub.

dack commented on 2022-07-23 05:42 (UTC)

Regarding the errors @VorpalGun described - I also see the same issues when building in a clean chroot environment. I'm using paru rather than aurutils, but the issue seems to be the same. Using a script with dependencies to populate the source array just doesn't seem to work properly in a chroot build - likely due to the order of dependency evaluation and source downloading.

However, I think there's an easy fix for this package. The exact same release build is available on the official github repo release page. So there's no need for the fosshub script at all. Just change the source URL to https://github.com/alicevision/meshroom/releases/download/v2021.1.0/Meshroom-2021.1.0-linux-cuda10.tar.gz. I have tested this, and it builds in chroot without any issues.

Alad commented on 2022-07-22 22:05 (UTC)

You're aware the binaries are directly available from github?

andybreuhan commented on 2022-07-22 15:16 (UTC)

Thanks, i appreciate that! Pushed your fix.

dack commented on 2022-07-21 21:21 (UTC)

I found that some of the permissions on the installed files were incorrect. I fixed it by using "install" instead of cp as follows:

package() {
  mkdir -p ${pkgdir}/usr/share/${pkgname}
  mkdir -p ${pkgdir}/usr/bin
  mkdir -p ${pkgdir}/usr/share/applications
  cp -r ${srcdir}/${_extractedname}/* ${pkgdir}/usr/share/${pkgname}/
  install -m644 ${srcdir}/Meshroom.png ${pkgdir}/usr/share/${pkgname}/Meshroom.png
  install -m755 ${srcdir}/Meshroom ${pkgdir}/usr/bin/Meshroom
  install -m755 ${srcdir}/meshroom_photogrammetry ${pkgdir}/usr/bin/meshroom_photogrammetry
  install -m755 ${srcdir}/meshroom_compute ${pkgdir}/usr/bin/meshroom_compute
  install -m755 ${srcdir}/Meshroom.desktop ${pkgdir}/usr/share/applications/Meshroom.desktop
}

VorpalWay commented on 2022-01-23 18:42 (UTC) (edited on 2022-01-23 18:48 (UTC) by VorpalWay)

When building in a chroot (using aurutils) the build fails:

==> Entering fakeroot environment...
Traceback (most recent call last):
  File "/startdir/fosshub.py", line 2, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
==> Starting package()...
cp: cannot stat '/build/meshroom-bin/src/Meshroom-2021.1.0-av2.4.0-centos7-cuda10.2/*': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/arvid/build

The cause of the python traceback is a missing dependency on python-requests, adding that to the PKGBUILD fixes that problem.

However the build still fails:

==> Starting package()...
cp: cannot stat '/build/meshroom-bin/src/Meshroom-2021.1.0-av2.4.0-centos7-cuda10.2/*': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/arvid/build

EDIT: The new failure seems to be:

/startdir/PKGBUILD: line 21: python: command not found

Seems like the dependency array is evaluated before python is installed as a make dependency in the chroot. I can't find a way around that unfortunately. Still python-requests should be added as a dependency.

reedlaw commented on 2021-03-01 16:58 (UTC)

Also, the extracted directory name has changed from "Meshroom-${pkgver}" to "Meshroom-${pkgver}-av2.4.0-centos7-cuda10.2".

reedlaw commented on 2021-03-01 16:52 (UTC)

The current script gives an error, "Integrity checks (sha256) differ in size from the source array." The filename for the download should be updated to have 2021 instead of 2020 and a sha256sum of de94eb264b5b30d55b36329c4761596bcc6b4c443b096b0b15ac963892d79ee4.

retrakker commented on 2020-04-04 08:04 (UTC) (edited on 2020-04-05 17:12 (UTC) by retrakker)

I think it needs a rebuild against newest ~~openssl~~ krb5 module. Currently it crashes with the following backtrace:

Traceback (most recent call last):
  File "/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/cx_Freeze/initscripts/__startup__.py", line 14, in run
  File "/opt/Meshroom/setupInitScriptUnix.py", line 39, in run
  File "bin/meshroom_photogrammetry", line 9, in <module>
  File "/opt/Meshroom/meshroom/core/__init__.py", line 3, in <module>
  File "/opt/rh/rh-python36/root/usr/lib64/python3.6/hashlib.py", line 190, in <module>
ImportError: /usr/share/meshroom-bin/lib/libssl.so.10: undefined symbol: krb5_rc_destroy, version krb5_3_MIT

Update

Made an upstream report - so either Meshroom binary upstream is updated to include krb5 in the right version or the meshroom-binary here in AUR needs to request krb5 <= 1.17

https://github.com/alicevision/meshroom/issues/850