FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 12-09-2011, 06:52 PM
Joerg Schneider
 
Default Bug#651550: libstdc++6 4.6.1-4 breaks libstdc++6-4.4-dev 4.4.5-8 but doesn't "conflict" with it

Package: libstdc++6
Version: 4.6.2-5
Severity: normal

Apparently libstdc++.so.6 used to be in
/usr/lib in version 4.4.5, but was moved to
/usr/lib/x86_64-linux-gnu in version 4.6 (or less)

The symlink /usr/lib/gcc/x86_64-linux-gnu/4.4.5/libstdc++.so, which is
part of libstdc++6-4.4-dev, points to
/usr/lib in version 4.4.5-8 and to
/usr/lib/x86_64-linux-gnu in version 4.4.6-11

That means that the symlink is broken when the following package
versions are installed:
ii libstdc++6 4.6.2-5 GNU Standard C++ Library v3
ii libstdc++6-4.4-dev 4.4.6-11 GNU Standard C++ Library v3 (development files)

This could be fixed by adding a "Conflicts" dependency for
libstdc++6-4.4-dev to libstdc++6, which prevents the installation of
incompatible versions.

-- System Information:
Debian Release: 6.0.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-core2 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libstdc++6 depends on:
ii gcc-4.6-base 4.6.2-5 GCC, the GNU Compiler Collection (
ii libc6 2.13-21 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.6.2-5 GCC support library
ii multiarch-support 2.13-16 Transitional package to ensure mul

libstdc++6 recommends no packages.

libstdc++6 suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111209195204.15866.77147.reportbug@pillilz.inter nal">http://lists.debian.org/20111209195204.15866.77147.reportbug@pillilz.inter nal
 
Old 12-20-2011, 12:14 PM
Matthias Klose
 
Default Bug#651550: libstdc++6 4.6.1-4 breaks libstdc++6-4.4-dev 4.4.5-8 but doesn't "conflict" with it

On 12/09/2011 08:52 PM, Joerg Schneider wrote:
> This could be fixed by adding a "Conflicts" dependency for
> libstdc++6-4.4-dev to libstdc++6, which prevents the installation of
> incompatible versions.

libgcc1 has:
Breaks: gcc-4.1, gcc-4.3 (<< 4.3.6-1), gcc-4.4 (<< 4.4.6-4), gcc-4.5 (<< 4.5.3-2)



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4EF08A30.1020903@debian.org">http://lists.debian.org/4EF08A30.1020903@debian.org
 
Old 12-21-2011, 07:23 AM
Joerg Schneider
 
Default Bug#651550: libstdc++6 4.6.1-4 breaks libstdc++6-4.4-dev 4.4.5-8 but doesn't "conflict" with it

On 20.12.2011 14:14, Matthias Klose wrote:

libgcc1 has:
Breaks: gcc-4.1, gcc-4.3 (<< 4.3.6-1), gcc-4.4 (<< 4.4.6-4), gcc-4.5 (<< 4.5.3-2)


I'm not sure why, but when I upgraded libstdc++6 to 4.6.2-5 I was not
required to also upgrade libstdc++6-4.4-dev and this caused the problem
with the broken symlink.




--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4EF19780.1030401@joergschneider.com">http://lists.debian.org/4EF19780.1030401@joergschneider.com
 
Old 02-24-2012, 11:29 AM
Jonathan Nieder
 
Default Bug#651550: libstdc++6 4.6.1-4 breaks libstdc++6-4.4-dev 4.4.5-8 but doesn't "conflict" with it

# breaks partial upgrades (policy 3.5)
severity 651550 serious
tags 651550 + patch
quit

Joerg Schneider wrote:
> On 20.12.2011 14:14, Matthias Klose wrote:

>> libgcc1 has:
>> Breaks: gcc-4.1, gcc-4.3 (<< 4.3.6-1), gcc-4.4 (<< 4.4.6-4), gcc-4.5 (<< 4.5.3-2)
>
> I'm not sure why, but when I upgraded libstdc++6 to 4.6.2-5 I was
> not required to also upgrade libstdc++6-4.4-dev

Suppose as the first step of my squeeze->wheezy upgrade I try to
upgrade libstdc++6 to the version in wheezy, with no other change.

To satisfy dependencies, gcc-4.6-base will be installed. libgcc1 is
not be upgraded because its version already satisfies "(>= 1:4.1.1)"
in squeeze. I never hit the Breaks.

Surveying other gcc libs:

- libgccmath is not enabled in squeeze (nor in wheezy, for that matter),
so we don't have to worry about it.
- libquadmath is not enabled in squeeze, either.
- libssp is bundled with gcc-4.6, so not a worry.
- libobjc3 bumped soname, so it's safe. libobjc2 is affected.
- libgo0 is not present in squeeze.
- the remainder are affected.

How about this patch?

debian/changelog | 6 ++++--
debian/control.m4 | 8 +++++++-
2 files changed, 11 insertions(+), 3 deletions(-)

diff --git i/debian/changelog w/debian/changelog
index d97913f2..8c6f7799 100644
--- i/debian/changelog
+++ w/debian/changelog
@@ -1,7 +1,9 @@
gcc-4.6 (4.6.2-15.1) local; urgency=low

- * libstdc++ depends on libc (>= 2.11) for STB_GNU_UNIQUE support
- (Eugene V. Lyubimkin). Closes: #584572.
+ * libstdc++6: Depends on libc (>= 2.11) for STB_GNU_UNIQUE support
+ (Eugene V. Lyubimkin). Closes: #584572.
+ * libstdc++6, libobjc2, libgfortran3, libmudflap0, libgomp1: Breaks
+ pre-multiarch gcc. Closes: #651550.
* libstdc++6: Lower priority from required to important.

-- Jonathan Nieder <jrnieder@gmail.com> Fri, 24 Feb 2012 02:38:01 -0600
diff --git i/debian/control.m4 w/debian/control.m4
index fb8d4d48..5ba91787 100644
--- i/debian/control.m4
+++ w/debian/control.m4
@@ -652,6 +652,7 @@ Package: libmudflap`'MF_SO`'LS
Architecture: ifdef(`TARGET',`all',`any')
ifdef(`TARGET',`dnl',ifdef(`MULTIARCH', `Multi-Arch: same
Pre-Depends: multiarch-support
+Breaks: ${multiarch:breaks}
')`Provides: libmudflap'MF_SO`-armel [armel], libmudflap'MF_SO`-armhf [armhf]')
Section: ifdef(`TARGET',`devel',`libs')
Priority: ifdef(`TARGET',`extra',`PRI(optional)')
@@ -865,6 +866,7 @@ Section: ifdef(`TARGET',`devel',`libs')
Architecture: ifdef(`TARGET',`all',`any')
ifdef(`TARGET',`dnl',ifdef(`MULTIARCH', `Multi-Arch: same
Pre-Depends: multiarch-support
+Breaks: ${multiarch:breaks}
')`Provides: libgomp'GOMP_SO`-armel [armel], libgomp'GOMP_SO`-armhf [armhf]')
Priority: ifdef(`TARGET',`extra',`PRI(optional)')
Depends: BASEDEP, ${shlibsepends}, ${miscepends}
@@ -1184,7 +1186,8 @@ Section: ifdef(`TARGET',`devel',`libs')
Architecture: ifdef(`TARGET',`all',`any')
ifdef(`TARGET',`dnl',ifdef(`MULTIARCH', `Multi-Arch: same
Pre-Depends: multiarch-support
-')`Provides: libobjc'OBJC_SO`-armel [armel], libobjc'OBJC_SO`-armhf [armhf]')
+ifelse(OBJC_SO,`2',`Breaks: ${multiarch:breaks}
+',`')')`Provides: libobjc'OBJC_SO`-armel [armel], libobjc'OBJC_SO`-armhf [armhf]')
Priority: ifdef(`TARGET',`extra',`PRI(optional)')
Depends: BASEDEP, ${shlibsepends}, ${miscepends}
Description: Runtime library for GNU Objective-C applications
@@ -1355,6 +1358,7 @@ Section: ifdef(`TARGET',`devel',`libs')
Architecture: ifdef(`TARGET',`all',`any')
ifdef(`TARGET',`dnl',ifdef(`MULTIARCH', `Multi-Arch: same
Pre-Depends: multiarch-support
+Breaks: ${multiarch:breaks}
')`Provides: libgfortran'FORTRAN_SO`-armel [armel], libgfortran'FORTRAN_SO`-armhf [armhf]')
Priority: ifdef(`TARGET',`extra',PRI(optional))
Depends: BASEDEP, ${shlibsepends}, ${miscepends}
@@ -1485,6 +1489,7 @@ Section: libs
Architecture: NEON_ARCHS
ifdef(`MULTIARCH', `Multi-Arch: same
Pre-Depends: multiarch-support
+Breaks: ${multiarch:breaks}
')`'dnl
Priority: extra
Depends: BASEDEP, libgcc1-neon`'LS, ${shlibsepends}, ${miscepends}
@@ -1831,6 +1836,7 @@ Depends: BASEDEP, ${dep:libc}, ${shlibsepends}, ${miscepends}
ifdef(`TARGET',`Provides: libstdc++CXX_SO-TARGET-dcv1',
ifdef(`MULTIARCH', `Multi-Arch: same
Pre-Depends: multiarch-support
+Breaks: ${multiarch:breaks}
')`Provides: libstdc++'CXX_SO`-armel [armel], libstdc++'CXX_SO`-armhf [armhf]')
Conflicts: scim (<< 1.4.2-1)
Description: GNU Standard C++ Library v3`'ifdef(`TARGET)',` (TARGET)', `')



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120224122910.GA5182@burratino">http://lists.debian.org/20120224122910.GA5182@burratino
 

Thread Tools




All times are GMT. The time now is 10:18 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org