Okay, I've found the real cause of the issue. It's due to some differences between debhelper and rpmbuild:
**On Ubuntu: Take a look at /usr/share/perl5/Debian/Debhelper/Buildsystem/autoconf.pm (Screenshot: http://i.imgur.com/WozcJoe.png ) Notice how debhelper passes '\${prefix}' directly to ./configure. **On Fedora: Take a look at /usr/lib/rpm/macros (Screenshot: http://i.imgur.com/Gm4Dd2q.png ) Notice how rpmbuild parses '%{_datadir}' to '/usr/share' before passing to ./configure. -------- In short, Ubuntu's build process runs "./configure ... --datadir='\${prefix}/share' ..." whereas Fedora runs "./configure ... --datadir='/usr/share'" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1079938 Title: ${prefix} present in Python files breaking sssd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1079938/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs