Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 3abd1ec53d4d
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: e468c0438306
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Mar 22, 2018

  1. gobjectIntrospection: fix incorrect GIR shared library paths

    When a library path contained the library name it was eagerly matched
    
        libfwupd.so.2 => /build/fwupd-1.0.5/build/libfwupd/libfwupd.so.2 (0x00007ffff7bbd000)
                                                  ^^^^^^^^^^^^^^^^^^^^^^
        libgweather-3.so.15 => /build/libgweather-3.28.0/build/libgweather/libgweather-3.so.15 (0x00007ffff7bae000)
                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    which lead to a broken shared library path in the generated GIR file.
    
    This patch allows the soname on the left-hand side of the arrow to
    be matched to avoid the trap of the right-hand side. A negative
    lookahead had to be added to select the store path, since only
    the first match is taken into account.
    
        libglib-2.0.so.0 => /nix/store/dqlc8y4phlg1hmdbwkhqfwhnxcac88d1-glib-2.56.0/lib/libglib-2.0.so.0 (0x00007ffff6400000)
    
    This will not fix non-GNU platforms, where the soname is not printed
    first, but we cannot do much without structured ldd output.
    
    Closes: #34988
    jtojnar committed Mar 22, 2018
    Configuration menu
    Copy the full SHA
    e468c04 View commit details
    Browse the repository at this point in the history