Bug 2005 - Dependency checks for an older version of libc-debug
Dependency checks for an older version of libc-debug
Status: RESOLVED MOVED
Product: bake
Classification: Unclassified
Component: bakeconf.xml
unspecified
PC Linux
: P3 normal
Assigned To: Tom Henderson
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-12 05:55 UTC by pliago
Modified: 2020-04-24 16:18 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pliago 2014-10-12 05:55:27 UTC
When running the script, it checks for the 2.13 version of libc.
Ubuntu 14.04 comes with 2.19 version.

A simple workaround is to create a symlink for the library with 2.13 in the name
Comment 1 Tom Henderson 2014-10-12 11:02:38 UTC
Yes, it probably needs to be fixed in a more robust manner than just continuing to paste new version options into the bakeconf.xml.

Leaving open for a better fix than that, since workarounds exist.
Comment 2 Tom Henderson 2015-03-06 12:40:01 UTC
observed again on Fedora 20; current bakeconf.xml covers up to version 2.17 but Fedora 20 has 2.18.

I will try to fix this.
Comment 3 Tom Henderson 2015-03-10 18:18:51 UTC
I made some progress on this today; it should now work for recent Ubuntu systems.

I'm leaving open because this attribute is still crufty and should support wildcarded version numbers (Ubuntu does not provide a symlink for libc6-dbg):

<attribute name="file_test" value="/usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug or /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.19.so or /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.18.so or /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.17.so or /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.16.so or /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.15.so"/>


Once this supports instead something like:

<attribute name="file_test" value="/usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug or /usr/lib/debug/lib/x86_64-linux-gnu/ld-*.so"/>

then this can be closed.
Comment 4 Tom Henderson 2020-04-24 16:18:53 UTC
Moved to: https://gitlab.com/nsnam/bake/-/issues/6