Navigation Menu

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

osmium-tool: init at 1.9.1 incl. dependencies #49429

Merged
merged 4 commits into from Nov 7, 2018
Merged

Conversation

das-g
Copy link
Member

@das-g das-g commented Oct 29, 2018

Motivation for this change

I'd like to use the osmium CLI tool for analyzing OpenStreetMap data or for preprocessing it for use in other analyzing software.

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 run nixpkgs.nox -c nox-review wip --against origin/master
  • 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.

Note that the various optional dependencies of libosmium aren't supported by this PR, yet.

@srhb
Copy link
Contributor

srhb commented Nov 2, 2018

@GrahamcOfBorg build protozero libosmium osmium-tool

description = "Fast and flexible C++ library for working with OpenStreetMap data";
homepage = "https://osmcode.org/libosmium/";
licence = stdenv.lib.licences.boost;
maintainers = with stdenv.maintainers; [ das-g ];
Copy link
Contributor

Choose a reason for hiding this comment

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

stdenv.lib.maintainers

description = "Multipurpose command line tool for working with OpenStreetMap data based on the Osmium library";
homepage = "https://osmcode.org/osmium-tool/";
license = with stdenv.lib.licenses; [ gpl3 mit bsd3 ];
maintainers = with stdenv.maintainers; [ das-g ];
Copy link
Contributor

Choose a reason for hiding this comment

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

stdenv.lib.maintainers

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: protozero, libosmium, osmium-tool

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/22vx0b45w2305dkqdqy4hb2yyki1jrnk-osmium-tool-1.9.1
shrinking /nix/store/22vx0b45w2305dkqdqy4hb2yyki1jrnk-osmium-tool-1.9.1/bin/osmium
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/22vx0b45w2305dkqdqy4hb2yyki1jrnk-osmium-tool-1.9.1/bin
patching script interpreter paths in /nix/store/22vx0b45w2305dkqdqy4hb2yyki1jrnk-osmium-tool-1.9.1
checking for references to /build in /nix/store/22vx0b45w2305dkqdqy4hb2yyki1jrnk-osmium-tool-1.9.1...
/nix/store/5ck7jz44npzbbr8fgncd85mbfyk3d6kd-protozero-1.6.3
/nix/store/dqv40d7yz4h8mi4j0xjas6021sb627q2-libosmium-2.14.2
/nix/store/22vx0b45w2305dkqdqy4hb2yyki1jrnk-osmium-tool-1.9.1

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: protozero, libosmium, osmium-tool

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/zilf3ymwszy7d8598ihkclyv6pdn5ax4-osmium-tool-1.9.1
shrinking /nix/store/zilf3ymwszy7d8598ihkclyv6pdn5ax4-osmium-tool-1.9.1/bin/osmium
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/zilf3ymwszy7d8598ihkclyv6pdn5ax4-osmium-tool-1.9.1/bin
patching script interpreter paths in /nix/store/zilf3ymwszy7d8598ihkclyv6pdn5ax4-osmium-tool-1.9.1
checking for references to /build in /nix/store/zilf3ymwszy7d8598ihkclyv6pdn5ax4-osmium-tool-1.9.1...
/nix/store/ljd5gvv9lb1kr0q7v58q8xgyxra4rhvh-protozero-1.6.3
/nix/store/b5v6fwmrlj4qpgg0l7cilfz8w130h79d-libosmium-2.14.2
/nix/store/zilf3ymwszy7d8598ihkclyv6pdn5ax4-osmium-tool-1.9.1

@GrahamcOfBorg
Copy link

Timed out, unknown build status on x86_64-darwin (full log)

Attempted: protozero, libosmium, osmium-tool

Partial log (click to expand)

cannot build derivation '/nix/store/mm16vbvkc7p2bii1rm0rwpsmll0400ha-curl-7.61.1.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/9wr601lhid1vgvy33pv0b3mqh2i91400-configd-osx-10.8.5.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/493vz7r40rn5zi81a991s1hsr9m9cwds-python-2.7.15.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/847hns24vlf6qv5kny3l9ji2fm1b5p94-libxml2-2.9.8.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/pscldmsn7c0vzn6jb57rbrs9c13h1y3l-libarchive-3.3.2.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/gnikfh749v0rr9qmrp6m387aficnvkns-cmake-3.12.1.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/mca7q8v0gzrmgg4kblj73j6qhr0m507q-protozero-1.6.3.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/m1dpf7m4hjndszxlka0fq77p7iw8898d-libosmium-2.14.2.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/zb39fl7ikca81b4h4l8zigg0gzsbz952-osmium-tool-1.9.1.drv': 7 dependencies couldn't be built
error: build of '/nix/store/m1dpf7m4hjndszxlka0fq77p7iw8898d-libosmium-2.14.2.drv', '/nix/store/mca7q8v0gzrmgg4kblj73j6qhr0m507q-protozero-1.6.3.drv', '/nix/store/zb39fl7ikca81b4h4l8zigg0gzsbz952-osmium-tool-1.9.1.drv' failed

@das-g
Copy link
Member Author

das-g commented Nov 2, 2018

How can I reproduce the failures repored by @GrahamcOfBorg locally?

Neither

nix build -f $PATH_TO_LOCAL_nixpkgs_CLONE/ osmium-tool

nor

cd $PATH_TO_LOCAL_nixpkgs_CLONE/
nix run nixpkgs.nox -c nox-review wip --against origin/master

gave me these errors.

@srhb
Copy link
Contributor

srhb commented Nov 2, 2018

@das-g https://github.com/NixOS/ofborg#running-meta-checks-locally -- or you can try to nix eval the meta attributes directly.

@srhb
Copy link
Contributor

srhb commented Nov 2, 2018

@GrahamcOfBorg eval

meta = with stdenv.lib; {
description = "Fast and flexible C++ library for working with OpenStreetMap data";
homepage = "https://osmcode.org/libosmium/";
licence = licences.boost;
Copy link
Member Author

Choose a reason for hiding this comment

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

typo: should be "licenses"

Copy link
Member Author

Choose a reason for hiding this comment

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

Should I fix this in a new commit, or — as this was never a valid meta attributes set — rewrite the commit that introduced the typo?

Copy link
Contributor

Choose a reason for hiding this comment

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

Feel free to squash it into the existing commit. I'd prefer we end up with just the four, one for each application and the maintainer addition. :)

@srhb
Copy link
Contributor

srhb commented Nov 5, 2018

@GrahamcOfBorg build protozero libosmium osmium-tool

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: protozero, libosmium, osmium-tool

Partial log (click to expand)

Install the project...
-- Install configuration: "Release"
-- Installing: /nix/store/5vffbd033b5h55v4hjyd24wlv8f0zn4f-osmium-tool-1.9.1/bin/osmium
post-installation fixup
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/5vffbd033b5h55v4hjyd24wlv8f0zn4f-osmium-tool-1.9.1/bin
patching script interpreter paths in /nix/store/5vffbd033b5h55v4hjyd24wlv8f0zn4f-osmium-tool-1.9.1
/nix/store/p10bw1ql36jyrglw8drf7y3rsphwi6ms-protozero-1.6.3
/nix/store/7l78jpw9vrr7kqg4ld6a6p4zzh9lia3s-libosmium-2.14.2
/nix/store/5vffbd033b5h55v4hjyd24wlv8f0zn4f-osmium-tool-1.9.1

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: protozero, libosmium, osmium-tool

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/lh7gp6drwb8yas6dzgg882rfrf1p4z5b-osmium-tool-1.9.1
shrinking /nix/store/lh7gp6drwb8yas6dzgg882rfrf1p4z5b-osmium-tool-1.9.1/bin/osmium
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/lh7gp6drwb8yas6dzgg882rfrf1p4z5b-osmium-tool-1.9.1/bin
patching script interpreter paths in /nix/store/lh7gp6drwb8yas6dzgg882rfrf1p4z5b-osmium-tool-1.9.1
checking for references to /build in /nix/store/lh7gp6drwb8yas6dzgg882rfrf1p4z5b-osmium-tool-1.9.1...
/nix/store/qv3pk65w3fddik9psbn6if10akgz5zxg-protozero-1.6.3
/nix/store/vjydlz4jqfxid69mjiyywlsk5mcff7nk-libosmium-2.14.2
/nix/store/lh7gp6drwb8yas6dzgg882rfrf1p4z5b-osmium-tool-1.9.1

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: protozero, libosmium, osmium-tool

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/1gfpr89wbc7233wym2k9m47cpi9x5il6-osmium-tool-1.9.1
shrinking /nix/store/1gfpr89wbc7233wym2k9m47cpi9x5il6-osmium-tool-1.9.1/bin/osmium
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/1gfpr89wbc7233wym2k9m47cpi9x5il6-osmium-tool-1.9.1/bin
patching script interpreter paths in /nix/store/1gfpr89wbc7233wym2k9m47cpi9x5il6-osmium-tool-1.9.1
checking for references to /build in /nix/store/1gfpr89wbc7233wym2k9m47cpi9x5il6-osmium-tool-1.9.1...
/nix/store/cbjjrc38szzsbs7rk09f66ny7m62qaps-protozero-1.6.3
/nix/store/i07549lsfgyih8n253bb5wprbaibcgnh-libosmium-2.14.2
/nix/store/1gfpr89wbc7233wym2k9m47cpi9x5il6-osmium-tool-1.9.1

@srhb srhb merged commit 7f58e8d into NixOS:master Nov 7, 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