Public bug reported:

Binary package hint: checkinstall

Running 32-bit Feisty.

When I try to install a self-compiled package with checkinstall, I get
this error message:

(Reading database ... 134050 files and directories currently installed.)
Unpacking pidgin (from .../pidgin_2.0.0-1_i386.deb) ...
dpkg: error processing /home/*****/Downloads/pidgin-2.0.0/pidgin_2.0.0-1_
i386.deb (--install):
 trying to overwrite `/usr/bin/nm', which is also in package binutils
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /home/*****/Downloads/pidgin-2.0.0/pidgin_2.0.0-1_i386.deb

The above example is for Pidgin but I have had the same problem with The
Gimp development branch. I don't have this problem with all packages,
however (Murrine theme, for example, worked fine, as did Bluefish CVS).
All packages (except the Murrine theme) were compiled with
--prefix=/usr/local.

So I decided to run checkinstall with --exclude=/usr/bin/nm. Now
checkinstall simply complains about a different file from a different
package. These are the files checkinstall complains about in order they
came up as errors with Pidgin (same error messages as above, just
different files and different packages):

- /usr/bin/nm
- /usr/bin/ld
- /usr/bin/strip
- /usr/lib/libgconf2-4/2/libgconfbackend-xml.so
- /usr/lib/gcc/i486-linux-gnu/4.1.2/crtbeginS.o
- /usr/lib/gcc/i486-linux-gnu/4.1.2/collect2
- /usr/lib/gcc/i486-linux-gnu/4.1.2/crtendS.o
- /usr/bin/gcc

Now that all these files are excluded, checkinstall hangs at the
following step although the package (Pidgin in this case) seems to be
installed (I can run Pidgin and it appears in Synaptic):

Copying files to the temporary directory...OK
Striping ELF binaries and libraries...OK
Compressing man pages...OK
Building file list...OK
Building Debian package...OK
Installing Debian package...

The Gimp followed a similar install procedure, with the following files
that needed to be excluded:

- /usr/bin/nm
- /usr/bin/ld
- /usr/bin/strip
- /usr/lib/gcc/i486-linux-gnu/4.1.2/crtbeginS.o
- /lib/crti.o

At this point, checkinstall refuses to go any further because of
/lib/crti.o even though I excluded (it is, apparently, in the Pidgin
package I just installed).

I have not compiled any other packages as far as these two so I cannot
comment on anything else. I do know that ffmpeg did not work with
checkinstall for me either though.

Checkinstall did not have these problems in previous versions (Edgy,
Dapper). I will gladly provide any more information if requested.

** Affects: checkinstall (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
checkinstall cannot install
https://bugs.launchpad.net/bugs/115107
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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

Reply via email to