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

live555: 2018.02.28 -> 2018.10.17 #48825

Closed
wants to merge 2 commits into from
Closed

Conversation

peterhoeg
Copy link
Member

@peterhoeg peterhoeg commented Oct 22, 2018

Motivation for this change

CVE-2018-4013 which has gotten a bit of attention these last few days.

Needs backporting to stable when all tests pass. Only consumer in nixpkgs is vlc.

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

Failure on aarch64-linux (full log)

Attempted: live555

Partial log (click to expand)

g++: error: unrecognized command line option '-m64'
make[1]: *** [Makefile:32: H265VideoStreamFramer.o] Error 1
g++: error: unrecognized command line option '-m64'
g++: error: unrecognized command line option '-m64'
make[1]: *** [Makefile:32: H265VideoStreamDiscreteFramer.o] Error 1
make[1]: *** [Makefile:32: MPEGVideoStreamParser.o] Error 1
make[1]: Leaving directory '/build/live/liveMedia'
make: *** [Makefile:33: all] Error 2
builder for '/nix/store/iy00p4qbd5dcixxbngm6q3kxd8rxaqq4-live555-2018.10.17.drv' failed with exit code 2
error: build of '/nix/store/iy00p4qbd5dcixxbngm6q3kxd8rxaqq4-live555-2018.10.17.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: live555

Partial log (click to expand)


For more information about this source code (including your obligations under the LGPL), please see our FAQ at http://live555.com/liveMedia/faq.html
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/9q3054sam63vmv65jk2y0q2f67sffhzk-live555-2018.10.17
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/9q3054sam63vmv65jk2y0q2f67sffhzk-live555-2018.10.17/lib  /nix/store/9q3054sam63vmv65jk2y0q2f67sffhzk-live555-2018.10.17/bin
patching script interpreter paths in /nix/store/9q3054sam63vmv65jk2y0q2f67sffhzk-live555-2018.10.17
checking for references to /build in /nix/store/9q3054sam63vmv65jk2y0q2f67sffhzk-live555-2018.10.17...
/nix/store/9q3054sam63vmv65jk2y0q2f67sffhzk-live555-2018.10.17

@peterhoeg
Copy link
Member Author

@GrahamcOfBorg build vlc

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: vlc

Partial log (click to expand)

copying path '/nix/store/i812ngm6ir7ngk2m952j0sansc4mkxyn-ffmpeg-3.4.4-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/2yc48ngrijmasgivdfqcvqxm65a0zdz1-qtbase-5.11.1-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/rix1fi337qx4yrh0yvhka1slar4n441c-qtsvg-5.11.1-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/5w52rvcf11lfqfa9kiwpkm8arr7i4in5-qtx11extras-5.11.1' from 'https://cache.nixos.org'...
copying path '/nix/store/qvydz4cchzxgzznw68argq64kf1lvg20-ffmpeg-3.4.4-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/g2myszr05ka24nvx3wfzy1165jrmakid-samba-4.7.10-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/b1iz6iln0qgw79wrzl8mrah76ip7ij3a-qtsvg-5.11.1-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/x4g5dz1cva1s25akdh1g2vvqsw6f0yxw-qtx11extras-5.11.1-dev' from 'https://cache.nixos.org'...
cannot build derivation '/nix/store/wfcxz2vlxcagbzika0yr4hb0sadvkr11-vlc-3.0.4.drv': 1 dependencies couldn't be built
error: build of '/nix/store/wfcxz2vlxcagbzika0yr4hb0sadvkr11-vlc-3.0.4.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: live555

Partial log (click to expand)

/nix/store/9q3054sam63vmv65jk2y0q2f67sffhzk-live555-2018.10.17

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: live555

Partial log (click to expand)

make[1]: *** [Makefile:33: Media.o] Error 127
make[1]: *** Waiting for unfinished jobs....
/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/bash: arm-elf-g++: command not found
make[1]: *** [Makefile:33: MediaSource.o] Error 127
/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/bash: arm-elf-g++: command not found
make[1]: *** [Makefile:33: FramedSource.o] Error 127
make[1]: Leaving directory '/build/live/liveMedia'
make: *** [Makefile:34: all] Error 2
builder for '/nix/store/9wvx70c2pfjbszqfxl0jsxn9jpwhdal2-live555-2018.10.17.drv' failed with exit code 2
error: build of '/nix/store/9wvx70c2pfjbszqfxl0jsxn9jpwhdal2-live555-2018.10.17.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: vlc

Partial log (click to expand)

/nix/store/pc2qsqyf75l57prazzackgqqd52mgr8j-vlc-3.0.4/share/vlc/utils/audio-vlc-default.sh: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/pc2qsqyf75l57prazzackgqqd52mgr8j-vlc-3.0.4/share/vlc/utils/gnome-vlc-default.sh: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/pc2qsqyf75l57prazzackgqqd52mgr8j-vlc-3.0.4/share/vlc/utils/video-vlc-default.sh: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/pc2qsqyf75l57prazzackgqqd52mgr8j-vlc-3.0.4/bin/nvlc: interpreter directive changed from " /bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/pc2qsqyf75l57prazzackgqqd52mgr8j-vlc-3.0.4/bin/cvlc: interpreter directive changed from " /bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/pc2qsqyf75l57prazzackgqqd52mgr8j-vlc-3.0.4/bin/rvlc: interpreter directive changed from " /bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/pc2qsqyf75l57prazzackgqqd52mgr8j-vlc-3.0.4/bin/qvlc: interpreter directive changed from " /bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/pc2qsqyf75l57prazzackgqqd52mgr8j-vlc-3.0.4...
postPatchMkspecs
/nix/store/pc2qsqyf75l57prazzackgqqd52mgr8j-vlc-3.0.4

@peterhoeg
Copy link
Member Author

@GrahamcOfBorg build vlc

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: vlc

Partial log (click to expand)

Cannot nix-instantiate `vlc' because:
error: while evaluating the attribute 'LIVE555_PREFIX' of the derivation 'vlc-3.0.4' at /var/lib/gc-of-borg/nix-test-rs-23/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-23/pkgs/stdenv/generic/make-derivation.nix:178:11:
undefined variable 'live555' at /var/lib/gc-of-borg/nix-test-rs-23/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-23/pkgs/applications/video/vlc/default.nix:49:20

@GrahamcOfBorg
Copy link

No attempt on x86_64-linux (full log)

The following builds were skipped because they don't evaluate on x86_64-linux: vlc

Partial log (click to expand)

Cannot nix-instantiate `vlc' because:
error: while evaluating the attribute 'LIVE555_PREFIX' of the derivation 'vlc-3.0.4' at /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/pkgs/stdenv/generic/make-derivation.nix:178:11:
undefined variable 'live555' at /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/pkgs/applications/video/vlc/default.nix:49:20

@peterhoeg
Copy link
Member Author

@GrahamcOfBorg build vlc

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: vlc

Partial log (click to expand)

/nix/store/31h5kj2s0k686w6yhqjy1rlv6zqh66xs-vlc-3.0.4/bin/nvlc: interpreter directive changed from " /bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/31h5kj2s0k686w6yhqjy1rlv6zqh66xs-vlc-3.0.4/bin/qvlc: interpreter directive changed from " /bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/31h5kj2s0k686w6yhqjy1rlv6zqh66xs-vlc-3.0.4/bin/rvlc: interpreter directive changed from " /bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/31h5kj2s0k686w6yhqjy1rlv6zqh66xs-vlc-3.0.4/bin/cvlc: interpreter directive changed from " /bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/31h5kj2s0k686w6yhqjy1rlv6zqh66xs-vlc-3.0.4/share/vlc/utils/video-vlc-default.sh: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/31h5kj2s0k686w6yhqjy1rlv6zqh66xs-vlc-3.0.4/share/vlc/utils/audio-vlc-default.sh: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/31h5kj2s0k686w6yhqjy1rlv6zqh66xs-vlc-3.0.4/share/vlc/utils/gnome-vlc-default.sh: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/31h5kj2s0k686w6yhqjy1rlv6zqh66xs-vlc-3.0.4...
postPatchMkspecs
/nix/store/31h5kj2s0k686w6yhqjy1rlv6zqh66xs-vlc-3.0.4

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: live555, vlc

Partial log (click to expand)

make[1]: *** [Makefile:33: Media.o] Error 127
make[1]: *** Waiting for unfinished jobs....
/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/bash: arm-elf-g++: command not found
make[1]: *** [Makefile:33: MediaSource.o] Error 127
/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/bash: arm-elf-g++: command not found
make[1]: *** [Makefile:33: FramedSource.o] Error 127
make[1]: Leaving directory '/build/live/liveMedia'
make: *** [Makefile:34: all] Error 2
builder for '/nix/store/9wvx70c2pfjbszqfxl0jsxn9jpwhdal2-live555-2018.10.17.drv' failed with exit code 2
error: build of '/nix/store/9wvx70c2pfjbszqfxl0jsxn9jpwhdal2-live555-2018.10.17.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: live555, vlc

Partial log (click to expand)

/nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4/share/vlc/utils/video-vlc-default.sh: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4/share/vlc/utils/audio-vlc-default.sh: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4/bin/nvlc: interpreter directive changed from " /bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4/bin/rvlc: interpreter directive changed from " /bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4/bin/qvlc: interpreter directive changed from " /bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4/bin/cvlc: interpreter directive changed from " /bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4...
postPatchMkspecs
/nix/store/9q3054sam63vmv65jk2y0q2f67sffhzk-live555-2018.10.17
/nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: vlc

Partial log (click to expand)

/nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4/share/vlc/utils/audio-vlc-default.sh: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4/share/vlc/utils/gnome-vlc-default.sh: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4/share/vlc/utils/video-vlc-default.sh: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4/bin/nvlc: interpreter directive changed from " /bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4/bin/cvlc: interpreter directive changed from " /bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4/bin/rvlc: interpreter directive changed from " /bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4/bin/qvlc: interpreter directive changed from " /bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4...
postPatchMkspecs
/nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4

@peterhoeg
Copy link
Member Author

I think it's more important to get vlc working on aarch64 than have live555 support. If somebody cares a lot, we can always reintroduce live555 support.

@peterhoeg
Copy link
Member Author

Cc: @matthewbauer

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: live555, vlc

Partial log (click to expand)

/nix/store/9q3054sam63vmv65jk2y0q2f67sffhzk-live555-2018.10.17
/nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: live555, vlc

Partial log (click to expand)

g++: error: unrecognized command line option '-m64'
make[1]: *** [Makefile:32: H264VideoStreamDiscreteFramer.o] Error 1
g++: error: unrecognized command line option '-m64'
make[1]: *** [Makefile:32: MPEG1or2AudioStreamFramer.o] Error 1
g++: error: unrecognized command line option '-m64'
make[1]: *** [Makefile:32: MPEGVideoStreamParser.o] Error 1
make[1]: Leaving directory '/build/live/liveMedia'
make: *** [Makefile:33: all] Error 2
builder for '/nix/store/iy00p4qbd5dcixxbngm6q3kxd8rxaqq4-live555-2018.10.17.drv' failed with exit code 2
error: build of '/nix/store/iy00p4qbd5dcixxbngm6q3kxd8rxaqq4-live555-2018.10.17.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: live555, vlc

Partial log (click to expand)

/nix/store/9q3054sam63vmv65jk2y0q2f67sffhzk-live555-2018.10.17
/nix/store/6bhz6w5paf7z1cpkb5awrlbkjhmxy290-vlc-3.0.4

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: live555, vlc

Partial log (click to expand)

g++: error: unrecognized command line option '-m64'
make[1]: *** [Makefile:32: H264or5VideoStreamDiscreteFramer.o] Error 1
make[1]: *** [Makefile:32: H265VideoStreamDiscreteFramer.o] Error 1
make[1]: *** [Makefile:32: MPEGVideoStreamParser.o] Error 1
g++: error: unrecognized command line option '-m64'
make[1]: *** [Makefile:32: H265VideoStreamFramer.o] Error 1
make[1]: Leaving directory '/build/live/liveMedia'
make: *** [Makefile:33: all] Error 2
builder for '/nix/store/iy00p4qbd5dcixxbngm6q3kxd8rxaqq4-live555-2018.10.17.drv' failed with exit code 2
error: build of '/nix/store/iy00p4qbd5dcixxbngm6q3kxd8rxaqq4-live555-2018.10.17.drv' failed

@c0bw3b c0bw3b mentioned this pull request Nov 18, 2018
@timokau
Copy link
Member

timokau commented Nov 18, 2018

We should also mark live555 as broken on aarch64.

@c0bw3b c0bw3b mentioned this pull request Nov 18, 2018
9 tasks
@c0bw3b
Copy link
Contributor

c0bw3b commented Nov 18, 2018

~~>> #50612

@c0bw3b c0bw3b closed this Nov 18, 2018
@seghers
Copy link

seghers commented Sep 8, 2021

I think it's more important to get vlc working on aarch64 than have live555 support. If somebody cares a lot, we can always reintroduce live555 support.

@peterhoeg I'd like to use rtsp on rpi4. How could I reintroduce live555 support for aarch64?

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

5 participants