Hi,
On Sun, Feb 9, 2014 at 11:47 PM, Steve Langasek <vor...@debian.org> wrote:
> The unixodbc package already updates config.sub and config.guess from the
> autotools-dev package at build time.  What is the build failure that you're
> seeing?
Maybe it is only updating one of the copies?

(final-or1k-amd64)root@openrisc-lab:/tmp/unixodbc-2.3.1#
dpkg-buildpackage -aor1k -b -d
dpkg-buildpackage: source package unixodbc
dpkg-buildpackage: source version 2.3.1-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Steve Langasek <vor...@debian.org>
dpkg-architecture: warning: specified GNU system type or1k-linux-gnu
does not match gcc system type x86_64-linux-gnu, try setting a correct
CC environment variable
dpkg-buildpackage: host architecture or1k
 dpkg-source --before-build unixodbc-2.3.1
 debian/rules clean
dh clean
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory `/tmp/unixodbc-2.3.1'
dh_auto_clean
make[1]: Leaving directory `/tmp/unixodbc-2.3.1'
   dh_clean
 debian/rules build
dh build
   dh_testdir
   debian/rules override_dh_auto_configure
make[1]: Entering directory `/tmp/unixodbc-2.3.1'
OLDDATESUB=`./config.sub -t | tr -d - ` || OLDDATESUB=""; \
NEWDATESUB=`/usr/share/misc/config.sub -t | tr -d - `; \
if [ -z "$OLDDATESUB" ] || [ "$OLDDATESUB" -lt "$NEWDATESUB" ]; \
then \
  cp -f /usr/share/misc/config.sub config.sub; \
  cp -f /usr/share/misc/config.sub libltdl/config.sub; \
fi
/bin/sh: 1: ./config.sub: not found
# Add here commands to configure the package.
CXXFLAGS="-g -O2 -pipe" \
dh_auto_configure -- --enable-static --enable-ltdllib --without-pth \
--enable-drivers --enable-driverc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for or1k-linux-gnu-strip... or1k-linux-gnu-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
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 for gawk... (cached) mawk
checking for bison... no
checking for byacc... no
checking for style of include used by make... GNU
checking for or1k-linux-gnu-gcc... or1k-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether or1k-linux-gnu-gcc accepts -g... yes
checking for or1k-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of or1k-linux-gnu-gcc... none
checking how to run the C preprocessor... or1k-linux-gnu-gcc -E
checking for or1k-linux-gnu-gcc... (cached) or1k-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether or1k-linux-gnu-gcc accepts -g... (cached) yes
checking for or1k-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of or1k-linux-gnu-gcc... (cached) none
checking for flex... no
checking for lex... no
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
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 sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... or1k-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by or1k-linux-gnu-gcc... /usr/or1k-linux-gnu/bin/ld
checking if the linker (/usr/or1k-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)...
/usr/bin/or1k-linux-gnu-nm -B
checking the name lister (/usr/bin/or1k-linux-gnu-nm -B) interface... BSD nm
checking the maximum length of command line arguments... 3458764513820540925
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to
or1k-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for /usr/or1k-linux-gnu/bin/ld option to reload object files... -r
checking for or1k-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for or1k-linux-gnu-dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for or1k-linux-gnu-ar... or1k-linux-gnu-ar
checking for archiver @FILE support... @
checking for or1k-linux-gnu-strip... (cached) or1k-linux-gnu-strip
checking for or1k-linux-gnu-ranlib... or1k-linux-gnu-ranlib
checking command to parse /usr/bin/or1k-linux-gnu-nm -B output from
or1k-linux-gnu-gcc object... ok
checking for sysroot... no
checking for or1k-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if or1k-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for or1k-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if or1k-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if or1k-linux-gnu-gcc static flag -static works... yes
checking if or1k-linux-gnu-gcc supports -c -o file.o... yes
checking if or1k-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the or1k-linux-gnu-gcc linker
(/usr/or1k-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... cross
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
/usr/lib/x86_64-linux-gnu/libfakeroot /usr/local/lib
/lib/or1k-linux-gnu /usr/lib/or1k-linux-gnu /lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
checking for library containing dlopen... -ldl
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_add... yes
checking for argz_append... yes
checking for argz_count... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking if argz actually works... yes
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... yes
checking whether lt_dlinterface_register is declared... yes
checking for lt_dladvise_preload in -lltdl... no
checking where to find libltdl headers... -I${top_srcdir}/libltdl
checking where to find libltdl library... ${top_build_prefix}libltdl/libltdlc.la
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... no
checking for strlcpy... no
checking for shared lib extension... .so
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for encoding to use for CHAR representations ... auto-search
checking for encoding to use for UNICODE representations ... auto-search
checking for crypt in -lcrypt... yes
checking for pow in -lm... yes
checking for readline in -lreadline ... no
checking for readline in -lreadline -lcurses ... no
checking Are we using ini caching ... yes
checking Are we using flex ... no - text driver disabled
checking whether time.h and sys/time.h may both be included... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking size of long... 4
checking if platform is 64 bit... No
checking for long long... yes
checking size of long int... 4
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for vsnprintf... yes
checking for strtol... yes
checking for atoll... yes
checking for strtoll... yes
checking for endpwent... yes
checking for gettimeofday... yes
checking for ftime... yes
checking for time... yes
checking for stricmp... no
checking for strnicmp... no
checking for getuid... yes
checking for getpwuid... yes
checking if os is AIX ... no - enable check for libthread
checking for mutex_lock in -lthread ... no
checking for pthread_mutex_lock in -lpthread... yes
checking if compiler accepts -pthread... yes
checking for localtime_r in -lc... yes
checking for ANSI C header files... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking synch.h usability... no
checking synch.h presence... no
checking for synch.h... no
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/malloc.h usability... no
checking sys/malloc.h presence... no
checking for sys/malloc.h... no
checking for sys/types.h... (cached) yes
checking for sys/sem.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking for sys/time.h... (cached) yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking msql.h usability... no
checking msql.h presence... no
checking for msql.h... no
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for working alloca.h... yes
checking for alloca... yes
checking for vprintf... yes
checking for _doprnt... no
checking for putenv... yes
checking for socket... yes
checking for strdup... yes
checking for strstr... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating extras/Makefile
config.status: creating log/Makefile
config.status: creating lst/Makefile
config.status: creating ini/Makefile
config.status: creating odbcinst/Makefile
config.status: creating cur/Makefile
config.status: creating DriverManager/Makefile
config.status: creating exe/Makefile
config.status: creating DRVConfig/Makefile
config.status: creating DRVConfig/drvcfg1/Makefile
config.status: creating DRVConfig/drvcfg2/Makefile
config.status: creating DRVConfig/PostgreSQL/Makefile
config.status: creating DRVConfig/MiniSQL/Makefile
config.status: creating DRVConfig/MySQL/Makefile
config.status: creating DRVConfig/nn/Makefile
config.status: creating DRVConfig/esoob/Makefile
config.status: creating DRVConfig/oplodbc/Makefile
config.status: creating DRVConfig/template/Makefile
config.status: creating DRVConfig/tds/Makefile
config.status: creating DRVConfig/txt/Makefile
config.status: creating DRVConfig/Oracle/Makefile
config.status: creating DRVConfig/sapdb/Makefile
config.status: creating DRVConfig/Mimer/Makefile
config.status: creating Drivers/Makefile
config.status: creating Drivers/Postgre7.1/Makefile
config.status: creating Drivers/nn/Makefile
config.status: creating Drivers/template/Makefile
config.status: creating Drivers/MiniSQL/Makefile
config.status: creating include/Makefile
config.status: creating doc/Makefile
config.status: creating doc/AdministratorManual/Makefile
config.status: creating doc/ProgrammerManual/Makefile
config.status: creating doc/ProgrammerManual/Tutorial/Makefile
config.status: creating doc/UserManual/Makefile
config.status: creating doc/lst/Makefile
config.status: creating samples/Makefile
config.status: creating config.h
config.status: creating unixodbc_conf.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in libltdl (/tmp/unixodbc-2.3.1/libltdl)
configure: running /bin/bash ./configure --disable-option-checking
'--prefix=/usr'  '--build=x86_64-linux-gnu'
'--includedir=${prefix}/include' '--mandir=${prefix}/share/man'
'--infodir=${prefix}/share/info' '--sysconfdir=/etc'
'--localstatedir=/var' '--libdir=${prefix}/lib/or1k-linux-gnu'
'--libexecdir=${prefix}/lib/or1k-linux-gnu'
'--disable-maintainer-mode' '--disable-dependency-tracking'
'--host=or1k-linux-gnu' '--enable-static' '--enable-ltdllib'
'--without-pth' '--enable-drivers' '--enable-driverc'
'build_alias=x86_64-linux-gnu' 'host_alias=or1k-linux-gnu' 'CFLAGS=-g
-O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,defs'
'CPPFLAGS=-D_FORTIFY_SOURCE=2' '--enable-ltdl-convenience'
--cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for or1k-linux-gnu-strip... or1k-linux-gnu-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... Invalid configuration `or1k-linux-gnu':
machine `or1k' not recognized
configure: error: /bin/bash config/config.sub or1k-linux-gnu failed
configure: error: ./configure failed for libltdl
==> config.log <==
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by unixODBC configure 2.3.1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --build=x86_64-linux-gnu --prefix=/usr
--includedir=${prefix}/include --mandir=${prefix}/share/man
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var
--libdir=${prefix}/lib/or1k-linux-gnu
--libexecdir=${prefix}/lib/or1k-linux-gnu --disable-maintainer-mode
--disable-dependency-tracking --host=or1k-linux-gnu --enable-static
--enable-ltdllib --without-pth --enable-drivers --enable-driverc


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to