Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2021 12:58:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 252996] mail/dcc-dccd: sed(1) doesn't understand \s
Message-ID:  <bug-252996-7788@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: Trond.Endrestol@ximalas.info
          Assignee: pkubaj@FreeBSD.org
             Flags: maintainer-feedback?(pkubaj@FreeBSD.org)

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

On 13.0-ALPHA2, sed(1) complains:

---------------------------------------------------------------------------=
-----
--  Phase: patch
---------------------------------------------------------------------------=
-----
=3D=3D=3D>  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*=3D\s*.*\) -s$,SCRIPT\1,'
/construction/xports/mail/dcc-dccd/work/dcc-2.3.167/Makefile.inc.in
sed: 1: "s,^BIN\(INSTALL\s*=3D\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/dbc=
lean
1 error

make[3]: stopped in /construction/xports/mail/dcc-dccd/work/dcc-2.3.167/dbc=
lean
*** [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.

--=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-252996-7788>