Bug 207818 - graphics/tulip: Update to 4.8.1
Summary: graphics/tulip: Update to 4.8.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL: http://tulip.labri.fr/TulipDrupal/?q=...
Keywords:
Depends on: 207531
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-08 21:15 UTC by Ben Woods
Modified: 2016-03-14 22:07 UTC (History)
2 users (show)

See Also:


Attachments
Patch to update graphics/tulip to 4.8.1 (38.67 KB, patch)
2016-03-08 21:15 UTC, Ben Woods
no flags Details | Diff
Patch to update graphics/tulip to 4.8.1 (38.61 KB, patch)
2016-03-08 21:20 UTC, Ben Woods
woodsb02: maintainer-approval+
Details | Diff
QA: Successful poudriere testport logs for graphics/tulip 4.8.1 on FreeBSD 11 amd64 (gzipped) (94.08 KB, application/gzip)
2016-03-08 21:44 UTC, Ben Woods
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Woods freebsd_committer freebsd_triage 2016-03-08 21:15:53 UTC
Created attachment 167872 [details]
Patch to update graphics/tulip to 4.8.1

* Update graphics/tulip to 4.8.1
* Update WRKSRC, distinfo and pkg-plist to be suitable for updated version
* Add -lCoin to LDFLAGS to ensure tulip successfully links with the coin library (installed with math/ogdf)
Comment 1 Ben Woods freebsd_committer freebsd_triage 2016-03-08 21:17:27 UTC
Changes this release: http://tulip.labri.fr/TulipDrupal/?q=node/2121

Depends on PR 207531: Update of math/ogdf to 2015.05
Comment 2 Ben Woods freebsd_committer freebsd_triage 2016-03-08 21:20:42 UTC
Created attachment 167873 [details]
Patch to update graphics/tulip to 4.8.1

Patch updated to fix pkg-plist
Comment 3 Ben Woods freebsd_committer freebsd_triage 2016-03-08 21:44:08 UTC
Created attachment 167876 [details]
QA: Successful poudriere testport logs for graphics/tulip 4.8.1 on FreeBSD 11 amd64 (gzipped)
Comment 4 Ben Woods freebsd_committer freebsd_triage 2016-03-09 18:35:33 UTC
Hi Kurt: would it be possible to look at committing this update to graphics/tulip today, since the update to math/ogdf recently committed will likely break the old version of tulip in ports.
Comment 5 Kurt Jaeger freebsd_committer freebsd_triage 2016-03-09 18:44:27 UTC
Testbuilds@work
Comment 6 Kurt Jaeger freebsd_committer freebsd_triage 2016-03-09 18:49:07 UTC
When I testbuild on 11a, this file was in pkg-plist, but not in the
staging area:

lib/python/tulipsip.so

Testbuilding in poudriere right now with this line removed from pkg-plist.
Comment 7 Kurt Jaeger freebsd_committer freebsd_triage 2016-03-09 20:05:45 UTC
(In reply to Kurt Jaeger from comment #6)
Building under poudriere, also on 11a, lib/python/tulipsip.so was
built. Why was it missing with a non-poudriere build ?
Comment 8 Kurt Jaeger freebsd_committer freebsd_triage 2016-03-09 21:01:27 UTC
Build fail on 9.3a:

http://people.freebsd.org/~pi/logs/graphics__tulip-93a-1457547912.txt

any ideas ?
Comment 9 Ben Woods freebsd_committer freebsd_triage 2016-03-09 21:05:21 UTC
(In reply to Kurt Jaeger from comment #8)
> Build fail on 9.3a:

Hmmm... will look into it now. Sorry for the trouble.
Comment 10 Raphael Kubo da Costa freebsd_committer freebsd_triage 2016-03-13 22:14:03 UTC
(In reply to Kurt Jaeger from comment #8)
> Build fail on 9.3a:
> 
> http://people.freebsd.org/~pi/logs/graphics__tulip-93a-1457547912.txt
> 
> any ideas ?

This is caused by libstdc++ 4.8 not making some symbols available (see bug 193528). The following excerpt, present in several ports, makes the port build on 9.3:

# Unhide std::to_string() to fix build with GCC (see ports/193528 for details)
CXXFLAGS+= -D_GLIBCXX_USE_C99.

While here, the port builds fine without setting USE_CXXSTD (tested on 9.3 and HEAD).
Comment 11 Ben Woods freebsd_committer freebsd_triage 2016-03-13 23:38:50 UTC
(In reply to Raphael Kubo da Costa from comment #10)
> This is caused by libstdc++ 4.8 not making some symbols available (see bug
> 193528). The following excerpt, present in several ports, makes the port build on
> 9.3:
>
> # Unhide std::to_string() to fix build with GCC (see ports/193528 for details)
> CXXFLAGS+= -D_GLIBCXX_USE_C99.

Thank you very much for this information Raphael - it will really save me a lot of troubleshooting time, and I appreciate it!

> While here, the port builds fine without setting USE_CXXSTD (tested on 9.3 and
> HEAD).

Ok, I will have a look at both of these things and update my patch. Thanks again.
Comment 12 Kurt Jaeger freebsd_committer freebsd_triage 2016-03-14 18:59:38 UTC
Testbuilds with suggested changes @work
Comment 13 Kurt Jaeger freebsd_committer freebsd_triage 2016-03-14 19:50:10 UTC
Testbuilds are fine.
Comment 14 commit-hook freebsd_committer freebsd_triage 2016-03-14 19:51:34 UTC
A commit references this bug:

Author: pi
Date: Mon Mar 14 19:51:12 UTC 2016
New revision: 411112
URL: https://svnweb.freebsd.org/changeset/ports/411112

Log:
  graphics/tulip: 4.7.0 -> 4.8.1

  Changes:
    http://tulip.labri.fr/TulipDrupal/?q=node/2121

  PR:		207818
  Submitted by:	Ben Woods <woodsb02@gmail.com> (maintainer), rakuco

Changes:
  head/graphics/tulip/Makefile
  head/graphics/tulip/distinfo
  head/graphics/tulip/files/patch-CMakeLists.txt
  head/graphics/tulip/files/patch-plugins_view_HistogramView_HistogramStatistics.cpp
  head/graphics/tulip/pkg-plist
Comment 15 Kurt Jaeger freebsd_committer freebsd_triage 2016-03-14 19:52:10 UTC
Committed, thanks!
Comment 16 Ben Woods freebsd_committer freebsd_triage 2016-03-14 22:07:26 UTC
Thanks for the commit Kurt.

My testing shows that the CXXFLAGS+=-D_GLIBCXX_USE_C99 is only required if you are using c++11 with lang/gcc* from ports.

Therefore, given that this patch removed the line with USE_CXXSTD=c++11, there is no build of FreeBSD that will use c++11 with lang/gcc* from ports by default.

This makes the CXXFLAGS lines a bit unnecessary, but I don't believe it has any negative effect, and will prevent any build errors until PR193528 is fixed if people have non-default environments this arrangement.