[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#621050: Document dependencies needed to use multiarch paths



Jonathan Nieder <jrnieder@gmail.com> writes:
> Steve Langasek wrote[1]:

>> Since we don't want to wait until the next release cycle before being
>> able to proceed to step 5, this does mean that a transitional
>> dependency is needed to ensure a multiarch-compatible ld.so is unpacked
>> before libraries unpack to /lib/i386-linux-gnu.
> [...]
>> If you think this is important to document in policy anyway, I can
>> prepare a patch.

> How about something like this?  Based roughly on 
> http://lists.debian.org/debian-devel/2011/04/msg00036.html

I think the wording here is fine, but this needs to be normative and not
in a footnote, since this is a requirement for the wheezy release.  Could
you prepare an updated patch?

> --- a/policy.sgml
> +++ b/policy.sgml
> @@ -6163,10 +6163,19 @@ install -m644 debian/shlibs.<var>package</var> debian/<var>package</var>/DEBIAN/
>                    containing 32-bit x86 libraries may not install these
>                    libraries to <file>/usr/lib/i386-linux-gnu</file>.
>                    <footnote>
> -                    This is necessary in order to reserve the directories for
> -                    use in cross-installation of library packages from other
> -                    architectures, as part of the planned deployment of
> -                    <tt>multiarch</tt>.
> +                    <p>
> +                      This is necessary in order to reserve the directories for
> +                      use in cross-installation of library packages from other
> +                      architectures, as part of the planned deployment of
> +                      <tt>multiarch</tt>.
> +                    </p>
> +                    <p>
> +                      Packages installing libraries to these directories
> +                      will need to declare a "Pre-Depends" relationship
> +                      against <package>multiarch-support</package> to ensure
> +                      the libraries are visible to ld.so during partial
> +                      upgrades from Debian 6.0 (squeeze) and earlier.
> +                    </p>
>                    </footnote>
>                  </p>
>                  <p>

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: