Public bug reported:

I discovered this with libsdl1.2-dev, but apply to many other -dev packages.
Details:
Dev packages mainly deliver:
0) /usr/bin/*   # optional library tool
1) /usr/include/*.h   # headers files
2) /usr/lib/x86_64-linux-gnu/lib*.a   # the compile time library itself
3) /usr/lib/x86_64-linux-gnu/lib*.so  # the run time library itself
4) /usr/lib/x86_64-linux-gnu/pkgconfig/*.pc   #pkg-config file
5) /usr/share/aclocal   # other tools and manual files
   /usr/share/doc-base
   /usr/share/man
The i386 version deliver the library and pkg-config in /usr/lib/i386-linux-gnu

Many packages and its corresponding i386 packages are marked conflict
each other, as both contain the same include, tools and manual files.
This forbid install both packages at the same time, and so it is
impossible generate for both target 64 and 32 bit.

As the .a compile library itself for 64 and 32 bit are installed in different 
paths, make sense split dev packages in three packages:
A) common part to both 32 and 64 bit
B) compile time library for 64 bit
C) compile time library for 32 bit
this let install any combination of packages and generate for both 32 and 64 
bit at the same time.
I tryed to manually copy .a files in the right place and both generation work

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: libsdl1.2-dev:i386 (not installed)
ProcVersionSignature: Ubuntu 5.0.0-27.28~18.04.1-generic 5.0.21
Uname: Linux 5.0.0-27-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
CurrentDesktop: MATE
Date: Sat Sep  7 15:10:16 2019
InstallationDate: Installed on 2016-12-01 (1010 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
SourcePackage: libsdl1.2
UpgradeStatus: Upgraded to bionic on 2018-09-23 (348 days ago)

** Affects: libsdl1.2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1843126

Title:
  include files conflict with i386 version: split dev packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl1.2/+bug/1843126/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to