• Bug#254728: strace on sparc (1/2)

    From Blars Blarson@1:229/2 to All on Sun Aug 15 17:30:11 2004
    From: [email protected]

    tags 254728 - patch
    thanks

    The patch has been applied (other than to configure) and strace does
    not build. Updating configure does not fix anything.

    Actually, I can get the build to break in different ways:

    $ sparc32 dpkg-buildpackage -us -uc -rfakeroot
    dpkg-buildpackage: source package is strace
    dpkg-buildpackage: source version is 4.5.6-1
    dpkg-buildpackage: source maintainer is Roland McGrath <[email protected]> dpkg-buildpackage: host architecture is sparc
    ...
    mkdir build64
    cd build64 && CC="gcc -m64" sh ../configure --prefix=/usr --build=sparc64-linux checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    configure: error: source directory already configured; run "make distclean" there first
    make: *** [stamp-build64] Error 1


    $ dpkg-buildpackage -us -uc -rfakeroot
    dpkg-buildpackage: source package is strace
    dpkg-buildpackage: source version is 4.5.6-1
    dpkg-buildpackage: source maintainer is Roland McGrath <[email protected]> dpkg-buildpackage: host architecture is sparc
    fakeroot debian/rules clean
    test ! -f Makefile || /usr/bin/make distclean
    make[1]: Entering directory `/home/blarson/src3/strace-4.5.6'
    test -z "strace" || rm -f strace
    rm -f *.o core *.core
    rm -f *.tab.c
    rm -f
    rm -f config.h stamp-h1
    rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    rm -f config.status config.cache config.log configure.lineno
    rm -rf ./.deps
    rm -f Makefile
    make[1]: Leaving directory `/home/blarson/src3/strace-4.5.6'
    rm -f stamp-build
    rm -rf debian/tmp debian/substvars debian/files
    rm -rf build64 stamp-build64
    dpkg-source -b strace-4.5.6
    dpkg-source: building strace using existing strace_4.5.6.orig.tar.gz dpkg-source: building strace in strace_4.5.6-1.diff.gz
    dpkg-source: building strace in strace_4.5.6-1.dsc
    debian/rules build
    sh configure --prefix=/usr
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... sparc64-unknown-linux-gnu
    checking host system type... sparc64-unknown-linux-gnu
    checking for supported operating system... linux
    checking for supported architecture... sparc64
    checking for gcc... gcc
    checking for C compiler default output... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for primary include directory... /usr/include
    checking how to run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking whether gcc needs -traditional... no
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for an ANSI C-conforming const... yes
    checking for ANSI C header files... yes
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking whether stat file-mode macros are broken... no
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for struct stat.st_blksize... yes
    checking for struct stat.st_blocks... yes
    checking for struct stat.st_aclcnt... no
    checking for struct stat.st_flags... no
    checking for struct stat.st_fstype... no
    checking for struct stat.st_gen... no
    checking for struct stat.st_level... no
    checking for struct stat.st_rdev... yes
    checking for stat64 in (asm|sys)/stat.h... yes
    checking return type of signal handlers... void
    checking for uid_t in sys/types.h... yes
    checking for mode_t... yes
    checking type of array argument to getgroups... gid_t
    checking whether sys/types.h defines makedev... yes
    checking for sig_atomic_t... yes
    checking for siginfo_t... yes
    checking for struct sockaddr_in6.sin6_scope_id... yes
    checking for long long... yes
    checking for little endian long long... no
    checking for long long off_t... no
    checking for long long rlim_t... no
    checking for struct opthdr... no
    checking for struct t_opthdr... no
    checking for sigaction... yes
    checking for strerror... yes
    checking for strsignal... yes
    checking for pread... yes
    checking for sys_siglist... yes
    checking for _sys_siglist... yes
    checking for getdents... no
    checking for mctl... no
    checking for prctl... yes
    checking for sendmsg... yes
    checking for inet_ntop... yes
    checking for if_indextoname... yes
    checking sys/reg.h usability... no
    checking sys/reg.h presence... no
    checking for sys/reg.h... no
    checking sys/filio.h usability... no
    checking sys/filio.h presence... no
    checking for sys/filio.h... no
    checking sys/acl.h usability... no
    checking sys/acl.h presence... no
    checking for sys/acl.h... no
    checking sys/asynch.h usability... no
    checking sys/asynch.h presence... no
    checking for sys/asynch.h... no
    checking sys/door.h usability... no
    checking sys/door.h presence... no
    checking for sys/door.h... no
    checking stropts.h usability... yes
    checking stropts.h presence... yes
    checking for stropts.h... yes
    checking sys/conf.h usability... no
    checking sys/conf.h presence... no
    checking for sys/conf.h... no
    checking sys/stream.h usability... no
    checking sys/stream.h presence... no
    checking for sys/stream.h... no
    checking sys/tihdr.h usability... no
    checking sys/tihdr.h presence... no
    checking for sys/tihdr.h... no
    checking sys/tiuser.h usability... no
    checking sys/tiuser.h presence... no
    checking for sys/tiuser.h... no
    checking sys/sysconfig.h usability... no
    checking sys/sysconfig.h presence... no
    checking for sys/sysconfig.h... no
    checking ioctls.h usability... no
    checking ioctls.h presence... no
    checking for ioctls.h... no
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking sys/ptrace.h usability... yes
    checking sys/ptrace.h presence... yes
    checking for sys/ptrace.h... yes

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)