← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 684941] Re: libmythtv-0.24-0 violates -fPIC policy

 

This bug was fixed in the package mythtv -
2:0.24.0+fixes.20101207.d3d2640-0ubuntu1

---------------
mythtv (2:0.24.0+fixes.20101207.d3d2640-0ubuntu1) natty; urgency=low

  [ Mario Limonciello ]
  * Modify the get-orig-source rule to use launchpadlib to try to fetch the file
    from the archive instead.
  * Stop on runlevels [016] rather than on the start of shutdown job. (LP: #542627)
  * Move packaging to git based commands.
  * If no themes are included, don't make bad theme stubs in debian/control.
  * Update control files.
  * Add an epoch because of the changing fixes->fixes and trunk->master to allow
    proper upgrades.
  * In ppa git checker helper, if no hash returned, don't error up.
  * If running on a master build, have the update-control-files rule recommends
    mythtv-dbg.
  * Update standards version.
  * Force pic support on as much of the build as possible. (LP: #684941)
  * Move mythweb's set -e into the script invokation to quiet lintian.
  * Add python dependency to mythtv-common.
  * Demote libmythtv-perl depends to recommends on mythtv-backend.
  * Don't run the permissions fix up on python files smaller than 1 block.
  * Fixup the extra docs cleanup for mythweb.
  * >>Upstream changes since last upload (11ee9c5):
  * [d3d2640] MythArchive: Update the script to look for the fonts in
    the new location.
  * [011ffd5] Fix file streaming to stay working past 4G
  * [ecbbcf8] Backport from master to fixes/0.24.
  * [fe9d48e] Move toLower to the correct location
  * [e4ea220] Add gitignores to fixes/0.24 too
  * [dc4868a] Tweak PWD in the Makefile to be more specific

  [ Thomas Mashos ]
  * Make mythplugins replace mythmovies
  * Make mythplugins replace mythmovies in debian/control.in
 -- Mario Limonciello <Mario_Limonciello@xxxxxxxx>   Tue, 07 Dec 2010 02:42:49 -0600

** Changed in: mythtv (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythtv in ubuntu.
https://bugs.launchpad.net/bugs/684941

Title:
  libmythtv-0.24-0 violates -fPIC policy

Status in “mythtv” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: mythtv

In reviewing the mythtv binaries in the NEW queue, I came across these lintian errors:

$ lintian libmyth-0.24-0_0.24.0+fixes27305-0ubuntu1_i386.deb:
E: libmyth-0.24-0: shlib-with-non-pic-code usr/lib/libmyth-0.24.so.0.24.0
E: libmyth-0.24-0: shlib-with-non-pic-code usr/lib/libmythavcodec.so.52.86.1
E: libmyth-0.24-0: shlib-with-non-pic-code usr/lib/libmythavcore.so.0.6.0
E: libmyth-0.24-0: shlib-with-non-pic-code usr/lib/libmythavdevice.so.52.2.1
E: libmyth-0.24-0: shlib-with-non-pic-code usr/lib/libmythavfilter.so.1.37.0
E: libmyth-0.24-0: shlib-with-non-pic-code usr/lib/libmythavformat.so.52.78.3
E: libmyth-0.24-0: shlib-with-non-pic-code usr/lib/libmythavutil.so.50.24.0
E: libmyth-0.24-0: shlib-with-non-pic-code usr/lib/libmythhdhomerun-0.24.so.0.24.0
E: libmyth-0.24-0: shlib-with-non-pic-code usr/lib/libmythlivemedia-0.24.so.0.24.0
E: libmyth-0.24-0: shlib-with-non-pic-code usr/lib/libmythpostproc.so.51.2.0
E: libmyth-0.24-0: shlib-with-non-pic-code usr/lib/libmythswscale.so.0.11.0
E: libmyth-0.24-0: shlib-with-non-pic-code usr/lib/libmythtv-0.24.so.0.24.0
E: libmyth-0.24-0: shlib-with-non-pic-code usr/lib/libmythui-0.24.so.0.24.0

This is in violation of section 10.2 of the Ubuntu Policy manual (http://people.canonical.com/~cjwatson/ubuntu-policy/policy.html/ch-files.html#s-libraries):
"If the package is _architecture: any_, then the shared library compilation and linking flags must have `-fPIC', or the package shall not build on some of the supported architectures.  Any exception to this rule must be discussed on the mailing list ubuntu-devel@xxxxxxxxxxxxxxxx, and a rough consensus obtained.  The reasons for not compiling with `-fPIC' flag must be recorded in the file `README.Debian', and care must be taken to either restrict the architecture or arrange for `-fPIC' to be used on architectures where it is required."





References