Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2018 12:23:35 +0200
From:      Jakob Breivik Grimstveit <jakob@grimstveit.no>
To:        FreeBSD Ports mailing list <freebsd-ports@freebsd.org>
Subject:   Error building net/librsync2
Message-ID:  <CAFVH1KUTvXZ1YyV7Ep_TP99vcYjj%2B3ABHeUNM5q0SwFsVVahNg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
$ uname -a
FreeBSD core2.grimstveit.no 11.2-RELEASE-p3 FreeBSD 11.2-RELEASE-p3 #7
r338607: Wed Sep 12 13:24:12 CEST 2018
root@core2.grimstveit.no:/usr/obj/usr/src/sys/CORE2
amd64

[...]
[22/53] /usr/bin/cc -Drsync_EXPORTS -I/usr/local/include -Isrc/blake2 -Isrc
-O2 -pipe -march=native  -fstack-protector -fno-strict-aliasing -Wall -O2
-pipe -march=native  -fstack-protector -fno-strict-aliasing -fPIC -MD -MT
CMakeFiles/rsync.dir/src/scoop.c.o -MF CMakeFiles/rsync.dir/src/scoop.c.o.d
-o CMakeFiles/rsync.dir/src/scoop.c.o   -c src/scoop.c
[23/53] /usr/bin/cc -Drsync_EXPORTS -I/usr/local/include -Isrc/blake2 -Isrc
-O2 -pipe -march=native  -fstack-protector -fno-strict-aliasing -Wall -O2
-pipe -march=native  -fstack-protector -fno-strict-aliasing -fPIC -MD -MT
CMakeFiles/rsync.dir/src/version.c.o -MF
CMakeFiles/rsync.dir/src/version.c.o.d -o
CMakeFiles/rsync.dir/src/version.c.o   -c src/version.c
[24/53] /usr/bin/cc -Drsync_EXPORTS -I/usr/local/include -Isrc/blake2 -Isrc
-O2 -pipe -march=native  -fstack-protector -fno-strict-aliasing -Wall -O2
-pipe -march=native  -fstack-protector -fno-strict-aliasing -fPIC -MD -MT
CMakeFiles/rsync.dir/src/util.c.o -MF CMakeFiles/rsync.dir/src/util.c.o.d
-o CMakeFiles/rsync.dir/src/util.c.o   -c src/util.c
[25/53] /usr/bin/cc -Drsync_EXPORTS -I/usr/local/include -Isrc/blake2 -Isrc
-O2 -pipe -march=native  -fstack-protector -fno-strict-aliasing -Wall -O2
-pipe -march=native  -fstack-protector -fno-strict-aliasing -fPIC -MD -MT
CMakeFiles/rsync.dir/src/mdfour.c.o -MF
CMakeFiles/rsync.dir/src/mdfour.c.o.d -o
CMakeFiles/rsync.dir/src/mdfour.c.o   -c src/mdfour.c
[26/53] /usr/bin/cc -Drsync_EXPORTS -I/usr/local/include -Isrc/blake2 -Isrc
-O2 -pipe -march=native  -fstack-protector -fno-strict-aliasing -Wall -O2
-pipe -march=native  -fstack-protector -fno-strict-aliasing -fPIC -MD -MT
CMakeFiles/rsync.dir/src/trace.c.o -MF CMakeFiles/rsync.dir/src/trace.c.o.d
-o CMakeFiles/rsync.dir/src/trace.c.o   -c src/trace.c
[27/53] /usr/bin/cc -Drsync_EXPORTS -I/usr/local/include -Isrc/blake2 -Isrc
-O2 -pipe -march=native  -fstack-protector -fno-strict-aliasing -Wall -O2
-pipe -march=native  -fstack-protector -fno-strict-aliasing -fPIC -MD -MT
CMakeFiles/rsync.dir/src/tube.c.o -MF CMakeFiles/rsync.dir/src/tube.c.o.d
-o CMakeFiles/rsync.dir/src/tube.c.o   -c src/tube.c
[28/53] /usr/bin/cc -Drsync_EXPORTS -I/usr/local/include -Isrc/blake2 -Isrc
-O2 -pipe -march=native  -fstack-protector -fno-strict-aliasing -Wall -O2
-pipe -march=native  -fstack-protector -fno-strict-aliasing -fPIC -MD -MT
CMakeFiles/rsync.dir/src/whole.c.o -MF CMakeFiles/rsync.dir/src/whole.c.o.d
-o CMakeFiles/rsync.dir/src/whole.c.o   -c src/whole.c
[29/53] /usr/bin/cc  -I/usr/local/include -Isrc/blake2 -Isrc -O2 -pipe
-march=native  -fstack-protector -fno-strict-aliasing -Wall -O2 -pipe
-march=native  -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
/usr/bin/cc  -I/usr/local/include -Isrc/blake2 -Isrc -O2 -pipe
-march=native  -fstack-protector -fno-strict-aliasing -Wall -O2 -pipe
-march=native  -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.
[30/53] /usr/bin/cc  -I/usr/local/include -Isrc/blake2 -Isrc -O2 -pipe
-march=native  -fstack-protector -fno-strict-aliasing -Wall -O2 -pipe
-march=native  -fstack-protector -fno-strict-aliasing -MD -MT
CMakeFiles/sumset_test.dir/src/util.c.o -MF
CMakeFiles/sumset_test.dir/src/util.c.o.d -o
CMakeFiles/sumset_test.dir/src/util.c.o   -c src/util.c
[31/53] /usr/bin/cc  -I/usr/local/include -Isrc/blake2 -Isrc -O2 -pipe
-march=native  -fstack-protector -fno-strict-aliasing -Wall -O2 -pipe
-march=native  -fstack-protector -fno-strict-aliasing -MD -MT
CMakeFiles/sumset_test.dir/src/hex.c.o -MF
CMakeFiles/sumset_test.dir/src/hex.c.o.d -o
CMakeFiles/sumset_test.dir/src/hex.c.o   -c src/hex.c
[32/53] /usr/bin/cc  -I/usr/local/include -Isrc/blake2 -Isrc -O2 -pipe
-march=native  -fstack-protector -fno-strict-aliasing -Wall -O2 -pipe
-march=native  -fstack-protector -fno-strict-aliasing -MD -MT
CMakeFiles/sumset_test.dir/src/trace.c.o -MF
CMakeFiles/sumset_test.dir/src/trace.c.o.d -o
CMakeFiles/sumset_test.dir/src/trace.c.o   -c src/trace.c
[33/53] /usr/bin/cc -Drsync_EXPORTS -I/usr/local/include -Isrc/blake2 -Isrc
-O2 -pipe -march=native  -fstack-protector -fno-strict-aliasing -Wall -O2
-pipe -march=native  -fstack-protector -fno-strict-aliasing -fPIC -MD -MT
CMakeFiles/rsync.dir/src/sumset.c.o -MF
CMakeFiles/rsync.dir/src/sumset.c.o.d -o
CMakeFiles/rsync.dir/src/sumset.c.o   -c src/sumset.c
[34/53] /usr/bin/cc  -I/usr/local/include -Isrc/blake2 -Isrc -O2 -pipe
-march=native  -fstack-protector -fno-strict-aliasing -Wall -O2 -pipe
-march=native  -fstack-protector -fno-strict-aliasing -MD -MT
CMakeFiles/sumset_test.dir/src/checksum.c.o -MF
CMakeFiles/sumset_test.dir/src/checksum.c.o.d -o
CMakeFiles/sumset_test.dir/src/checksum.c.o   -c src/checksum.c
[35/53] /usr/bin/cc  -I/usr/local/include -Isrc/blake2 -Isrc -O2 -pipe
-march=native  -fstack-protector -fno-strict-aliasing -Wall -O2 -pipe
-march=native  -fstack-protector -fno-strict-aliasing -MD -MT
CMakeFiles/sumset_test.dir/src/sumset.c.o -MF
CMakeFiles/sumset_test.dir/src/sumset.c.o.d -o
CMakeFiles/sumset_test.dir/src/sumset.c.o   -c src/sumset.c
[36/53] /usr/bin/cc -Drsync_EXPORTS -I/usr/local/include -Isrc/blake2 -Isrc
-O2 -pipe -march=native  -fstack-protector -fno-strict-aliasing -Wall -O2
-pipe -march=native  -fstack-protector -fno-strict-aliasing -fPIC -MD -MT
CMakeFiles/rsync.dir/src/blake2/blake2b-ref.c.o -MF
CMakeFiles/rsync.dir/src/blake2/blake2b-ref.c.o.d -o
CMakeFiles/rsync.dir/src/blake2/blake2b-ref.c.o   -c
src/blake2/blake2b-ref.c
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/net/librsync2

===>>> make build failed for net/librsync2
===>>> Aborting update

===>>> Update for net/librsync2 failed
===>>> Aborting update


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

This command has been saved to /tmp/portmasterfail.txt

librsync2-2.0.0_1                  <






--
Vyrdsamt,
    Jakob Breivik Grimstveit | +47 482 98 152
    http://grimstveit.no/jakob



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFVH1KUTvXZ1YyV7Ep_TP99vcYjj%2B3ABHeUNM5q0SwFsVVahNg>