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

jxrlib: init at 1.1 #50247

Merged
merged 1 commit into from Nov 13, 2018
Merged

jxrlib: init at 1.1 #50247

merged 1 commit into from Nov 13, 2018

Conversation

romildo
Copy link
Contributor

@romildo romildo commented Nov 11, 2018

Motivation for this change

Add jxrlib.

jxrlib is JPEG XR Image Codec reference implementation library released by Microsoft under BSD-2-Clause License.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option 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/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: jxrlib

Partial log (click to expand)


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

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


@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: jxrlib

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/g11qvb3dw9d2z6wl8n18zna6zdfmrkc2-jxrlib-1.1
shrinking /nix/store/g11qvb3dw9d2z6wl8n18zna6zdfmrkc2-jxrlib-1.1/bin/JxrDecApp
shrinking /nix/store/g11qvb3dw9d2z6wl8n18zna6zdfmrkc2-jxrlib-1.1/bin/JxrEncApp
shrinking /nix/store/g11qvb3dw9d2z6wl8n18zna6zdfmrkc2-jxrlib-1.1/lib/libjpegxr.so
shrinking /nix/store/g11qvb3dw9d2z6wl8n18zna6zdfmrkc2-jxrlib-1.1/lib/libjxrglue.so
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/g11qvb3dw9d2z6wl8n18zna6zdfmrkc2-jxrlib-1.1/lib  /nix/store/g11qvb3dw9d2z6wl8n18zna6zdfmrkc2-jxrlib-1.1/bin
patching script interpreter paths in /nix/store/g11qvb3dw9d2z6wl8n18zna6zdfmrkc2-jxrlib-1.1
checking for references to /build in /nix/store/g11qvb3dw9d2z6wl8n18zna6zdfmrkc2-jxrlib-1.1...
/nix/store/g11qvb3dw9d2z6wl8n18zna6zdfmrkc2-jxrlib-1.1

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: jxrlib

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1
shrinking /nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1/lib/libjxrglue.so
shrinking /nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1/lib/libjpegxr.so
shrinking /nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1/bin/JxrEncApp
shrinking /nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1/bin/JxrDecApp
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1/lib  /nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1/bin
patching script interpreter paths in /nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1
checking for references to /build in /nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1...
/nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: jxrlib

Partial log (click to expand)

/nix/store/g11qvb3dw9d2z6wl8n18zna6zdfmrkc2-jxrlib-1.1

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: jxrlib

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1
shrinking /nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1/lib/libjxrglue.so
shrinking /nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1/lib/libjpegxr.so
shrinking /nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1/bin/JxrDecApp
shrinking /nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1/bin/JxrEncApp
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1/lib  /nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1/bin
patching script interpreter paths in /nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1
checking for references to /build in /nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1...
/nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: jxrlib

Partial log (click to expand)

      _ParseTifDEValue in JXRTestTif.o
  "_WMPFree", referenced from:
      _PKImageDecode_Release_TIF in JXRTestTif.o
  "_WMPhotoTranscode", referenced from:
      _PKImageEncode_Transcode_WMP in JXRGlueJxr.o
ld: symbol(s) not found for architecture x86_64
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:166: /private/tmp/nix-build-jxrlib-1.1.drv-0/source/build/libjxrglue.so] Error 1
builder for '/nix/store/54kd7rz117sqrhpya57pcczmzmlkzm7y-jxrlib-1.1.drv' failed with exit code 2
error: build of '/nix/store/54kd7rz117sqrhpya57pcczmzmlkzm7y-jxrlib-1.1.drv' failed

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: jxrlib

Partial log (click to expand)


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

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


@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: jxrlib

Partial log (click to expand)

/nix/store/g11qvb3dw9d2z6wl8n18zna6zdfmrkc2-jxrlib-1.1

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: jxrlib

Partial log (click to expand)

/nix/store/hz6g3apks11d1zkhsjcqcc1ssc19s1vn-jxrlib-1.1

@nlewo nlewo merged commit 5189877 into NixOS:master Nov 13, 2018
@romildo romildo deleted the upd.jxrlib branch November 13, 2018 12:05
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

4 participants