Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Feb 2018 21:29:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 226012] net/socat: [PATCH] Fix Makefile dependency so that parallel make is reliable
Message-ID:  <bug-226012-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 226012
           Summary: net/socat: [PATCH] Fix Makefile dependency so that
                    parallel make is reliable
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ehaupt@FreeBSD.org
          Reporter: leres@freebsd.org
          Assignee: ehaupt@FreeBSD.org
             Flags: maintainer-feedback?(ehaupt@FreeBSD.org)
          Keywords: patch

Created attachment 190758
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D190758&action=
=3Dedit
patch to fix Makefile dependancy needed for parallel make

net/socat occasionally fails to build on all three of my poudriere build
servers. When I investigated I found that the Makefile was missing dependen=
cies
on two object files: vsnprintf_r.o snprinterr.o

Here's an example build failure:

    cc -O2 -pipe  -I/usr/local/include -Wno-unused-comparison -fstack-prote=
ctor
-fno-strict-aliasing -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H =
-I.
-Wl,-rpath,/usr/local/lib -L/usr/local/lib -fstack-protector -o filan
filan_main.o filan.o fdname.o error.o sycls.o sysutils.o utils.o vsnprintf_=
r.o
snprinterr.o -lwrap -lrt -lutil  -lssl -lcrypto
    cc: error: no such file or directory: 'vsnprintf_r.o'
    *** [filan] Error code 1

As expected it's one of the missing dependencies.

I submitted a patch upstream last September. The attached will solve this
problem between now and (I assume) the next release of socat.

Assuming this looks ok, I'm happy to work this PR or if you want to take it
that's good too.

--=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-226012-13>