I'm upgrading my server from 10.3 to 11.1, following the instructions at Upgrading Using "FreeBSD Update" where everything went basically by the book right up to "rebuild all third-party applications (e.g., ports installed from the ports tree)."
There are a number of ports that will not build correctly, the latest one I found is devel/binutils where the libiberty.h header file is *SERIOUSLY* broken. I edited the file, built and installed the port, then went back to running [/cmd]portmaster -Raf[/cmd] to build the rest of the ports that need upgrading. The problem is, though, that
How can I tell
There are a number of ports that will not build correctly, the latest one I found is devel/binutils where the libiberty.h header file is *SERIOUSLY* broken. I edited the file, built and installed the port, then went back to running [/cmd]portmaster -Raf[/cmd] to build the rest of the ports that need upgrading. The problem is, though, that
portmaster
immediately went to build devel/binutils, wiping out the file I had just fixed - and putting the port back into an unbuildable condition.How can I tell
portmaster
that a port has been upgraded so it leaves it alone?
Code:
checking for working assert macro... In file included from ./cp-demangle.c:138:
./../include/libiberty.h:112:38: error: expected function body after function declarator
extern char *basename (const char *) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1);
^
./../include/libiberty.h:123:45: error: expected function body after function declarator
extern const char *lbasename (const char *) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1);
^
./../include/libiberty.h:128:49: error: yes
expected function bodychecking for wchar.h... after function declarator
yes
extern const char *dos_lbasename (const char *) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1);
^
./../include/libiberty.h:134:50: error: expected function body after function declarator
extern const char *unix_lbasename (const char *) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1);
^
./../include/libiberty.h:144:58: error: expected function body after function declarator
extern char *concat (const char *, ...) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_SENTINEL;
^
./../include/libiberty.h:153:68: error: expected function body after function declarator
extern char *reconcat (char *, const char *, ...) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_SENTINEL;
^
./../include/libiberty.h:166: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:173:47: error: expected function body after function declarator
extern char *concat_copy2 (const char *, ...) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_SENTINEL;
^
./../include/libiberty.h:232:41: error: expected function body after function declarator
extern const char *choose_tmpdir (void) ATTRIBUTE_RETURNS_NONNULL;
^
./../include/libiberty.h:236:55: error: expected function body after function declarator
extern char *choose_temp_base (void) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL;
^
./../include/libiberty.h:266:30: error: expected function body after function declarator
extern char *xstrerror (int) ATTRIBUTE_RETURNS_NONNULL;
^
./../include/libiberty.h:308:48: error: expected function body after function declarator
extern void *xmalloc (size_t) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL;
^
./../include/libiberty.h:314:40: error: expected function body after function declarator
extern void *xrealloc (void *, size_t) ATTRIBUTE_RETURNS_NONNULL;
^
./../include/libiberty.h:319:56: error: expected function body after function declarator
extern void *xcalloc (size_t, size_t) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL;
^
./../include/libiberty.h:323:54: error: expected function body after function declarator
extern char *xstrdup (const char *) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL;
^
./../include/libiberty.h:327:63: error: expected function body after function declarator
extern char *xstrndup (const char *, size_t) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL;
^
./../include/libiberty.h:331:70: error: expected function body after function declarator
checking for sys/wait.h that is POSIX.1 compatible... extern void *xmemdup (const void *, size_t, size_t) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL;
^
./../include/libiberty.h:420:28: error: expected function body after function declarator
const char *tempbase) ATTRIBUTE_RETURNS_NONNULL;