Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mapmap: init at 0.5.0 #34904

Closed
wants to merge 1 commit into from
Closed

mapmap: init at 0.5.0 #34904

wants to merge 1 commit into from

Conversation

erictapen
Copy link
Member

The current packaging currently doesn't support video textures, just still images.
When I figure out why video textures don't work I will provide a fix.

Motivation for this change

Introduce mapmap, one of the few video mapping applications for Linux.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

The NixOS package currently doesn't support video textures, just still images.
When I figure out why video textures don't work I will provide a fix.
@joachifm
Copy link
Contributor

@GrahamcOfBorg build mapmap

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

Package ‘mapmap-0.5.0’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/applications/video/mapmap/default.nix:56 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Partial log (click to expand)

g++ -Wl,-rpath,/nix/store/lc14313s5cnzpmzwmfkd3is9xjqgfi4p-qtbase-5.10.0/lib -o mapmap AboutDialog.o Commands.o ConsoleWindow.o Element.o Ellipse.o MM.o MainApplication.o MainWindow.o MappingGui.o MappingItemDelegate.o MappingListModel.o MapperGLCanvas.o MapperGLCanvasToolbar.o Mapping.o MappingManager.o Mesh.o MetaObjectRegistry.o OscInterface.o OscReceiver.o OutputGLCanvas.o OutputGLWindow.o Paint.o PaintGui.o Polygon.o PreferenceDialog.o ProjectLabels.o ProjectReader.o ProjectWriter.o Serializable.o Shape.o ShapeControlPainter.o ShapeGraphicsItem.o UidAllocator.o Util.o VideoImpl.o VideoUriDecodeBinImpl.o VideoV4l2SrcImpl.o VideoShmSrcImpl.o main.o qtpropertybrowser.o qtpropertymanager.o qteditorfactory.o qtvariantproperty.o qttreepropertybrowser.o qtbuttonpropertybrowser.o qtgroupboxpropertybrowser.o qtpropertybrowserutils.o fileedit.o filepathmanager.o fileeditfactory.o variantmanager.o variantfactory.o qrc_translation.o qrc_documentation.o qrc_interface.o moc_AboutDialog.o moc_ConsoleWindow.o moc_Element.o moc_Ellipse.o moc_MainWindow.o moc_MappingGui.o moc_MappingItemDelegate.o moc_MappingListModel.o moc_MapperGLCanvas.o moc_MapperGLCanvasToolbar.o moc_Mapping.o moc_Mesh.o moc_OutputGLCanvas.o moc_OutputGLWindow.o moc_Paint.o moc_PaintGui.o moc_Polygon.o moc_PreferenceDialog.o moc_Quad.o moc_Serializable.o moc_Shape.o moc_Triangle.o moc_qtpropertybrowserutils_p.o moc_fileedit.o moc_filepathmanager.o moc_fileeditfactory.o moc_variantmanager.o moc_variantfactory.o   -L/nix/store/i7zgfnqikkn1xyq26amh21f20dikjhwc-mesa-noglu-17.3.3/lib -L/nix/store/9bjbfcwb73ayga2bm3p0crzfa1nfzmb7-glib-2.54.3/lib -L/nix/store/ixmn62cp9cxzmbib39acyfvzr2x0npc8-gstreamer-1.12.3/lib -L/nix/store/8hdwm6c3r0gd4fars5f23dk0wbf3cczp-gst-plugins-base-1.12.3/lib -lgstapp-1.0 -lgstbase-1.0 -lgstpbutils-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -L/nix/store/rl7fiapa8nqrfa0y1g4fzv88alg2y9v0-liblo-0.26/lib -llo -L/nix/store/pir9gyi4s5ly7n0sr6n1vwgmjvz5z8zv-libX11-1.6.5/lib -lX11 -L/nix/store/lc14313s5cnzpmzwmfkd3is9xjqgfi4p-qtbase-5.10.0/lib -lQt5OpenGL -L/lib -lQt5Widgets -L/nix/store/9wk9mwfvgjqjavndzcnzni4iyywdwvg1-qtmultimedia-5.10.0/lib -lQt5Multimedia -lQt5Gui -lQt5Xml -lQt5Network -lQt5Core -lGL -lpthread
glibPreInstallPhase
glibPreInstallPhase
installing
glibPreFixupPhase
glibPreFixupPhase
post-installation fixup
rm: cannot remove '/build/__nix_qt5__': No such file or directory
builder for '/nix/store/rvw2rsam7jmpckglf1c3bipz1dg11arv-mapmap-0.5.0.drv' failed with exit code 1
error: build of '/nix/store/rvw2rsam7jmpckglf1c3bipz1dg11arv-mapmap-0.5.0.drv' failed

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

   Compiling rustc_lint v0.0.0 (file:///build/rustc-1.22.1-src/src/librustc_lint)
   Compiling rustc_passes v0.0.0 (file:///build/rustc-1.22.1-src/src/librustc_passes)
   Compiling rustc_mir v0.0.0 (file:///build/rustc-1.22.1-src/src/librustc_mir)
building of '/nix/store/1vbyjba76gw7jcs9g5sqyb2bxsb0xpln-rustc-1.22.1.drv' timed out after 3200 seconds
cannot build derivation '/nix/store/wjjfbzq8gfxgbd3f426j8syljcqjdsk1-cargo-0.23.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/bvngc1qvckx0cm4lbcvjalnzi4bdy4dz-librsvg-2.42.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/nc7c8wvqfs5yhsl6i3xl964in1b8s264-gst-plugins-bad-1.12.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/2ld3bnfb9prpkii1kk08xw42fa0g7q1h-gst-vaapi-1.12.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/9vvbm6270018fgw0bd2fkvpa4xcdk1ih-mapmap-0.5.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/9vvbm6270018fgw0bd2fkvpa4xcdk1ih-mapmap-0.5.0.drv' failed

@erictapen
Copy link
Member Author

Ah dang, I developed for nixos-17.09 and rebased to master without a thought that the app may break. My quick fix builds, but the binary segfaults on start. I will close and reopen if I ever find a fix for that.

@erictapen erictapen closed this Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants