Package: insight Version: 6.7.1.dfsg.1-9 Severity: normal Tags: patch User: [EMAIL PROTECTED] Usertags: origin-ubuntu intrepid ubuntu-patch
Hi, In https://bugs.edge.launchpad.net/ubuntu/+source/insight/+bug/110387 Kip Warner reported a problem with insight where it would fail to load non-absolute library symbol files due to being compiled with --with-sysroot=/usr/share, and provided a patch to fix it. Here is an example of the problem: $ sudo apt-get install wx2.8-examples libwxgtk2.8-dev $ cd /tmp $ /usr/share/doc/wx2.8-examples/examples/unpack_examples.sh samples/minimal Temp $ cp /usr/share/doc/wx2.8-examples/examples/samples/sample.xpm Temp $ make -C Temp/minimal Failure case: ==================================== $ insight --nw --quiet Temp/minimal/minimal Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) r Starting program: /home/kip/Desktop/Test/minimal/minimal warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. Error while mapping shared library sections: /usr/lib/libwx_gtk2u_core-2.8.so.0: No such file or directory. Error while mapping shared library sections: /usr/lib/libwx_baseu-2.8.so.0: No such file or directory. Error while mapping shared library sections: /usr/lib/libstdc++.so.6: No such file or directory. Error while mapping shared library sections: /lib/tls/i686/cmov/libm.so.6: No such file or directory. Error while mapping shared library sections: /lib/libgcc_s.so.1: No such file or directory. ... Success case: ==================================== $ insight --nw --quiet Temp/minimal/minimal Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) r Starting program: /home/kip/Desktop/Test/minimal/minimal [Thread debugging using libthread_db enabled] [New Thread 0xb6e48720 (LWP 30966)] Please consider applying the patch. Thanks, James diff -u insight-6.7.1.dfsg.1/debian/rules insight-6.7.1.dfsg.1/debian/rules --- insight-6.7.1.dfsg.1/debian/rules +++ insight-6.7.1.dfsg.1/debian/rules @@ -29,7 +29,6 @@ # Add here commands to configure the package. ./configure --host=$(DEB_HOST_GNU_TYPE) --build= $(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \ --enable-gdbtk \ - --with-sysroot=/usr/share \ --with-tclinclude=/usr/include/tcl8.4/tcl-private \ --with-tclconfig=/usr/lib/tcl8.4 \ --with-tkinclude=/usr/include/tcl8.4/tk-private \ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]