Bug 229389 - devel/commoncpp doesn't seem to build on 11.2-RELEASE
Summary: devel/commoncpp doesn't seem to build on 11.2-RELEASE
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-28 13:40 UTC by rainer
Modified: 2018-08-26 10:05 UTC (History)
0 users

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


Attachments
build log (40.60 KB, text/plain)
2018-06-28 13:40 UTC, rainer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description rainer 2018-06-28 13:40:27 UTC
Created attachment 194708 [details]
build log

See attached log.
Comment 1 Tobias Kortkamp freebsd_committer freebsd_triage 2018-06-28 23:20:11 UTC
(In reply to rainer from comment #0)
Looks like this port just needs USE_CXXSTD=c++98 or similar to build
with Clang 6.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-08-26 10:05:10 UTC
A commit references this bug:

Author: tobik
Date: Sun Aug 26 10:04:47 UTC 2018
New revision: 478117
URL: https://svnweb.freebsd.org/changeset/ports/478117

Log:
  devel/commoncpp: Fix build with Clang 6

  socket.cpp:1293:12: error: invalid argument type '__bind<volatile int &, sockaddr *&, unsigned int>' to unary expression
          if(!bind(so, list->ai_addr, (socklen_t)list->ai_addrlen)) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/commoncpp-1.8.1_2,2.log

  PR:		229389
  Reported by:	rainer@ultra-secure.de
  Submitted by:	tobik
  Approved by:	acm (maintainer timeout, 2 months)

Changes:
  head/devel/commoncpp/Makefile