代码:
==> Building and installing package
==> Making package: uisp 20050207-4 (Sun Apr 22 21:13:15 CST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found uisp-20050207.tar.gz
==> Validating source files with md5sums...
uisp-20050207.tar.gz ... Passed
==> Extracting Sources...
-> Extracting uisp-20050207.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... 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 for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for working strtod... yes
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for memset... yes
checking for select... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtol... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating uisp.1
config.status: creating uisp.spec
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
Making all in src
make[1]: Entering directory `/tmp/yaourt-tmp-a/aur-uisp/src/uisp-20050207/src'
make all-am
make[2]: Entering directory `/tmp/yaourt-tmp-a/aur-uisp/src/uisp-20050207/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -Werror -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT Avr.o -MD -MP -MF ".deps/Avr.Tpo" \
-c -o Avr.o `test -f 'Avr.C' || echo './'`Avr.C; \
then mv -f ".deps/Avr.Tpo" ".deps/Avr.Po"; \
else rm -f ".deps/Avr.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -Werror -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT AvrAtmel.o -MD -MP -MF ".deps/AvrAtmel.Tpo" \
-c -o AvrAtmel.o `test -f 'AvrAtmel.C' || echo './'`AvrAtmel.C; \
then mv -f ".deps/AvrAtmel.Tpo" ".deps/AvrAtmel.Po"; \
else rm -f ".deps/AvrAtmel.Tpo"; exit 1; \
fi
AvrAtmel.C: In member function 'void TAvrAtmel::SetAddress(TAddr)':
AvrAtmel.C:188:55: error: narrowing conversion of '((addr >> 8) & 255u)' from 'TAddr {aka unsigned int}' to 'TByte {aka unsigned char}' inside { } is ill-formed in C++11 [-Werror=narrowing]
AvrAtmel.C:188:55: error: narrowing conversion of '(addr & 255u)' from 'TAddr {aka unsigned int}' to 'TByte {aka unsigned char}' inside { } is ill-formed in C++11 [-Werror=narrowing]
AvrAtmel.C: In member function 'virtual void TAvrAtmel::WriteByte(TAddr, TByte, bool)':
AvrAtmel.C:297:46: error: narrowing conversion of '(((addr & 1u) != 0u) ? 'C' : 'c')' from 'char' to 'TByte {aka unsigned char}' inside { } is ill-formed in C++11 [-Werror=narrowing]
AvrAtmel.C: In member function 'void TAvrAtmel::WriteOldFuseBits(TByte)':
AvrAtmel.C:349:62: error: narrowing conversion of '((((int)val) & 31) | 160)' from 'int' to 'TByte {aka unsigned char}' inside { } is ill-formed in C++11 [-Werror=narrowing]
AvrAtmel.C: In member function 'virtual void TAvrAtmel::WriteLockBits(TByte)':
AvrAtmel.C:426:61: error: narrowing conversion of '(((((int)bits) << 1) & 255) | 249)' from 'int' to 'TByte {aka unsigned char}' inside { } is ill-formed in C++11 [-Werror=narrowing]
cc1plus: all warnings being treated as errors
make[2]: *** [AvrAtmel.o] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-a/aur-uisp/src/uisp-20050207/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-a/aur-uisp/src/uisp-20050207/src'
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build uisp.