Opened 6 years ago

Closed 6 years ago

#56722 closed defect (fixed)

opencc 1.0.4 fails to compile

Reported by: abyrvalk Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.5.2
Keywords: Cc:
Port: opencc

Description

--->  Fetching archive for opencc
--->  Attempting to fetch opencc-1.0.4_0.darwin_17.x86_64.tbz2 from http://nue.de.packages.macports.org/opencc
--->  Attempting to fetch opencc-1.0.4_0.darwin_17.x86_64.tbz2 from https://packages.macports.org/opencc
--->  Attempting to fetch opencc-1.0.4_0.darwin_17.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/opencc
--->  Fetching distfiles for opencc
--->  Verifying checksums for opencc
--->  Extracting opencc
--->  Applying patches to opencc
--->  Configuring opencc
--->  Building opencc
Error: Failed to build opencc: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_opencc/opencc/main.log for details.

According to main.log (file will be attached) opencc code is not compatible with the compiler used. It could be seen from appearing errors:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_opencc/opencc/work/opencc-1.0.4/src/Config.cpp:40:76: error: a space is required between consecutive right angle brackets (use '> >')
:info:build       string, std::unordered_map<string, std::unordered_map<string, DictPtr>>>
:info:build                                                                            ^~
:info:build                                                                            > >

Attachments (1)

main.log (77.9 KB) - added by abyrvalk 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by abyrvalk

Attachment: main.log added

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Owner: set to ryandesign
Status: newassigned

In the future, please add the port maintainer(s) to Cc (port info --maintainers opencc).

comment:2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

I know.

opencc 1.0.5 doesn't build either, which is why I haven't updated the port.

The developer hasn't even posted a download for 1.0.5, and hasn't acknowledged a 16-month-old issue I filed about that. The project has 92 open issues; the developer doesn't seem to respond to them.

If you want opencc to work again, you'll have to somehow convince the developer to start communicating with people and fixing the problems.

comment:3 in reply to:  2 Changed 6 years ago by abyrvalk

Replying to ryandesign:

I know.

opencc 1.0.5 doesn't build either, which is why I haven't updated the port.

The developer hasn't even posted a download for 1.0.5, and hasn't acknowledged a 16-month-old issue I filed about that. The project has 92 open issues; the developer doesn't seem to respond to them.

If you want opencc to work again, you'll have to somehow convince the developer to start communicating with people and fixing the problems.

It is sad. But initially I want to install goldendict and it depends on opencc. Is it possible to disable the dependence on opencc, when chinese dictionaries are not required?

comment:4 Changed 6 years ago by mf2k (Frank Schima)

You should file an enhancement ticket against the goldendict port and suggest moving the inclusion of the Chinese dictionary to a variant. Better yet, file a PR.

comment:5 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In e1cb2b385941831dbb8f2536d083af24c3f43721/macports-ports (master):

opencc: Update to 1.0.5

Closes: #56722

Note: See TracTickets for help on using tickets.