Bug 201530 - editors/abiword build failure on /usr/include/c++/4.2/bits/stl_set.h
Summary: editors/abiword build failure on /usr/include/c++/4.2/bits/stl_set.h
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-13 14:16 UTC by vladimir.chukharev
Modified: 2016-04-11 14:18 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments
Full log of build (75.88 KB, text/plain)
2015-07-13 14:16 UTC, vladimir.chukharev
no flags Details
List of installed ports. (89.61 KB, text/plain)
2015-07-14 14:12 UTC, vladimir.chukharev
no flags Details
Patch with a hack (422 bytes, patch)
2015-08-28 16:44 UTC, vladimir.chukharev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description vladimir.chukharev 2015-07-13 14:16:41 UTC
Created attachment 158695 [details]
Full log of build

When trying to build abiword I get the following errors (they are repeated few times, see full logs).

/usr/include/c++/4.2/bits/stl_set.h:93: error: 'template<class _Key, class _Compare, class _Alloc> class std::set' is not a function,
pd_DocumentRDF.cpp:1902: error:   conflict with 'void set(EVCard*, const char*, const std::string&)'
pd_DocumentRDF.cpp:2037: error:   in call to 'set'
Makefile:829: recipe for target 'pd_DocumentRDF.lo' failed
gmake[6]: *** [pd_DocumentRDF.lo] Error 1
gmake[6]: *** Waiting for unfinished jobs....
  CXX      pd_Iterator.lo
gmake[6]: Leaving directory '/usr/ports/editors/abiword/work/abiword-3.0.1/src/text/ptbl/xp'
Makefile:848: recipe for target 'all-recursive' failed
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory '/usr/ports/editors/abiword/work/abiword-3.0.1/src/text/ptbl/xp'
Makefile:528: recipe for target 'all-recursive' failed
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory '/usr/ports/editors/abiword/work/abiword-3.0.1/src/text/ptbl'
Makefile:528: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/editors/abiword/work/abiword-3.0.1/src/text'
Makefile:1157: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory '/usr/ports/editors/abiword/work/abiword-3.0.1/src'
Makefile:774: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/usr/ports/editors/abiword/work/abiword-3.0.1'
Makefile:593: recipe for target 'all' failed
gmake: *** [all] Error 2
===> Compilation failed unexpectedly.

The options are default. I tried to build with MAKE_JOBS_UNSAFE=yes, no difference.

I can only guess that some dependence is lost.
Comment 1 Koop Mast freebsd_committer freebsd_triage 2015-07-14 13:49:26 UTC
Can you supply some additional information? abiword builds fine on the cluster.

Information like, FreeBSD version, arch, and non-default options in abiword?
Comment 2 vladimir.chukharev 2015-07-14 14:12:57 UTC
Created attachment 158749 [details]
List of installed ports.

Sorry, I forget to do my homework ;-(

Options are default, as already said. I tried to update all installed ports. Sometimes this helps, but not now. Update was done by 'portmaster -R -f -a' with more options to avoid questions and to skip big ports like libreoffice.

List of all installed port as output of 'pkg info -a' is attached.

 $ uname -a
FreeBSD vovaasus 9.3-STABLE FreeBSD 9.3-STABLE #48 r285383M: Sun Jul 12 03:34:37 EEST 2015     root@vovaasus:/usr/obj/usr/src/sys/VOVA  amd64
Comment 3 vladimir.chukharev 2015-08-28 16:44:03 UTC
Created attachment 160450 [details]
Patch with a hack

Following discussion in Bug 202521 I tried and succeeded in finding a hack allowing to build abiword. Hopefully the hack can help somebody to make a real fix faster.
Comment 4 vladimir.chukharev 2015-08-28 16:52:22 UTC
Well, it builds, but when I start it, it gives an error:
/usr/local/lib/abiword-3.0/plugins/goffice.so: Undefined symbol "_ZNSt8__detail15_List_node_base7_M_hookEPS0_"
Comment 5 vladimir.chukharev 2016-04-10 18:21:08 UTC
I cannot reproduce this bug with 10-STABLE, and I do not have 9.* systems any more. So, from my point of view, the bug can be closed.