libgmp3-dev conflicts with sunwcsl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nexenta Operating System |
Confirmed
|
High
|
Erast |
Bug Description
Unpacking libgmp3-dev (from .../libgmp3-
dpkg: error processing /var/cache/
trying to overwrite `/usr/lib/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Currently, sunwcsl/sunwcslr define libmp.so as:
root@fiji:/usr/src# dpkg-query -S libmp.so | sort
sunwcsl: /usr/lib/
sunwcsl: /usr/lib/
sunwcsl: /usr/lib/libmp.so.1
sunwcsl: /usr/lib/libmp.so.2
sunwcslr: /lib/amd64/libmp.so
sunwcslr: /lib/amd64/
sunwcslr: /lib/libmp.so.1
sunwcslr: /lib/libmp.so.2
sunwcslr: /usr/sun/
The relationships follow:
/lib/amd64/libmp.so -> libmp.so.2
/lib/amd64/
/lib/libmp.so.1
/lib/libmp.so.2
/usr/lib/
/usr/lib/
/usr/lib/libmp.so.1 -> ../../lib/
/usr/lib/libmp.so.2 -> ../../lib/
/usr/sun/
I think that these should be removed:
sunwcsl: /usr/lib/
sunwcslr: /lib/amd64/libmp.so
and a different link added:
sunwcslr: /usr/sun/
The gmp source package ends up building libmp.so.3 so other libs do not conflict. Just the top-level .so links.
This makes rebuilding gcc a real PITA.