On 11/23/15 21:03, Christian Weisgerber wrote:
> Latest build failure on amd64.  I have no idea.
> 
> -----------------------------
>>>> Building on localhost under devel/avr/gcc
>        BDEPENDS = 
> [archivers/bzip2;devel/gmake;devel/bison;devel/mpfr;devel/gmp;devel/autoconf/2.13;devel/metaauto;devel/avr/binutils]
>        DIST = 
> [devel/avr/gcc:gcc/gcc-core-4.3.4.tar.bz2;devel/avr/gcc:gcc/gcc-g++-4.3.4.tar.bz2]
>        FULLPKGNAME = avr-gcc-4.3.4p1
>        RDEPENDS = [devel/gmp;devel/mpfr]
> (Junk lock obtained for localhost at 1448297335)
>>>> Running depends in devel/avr/gcc at 1448297335
>    last junk was in www/netsurf/buildsystem
> /usr/sbin/pkg_add -aI -Dunsigned -Drepair autoconf-2.13p3 avr-binutils-2.20p2 
> gmp-5.0.2p3 metaauto-1.0p1 mpfr-3.1.0.3p0
> was: /usr/sbin/pkg_add -aI -Dunsigned -Drepair autoconf-2.13p3 
> avr-binutils-2.20p2 bison-3.0.4 bzip2-1.0.6p7 gmake-4.1p0 gmp-5.0.2p3 
> metaauto-1.0p1 mpfr-3.1.0.3p0
> /usr/sbin/pkg_add -aI -Dunsigned -Drepair autoconf-2.13p3 avr-binutils-2.20p2 
> gmp-5.0.2p3 metaauto-1.0p1 mpfr-3.1.0.3p0
>>>> Running show-prepare-results in devel/avr/gcc at 1448297338
> ===> devel/avr/gcc
> ===> avr-gcc-4.3.4p1 depends on: autoconf-2.13 -> autoconf-2.13p3
> ===> avr-gcc-4.3.4p1 depends on: bison-* -> bison-3.0.4
> ===> avr-gcc-4.3.4p1 depends on: metaauto-* -> metaauto-1.0p1
> ===> avr-gcc-4.3.4p1 depends on: avr-binutils-* -> avr-binutils-2.20p2
> ===> avr-gcc-4.3.4p1 depends on: gmake-* -> gmake-4.1p0
> ===> avr-gcc-4.3.4p1 depends on: bzip2-* -> bzip2-1.0.6p7
> ===> avr-gcc-4.3.4p1 depends on: gmp->=4.2 -> gmp-5.0.2p3
> ===> avr-gcc-4.3.4p1 depends on: mpfr-* -> mpfr-3.1.0.3p0
> ===>  Verifying specs:  c gmp mpfr
> ===>  found c.84.2 gmp.9.0 mpfr.1.1
> autoconf-2.13p3
> avr-binutils-2.20p2
> bison-3.0.4
> bzip2-1.0.6p7
> gmake-4.1p0
> gmp-5.0.2p3
> metaauto-1.0p1
> mpfr-3.1.0.3p0
> Still tainted: 1
>>>> Running junk in devel/avr/gcc at 1448297340
> Can't run junk because of lock on graphics/mapnik
> (Junk lock released for localhost at 1448297341)
> distfiles size=29952373
>>>> Running patch in devel/avr/gcc at 1448297341
> ===> devel/avr/gcc
> ===>  Checking files for avr-gcc-4.3.4p1
> `/usr/ports/distfiles/gcc/gcc-core-4.3.4.tar.bz2' is up to date.
> `/usr/ports/distfiles/gcc/gcc-g++-4.3.4.tar.bz2' is up to date.
> ===>  Extracting for avr-gcc-4.3.4p1
> ===>  Patching for avr-gcc-4.3.4p1
>>>> Running configure in devel/avr/gcc at 1448297351
> ===> devel/avr/gcc
> ===>  Configuring for avr-gcc-4.3.4p1
> Using /usr/obj/ports/avr-gcc-4.3.4/config.site (generated)
> configure: loading site script /usr/obj/ports/avr-gcc-4.3.4/config.site
> checking build system type... x86_64-unknown-openbsd5.8
> checking host system type... x86_64-unknown-openbsd5.8
> checking target system type... avr-unknown-none
> checking for a BSD-compatible install... install -c
> checking whether ln works... yes
> checking whether ln -s works... yes
> checking for gcc... cc
> 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... (cached) o
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether cc accepts -g... (cached) yes
> checking for cc option to accept ANSI C... none needed
> checking whether we are using the GNU C++ compiler... (cached) yes
> checking whether c++ accepts -g... (cached) yes
> checking for gnatbind... no
> checking for gnatmake... no
> checking whether compiler driver understands Ada... no
> checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16
> checking for correct version of gmp.h... yes
> checking for correct version of mpfr.h... yes
> *** This configuration is not supported in the following subdirectories:
>      target-libmudflap target-libgomp target-libiberty target-libstdc++-v3 
> target-libssp
>     (Any other directories should still work fine.)
> checking for bison... bison
> checking for bison... bison
> checking for gm4... gm4
> checking for flex... (cached) flex
> checking for flex... flex
> checking for makeinfo... makeinfo
> checking for expect... expect
> checking for runtest... no
> checking for ar... ar
> checking for as... as
> checking for dlltool... no
> checking for ld... ld
> checking for lipo... no
> checking for nm... nm
> checking for ranlib... ranlib
> checking for strip... strip
> checking for windres... no
> checking for windmc... no
> checking for objcopy... objcopy
> checking for objdump... objdump
> checking for avr-cc... no
> checking for avr-gcc... no
> checking for avr-c++... no
> checking for avr-g++... no
> checking for avr-cxx... no
> checking for avr-gxx... no
> checking for avr-gcc... no
> checking for avr-gcj... no
> checking for avr-gfortran... no
> checking for ar... /usr/local/avr/bin/ar
> checking for as... /usr/local/avr/bin/as
> checking for dlltool... no
> checking for avr-dlltool... no
> checking for ld... /usr/local/avr/bin/ld
> checking for lipo... no
> checking for avr-lipo... no
> checking for nm... /usr/local/avr/bin/nm
> checking for objdump... /usr/local/avr/bin/objdump
> checking for ranlib... /usr/local/avr/bin/ranlib
> checking for strip... /usr/local/avr/bin/strip
> checking for windres... no
> checking for avr-windres... no
> checking for windmc... no
> checking for avr-windmc... no
> checking where to find the target ar... pre-installed in /usr/local/avr/bin
> checking where to find the target as... pre-installed in /usr/local/avr/bin
> checking where to find the target cc... just compiled
> checking where to find the target c++... just compiled
> checking where to find the target c++ for libstdc++... just compiled
> checking where to find the target dlltool... pre-installed
> checking where to find the target gcc... just compiled
> checking where to find the target gcj... pre-installed
> checking where to find the target gfortran... pre-installed
> checking where to find the target ld... pre-installed in /usr/local/avr/bin
> checking where to find the target lipo... pre-installed
> checking where to find the target nm... pre-installed in /usr/local/avr/bin
> checking where to find the target objdump... pre-installed in 
> /usr/local/avr/bin
> checking where to find the target ranlib... pre-installed in 
> /usr/local/avr/bin
> checking where to find the target strip... pre-installed in /usr/local/avr/bin
> checking where to find the target windres... pre-installed
> checking where to find the target windmc... pre-installed
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking whether -fkeep-inline-functions is supported... yes
> configure: creating ./config.status
> config.status: creating Makefile
>>>> Running build in devel/avr/gcc at 1448297356
> ===> devel/avr/gcc
> ===>  Building for avr-gcc-4.3.4p1
> gmake[1]: Entering directory '/usr/obj/ports/avr-gcc-4.3.4/build-amd64'
> mkdir ./fixincludes
> Configuring in ./fixincludes
> configure: loading site script /usr/obj/ports/avr-gcc-4.3.4/config.site
> configure: creating cache ./config.cache
> checking build system type... x86_64-unknown-openbsd5.8
> checking host system type... x86_64-unknown-openbsd5.8
> checking target system type... avr-unknown-none
> checking for x86_64-unknown-openbsd5.8-gcc... cc
> 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... (cached) o
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether cc accepts -g... (cached) yes
> checking for cc option to accept ISO C89... none needed
> checking whether cc supports -W... yes
> checking whether cc supports -Wall... yes
> checking whether cc supports -Wwrite-strings... yes
> checking whether cc supports -Wstrict-prototypes... yes
> checking whether cc supports -Wmissing-prototypes... yes
> checking whether cc supports -Wold-style-definition... yes
> checking whether cc supports -Wmissing-format-attribute... yes
> checking whether cc supports -Wno-overlength-strings... yes
> checking whether cc supports -pedantic -Wno-long-long... yes
> checking how to run the C preprocessor... cc -E
> checking for grep that handles long lines and -e... (cached) /usr/bin/grep
> checking for egrep... (cached) /usr/bin/egrep
> checking for ANSI C header files... (cached) yes
> checking for sys/types.h... (cached) yes
> checking for sys/stat.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for memory.h... (cached) yes
> checking for strings.h... (cached) yes
> checking for inttypes.h... (cached) yes
> checking for stdint.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for stddef.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for strings.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for fcntl.h... (cached) yes
> checking for sys/file.h... (cached) yes
> checking for sys/stat.h... (cached) yes
> checking for clearerr_unlocked... no
> checking for feof_unlocked... no
> checking for ferror_unlocked... no
> checking for fflush_unlocked... no
> checking for fgetc_unlocked... no
> checking for fgets_unlocked... no
> checking for fileno_unlocked... no
> checking for fprintf_unlocked... no
> checking for fputc_unlocked... no
> checking for fputs_unlocked... no
> checking for fread_unlocked... no
> checking for fwrite_unlocked... no
> checking for getchar_unlocked... yes
> checking for getc_unlocked... (cached) yes
> checking for putchar_unlocked... (cached) yes
> checking for putc_unlocked... (cached) yes
> checking whether abort is declared... yes
> checking whether asprintf is declared... yes
> checking whether basename is declared... no
> checking whether errno is declared... no
> checking whether vasprintf is declared... yes
> checking whether clearerr_unlocked is declared... no
> checking whether feof_unlocked is declared... no
> checking whether ferror_unlocked is declared... no
> checking whether fflush_unlocked is declared... no
> checking whether fgetc_unlocked is declared... no
> checking whether fgets_unlocked is declared... no
> checking whether fileno_unlocked is declared... no
> checking whether fprintf_unlocked is declared... no
> checking whether fputc_unlocked is declared... no
> checking whether fputs_unlocked is declared... no
> checking whether fread_unlocked is declared... no
> checking whether fwrite_unlocked is declared... no
> checking whether getchar_unlocked is declared... yes
> checking whether getc_unlocked is declared... yes
> checking whether putchar_unlocked is declared... yes
> checking whether putc_unlocked is declared... yes
> checking for an ANSI C-conforming const... (cached) yes
> checking for sys/mman.h... (cached) yes
> checking for mmap... (cached) yes
> checking whether read-only mmap of a plain file works... yes
> checking whether mmap from /dev/zero works... yes
> checking for MAP_ANON(YMOUS)... yes
> checking whether mmap with MAP_ANON(YMOUS) works... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> configure: updating cache ./config.cache
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating mkheaders.almost
> config.status: creating config.h
> mkdir ./libiberty
> Configuring in ./libiberty
> configure: loading site script /usr/obj/ports/avr-gcc-4.3.4/config.site
> configure: creating cache ./config.cache
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for makeinfo... makeinfo --split-size=5000000
> checking for perl... (cached) /usr/bin/perl
> checking build system type... x86_64-unknown-openbsd5.8
> checking host system type... x86_64-unknown-openbsd5.8
> checking for x86_64-unknown-openbsd5.8-ar... ar
> checking for x86_64-unknown-openbsd5.8-ranlib... ranlib
> checking for x86_64-unknown-openbsd5.8-gcc... cc
> 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... (cached) o
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether cc accepts -g... (cached) yes
> checking for cc option to accept ANSI C... none needed
> checking how to run the C preprocessor... cc -E
> checking whether cc supports -W... yes
> checking whether cc supports -Wall... yes
> checking whether cc supports -Wwrite-strings... yes
> checking whether cc supports -Wc++-compat... yes
> checking whether cc supports -Wstrict-prototypes... yes
> checking whether cc supports -pedantic ... yes
> checking whether cc understands -c and -o together... yes
> checking for an ANSI C-conforming const... (cached) yes
> checking for inline... inline
> checking whether byte ordering is bigendian... no
> checking for a BSD-compatible install... install -c
> checking for sys/file.h... (cached) yes
> checking for sys/param.h... (cached) yes
> checking for limits.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for malloc.h... (cached) no
> checking for string.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for strings.h... (cached) yes
> checking for sys/time.h... (cached) yes
> checking for time.h... (cached) yes
> checking for sys/resource.h... (cached) yes
> checking for sys/stat.h... (cached) yes
> checking for sys/mman.h... (cached) yes
> checking for fcntl.h... (cached) yes
> checking for alloca.h... no
> checking for sys/pstat.h... no
> checking for sys/sysmp.h... no
> checking for sys/sysinfo.h... no
> checking for machine/hal_sysinfo.h... no
> checking for sys/table.h... no
> checking for sys/sysctl.h... (cached) yes
> checking for sys/systemcfg.h... no
> checking for stdint.h... (cached) yes
> checking for stdio_ext.h... no
> checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
> checking whether time.h and sys/time.h may both be included... (cached) yes
> checking whether errno must be declared... no
> checking for egrep... (cached) grep -E
> checking for ANSI C header files... (cached) yes
> checking for sys/types.h... (cached) yes
> checking for sys/stat.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for memory.h... (cached) yes
> checking for strings.h... (cached) yes
> checking for inttypes.h... (cached) yes
> checking for stdint.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for int... (cached) yes
> checking size of int... 4
> checking for uintptr_t... yes
> checking for a 64-bit type... uint64_t
> checking for pid_t... (cached) yes
> checking for library containing strerror... none required
> checking for asprintf... (cached) yes
> checking for atexit... (cached) yes
> checking for basename... (cached) yes
> checking for bcmp... (cached) yes
> checking for bcopy... (cached) yes
> checking for bsearch... (cached) yes
> checking for bzero... (cached) yes
> checking for calloc... (cached) yes
> checking for clock... (cached) yes
> checking for ffs... (cached) yes
> checking for getcwd... (cached) yes
> checking for getpagesize... (cached) yes
> checking for gettimeofday... (cached) yes
> checking for index... (cached) yes
> checking for insque... (cached) yes
> checking for memchr... (cached) yes
> checking for memcmp... (cached) yes
> checking for memcpy... (cached) yes
> checking for memmove... (cached) yes
> checking for mempcpy... no
> checking for memset... (cached) yes
> checking for mkstemps... (cached) yes
> checking for putenv... (cached) yes
> checking for random... (cached) yes
> checking for rename... (cached) yes
> checking for rindex... (cached) yes
> checking for setenv... (cached) yes
> checking for snprintf... (cached) yes
> checking for sigsetmask... (cached) yes
> checking for stpcpy... (cached) yes
> checking for stpncpy... yes
> checking for strcasecmp... (cached) yes
> checking for strchr... (cached) yes
> checking for strdup... (cached) yes
> checking for strncasecmp... (cached) yes
> checking for strndup... yes
> checking for strrchr... (cached) yes
> checking for strstr... (cached) yes
> checking for strtod... (cached) yes
> checking for strtol... (cached) yes
> checking for strtoul... (cached) yes
> checking for strverscmp... no
> checking for tmpnam... (cached) yes
> checking for vasprintf... (cached) yes
> checking for vfprintf... (cached) yes
> checking for vprintf... (cached) yes
> checking for vsnprintf... (cached) yes
> checking for vsprintf... (cached) yes
> checking for waitpid... (cached) yes
> checking whether alloca needs Cray hooks... no
> checking stack direction for C alloca... -1
> checking for unistd.h... (cached) yes
> checking for vfork.h... no
> checking for fork... (cached) yes
> checking for vfork... (cached) yes
> checking for working fork... (cached) yes
> checking for working vfork... (cached) yes
> checking for _doprnt... no
> checking for sys_errlist... yes
> checking for sys_nerr... yes
> checking for sys_siglist... yes
> checking for external symbol _system_configuration... no
> checking for getrusage... (cached) yes
> checking for on_exit... no
> checking for psignal... (cached) yes
> checking for strerror... (cached) yes
> checking for strsignal... (cached) yes
> checking for sysconf... (cached) yes
> checking for times... (cached) yes
> checking for sbrk... (cached) yes
> checking for gettimeofday... (cached) yes
> checking for realpath... (cached) yes
> checking for canonicalize_file_name... no
> checking for pstat_getstatic... no
> checking for pstat_getdynamic... no
> checking for sysmp... no
> checking for getsysinfo... no
> checking for table... no
> checking for sysctl... (cached) yes
> checking for wait3... (cached) yes
> checking for wait4... (cached) yes
> checking for __fsetlocking... no
> checking whether basename is declared... no
> checking whether ffs is declared... yes
> checking whether asprintf is declared... yes
> checking whether vasprintf is declared... yes
> checking whether snprintf is declared... yes
> checking whether vsnprintf is declared... yes
> checking whether calloc is declared... yes
> checking whether getenv is declared... yes
> checking whether getopt is declared... yes
> checking whether malloc is declared... yes
> checking whether realloc is declared... yes
> checking whether sbrk is declared... yes
> checking whether strverscmp is declared... no
> checking whether canonicalize_file_name must be declared... yes
> checking for stdlib.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for getpagesize... (cached) yes
> checking for working mmap... (cached) yes
> checking for working strncmp... yes
> updating cache ./config.cache
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating testsuite/Makefile
> config.status: creating config.h
> config.status: executing default commands
> gmake[2]: Entering directory 
> '/usr/obj/ports/avr-gcc-4.3.4/build-amd64/libiberty'
> if [ x"" != x ] && [ ! -d pic ]; then \
>   mkdir pic; \
> else true; fi
> touch stamp-picdir
> if [ x"" != x ]; then \
>   cc -c -DHAVE_CONFIG_H -I/usr/local/include -I. 
> -I/usr/obj/ports/avr-gcc-4.3.4/gcc-4.3.4/libiberty/../include  -W -Wall 
> -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic   
> /usr/obj/ports/avr-gcc-4.3.4/gcc-4.3.4/libiberty/regex.c -o pic/regex.o; \
> else true; fi
> cc -c -DHAVE_CONFIG_H -I/usr/local/include -I. 
> -I/usr/obj/ports/avr-gcc-4.3.4/gcc-4.3.4/libiberty/../include  -W -Wall 
> -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  
> /usr/obj/ports/avr-gcc-4.3.4/gcc-4.3.4/libiberty/regex.c -o regex.o
> if [ x"" != x ]; then \
>   cc -c -DHAVE_CONFIG_H -I/usr/local/include -I. 
> -I/usr/obj/ports/avr-gcc-4.3.4/gcc-4.3.4/libiberty/../include  -W -Wall 
> -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic   
> /usr/obj/ports/avr-gcc-4.3.4/gcc-4.3.4/libiberty/cplus-dem.c -o 
> pic/cplus-dem.o; \
> else true; fi
> cc -c -DHAVE_CONFIG_H -I/usr/local/include -I. 
> -I/usr/obj/ports/avr-gcc-4.3.4/gcc-4.3.4/libiberty/../include  -W -Wall 
> -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  
> /usr/obj/ports/avr-gcc-4.3.4/gcc-4.3.4/libiberty/cplus-dem.c -o cplus-dem.o
> if [ x"" != x ]; then \
>   cc -c -DHAVE_CONFIG_H -I/usr/local/include -I. 
> -I/usr/obj/ports/avr-gcc-4.3.4/gcc-4.3.4/libiberty/../include  -W -Wall 
> -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic   
> /usr/obj/ports/avr-gcc-4.3.4/gcc-4.3.4/libiberty/cp-demangle.c -o 
> pic/cp-demangle.o; \
> else true; fi
> cc -c -DHAVE_CONFIG_H -I/usr/local/include -I. 
> -I/usr/obj/ports/avr-gcc-4.3.4/gcc-4.3.4/libiberty/../include  -W -Wall 
> -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  
> /usr/obj/ports/avr-gcc-4.3.4/gcc-4.3.4/libiberty/cp-demangle.c -o 
> cp-demangle.o
> In file included from 
> /usr/obj/ports/avr-gcc-4.3.4/gcc-4.3.4/libiberty/cp-demangle.c:127:
> /usr/obj/ports/avr-gcc-4.3.4/gcc-4.3.4/libiberty/../include/libiberty.h:87: 
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PARAMS'
> /usr/obj/ports/avr-gcc-4.3.4/gcc-4.3.4/libiberty/../include/libiberty.h:91: 
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PARAMS'
> Makefile:600: recipe for target 'cp-demangle.o' failed
> gmake[2]: *** [cp-demangle.o] Error 1
> gmake[2]: Leaving directory 
> '/usr/obj/ports/avr-gcc-4.3.4/build-amd64/libiberty'
> Makefile:7567: recipe for target 'all-libiberty' failed
> gmake[1]: *** [all-libiberty] Error 2
> gmake[1]: Leaving directory '/usr/obj/ports/avr-gcc-4.3.4/build-amd64'
> Makefile:698: recipe for target 'all' failed
> gmake: *** [all] Error 2
> *** Error 2 in devel/avr/gcc (/usr/ports/infrastructure/mk/bsd.port.mk:2770 
> '/usr/obj/ports/avr-gcc-4.3.4/build-amd64/.build_done')
> *** Error 1 in devel/avr/gcc (/usr/ports/infrastructure/mk/bsd.port.mk:2491 
> 'build')
> ===> Exiting devel/avr/gcc with an error
> *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:147 'build')
> Error: job failed 256
> 

That's an old problem, posted solution to ports@ before.

It happens when gdb is installed when building. Found under my old
e-mail address mail box, also copied you in at the time about 1yr ago.

Also you can hit the same problem with devel/arm-elf/gcc

It's the same solution for both. Remove the extra include, then it
doesn't find the conflicting include.

avr-gcc built for me yesterday on amd64, but I have my changes still in
place.


Reply via email to