Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2016 14:10:52 +0200
From:      Willem Offermans <Willem@Offermans.Rompen.nl>
To:        freebsd-ports@FreeBSD.org
Subject:   Compiling binutils-2.25.1 failed
Message-ID:  <20160414121051.GA5047@vpn.offrom.nl>

next in thread | raw e-mail | index | archive | help
Dear FreeBSD friends,

I have inherited an ``old'' FreeBSD server. I like to bring it up to date.  
However I have problems to compile binutils-2.25.1.

config.status: executing default-1 commands
config.status: executing bfd_stdint.h commands
config.status: executing default commands
gmake[4]: Entering directory 
'/usr/ports/devel/binutils/work/binutils-2.25.1/libiberty'
if [ x"" != x ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
if [ x"" != x ] && [ ! -d noasan ]; then \
  mkdir noasan; \
else true; fi
touch stamp-noasandir
if [ x"" != x ]; then \
  cc -c -DHAVE_CONFIG_H -O2 -pipe  -I/usr/local/include -fstack-protector 
-fno-strict-aliasing  -I. -I./../include  -W -Wall -Wwrite-strings 
-Wc++-compat -Wstrict-prototypes -pedantic   ./regex.c -o pic/regex.o; \
else true; fi
if [ x"" != x ]; then \
  cc -c -DHAVE_CONFIG_H -O2 -pipe  -I/usr/local/include -fstack-protector 
-fno-strict-aliasing  -I. -I./../include  -W -Wall -Wwrite-strings 
-Wc++-compat -Wstrict-prototypes -pedantic    ./regex.c -o noasan/regex.o; 
\
else true; fi
cc -c -DHAVE_CONFIG_H -O2 -pipe  -I/usr/local/include -fstack-protector 
-fno-strict-aliasing  -I. -I./../include  -W -Wall -Wwrite-strings 
-Wc++-compat -Wstrict-prototypes -pedantic  ./regex.c -o regex.o
if [ x"" != x ]; then \
  cc -c -DHAVE_CONFIG_H -O2 -pipe  -I/usr/local/include -fstack-protector 
-fno-strict-aliasing  -I. -I./../include  -W -Wall -Wwrite-strings 
-Wc++-compat -Wstrict-prototypes -pedantic   ./cplus-dem.c -o 
pic/cplus-dem.o; \
else true; fi
if [ x"" != x ]; then \
  cc -c -DHAVE_CONFIG_H -O2 -pipe  -I/usr/local/include -fstack-protector 
-fno-strict-aliasing  -I. -I./../include  -W -Wall -Wwrite-strings 
-Wc++-compat -Wstrict-prototypes -pedantic    ./cplus-dem.c -o 
noasan/cplus-dem.o; \
else true; fi
cc -c -DHAVE_CONFIG_H -O2 -pipe  -I/usr/local/include -fstack-protector 
-fno-strict-aliasing  -I. -I./../include  -W -Wall -Wwrite-strings 
-Wc++-compat -Wstrict-prototypes -pedantic  ./cplus-dem.c -o cplus-dem.o
if [ x"" != x ]; then \
  cc -c -DHAVE_CONFIG_H -O2 -pipe  -I/usr/local/include -fstack-protector 
-fno-strict-aliasing  -I. -I./../include  -W -Wall -Wwrite-strings 
-Wc++-compat -Wstrict-prototypes -pedantic   ./cp-demangle.c -o 
pic/cp-demangle.o; \
else true; fi
if [ x"" != x ]; then \
  cc -c -DHAVE_CONFIG_H -O2 -pipe  -I/usr/local/include -fstack-protector 
-fno-strict-aliasing  -I. -I./../include  -W -Wall -Wwrite-strings 
-Wc++-compat -Wstrict-prototypes -pedantic    ./cp-demangle.c -o 
noasan/cp-demangle.o; \
else true; fi
cc -c -DHAVE_CONFIG_H -O2 -pipe  -I/usr/local/include -fstack-protector 
-fno-strict-aliasing  -I. -I./../include  -W -Wall -Wwrite-strings 
-Wc++-compat -Wstrict-prototypes -pedantic  ./cp-demangle.c -o 
cp-demangle.o
In file included from ./cp-demangle.c:128:
./../include/libiberty.h:113:38: error: expected function body after 
function declarator
extern char *basename (const char *) ATTRIBUTE_RETURNS_NONNULL 
ATTRIBUTE_NONNULL(1);
				     ^
./../include/libiberty.h:124:45: error: expected function body after 
function declarator
extern const char *lbasename (const char *) ATTRIBUTE_RETURNS_NONNULL 
ATTRIBUTE_NONNULL(1);
					    ^
./../include/libiberty.h:129:49: error: expected function body after 
function declarator
extern const char *dos_lbasename (const char *) ATTRIBUTE_RETURNS_NONNULL 
ATTRIBUTE_NONNULL(1);
						^
./../include/libiberty.h:135:50: error: expected function body after 
function declarator
extern const char *unix_lbasename (const char *) ATTRIBUTE_RETURNS_NONNULL 
ATTRIBUTE_NONNULL(1);

						 ^
./../include/libiberty.h:145:58: error: expected function body after 
function declarator
extern char *concat (const char *, ...) ATTRIBUTE_MALLOC 
ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_SENTINEL;
							 ^
./../include/libiberty.h:154:68: error: expected function body after 
function declarator
extern char *reconcat (char *, const char *, ...) ATTRIBUTE_MALLOC 
ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_SENTINEL;
								   ^
./../include/libiberty.h:167:54: error: expected function body after 
function declarator
extern char *concat_copy (char *, const char *, ...) 
ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1) ATTRIBUTE_SENTINEL;
						     ^
./../include/libiberty.h:174:47: error: expected function body after 
function declarator
extern char *concat_copy2 (const char *, ...) ATTRIBUTE_RETURNS_NONNULL 
ATTRIBUTE_SENTINEL;
					      ^
./../include/libiberty.h:232:55: error: expected function body after 
function declarator
extern char *choose_temp_base (void) ATTRIBUTE_MALLOC 
ATTRIBUTE_RETURNS_NONNULL;
						      ^
./../include/libiberty.h:262:30: error: expected function body after 
function declarator
extern char *xstrerror (int) ATTRIBUTE_RETURNS_NONNULL;
			     ^
./../include/libiberty.h:304:48: error: expected function body after 
function declarator
extern void *xmalloc (size_t) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL;
					       ^
./../include/libiberty.h:310:40: error: expected function body after 
function declarator
extern void *xrealloc (void *, size_t) ATTRIBUTE_RETURNS_NONNULL;
				       ^
./../include/libiberty.h:315:56: error: expected function body after 
function declarator
extern void *xcalloc (size_t, size_t) ATTRIBUTE_MALLOC 
ATTRIBUTE_RETURNS_NONNULL;
						       ^
./../include/libiberty.h:319:54: error: expected function body after 
function declarator
extern char *xstrdup (const char *) ATTRIBUTE_MALLOC 
ATTRIBUTE_RETURNS_NONNULL;
						     ^
./../include/libiberty.h:323:63: error: expected function body after 
function declarator
extern char *xstrndup (const char *, size_t) ATTRIBUTE_MALLOC 
ATTRIBUTE_RETURNS_NONNULL;
							      ^
./../include/libiberty.h:327:70: error: expected function body after 
function declarator
extern void *xmemdup (const void *, size_t, size_t) ATTRIBUTE_MALLOC 
ATTRIBUTE_RETURNS_NONNULL;
								     ^
./../include/libiberty.h:405:28: error: expected function body after 
function declarator
				 const char *tempbase) 
ATTRIBUTE_RETURNS_NONNULL;
						       ^
17 errors generated.

Makefile:658: recipe for target 'cp-demangle.o' failed
gmake[4]: *** [cp-demangle.o] Error 1
gmake[4]: Leaving directory 
'/usr/ports/devel/binutils/work/binutils-2.25.1/libiberty'
Makefile:8356: recipe for target 'all-libiberty' failed
gmake[3]: *** [all-libiberty] Error 2
gmake[3]: Leaving directory 
'/usr/ports/devel/binutils/work/binutils-2.25.1'
Makefile:831: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
'/usr/ports/devel/binutils/work/binutils-2.25.1'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/binutils
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/binutils

===>>> make build failed for devel/binutils
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> devel/binutils 

Can someone give me a hint to solve this issue?


-- 
Met vriendelijke groeten,
With kind regards,
Mit freundlichen Gruessen,
De jrus wah,

Will

*************************************
 W.K. Offermans

                                       Powered by ....

                                            (__)
                                         \\\'',)
                                           \/  \ ^
                                           .\._/_)

                                       www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160414121051.GA5047>