Hi Laszlo, Laszlo Boszormenyi wrote: > Hi Raphael, > > On Sat, 2008-04-05 at 20:19 -0600, Raphael Geissert wrote: >> This package is already in the archive, and I have DM upload rights for >> it. A few days ago I noticed this package doesn't work on non 32bits >> architectures so I've done a few changes to the package. >> >> The relevant part of changelog of the next upload is: >> >> * debian/test.sh: add a simple test suite to be run at the build target >> * debian/control: Build-Depend on gcc-multilib >> + Not building 64bits bins as the code is designed for 32bits archs >> >> The changes I made, as suggested by Goswin von Brederlow, until I get it >> to work on non 32bits archs were: >> >> adding a Build-Depends: gcc-multilib [amd64 kfreebsd-amd64 ppc64] >> calling gcc with -m32 > Your package has some problems. It FTBFS on my x86_64 arch: > dh_testdir > g++ -Wall -fno-strict-aliasing -m32 -O3 -gstabs -D_LARGEFILE64_SOURCE > -D_FILE_OFFSET_BITS=64 -o kgb kgb_arch_posix_by_slawek.cpp /usr/bin/ld: > skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.3/libstdc++.so > when searching for -lstdc++ /usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-linux-gnu/4.2.3/libstdc++.a when searching for > -lstdc++ /usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-linux-gnu/4.2.3/libstdc++.so when searching for > -lstdc++ /usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-linux-gnu/4.2.3/libstdc++.a when searching for > -lstdc++ /usr/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit > status make: *** [kgb] Error 1
I don't understand why this occurs. Can you provide me the full build log? 4.2.3/ is supposed to be a symlink to 4.2/, which is created by some unknown package (dpkg -S doesn't find anything, and looking at the postinst scripts of gcc-4.2* doesn't show anything useful). > > Removing -m32 from CFLAGS make it compile, but the test assert on U32 > size. I have commented that out, but your package can't be build again: > debian/rules clean > debian/rules:36: warning: overriding commands for target > `debian/stamp-patched' /usr/share/quilt/quilt.make:16: warning: ignoring > old commands for target `debian/stamp-patched' > QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null pop -a -R || test > $? = 2 Patch lfs.patch does not remove cleanly (refresh it or enforce with > -f) make: *** [unpatch] Error 1 You first have to clean, then edit the source, and finally build. Otherwise quilt doesn't like the hand made changes. > > What does upstream say about 64 bits support? Upstream has been dead for a while. Though I haven't talked to the original author of the code. Thanks for taking a look at it. > > Regards, > Laszlo/GCS Cheers, -- Atomo64 - Raphael Please avoid sending me Word, PowerPoint or Excel attachments. See http://www.gnu.org/philosophy/no-word-attachments.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

