| Summary: | emerge app-text/htmltidy error | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Antenore <agatta> |
| Component: | Current packages | Assignee: | Text-Markup Team (OBSOLETE) <text-markup+disabled> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | magnet |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Patch for htmltidy-3.10.29 to correct ./configure's behavior | ||
|
Description
Antenore
2004-03-03 04:16:47 UTC
This is the complete output... hpgenxe3 linux # emerge htmltidy Calculating dependencies ...done! >>> emerge (1 of 1) app-text/htmltidy-3.10.29 to / >>> Downloading http://gentoo.oregonstate.edu/distfiles/tidy_src_031029.tgz Initializing download: http://gentoo.oregonstate.edu/distfiles/tidy_src_031029.tgz Doing search... Testing speeds, this can take a while... 1 usable servers found, will use these URLs: URL Speed http://gentoo.oregonstate.edu/distfiles/tidy_src_031029.tgz 5681 Opening output file /usr/portage/distfiles/tidy_src_031029.tgz Server unsupported, starting from scratch with one connection. Starting download Connection 0 finished pthread error!!! Downloaded 233.6 kilobytes in 2:10 seconds. (1.78 KB/s) >>> md5 src_uri ;-) tidy_src_031029.tgz >>> md5 src_uri ;-) tidy_docs.tgz >>> Unpacking source... >>> Unpacking tidy_src_031029.tgz to /var/tmp/portage/htmltidy-3.10.29/work >>> Unpacking tidy_docs.tgz to /var/tmp/portage/htmltidy-3.10.29/work * Setting up autotools for source build automake-1.5: configure.in: installing `./install-sh' automake-1.5: configure.in: installing `./mkinstalldirs' automake-1.5: configure.in: installing `./missing' automake-1.5: configure.in: installing `./depcomp' >>> Source unpacked. configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output file name... 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 how to run the C preprocessor... gcc -E checking for i686-pc-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for a BSD-compatible install... /bin/install -c checking whether ln -s works... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking for a sed that does not truncate output... /bin/sed checking how to recognise dependent libraries... pass_all checking command to parse nm output... ok checking for egrep... 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking whether make sets $(MAKE)... (cached) yes checking if malloc debugging is wanted... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating console/Makefile config.status: creating include/Makefile config.status: executing default-1 commands cd . && /bin/sh /var/tmp/portage/htmltidy-3.10.29/work/tidy/missing --run aclocal cd . && \ /bin/sh /var/tmp/portage/htmltidy-3.10.29/work/tidy/missing --run automake --foreign Makefile cd . && /bin/sh /var/tmp/portage/htmltidy-3.10.29/work/tidy/missing --run autoconf /bin/sh ./config.status --recheck running /bin/sh ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-debug CC=gcc CFLAGS=-march=pentium3 -O3 -pipe -fomit-frame-pointer CXXFLAGS=-march=pentium3 -O3 -pipe -fomit-frame-pointer CXX=g++ host_alias=i686-pc-linux-gnu --no-create --no-recursion configure: warning: CC=gcc: invalid host type configure: warning: CFLAGS=-march=pentium3 -O3 -pipe -fomit-frame-pointer: invalid host type configure: error: can only configure for one host and one target at a time make: *** [config.status] Error 1 !!! ERROR: app-text/htmltidy-3.10.29 failed. !!! Function src_compile, Line 55, Exitcode 2 !!! (no error message) Created attachment 26770 [details, diff]
Patch for htmltidy-3.10.29 to correct ./configure's behavior
hello,
this seems to be a autoconf/automake trouble.I'm not an expert with those
tools, so I solved the problem by unsetting some env vars,that were making the
./configure fail.
This bug is a dup of bug #42796. Please make sure you run `emerge sync` and `head -n 3 /usr/portage/app-text/htmltidy/htmltidy-3.10.29.ebuild` shows # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/app-text/htmltidy/htmltidy-3.10.29.ebuild,v 1.7 2004/02/27 21:19:42 usata Exp $ If you have htmltidy-3.10.29.ebuild v1.7 and still have the problem, please reopen bug #42796. We don't want to unset CC/CXX/CFLAGS/CXXFLAGS because if we unset these flags we cannot support cross compiling and tuning anymore. If it isn't actually solved, I'll recreate configure script locally and put it on files directory. *** This bug has been marked as a duplicate of 42796 *** |