Skip to content

DBus: Add pkg-config and expat as (build) dependency#8283

Merged
boegel merged 6 commits intoeasybuilders:developfrom
geimer:DBus_pkg-config
May 10, 2019
Merged

DBus: Add pkg-config and expat as (build) dependency#8283
boegel merged 6 commits intoeasybuilders:developfrom
geimer:DBus_pkg-config

Conversation

@geimer
Copy link
Copy Markdown
Contributor

@geimer geimer commented May 9, 2019

On a test system without pkg-config installed on the system, building these DBus configs fails as configure is unable to find expat. Adding pkg-config as a build dependency fixes this.

DBus-1.13.0-intel-2017b.eb is likely to also suffer from this issue, however, since I don't have this version of the Intel toolchain on my test system, I'm unable to verify this. Maybe someone else can check and let me know?

Older versions (e.g., DBus-1.10.20-GCCcore-6.4.0.eb) seem to build OK.

@geimer
Copy link
Copy Markdown
Contributor Author

geimer commented May 9, 2019

Test report by @geimer
SUCCESS
Build succeeded for 3 out of 3 (3 easyconfigs in this PR)
swat - Linux debian 9.7, Intel(R) Xeon(R) CPU X5550 @ 2.67GHz, Python 2.7.13
See https://gist.github.com/1032bfe7d20d732d09ba806a7b2774a4 for a full test report.

@akesandgren
Copy link
Copy Markdown
Contributor

Please add the fix to all versions of DBus 1.13.6 and newer that exist in develop branch and we'll run the tests.

@geimer
Copy link
Copy Markdown
Contributor Author

geimer commented May 10, 2019

@akesandgren Ehm... That's what I've done already. Or am I missing something?

@akesandgren
Copy link
Copy Markdown
Contributor

oops, sorry. I though I saw more of them in the ls output :-)

@akesandgren
Copy link
Copy Markdown
Contributor

So please add it to anything with a toolchain 2016a or newer. That's what I should have said...

@geimer
Copy link
Copy Markdown
Contributor Author

geimer commented May 10, 2019

The question is rather whether it is needed or not... The situation is as follows. Currently, there are 9 DBus easyconfigs in develop. I have tested and with this PR fixed the following:

  • DBus-1.13.6-GCCcore-6.4.0.eb
  • DBus-1.13.6-GCCcore-7.3.0.eb
  • DBus-1.13.8-GCCcore-8.2.0.eb

I have also tested

  • DBus-1.10.20-GCCcore-6.4.0.eb

but it didn't seem to require the fix; it found the expat library even without pkg-config for whatever reason. Of the remaining configs, only

  • DBus-1.13.0-intel-2017b.eb

specifies expat as a dependency, and since it is of the 1.13 series, likely also requires the fix. The others, i.e.,

  • DBus-1.10.8-foss-2016a.eb
  • DBus-1.10.8-intel-2016a.eb
  • DBus-1.10.12-intel-2016b.eb
  • DBus-1.11.20-intel-2017a.eb

don't specify expat as a dependency, thus pkg-config is very likely not required if this is really correct (#3697 might be an indication that it is not, but this should be verified).

Bottom line: I'm happy to include fixes for the easyconfigs I'm unable to test, but I'd like to get some indication what is actually needed to avoid adding unnecessary dependencies.

@akesandgren
Copy link
Copy Markdown
Contributor

At least dbus 1.10.8 uses pkg-config during configure, so anything from that onwards needs it.

@geimer
Copy link
Copy Markdown
Contributor Author

geimer commented May 10, 2019

Added. What about the expat dependency? Is it required in all configs or not?

@akesandgren
Copy link
Copy Markdown
Contributor

From 1.10.8 yes.

@geimer geimer changed the title DBus: Add pkg-config as build dependency DBus: Add pkg-config and expat as (build) dependency May 10, 2019
@boegel boegel added this to the next release (3.9.1) milestone May 10, 2019
@boegel boegel added the bug fix label May 10, 2019
@geimer
Copy link
Copy Markdown
Contributor Author

geimer commented May 10, 2019

Hmm... Just noticed that the dependency conflict check is failing with a "No conflicts detected" assertion (see https://travis-ci.org/easybuilders/easybuild-easyconfigs/builds/530758391). This seems to be a logic error...

@boegel
Copy link
Copy Markdown
Member

boegel commented May 10, 2019

@geimer No, the assertion is that there are no conflicts, and that is failing (because there are conflicts).

It's a bit confusing, but the other way around could be confusing too (we use this same pattern consistently in the test suite)

@boegel
Copy link
Copy Markdown
Member

boegel commented May 10, 2019

Test report by @boegel
SUCCESS
Build succeeded for 9 out of 9 (9 easyconfigs in this PR)
node2079.delcatty.os - Linux centos linux 7.6.1810, Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz, Python 2.7.5
See https://gist.github.com/c8c87457c0b208ddd29f667a481fc367 for a full test report.

Copy link
Copy Markdown
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

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

lgtm

@boegel
Copy link
Copy Markdown
Member

boegel commented May 10, 2019

Thanks a lot for your persistence on this one @geimer!

@boegel
Copy link
Copy Markdown
Member

boegel commented May 10, 2019

Going in, thanks @geimer!

@boegel boegel merged commit 75414b5 into easybuilders:develop May 10, 2019
@geimer geimer deleted the DBus_pkg-config branch May 10, 2019 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants