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

[darwin] Security fixes #38865

Merged
merged 16 commits into from Apr 12, 2018
Merged

Conversation

matthewbauer
Copy link
Member

These are some unobjectionable commits split off from #38624. Will merge if it doesn't cause a mass rebuild.

@GrahamcOfBorg GrahamcOfBorg added the 6.topic: darwin Running or building packages on Darwin label Apr 12, 2018
Copy link
Member

@LnL7 LnL7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the implications of the xcbuild changes? Everything else looks like stuff we could backport.

@matthewbauer
Copy link
Member Author

Two things are happening with xcbuild:

  1. Don't pass NIX_* flags directly to xcbuild. They are already handled by the CC wrapper.
  2. Set SYMROOT and OBJROOT directly so we don't have to guess what the "hash" will be.

Not sure of all of the things this could break- so probably don't backport any of them (although I don't think dtrace stuff would work without the xcbuild changes).

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: antlr, pbzx, xcbuild

Partial log (click to expand)

/bin/echo "installation done"
installation done
post-installation fixup
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/iydvypslm2gx6b1zqsr3hjlhivy5l3q7-antlr-2.7.7/lib  /nix/store/iydvypslm2gx6b1zqsr3hjlhivy5l3q7-antlr-2.7.7/bin  /nix/store/iydvypslm2gx6b1zqsr3hjlhivy5l3q7-antlr-2.7.7/sbin
patching script interpreter paths in /nix/store/iydvypslm2gx6b1zqsr3hjlhivy5l3q7-antlr-2.7.7
/nix/store/iydvypslm2gx6b1zqsr3hjlhivy5l3q7-antlr-2.7.7/bin/antlr: interpreter directive changed from "/bin/sh" to "/nix/store/r8bx3qf1bpncb14i9gzma4vr089pc3pv-bash-4.4-p19/bin/sh"
/nix/store/iydvypslm2gx6b1zqsr3hjlhivy5l3q7-antlr-2.7.7/bin/antlr-config: interpreter directive changed from "/bin/sh" to "/nix/store/r8bx3qf1bpncb14i9gzma4vr089pc3pv-bash-4.4-p19/bin/sh"
/nix/store/iydvypslm2gx6b1zqsr3hjlhivy5l3q7-antlr-2.7.7/sbin/pyantlr.sh: interpreter directive changed from "/usr/bin/env python" to "/nix/store/10f4qxb00wk9j6cicd9h1qzwqgnc36ji-python-2.7.14/bin/python"
moving /nix/store/iydvypslm2gx6b1zqsr3hjlhivy5l3q7-antlr-2.7.7/sbin/* to /nix/store/iydvypslm2gx6b1zqsr3hjlhivy5l3q7-antlr-2.7.7/bin

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: antlr, pbzx, xcbuild

Partial log (click to expand)

installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/669xmxd5qfj2fawk67smr4789r800nba-xcbuild-wrapper-0.1.2-pre
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/669xmxd5qfj2fawk67smr4789r800nba-xcbuild-wrapper-0.1.2-pre/bin
patching script interpreter paths in /nix/store/669xmxd5qfj2fawk67smr4789r800nba-xcbuild-wrapper-0.1.2-pre
checking for references to /tmp/nix-build-xcbuild-wrapper-0.1.2-pre.drv-0 in /nix/store/669xmxd5qfj2fawk67smr4789r800nba-xcbuild-wrapper-0.1.2-pre...
/nix/store/jvni0rrzgx60vgfm9zra8gi4664cl576-antlr-2.7.7
/nix/store/fnfj6d239v75g5wd9agk17qdfd5pmz30-pbzx-1.0.2
/nix/store/669xmxd5qfj2fawk67smr4789r800nba-xcbuild-wrapper-0.1.2-pre

@matthewbauer matthewbauer merged commit 29bc523 into NixOS:master Apr 12, 2018
@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: pbzx, xcbuild

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

Partial log (click to expand)

building '/nix/store/30nm0ya7yq65bfhki1fyl7hk478irskf-xcbuild-wrapper-0.1.2-pre.drv'...
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/9g9mag7w2qmljc73xzrjh7zq2a7qhphg-xcbuild-wrapper-0.1.2-pre
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/9g9mag7w2qmljc73xzrjh7zq2a7qhphg-xcbuild-wrapper-0.1.2-pre/bin
patching script interpreter paths in /nix/store/9g9mag7w2qmljc73xzrjh7zq2a7qhphg-xcbuild-wrapper-0.1.2-pre
checking for references to /build in /nix/store/9g9mag7w2qmljc73xzrjh7zq2a7qhphg-xcbuild-wrapper-0.1.2-pre...
/nix/store/jmmpjmkvv6f7m88d2zyh673m6a6c9m8x-pbzx-1.0.2
/nix/store/9g9mag7w2qmljc73xzrjh7zq2a7qhphg-xcbuild-wrapper-0.1.2-pre

@LnL7
Copy link
Member

LnL7 commented Apr 12, 2018

I think this might have broken pinentry.

Touch ./pinentry-mac-dhxutgwbgiovlqgwbodflwnujcsw/Build/Products/Release/pinentry-mac.app
    cd /private/tmp/nix-build-pinentry-mac-0.9.4.drv-0/source
    /usr/bin/touch -c ./pinentry-mac-dhxutgwbgiovlqgwbodflwnujcsw/Build/Products/Release/pinentry-mac.app

** BUILD SUCCEEDED **
installing
mv: cannot stat 'Products/Release/pinentry-mac.app': No such file or directory
builder for '/nix/store/r32yi5r0q50aznbig5yj10z7rhp1irgz-pinentry-mac-0.9.4.drv' failed with exit code 1

@matthewbauer
Copy link
Member Author

matthewbauer commented Apr 12, 2018

Okay. I forgot it doesn't use xcbuild. Fixing should be easy though, just export these two: SYMROOT="$PWD/Products"; OBJROOT="$PWD/Intermediates";

@matthewbauer matthewbauer deleted the darwin-security-fixes branch February 22, 2019 04:34
bclaud added a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Mar 19, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Mar 21, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Mar 22, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Mar 24, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Mar 26, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Mar 31, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Apr 5, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Apr 7, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Apr 9, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Apr 12, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Apr 14, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Apr 16, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Apr 18, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
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