Bug 253282 - lang/polyml : Update to 5.8.1
Summary: lang/polyml : Update to 5.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: Rainer Hurling
URL: https://github.com/polyml/polyml/rele...
Keywords: buildisok
Depends on:
Blocks:
 
Reported: 2021-02-06 00:49 UTC by Wen Heping
Modified: 2021-02-12 11:45 UTC (History)
2 users (show)

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


Attachments
Update to 5.8.1 (3.63 KB, patch)
2021-02-06 00:49 UTC, Wen Heping
no flags Details | Diff
patch with corrections for MOTIF option and sorted Makefile vars (6.35 KB, patch)
2021-02-07 14:53 UTC, Rainer Hurling
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wen Heping freebsd_committer freebsd_triage 2021-02-06 00:49:19 UTC
Created attachment 222193 [details]
Update to 5.8.1

Update to 5.8.1
Comment 1 Automation User 2021-02-06 01:08:33 UTC
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/252309129
Comment 2 Rainer Hurling freebsd_committer freebsd_triage 2021-02-07 13:01:01 UTC
Hi Wen,

Thanks for the update.

One problem I found :(  If option MOTIF is enabled, the build breaks with the following message:

[..snip..]
Making all in libpolyml
/bin/sh ../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I..  -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -Wall -DMODULEDIR=\"/usr/local/lib/polyml/modules\" -isystem /usr/local/include   -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -MT xwindows.lo -MD -MP -MF .deps/xwindows.Tpo -c -o xwindows.lo xwindows.cpp
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -DMODULEDIR=\"/usr/local/lib/polyml/modules\" -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -MT xwindows.lo -MD -MP -MF .deps/xwindows.Tpo -c xwindows.cpp  -fPIC -DPIC -o .libs/xwindows.o
xwindows.cpp:7305:43: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
        default:         printf("Pointer "ZERO_X"%p",P.AsAddress());
                                          ^
1 error generated.
*** Error code 1
Stop.
make[5]: stopped in /poudriere/ports/default/lang/polyml/work/polyml-5.8.1/libpolyml


Could you please have a look?
Comment 3 Rainer Hurling freebsd_committer freebsd_triage 2021-02-07 14:53:30 UTC
Created attachment 222239 [details]
patch with corrections for MOTIF option and sorted Makefile vars

I investigated a bit in the MOTIF option and it seems to be solved now :)

Because of a typo we need files/patch-libpolyml_xwindows.cpp. Some dependencies for xorg where missing also. Unfortunately, something like MOTIF_USE_XORG seems not to work as expected.

I filed a new patch, tested on Poudriere, 'portint -AC' is fine.


Could you please have a look at it, especially a the fix for libpolyml/xwindows.cpp, please?
Comment 4 Wen Heping freebsd_committer freebsd_triage 2021-02-08 01:34:48 UTC
(In reply to Rainer Hurling from comment #3)
Build well on my system, please go ahead !
Comment 5 Rainer Hurling freebsd_committer freebsd_triage 2021-02-08 09:48:21 UTC
(In reply to Wen Heping from comment #4)

Seems we have to wait for maintainer feedback ;)

In the meantime, I got approval for my review D28529 on Phabricator from my mentor Glen ...
Comment 6 Timothy Beyer 2021-02-12 07:19:05 UTC
approved
Comment 7 commit-hook freebsd_committer freebsd_triage 2021-02-12 11:43:38 UTC
A commit references this bug:

Author: rhurlin
Date: Fri Feb 12 11:42:55 UTC 2021
New revision: 565011
URL: https://svnweb.freebsd.org/changeset/ports/565011

Log:
  lang/polyml: Update to 5.8.1

  - Bug fix release for version 5.8
  - Visual Studio projects have been updated to VS2017 and SDK 10

  Changelog: https://github.com/polyml/polyml/releases/tag/v5.8.1

  PR:		253282
  Submitted by:	Wen Heping <wen@FreeBSD.org>
  Reviewed by:	tcberner (mentor)
  Approved by:	arrowd (mentor)
  Differential Revision:	https://reviews.freebsd.org/D28529

Changes:
  head/lang/polyml/Makefile
  head/lang/polyml/distinfo
  head/lang/polyml/files/patch-libpolyml_polyffi.cpp
  head/lang/polyml/files/patch-libpolyml_sighandler.cpp
  head/lang/polyml/files/patch-libpolyml_xwindows.cpp
  head/lang/polyml/pkg-descr
  head/lang/polyml/pkg-plist
Comment 8 Rainer Hurling freebsd_committer freebsd_triage 2021-02-12 11:45:17 UTC
Committed, thanks :)