Package: tix
Version: 8.4.0-4.1
Severity: important
Tags: patch

Hi,

your packages failed to autobuild on hurd-i386:

Automatic build of tix_8.4.0-4.1 on beethoven by sbuild/hurd-i386 85
Build started at 20060619-1930
[...]
checking for dlopen in -ldl... yes
checking for ar... ar
Can't figure out how to do dynamic loading or shared libraries
on this system.
[...]
rm -f libTix8.4.so.1
o libTix8.4.so.1 tixClass.o tixCmds.o tixCompat.o tixError.o
tixGeometry.o tixInit.o tixList.o tixMethod.o tixOption.o tixScroll.o
tixSmpLs.o tixUtils.o tixWidget.o tixDItem.o tixDiITxt.o tixDiImg.o
tixDiStyle.o tixDiText.o tixDiWin.o tixForm.o tixFormMisc.o tixGrid.o
tixGrData.o tixGrFmt.o tixGrRC.o tixGrSel.o tixGrSort.o tixGrUtl.o
tixHList.o tixHLCol.o tixHLInd.o tixHLHdr.o tixNBFrame.o tixTList.o
tixImgCmp.o tixImgXpm.o tixInputO.o tixUnixMwm.o tixUnixDraw.o
tixUnixXpm.o tixUnixWm.o -Wl,-soname,libTix8.4.so.1 -lX11  -L/usr/lib
-ltclstub8.4 -L/usr/lib -ltkstub8.4
make[1]: o: Command not found
make[1]: [libTix8.4.so.1] Error 127 (ignored)
: libTix8.4.so.1
[...]
make[1]: Leaving directory `/build/buildd/tix-8.4.0/build-shared'
: # Move things around
mv debian/tix/usr/lib/tix8.4/*.so* debian/tix/usr/lib/
mv: cannot stat `debian/tix/usr/lib/tix8.4/*.so*': No such file or
directory
make: *** [install] Error 1
******************************************************************************
Build finished at 20060619-1940
FAILED [dpkg-buildpackage died]

This is because tclconfig/tcl.m4 does not define DL_OBJS when $system is
GNU (line 1269), which in turn is checked for being non-null on line
1730 and if so, the above error (`Can't figure out how to do dynamic
loading or shared libraries on this system.') is spewed out, and the
shared library Makefile variables like SHLIB_LD are set to "".

Just defining DL_OBJS to "tclLoadDl.o" (as is done for most other
systems) makes the build go fine (and tclLoadDl.o does not seem to get
defined in the resulting Makefile anyway), but I am not sure whether
this is the right solution.

Also, this should probably also get fixed in a TCL package higher up the
stack?

Note that this package FTBFSing makes python2.3 go into dep-wait, which
in turn makes most other python packages FTBFS as python currently has a
versioned Depends on a version of python2.3 which has not (and currently
can not) been built on hurd-i386.

So in case you're busy right now (with the conference and all) but think
the attached patch should be fine, I'm happy to NMU tix if you want.


cheers,

Michael
--- tix-8.4.0/tclconfig/tcl.m4.orig     2006-06-20 12:03:36.000000000 +0200
+++ tix-8.4.0/tclconfig/tcl.m4  2006-06-20 12:04:01.000000000 +0200
@@ -1266,7 +1266,7 @@
 
            if test "$have_dl" = yes; then
                SHLIB_LD="${CC} -shared"
-               DL_OBJS=""
+               DL_OBJS="tclLoadDl.o"
                DL_LIBS="-ldl"
                LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
                LD_SEARCH_FLAGS=""

Reply via email to