Package: checkinstall
Severity: grave
Version: 1.6.2-3
Justification: Renders the package unusable.


On a Debian/kFreeBSD AMD64 machine running sid,
checkinstall aborts with illegal instruction when
trying to build a package.

# checkinstall --install=no

checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
           This software is released under the GNU GPL.


The package documentation directory ./doc-pak does not exist. 
Should I create a default set of package docs?  [y]: 

Preparing package documentation...OK

Please write a description for the package.
End your description with an empty line or EOF.
>> valgrind-freebsd-3.8.0
>> 

*****************************************
**** Debian package creation selected ***
*****************************************

This package will be built according to these values: 

0 -  Maintainer: [ root@debian-kfreebsd ]
1 -  Summary: [ valgrind-freebsd-3.8.0 ]
2 -  Name:    [ valgrind-freebsd ]
3 -  Version: [ 3.8.0 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ kfreebsd-amd64 ]
8 -  Source location: [ valgrind-freebsd-3.8.0 ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ valgrind-freebsd ]
12 - Conflicts: [  ]
13 - Replaces: [  ]

Enter a number to change any of them or press ENTER to continue: 

Installing with make install...

========================= Installation results ===========================
/usr/bin/installwatch: line 338: 53656 Illegal instruction     "$@"

****  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.





Seems that is caused by the preloaded library. Check this:

# export LD_PRELOAD=/usr/lib/checkinstall/installwatch.so
# nano /tmp/hello
Illegal instruction
# vi 
Vim: Caught deadly signal ILL
Vim: Finished.
Illegal instruction
# bash
Illegal instruction
# dpkg -l
Illegal instruction


This is the relevant information:

# ldd /usr/lib/checkinstall/installwatch.so
        libdl.so.2 => /lib/x86_64-kfreebsd-gnu/libdl.so.2 (0x0000000801458000)
        libc.so.0.1 => /lib/x86_64-kfreebsd-gnu/libc.so.0.1 (0x000000080165d000)
        /lib/ld-kfreebsd-x86-64.so.1 (0x0000000001021000)


# apt-cache policy libc0.1:kfreebsd-amd64
libc0.1:
  Installed: 2.13-38
  Candidate: 2.13-38
  Version table:
 *** 2.13-38 0
        500 http://ftp.debian.org/debian/ sid/main kfreebsd-amd64 Packages
        100 /var/lib/dpkg/status

# apt-cache policy checkinstall
checkinstall:
  Installed: 1.6.2-3
  Candidate: 1.6.2-3
  Version table:
 *** 1.6.2-3 0
        500 http://ftp.debian.org/debian/ sid/main kfreebsd-amd64 Packages
        100 /var/lib/dpkg/status

# uname -a
GNU/kFreeBSD debian-kfreebsd 9.0-2-amd64 #0 Sat Nov 24 04:44:27 UTC 2012 x86_64 
amd64 QEMU Virtual CPU version 1.1.2 GNU/kFreeBSD



Thanks!

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to