Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Sep 2018 06:55:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 231373] net/librsync2: Build broken since update to 2.0.2
Message-ID:  <bug-231373-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231373

            Bug ID: 231373
           Summary: net/librsync2: Build broken since update to 2.0.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bdrewery@FreeBSD.org
          Reporter: freebsd@mnd.sc
          Assignee: bdrewery@FreeBSD.org
             Flags: maintainer-feedback?(bdrewery@FreeBSD.org)

As documented previously in bug #230154, the build is broken with the defau=
lt
system compiler (clang) since the update to upstream version 2.0.2. My syst=
em
is 11.2-RELEASE-p3 on amd64, but others have reported the same issue as far
back as 10.4 on x86.

Here is the log from the failing test compilaton:

[34/53] /usr/local/libexec/ccache/world/cc  -I/usr/local/include -Isrc/blak=
e2
-Isrc -O3 -pipe -funroll-loops -march=3Dnative  -fstack-protector
-fno-strict-aliasing -Wall -O3 -pipe -funroll-loops -march=3Dnative=20
-fstack-protector -fno-strict-aliasing -MD -MT
CMakeFiles/sumset_test.dir/tests/sumset_test.c.o -MF
CMakeFiles/sumset_test.dir/tests/sumset_test.c.o.d -o
CMakeFiles/sumset_test.dir/tests/sumset_test.c.o   -c tests/sumset_test.c
FAILED: CMakeFiles/sumset_test.dir/tests/sumset_test.c.o=20
/usr/local/libexec/ccache/world/cc  -I/usr/local/include -Isrc/blake2 -Isrc=
 -O3
-pipe -funroll-loops -march=3Dnative  -fstack-protector -fno-strict-aliasing
-Wall -O3 -pipe -funroll-loops -march=3Dnative  -fstack-protector
-fno-strict-aliasing -MD -MT CMakeFiles/sumset_test.dir/tests/sumset_test.c=
.o
-MF CMakeFiles/sumset_test.dir/tests/sumset_test.c.o.d -o
CMakeFiles/sumset_test.dir/tests/sumset_test.c.o   -c tests/sumset_test.c
In file included from tests/sumset_test.c:27:
/usr/local/include/librsync.h:430:21: error: unknown type name 'FILE'
void rs_mdfour_file(FILE *in_file, char *result);
                    ^
/usr/local/include/librsync.h:432:23: error: unknown type name 'FILE'
rs_result rs_sig_file(FILE *old_file, FILE *sig_file,
                      ^
/usr/local/include/librsync.h:432:39: error: unknown type name 'FILE'
rs_result rs_sig_file(FILE *old_file, FILE *sig_file,
                                      ^
/usr/local/include/librsync.h:437:27: error: unknown type name 'FILE'
rs_result rs_loadsig_file(FILE *, rs_signature_t **, rs_stats_t *);
                          ^
/usr/local/include/librsync.h:441:43: error: unknown type name 'FILE'
rs_result rs_delta_file(rs_signature_t *, FILE *new_file, FILE *delta_file,
rs_stats_t *);
                                          ^
/usr/local/include/librsync.h:441:59: error: unknown type name 'FILE'
rs_result rs_delta_file(rs_signature_t *, FILE *new_file, FILE *delta_file,
rs_stats_t *);
                                                          ^
/usr/local/include/librsync.h:443:25: error: unknown type name 'FILE'
rs_result rs_patch_file(FILE *basis_file, FILE *delta_file, FILE *new_file,
rs_stats_t *);
                        ^
/usr/local/include/librsync.h:443:43: error: unknown type name 'FILE'
rs_result rs_patch_file(FILE *basis_file, FILE *delta_file, FILE *new_file,
rs_stats_t *);
                                          ^
/usr/local/include/librsync.h:443:61: error: unknown type name 'FILE'
rs_result rs_patch_file(FILE *basis_file, FILE *delta_file, FILE *new_file,
rs_stats_t *);
                                                            ^
9 errors generated.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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