[Bug 1079938] Re: ${prefix} present in Python files breaking sssd

Xiao-Long Chen chillermillerlong at hotmail.com
Sat Feb 2 03:47:09 UTC 2013


Hi Timo, I've been searching the automake docs all day and I think I've
found something relevant.

According to https://www.gnu.org/software/automake/manual/html_node
/Standard-Directory-Variables.html if "--datadir=..." is not passed
(like in Ubuntu), then "@datadir@" is replaced with "${prefix}/share".
So in that regard, sssd is not doing anything wrong.

To get it to use "/usr/share" instead of "${prefix}/share", the correct
way is to pass "--datadir=/usr/share" to configure (
https://www.gnu.org/prep/standards/standards.html#Directory-Variables ).

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debhelper in Ubuntu.
https://bugs.launchpad.net/bugs/1079938

Title:
  ${prefix} present in Python files breaking sssd

Status in “debhelper” package in Ubuntu:
  New
Status in “sssd” package in Ubuntu:
  Fix Released
Status in “sssd” source package in Precise:
  Fix Committed
Status in “debhelper” source package in Quantal:
  New
Status in “sssd” source package in Quantal:
  Fix Committed

Bug description:
  [Impact]
  packaging bug that causes incorrect paths in a python file

  [Test case]
  look at /usr/lib/python2.7/dist-packages/SSSDConfig/__init__.py

  [Regression potential]
  small, it's an obvious packaging bug

  --

  Currently, "${prefix}" is showing up in /usr/lib/python2.7/dist-
  packages/SSSDConfig/__init__.py, causing packages like freeipa to
  fail. I'm not sure if any other files are affected.

  Please fix Ubuntu 12.10 package. Thanks in advance!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/1079938/+subscriptions




More information about the foundations-bugs mailing list