Opened 16 months ago

Closed 8 months ago

#66695 closed defect (fixed)

hunspell @1.7.2_0: error: no matching member function for call to 'append'

Reported by: tehcog (tehcog) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: mountainlion mavericks yosemite Cc: Schamschula (Marius Schamschula), macdeport
Port: hunspell

Description

:info:build 3 errors generated.
:info:build make[3]: *** [affentry.lo] Error 1
:info:build make[3]: *** Waiting for unfinished jobs....
:info:build affixmgr.cxx:2468:18: error: no matching member function for call to 'append'
:info:build           result.append(word, i);
:info:build           ~~~~~~~^~~~~~

Please see attached log file...

Attachments (1)

hunspell_main.log (57.3 KB) - added by tehcog (tehcog) 16 months ago.
main.log

Download all attachments as: .zip

Change History (10)

Changed 16 months ago by tehcog (tehcog)

Attachment: hunspell_main.log added

main.log

comment:1 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: Schamschula added; no maintainer removed
Keywords: mountainlion mavericks yosemite added
Summary: hunspell @ 1.7.1_0 < 1.7.2_0 fails to upgrade (build) on maverickshunspell @1.7.2_0: error: no matching member function for call to 'append'

hunspell was updated to 1.7.2 yesterday and the build succeeded on all of our buildbot workers except Mountain Lion, Mavericks, and Yosemite.

On Mountain Lion and Mavericks, it failed with:

affentry.cxx:293:13: error: no matching member function for call to 'append'

On Yosemite it failed with:

affixmgr.cxx:1592:3: error: thread-local storage is not supported for the current target

I suspect adding compiler.thread_local_storage yes to the Portfile will fix all three.

comment:2 Changed 16 months ago by macdeport

Cc: macdeport added

comment:3 in reply to:  1 Changed 16 months ago by tehcog (tehcog)

Replying to ryandesign:

I suspect adding compiler.thread_local_storage yes to the Portfile will fix all three.

Works on Mavericks

comment:4 Changed 16 months ago by Marius Schamschula <mschamschula@…>

In 88ab1f79d71ba1b013425289dc93d049b8b17370/macports-ports (master):

hunspell: attempt build fix for Yosemite and below

See: #66695

comment:5 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)

Why do you make it conditional on the OS version? Surely it requires thread-local storage on all OS versions. It just so happens that on newer OS versions Xcode already provides a compiler that satisfies that while older Xcodes don't.

comment:6 Changed 16 months ago by Schamschula (Marius Schamschula)

I went by, don't fix if it isn't broken.

I guess there is no harm in dropping the conditional.

comment:7 in reply to:  1 ; Changed 16 months ago by macdeport

Replying to ryandesign:

I suspect adding compiler.thread_local_storage yes to the Portfile will fix all three.

Works on Yosemite

Thanks all of you

Last edited 16 months ago by macdeport (previous) (diff)

comment:8 in reply to:  7 Changed 8 months ago by tehcog (tehcog)

Replying to macdeport:

Replying to ryandesign:

I suspect adding compiler.thread_local_storage yes to the Portfile will fix all three.

Works on Yosemite

Thanks all of you

Works for me now, thanks.

comment:9 Changed 8 months ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.