Nixpkgs: Packaging request / Help building: evolution-ews

Created on 22 Aug 2019  路  9Comments  路  Source: NixOS/nixpkgs

Project description
Microsoft Exchange server support for Evolution

Metadata

I've begun the process here: https://github.com/sgillespie/nixpkgs/commit/05c592e84e9a8ebe5376569e41b1e59590a70673. Unfortunately this doesn't build because it's trying to update evolution-data-server, and I'm not smart enough to get past it.

-- Installing: /nix/store/r1jiqcmdjmzai3zm8hkvw8xsmx8jl32a-evolution-data-server-3.32.4/lib/evolution-data-server/addressbook-backends/libebookbackendews.so
CMake Error at src/addressbook/cmake_install.cmake:55 (file):
  file INSTALL cannot copy file
  "/build/evolution-ews-3.32.2/build/src/addressbook/libebookbackendews.so"
  to
  "/nix/store/r1jiqcmdjmzai3zm8hkvw8xsmx8jl32a-evolution-data-server-3.32.4/lib/evolution-data-server/addressbook-backends/libebookbackendews.so".
Call Stack (most recent call first):
  src/cmake_install.cmake:42 (include)
  cmake_install.cmake:55 (include)


FAILED: CMakeFiles/install.util
cd /build/evolution-ews-3.32.2/build && /nix/store/rlp98mmbvp008720p25k73w2khzs9rzn-cmake-3.14.5/bin/cmake -P cmake_install.cmake
ninja: build stopped: subcommand failed.
builder for '/nix/store/dhnhdfbhvzqzwpfiw62nyizsp77ab224-evolution-ews-3.32.2.drv' failed with exit code 1
error: build of '/nix/store/dhnhdfbhvzqzwpfiw62nyizsp77ab224-evolution-ews-3.32.2.drv' failed
packaging request GNOME

Most helpful comment

This is being handled in https://github.com/NixOS/nixpkgs/pull/91504 and #92775

All 9 comments

It uses pkg-config to find the directory. Unfortunately CMake does not support proper variable handling, so you will need to override the variable manually using environment variable.

For example, if you see

pkg_check_variable(ebook_backenddir libedata-book-1.2 backenddir)

you can set the override environment variable as suggested in pkg-config(1) section ENVIRONMENT VARIABLES:

PKG_CONFIG_LIBEDATA_BOOK_1_2_BACKENDDIR = "${placeholder "out"}/lib/evolution-data-server/addressbook-backends";

Also note that you will probably need to create a non-trivial patch for evolution-data-server for it to be able to find it. I can probably take a jab at it after we update GNOME to 3.34.

@jtojnar any chance you have capacity to look at this now that 3.34 is in unstable?

Moving it up in my GNOME to-do list just below dconf database module but I will not be able to get to it until February.

Great, thanks!

Hello, I'm a bot and I thank you in the name of the community for opening this issue.

To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.

The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.

If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.

Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.

This is still valid and important to me. Current state as far as I see: @jtojnar planned to take a look at patching the evolution-data-server.

This is being handled in https://github.com/NixOS/nixpkgs/pull/91504 and #92775

Was this page helpful?
0 / 5 - 0 ratings