Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286848 - problem building wget
Summary: problem building wget
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High critical (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
: 286851 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-28 20:39 UTC by steve
Modified: 2009-09-29 07:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description steve 2009-09-28 20:39:40 UTC
Following the steps from the page:
http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml

I get through the bootstrap process with no problem.

From code list 1.5 I am able to successfully build both sed and pax-utils.

Code listing 1.6 instructs me to build wget like so:
$ emerge --oneshot --nodeps wget

This step is not successful for me:

Below is the output of configure and the build up until failure:
configure: configuring for GNU Wget 1.12
checking for a BSD-compatible install... /Users/steves/Library/Gentoo/tmp/usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /Users/steves/Library/Gentoo/tmp/usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-apple-darwin10
checking host system type... i686-apple-darwin10
checking for i686-apple-darwin10-gcc... gcc -m32
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 -m32 accepts -g... yes
checking for gcc -m32 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc -m32... gcc3
checking whether gcc -m32 and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -m32 -E
checking for grep that handles long lines and -e... /Users/steves/Library/Gentoo/tmp/usr/bin/grep
checking for egrep... /Users/steves/Library/Gentoo/tmp/usr/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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for i686-apple-darwin10-ranlib... no
checking for ranlib... ranlib
checking for _LARGEFILE_SOURCE value needed for large files... no
checking whether NLS is requested... no
checking for msgfmt... :
checking for gmsgfmt... :
checking for xgettext... :
checking for msgmerge... :
checking for ld used by GCC... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... yes
checking for CFLocaleCopyCurrent... yes
checking whether to use NLS... no
checking for i686-apple-darwin10-ranlib... ranlib
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for ANSI C header files... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking size of off_t... 8
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for unistd.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking whether h_errno is declared... yes
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of void *... 4
checking for size_t... yes
checking for pid_t... yes
checking for uint32_t... yes
checking for uintptr_t... yes
checking for intptr_t... yes
checking for int64_t... yes
checking for sig_atomic_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether the preprocessor supports include_next... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking stdio_ext.h usability... no
checking stdio_ext.h presence... no
checking for stdio_ext.h... no
checking for termios.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for wchar.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking whether stdin defaults to large file offsets... yes
checking whether getdelim is declared... no
checking whether getline is declared... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... no
checking whether getenv is declared... yes
checking whether getpass is declared... yes
checking for __fsetlocking... no
checking for tcgetattr... yes
checking for tcsetattr... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mprotect... yes
checking for iswcntrl... yes
checking whether fflush_unlocked is declared... no
checking whether flockfile is declared... yes
checking whether fputs_unlocked is declared... no
checking whether funlockfile is declared... yes
checking whether putc_unlocked is declared... yes
checking for nl_langinfo and CODESET... yes
checking whether getc_unlocked is declared... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking for mbstate_t... yes
checking for a traditional japanese locale... ja_JP.eucJP
checking for a transitional chinese locale... zh_CN.GB18030
checking for a french Unicode locale... fr_FR.UTF-8
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking for memchr... yes
checking whether memchr works... yes
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for wchar_t... yes
checking for long long int... yes
checking for unsigned long long int... yes
checking for strcasestr... yes
checking for working strerror function... yes
checking for C/C++ restrict keyword... __restrict
checking for wint_t... yes
checking for alloca as a compiler built-in... yes
checking for error_at_line... no
checking for fseeko... yes
checking for getdelim... no
checking for flockfile... yes
checking for funlockfile... yes
checking whether getc_unlocked is declared... (cached) yes
checking for getline... no
checking for getdelim... (cached) no
checking for flockfile... (cached) yes
checking for funlockfile... (cached) yes
checking whether getc_unlocked is declared... (cached) yes
checking for getpagesize... yes
checking whether __fsetlocking is declared... no
checking whether the compiler generally respects inline... no
checking whether lseek detects pipes... yes
checking whether mbrtowc handles incomplete characters... yes
checking whether mbrtowc works as well as mbtowc... yes
checking whether mbrtowc handles a NULL string argument... yes
checking whether mbrtowc has a correct return value... yes
checking whether mbrtowc returns 0 when parsing a NUL character... yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether NULL can be used in arbitrary expressions... yes
checking whether stdint.h conforms to C99... no
checking sys/inttypes.h usability... no
checking sys/inttypes.h presence... no
checking for sys/inttypes.h... no
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for bit size of ptrdiff_t... 32
checking for bit size of size_t... 32
checking for bit size of sig_atomic_t... 32
checking for bit size of wchar_t... 32
checking for bit size of wint_t... 32
checking whether sig_atomic_t is signed... yes
checking whether wchar_t is signed... yes
checking whether wint_t is signed... yes
checking for ptrdiff_t integer literal suffix... 
checking for size_t integer literal suffix... ul
checking for sig_atomic_t integer literal suffix... 
checking for wchar_t integer literal suffix... 
checking for wint_t integer literal suffix... 
checking for random.h... no
checking for struct random_data... no
checking for strcasecmp... yes
checking for strncasecmp... yes
checking whether strncasecmp is declared... yes
checking whether strcasestr works in linear time... no
checking for strcasestr... (cached) yes
checking whether <wchar.h> is standalone... yes
checking whether iswcntrl works... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for _LARGEFILE_SOURCE value needed for large files... (cached) no
checking for strptime... yes
checking for timegm... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for vasprintf... yes
checking for drand48... yes
checking for strtoll... yes
checking for usleep... yes
checking for ftello... yes
checking for sigblock... yes
checking for sigsetjmp... yes
checking for memrchr... no
checking for wcwidth... yes
checking for mbtowc... yes
checking for struct utimbuf... yes
checking for socklen_t... socklen_t
checking for working fnmatch.h... yes
checking for nanosleep... yes
checking for clock_gettime... no
checking for clock_gettime in -lrt... no
checking for gethostbyname... yes
checking for inet_ntoa... yes
checking for socket in -lsocket... no
checking for dlopen in -ldl... yes
checking for libssl... yes
checking how to link with libssl... -lssl -lcrypto
configure: compiling in support for SSL via OpenSSL
configure: using the OpenSSL MD5 implementation
configure: disabling IPv6 at user request
checking for makeinfo... ${SHELL} /Users/steves/Library/Gentoo/var/tmp/portage/net-misc/wget-1.12/work/wget-1.12/build-aux/missing --run makeinfo
checking for perl5... no
checking for perl... /usr/bin/perl
checking for pod2man... /usr/bin/pod2man
configure: disabling IRIs at user request
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating util/Makefile
config.status: creating po/Makefile.in
config.status: creating tests/Makefile
config.status: creating tests/WgetTest.pm
config.status: creating lib/Makefile
config.status: creating md5/Makefile
config.status: creating windows/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
make 
cd . && /Users/steves/Library/Gentoo/tmp/usr/bin/bash /Users/steves/Library/Gentoo/var/tmp/portage/net-misc/wget-1.12/work/wget-1.12/build-aux/missing --run aclocal-1.10 -I m4 -I md5/m4
 cd . && /Users/steves/Library/Gentoo/tmp/usr/bin/bash /Users/steves/Library/Gentoo/var/tmp/portage/net-misc/wget-1.12/work/wget-1.12/build-aux/missing --run automake-1.10 --gnu 
configure.ac:49: option `dist-lzma' not recognized
make: *** [Makefile.in] Error 1
 * ERROR: net-misc/wget-1.12 failed:
 *   (no error message)
 * 
 * Call stack:
 *               ebuild.sh:  51: <call src_compile>
 *             environment:2651:     emake || die
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.

>>> Failed to emerge net-misc/wget-1.12, Log file:

>>>  '/Users/steves/Library/Gentoo/var/tmp/portage/net-misc/wget-1.12/temp/build.log'

 * Messages for package net-misc/wget-1.12:

 * ERROR: net-misc/wget-1.12 failed:
 *   (no error message)
 * 
 * Call stack:
 *               ebuild.sh:  51: <call src_compile>
 *             environment:2651:     emake || die
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.


Reproducible: Always

Steps to Reproduce:
from ym bash history:

 507  chmod 755 bootstrap-prefix.sh
  508  ls -l
  509  less bootstrap-prefix.sh 
  510  $EPREFIX
  511  ./bootstrap-prefix.sh $EPREFIX tree
  512  ./bootstrap-prefix.sh $EPREFIX/tmp make
  515  ./bootstrap-prefix.sh $EPREFIX/tmp wget
  516  ./bootstrap-prefix.sh $EPREFIX/tmp sed
  517  ./bootstrap-prefix.sh $EPREFIX/tmp python
  518  ./bootstrap-prefix.sh $EPREFIX/tmp coreutils6
  519  ./bootstrap-prefix.sh $EPREFIX/tmp findutils
  520  ./bootstrap-prefix.sh $EPREFIX/tmp tar15
  521  ./bootstrap-prefix.sh $EPREFIX/tmp patch9
  522  ./bootstrap-prefix.sh $EPREFIX/tmp grep
  523  ./bootstrap-prefix.sh $EPREFIX/tmp gawk
  524  ./bootstrap-prefix.sh $EPREFIX/tmp bash
  525  ./bootstrap-prefix.sh $EPREFIX portage
  526  hash -r
  527  emerge --oneshot sed
  528  emerge --oneshot pax-utils
  529  emerge --oneshot --nodeps wget

Actual Results:  
building wget fails

Expected Results:  
building wget succeeds

I am using a current gen 13" Macbook pro

specs from system profiler:
Hardware Overview:

  Model Name:	MacBook Pro
  Model Identifier:	MacBookPro5,5
  Processor Name:	Intel Core 2 Duo
  Processor Speed:	2.26 GHz
  Number Of Processors:	1
  Total Number Of Cores:	2
  L2 Cache:	3 MB
  Memory:	4 GB
  Bus Speed:	1.07 GHz
  Boot ROM Version:	MBP55.00AC.B03
  SMC Version (system):	1.47f2
  Serial Number (system):	W8933U2666D
  Hardware UUID:	65F059BC-FC7C-5D19-9503-2D70BE5182DC
  Sudden Motion Sensor:
  State:	Enabled


It is probably worth noting that I did NOT set my CHOST for a 64 bits native prefix.


If there is anything that would be helpful please let me know.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-09-28 21:15:07 UTC
*** Bug 286851 has been marked as a duplicate of this bug. ***
Comment 2 Fabian Groffen gentoo-dev 2009-09-29 07:25:25 UTC
wget indeed autoconfs by itself, must be a patch
Comment 3 Fabian Groffen gentoo-dev 2009-09-29 07:33:41 UTC
you can continue the bootstrap by working around the issue:

emerge --oneshot --nodeps "<wget-1.12"
Comment 4 Fabian Groffen gentoo-dev 2009-09-29 07:39:57 UTC
I fixed this issue now, can only upload a new snapshot tomorrow.  Thanks for reporting!