[MacPorts] #42800: ddd-3.3.12_2.darwin_13.x86_64.tbz2 build error

MacPorts noreply at macports.org
Mon Mar 10 19:26:17 PDT 2014


#42800: ddd-3.3.12_2.darwin_13.x86_64.tbz2 build error
---------------------+--------------------------------
  Reporter:  rbd@…   |      Owner:  macports-tickets@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.2.1
Resolution:          |   Keywords:
      Port:  ddd     |
---------------------+--------------------------------
Changes (by ryandesign@…):

 * port:   => ddd


Old description:

> Hi, I am running MacOS 10.9.2 Mavericks and just upgraded to XCode 5.1. I
> completely wiped out and re-installed MacPorts from scratch. All went
> well except for the rebuild of ddd, which failed with compile errors. All
> was OK up to this point:
>
> /usr/bin/clang++ -DHAVE_CONFIG_H -I.  -I./..  -I/opt/local/include  -Os
> -Wall -W -Wwrite-strings -pipe -arch x86_64 -trigraphs  -MT cwd.o -MD -MP
> -MF .deps/cwd.Tpo -c -o cwd.o cwd.C
>
> In file included from cook.C:36:
>
> In file included from ./cook.h:31:
>
> ./strclass.h:813:19: error: friend declaration specifying a default
> argument must be a definition
>
>     friend string common_prefix(const string& x, const string& y,
>
> ./strclass.h:815:19: error: friend declaration specifying a default
> argument must be a definition
>
>     friend string common_suffix(const string& x, const string& y
>
> ./strclass.h:866:16: error: friend declaration specifying a default
> argument must be a definition
>
>     friend int readline(std::istream& s, string& x,
>

> 3 errors generated.
>
> make[2]: * [cook.o] Error 1

New description:

 Hi, I am running MacOS 10.9.2 Mavericks and just upgraded to XCode 5.1. I
 completely wiped out and re-installed MacPorts from scratch. All went well
 except for the rebuild of ddd, which failed with compile errors. All was
 OK up to this point:

 {{{
 /usr/bin/clang++ -DHAVE_CONFIG_H -I.  -I./..  -I/opt/local/include  -Os
 -Wall -W -Wwrite-strings -pipe -arch x86_64 -trigraphs  -MT cwd.o -MD -MP
 -MF .deps/cwd.Tpo -c -o cwd.o cwd.C
 In file included from cook.C:36:
 In file included from ./cook.h:31:
 ./strclass.h:813:19: error: friend declaration specifying a default
 argument must be a definition
     friend string common_prefix(const string& x, const string& y,
 ./strclass.h:815:19: error: friend declaration specifying a default
 argument must be a definition
     friend string common_suffix(const string& x, const string& y
 ./strclass.h:866:16: error: friend declaration specifying a default
 argument must be a definition
     friend int readline(std::istream& s, string& x,

 3 errors generated.
 make[2]: * [cook.o] Error 1
 }}}

--

Comment:

 Please attach the main.log file.

 Also, please report the problem to the developers of ddd so they can fix
 it.

-- 
Ticket URL: <https://trac.macports.org/ticket/42800#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list