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

Re: dpkg-cross: calculating wrong dependencies?



Another thing is that libssp0 and libgomp1 are now dependencies on gcc-4.2
I believe cross patch does not handle those. Any hint on where to look?

2006/11/16, Hector Oron <hector.oron@gmail.com>:
Previous version GCC-4.1

Package: libssp0-arm-cross
Version: 4.1.1-19
Section: devel
Priority: extra
Architecture: all
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Source: gcc-4.1 (4.1.1ds2-19)
Depends: gcc-4.1-base (= 4.1.1-19), libc6-arm-cross (>= 2.3.5-1), libc6-arm-dcv1
Provides: libssp0-arm-dcv1

Here it depends on gcc-4.1-base, not on gcc-4.1-base-arm-cross. Why is
it? I have no trouble installing gcc-4.1, but i do have trouble
installing gcc-4.2 because of that dependency.

---------

BTW, Nikita, patch that you wrote: binary-libstdcxx-cross.mk has a line,

   cp -p $(srcdir)/libstdc++-v3/config/linker-map.gnu \
                 $(d_pic)/$(gcc_lib_dir)/libstdc++_pic.map

On GCC-4.2, linker-map.gnu has been moved to
$(srcdir)/libstdc++-v3/config/abi/pre/gnu.ver
See http://gcc.gnu.org/ml/gcc-patches/2005-12/msg01377.html

I guess it shall not be harmful to apply this patch,

--- gcc.old/debian/rules.d/binary-libstdcxx-cross.mk    2006-11-16
00:49:53.000000000 +0000
+++ gcc-4.2-4.2-20061003/debian/rules.d/binary-libstdcxx-cross.mk
 2006-11-16 17:57:19.000000000 +0000
@@ -304,7 +304,7 @@
        debian/dh_doclink -p$(p_dev) $(p_lib)
        debian/dh_doclink -p$(p_pic) $(p_lib)
        debian/dh_doclink -p$(p_dbg) $(p_lib)
-       cp -p $(srcdir)/libstdc++-v3/config/linker-map.gnu \
+       cp -p $(srcdir)/libstdc++-v3/config/abi/pre/gnu.ver \
                $(d_pic)/$(gcc_lib_dir)/libstdc++_pic.map

 ifeq ($(with_cxxdev),yes)


Regards,
 Hector Oron


2006/11/16, Nikita V. Youshchenko <yoush@debian.org>:
>
>
> > Hello,
> >
> >   Let me show you a package dependencies
> >
> > Package: libssp0
> > Version: 4.2-20060709-1
> > Section: libs
> > Priority: standard
> > Architecture: arm
> > Depends: gcc-4.2-base (= 4.2-20060709-1), libc6 (>= 2.3.5-1)
> >
> > After dpkg-crossing it,
> >
> > Package: libssp0-arm-cross
> > Version: 4.2-20060709-1
> > Section: devel
> > Priority: extra
> > Architecture: all
> > Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
> > Source: gcc-4.2
> > Depends: gcc-4.2-base-arm-cross (= 4.2-20060709-1),
> > gcc-4.2-base-arm-dcv1, libc6-arm-cross (>= 2.3.5-1), libc6-arm-dcv1
> > Provides: libssp0-arm-dcv1
> >
> > I believe dpkg-cross does not behaves correctly when calculating
> > dependencies for libssp0-arm-cross, it has a dependency with
> > gcc-4.2-base-arm-cross, which it is not provided .
> >
> > Am I wrong? Or should dpkg-cross be fixed somewhere?
>
> I don't understand what's the issue.
>
> Original package has dependency on
>   gcc-4.2-base (= 4.2-20060709-1).
> So resulting package has a dependency on
>   gcc-4.2-base-arm-cross (= 4.2-20060709-1), gcc-4.2-base-arm-dcv1
>
> Exactly expected behaviour.
>
>
> --
> To UNSUBSCRIBE, email to debian-embedded-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>




Reply to: