Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2016 23:04:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 211152] benchmarks/iozone: Build fails on typedef redefinition with different types ('long long' vs '__off64_t' (aka 'long'))
Message-ID:  <bug-211152-13-DKCSLm1XBQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211152-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211152-13@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #24 from Mark Millard <markmi@dsl-only.net> ---
(In reply to w.schwarzenfeld from comment #23)

When I applied the new patch for 3.444 use to benchmarks/iozone in -r418253=
 of
/user/ports the messages were normal (see later below after I show the build
problem) but when I tried to build benchmarks/iozone it failed with problems
for applying patch-libasync.c :

=3D=3D=3D>  Found saved configuration for iozone-3.434
=3D=3D=3D>   iozone-3.444 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by iozone-3.444 for building
=3D=3D=3D>  Extracting for iozone-3.444
=3D> SHA256 Checksum OK for iozone3_444.tgz.
=3D=3D=3D>  Patching for iozone-3.444
=3D=3D=3D>  Applying FreeBSD patches for iozone-3.444
No such line 1217 in input file, ignoring
32 out of 33 hunks failed--saving rejects to libasync.c.rej
=3D> Patch patch-libasync.c failed to apply cleanly.
=3D> Patch(es) patch-iozone.c applied cleanly.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/benchmarks/iozone
*** Error code 1

Stop.
make: stopped in /usr/ports/benchmarks/iozone

Your patch does not include anything for libasync.c and so leaves the older
patch-libasync.c in place.

FYI. . .

Applying your patch to -r418253 of /usr/ports and its benchmarks/iozone
reported:

Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: Makefile
|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
|--- Makefile   (revision 418690)
|+++ Makefile   (working copy)
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 2 with fuzz 1.
Hunk #2 succeeded at 12.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: distinfo
|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
|--- distinfo   (revision 418690)
|+++ distinfo   (working copy)
--------------------------
Patching file distinfo using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: files/patch-iozone.c
|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
|--- files/patch-iozone.c       (revision 418690)
|+++ files/patch-iozone.c       (working copy)
--------------------------
Patching file files/patch-iozone.c using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: files/patch-pit_server.c
|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
|--- files/patch-pit_server.c   (revision 418690)
|+++ files/patch-pit_server.c   (working copy)
--------------------------
Patching file files/patch-pit_server.c using Plan A...
Hunk #1 succeeded at 6.
done

(I cleaned out the 4 generated .orig files after this.)

--=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-211152-13-DKCSLm1XBQ>