Bug 215770 - devel/icu: dependent ports need C++11
Summary: devel/icu: dependent ports need C++11
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-office mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-04 19:04 UTC by Justin Hibbits
Modified: 2018-06-03 13:49 UTC (History)
3 users (show)

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


Attachments
svn-diff-seven-ports@freebsd-ports (3.10 KB, patch)
2018-03-08 04:33 UTC, w.schwarzenfeld
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Hibbits freebsd_committer 2017-01-04 19:04:10 UTC
print/texlive-base fails to build with gcc 4.2 (default compiler for archs with no clang) due to a link failure with devel/icu (Unresolved reference to gcc49 libstdc++ symbol).

It seems to me this would impact all ports which depend on devel/icu for this reason, and likely any port that depends on a C++-based port requiring C++11.
Comment 1 Justin Hibbits freebsd_committer 2017-05-23 14:44:10 UTC
Discussing with swills@ it may make sense to add a USES= icu.  libicudata.so shouldn't need C++11 (it's just data), but the other libraries involved will.
Comment 2 commit-hook freebsd_committer 2017-06-17 20:11:22 UTC
A commit references this bug:

Author: jhibbits
Date: Sat Jun 17 20:10:26 UTC 2017
New revision: 443786
URL: https://svnweb.freebsd.org/changeset/ports/443786

Log:
  Fix print/texlive-base build for powerpc and powerpc64

  print/texlive-base depends on devel/icu, which uses C++11 and links against
  newer libstdc++ when built with gcc.  All ports linking against some of the icu
  libraries need to be built with a C++11 compiler, to link against the correct
  libstdc++.

  PR:		215770
  Approved by:	swills

Changes:
  head/print/texlive-base/Makefile
Comment 3 w.schwarzenfeld freebsd_triage 2018-01-13 23:35:31 UTC
Forgot to close?
Comment 4 Justin Hibbits freebsd_committer 2018-01-14 04:31:23 UTC
(In reply to w.schwarzenfeld from comment #3)

No, didn't forget to close, as this bug isn't limited to texlive-base, it's relevant to any port that uses devel/icu.
Comment 5 w.schwarzenfeld freebsd_triage 2018-01-14 04:40:49 UTC
Okay, thanks for reply.
Comment 6 commit-hook freebsd_committer 2018-02-11 08:16:52 UTC
A commit references this bug:

Author: jbeich
Date: Sun Feb 11 08:16:22 UTC 2018
New revision: 461467
URL: https://svnweb.freebsd.org/changeset/ports/461467

Log:
  games/openttd: lift BROKEN_powerpc64 after r461290

  PR:		215770

Changes:
  head/games/openttd/Makefile
Comment 7 commit-hook freebsd_committer 2018-02-11 08:16:56 UTC
A commit references this bug:

Author: jbeich
Date: Sun Feb 11 08:16:32 UTC 2018
New revision: 461468
URL: https://svnweb.freebsd.org/changeset/ports/461468

Log:
  misc/sword: lift BROKEN_powerpc64 after r461290

  PR:		215770

Changes:
  head/misc/sword/Makefile
Comment 8 commit-hook freebsd_committer 2018-02-11 08:16:58 UTC
A commit references this bug:

Author: jbeich
Date: Sun Feb 11 08:16:43 UTC 2018
New revision: 461469
URL: https://svnweb.freebsd.org/changeset/ports/461469

Log:
  textproc/ibus-qt: lift BROKEN_powerpc64

  PR:		215770

Changes:
  head/textproc/ibus-qt/Makefile
Comment 9 w.schwarzenfeld freebsd_triage 2018-03-08 02:38:58 UTC
61 ports:
archivers/unarchiver		
audio/musicpd		
audio/ncmpcpp				
databases/kdb				
databases/postgresql10-server			
databases/sqlite3
databases/clickhouse		
databases/couchdb	
databases/firebird25-server	
deskutils/osmo		
deskutils/calibre			
devel/dee	
devel/boost-libs
devel/hs-text-icu		
devel/icu-lx		
devel/glib20	
devel/libzim	
devel/libical	
devel/qt5-core	
devel/qt4-corelib	
devel/objecthash	
dns/libpsl
editors/poedit		
editors/libreoffice			
games/an					
graphics/libcdr01			
java/openjfx8-devel
lang/gnustep-base	
lang/parrot				
lang/swift	
mail/evolution		
mail/dovecot
mail/evolution-ews		
mail/sendmail 
mail/rspamd-devel		
mail/cyrus-imapd30		
mail/postfix-current	
mail/postfix	
mail/rspamd		
math/R
math/libqalculate					
multimedia/subtitlecomposer-kde4	
net/zebra-server		
net/yaz	
net/openldap24-server		
news/tin						
sysutils/tracker		
textproc/R-cran-stringi	
textproc/dwdiff
textproc/raptor2		
textproc/libqxp		
textproc/rubygem-charlock_holmes				
www/chromium		
www/qt5-webkit			
www/mod_pagespeed
www/iridium			
www/webkit2-gtk3
www/node8	
x11/gnome-shell		
x11/slop	
x11-toolkits/gnustep-gui
Comment 10 w.schwarzenfeld freebsd_triage 2018-03-08 03:31:59 UTC
www/node8 is wrong, already has it.
Comment 11 w.schwarzenfeld freebsd_triage 2018-03-08 04:33:22 UTC
Created attachment 191299 [details]
svn-diff-seven-ports@freebsd-ports
Comment 12 commit-hook freebsd_committer 2018-03-22 23:33:30 UTC
A commit references this bug:

Author: truckman
Date: Thu Mar 22 23:32:44 UTC 2018
New revision: 465324
URL: https://svnweb.freebsd.org/changeset/ports/465324

Log:
  USES+=compiler:c++11-lib to unbreak devel/libical build on PowerPC
  and other arches where gcc is the base compiler.

  No PORTREVISION bump because this is a no-op on arches with clang
  as the base compiler, and it unbreaks the build on the rest.

  PR:		221642, 215770
  Reported by:	Robin <solence AT zoho.eu>

Changes:
  head/devel/libical/Makefile