[Bug 252996] mail/dcc-dccd: sed(1) doesn't understand \s

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 25 12:58:30 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252996

            Bug ID: 252996
           Summary: mail/dcc-dccd: sed(1) doesn't understand \s
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkubaj at FreeBSD.org
          Reporter: Trond.Endrestol at ximalas.info
          Assignee: pkubaj at FreeBSD.org
             Flags: maintainer-feedback?(pkubaj at FreeBSD.org)

Created attachment 221901
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=221901&action=edit
Patch for mail/dcc-dccd/Makefile

On 13.0-ALPHA2, sed(1) complains:

--------------------------------------------------------------------------------
--  Phase: patch
--------------------------------------------------------------------------------
===>  Patching for dcc-dccd-2.3.167_1
/usr/bin/sed -i.bak -e 's,md5.c ,,'
/construction/xports/mail/dcc-dccd/work/dcc-2.3.167/clntlib/Makefile.in
/usr/bin/sed -i.bak -e 's,^\(BININSTALL.*\),\1 -s,p'     -e
's,^BIN\(INSTALL\s*=\s*.*\) -s$,SCRIPT\1,'
/construction/xports/mail/dcc-dccd/work/dcc-2.3.167/Makefile.inc.in
sed: 1: "s,^BIN\(INSTALL\s*=\s*. ...": RE error: trailing backslash (\)
*** Error code 1

Stop.
make[1]: stopped in /xports/mail/dcc-dccd
*** Error code 1

The attached patch attempts to correct this problem, only to reveal a new
problem:

--- dbclean ---
cc  -fstack-protector-strong    dbclean.o ../srvrlib/libsrvr.a
../clntlib/libclnt.a ../dcclib/libdcc.a -lmd -lm -o dbclean
ld: error: duplicate symbol: grey_on
>>> defined at db.c
>>>            db.o:(grey_on) in archive ../srvrlib/libsrvr.a
>>> defined at clnt_send.c
>>>            clnt_send.o:(.bss+0x400) in archive ../clntlib/libclnt.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [dbclean] Error code 1

make[3]: stopped in /construction/xports/mail/dcc-dccd/work/dcc-2.3.167/dbclean
1 error

make[3]: stopped in /construction/xports/mail/dcc-dccd/work/dcc-2.3.167/dbclean
*** [all] Error code 2

make[2]: stopped in /construction/xports/mail/dcc-dccd/work/dcc-2.3.167
1 error

At this point I'm lost.

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


More information about the freebsd-ports-bugs mailing list