From owner-freebsd-ports@freebsd.org Tue Sep 18 11:12:42 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E940C109B16F for ; Tue, 18 Sep 2018 11:12:41 +0000 (UTC) (envelope-from se@freebsd.org) Received: from mailout08.t-online.de (mailout08.t-online.de [194.25.134.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 753E38B93B for ; Tue, 18 Sep 2018 11:12:41 +0000 (UTC) (envelope-from se@freebsd.org) Received: from fwd35.aul.t-online.de (fwd35.aul.t-online.de [172.20.27.145]) by mailout08.t-online.de (Postfix) with SMTP id 680D941DD62F; Tue, 18 Sep 2018 13:12:32 +0200 (CEST) Received: from Stefans-MBP-LAN.fritz.box (XL7HKsZA8htqGLUx4PjXnkx0-GNl7YPAhXoLxN-Qg7o9-guoCW64+Acg1O-o-HowZR@[93.200.57.131]) by fwd35.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1g2Dvd-3Ojmpk0; Tue, 18 Sep 2018 13:12:25 +0200 Subject: Re: Error building net/librsync2 To: Jakob Breivik Grimstveit References: From: Stefan Esser Openpgp: preference=signencrypt Autocrypt: addr=se@freebsd.org; prefer-encrypt=mutual; keydata= xsBNBFVxiRIBCADOLNOZBsqlplHUQ3tG782FNtVT33rQli9EjNt2fhFERHIo4NxHlWBpHLnU b0s4L/eItx7au0i7Gegv01A9LUMwOnAc9EFAm4EW3Wmoa6MYrcP7xDClohg/Y69f7SNpEs3x YATBy+L6NzWZbJjZXD4vqPgZSDuMcLU7BEdJf0f+6h1BJPnGuwHpsSdnnMrZeIM8xQ8PPUVQ L0GZkVojHgNUngJH6e21qDrud0B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Wn7wysBJ/8AIEfIByRaHQe3 pn/KwE57pB+zFbbQqB7YzeZb7/UUgR4zU2ZbOcEfwDZcHUbj0B3fGRsS3t0uiLlAd8w0sBZb SxrqzjdpDjIbOZkxssqUmvrsN67UG1AFWH9aD24keBS7YjPBS8hLxPeYV+Xz6vUL8fRZje/Z JgiBMIwyj6g2lH/zkdnxBdC0iG1xxJOLTaghMMeQyCdH6ef8+VMyAlAJsMckbOTvx63tY8z7 DFcrnTJfbe1EziRilVsEaK8tTzJzhcTfos+f3eBYWEilxe5HzIhYKJeC7lmsSUcGwa6+9VRg a0ctmi9Z8OgX Cc: FreeBSD Ports mailing list Message-ID: <6797c7a2-6f73-ab54-6695-99f67716d4ca@freebsd.org> Date: Tue, 18 Sep 2018 13:12:24 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: de-CH Content-Transfer-Encoding: 7bit X-ID: XL7HKsZA8htqGLUx4PjXnkx0-GNl7YPAhXoLxN-Qg7o9-guoCW64+Acg1O-o-HowZR X-TOI-MSGID: f76c1657-1059-40be-903a-775531c3447a X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2018 11:12:42 -0000 Am 18.09.18 um 12:23 schrieb Jakob Breivik Grimstveit: > $ 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 net/librsync2 > > This command has been saved to /tmp/portmasterfail.txt > > librsync2-2.0.0_1 < This is the 2nd report of this issue, but I cannot reproduce it on my amd64-CURRENT system. This might be caused by stdio.h being included by header-pollution on some but not all FreeBSD versions. Try adding "#include " at the top of tests/sumset_test.c: --- tests/sumset_test.c.orig 2018-02-27 11:08:36.000000000 +0100 +++ tests/sumset_test.c 2018-09-18 13:10:48.295360000 +0200 @@ -22,6 +22,7 @@ /* Force DEBUG on so that tests can use assert(). */ #undef NDEBUG #include "config.h" +#include #include #include #include "librsync.h" Regards, STefan