[MacPorts] #48630: ghemical install problem
#48630: ghemical install problem ------------------------------------------+-------------------------------- Reporter: segalemb@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: ghemical, science, chemistry | Port: ------------------------------------------+-------------------------------- Problem in building ghemical: Error: Processing of port chemical failed OS: Mac Yosemite, 10.10.5 Xcode 6.4 (6E35b) the log are attached. -- Ticket URL: <https://trac.macports.org/ticket/48630> MacPorts <https://www.macports.org/> Ports system for OS X
#48630: ghemical install problem -------------------------+-------------------------------- Reporter: segalemb@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: ghemical | -------------------------+-------------------------------- Changes (by mf2k@…): * keywords: ghemical, science, chemistry => * port: => ghemical Old description:
Problem in building ghemical: Error: Processing of port chemical failed
OS: Mac Yosemite, 10.10.5 Xcode 6.4 (6E35b)
the log are attached.
New description: Problem in building ghemical: {{{ Error: Processing of port chemical failed }}} OS: Mac Yosemite, 10.10.5 Xcode 6.4 (6E35b) the log are attached. -- Comment: In the future, please use WikiFormatting and fill in the Port field. -- Ticket URL: <https://trac.macports.org/ticket/48630#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48630: ghemical install problem -------------------------+-------------------------------- Reporter: segalemb@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: ghemical | -------------------------+-------------------------------- Comment (by devans@…): The problem is here {{{ In file included from custom_camera.cpp:21: 2230 :info:build In file included from ./custom_camera.h:31: 2231 :info:build ./project.h:210:14: error: friend declaration specifying a default argument must be a definition 2232 :info:build friend bool ReadGPR_OLD(project &, istream &, bool, bool = false); ///< this is for the very old version. 2233 :info:build ^ 2234 :info:build ./project.h:211:14: error: friend declaration specifying a default argument must be a definition 2235 :info:build friend bool ReadGPR_v100(project &, istream &, bool, bool = false); ///< this is for the version 1.00. 2236 :info:build ^ 2237 :info:build ./project.h:212:14: error: friend declaration specifying a default argument must be a definition 2238 :info:build friend bool ReadGPR_v110(project &, istream &, bool, bool = false); ///< this is for the version 1.10. 2239 :info:build ^ 2240 :info:build ./project.h:214:14: error: friend declaration specifying a default argument must be a definition 2241 :info:build friend bool ReadGPR(project &, istream &, bool, bool = false); }}} As the error says, a friend declaration specifying a default argument must also be a definition. Newer versions of clang will choke on this because these friend declarations specify default arguments but are not full function definitions (no body). Full discussion of this issue can be found [http://www.open- std.org/jtc1/sc22/wg21/docs/cwg_defects.html#136 here] and some alternative fixes for this type of issue are discussed [http://stackoverflow.com/questions/22533511/friend-declaration- specifying-a-default-argument-must-be-a-definition here]. This issue should probably be referred to the upstream developers for resolution since choosing the correct fix requires some understanding of the related code. -- Ticket URL: <https://trac.macports.org/ticket/48630#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48630: ghemical install problem -------------------------+---------------------- Reporter: segalemb@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: ghemical | -------------------------+---------------------- Changes (by devans@…): * owner: macports-tickets@… => devans@… * status: new => assigned Comment: Actually, I see that version 3.0.0 of this port and it's dependents are now available. Updating now to see if that effects this issue. -- Ticket URL: <https://trac.macports.org/ticket/48630#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48630: ghemical install problem -------------------------+---------------------- Reporter: segalemb@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: ghemical | -------------------------+---------------------- Changes (by devans@…): * status: assigned => closed * version: 2.3.3 => * resolution: => fixed Comment: dependency libghemical updated to version 3.0.0 in r139540. [[BR]] dependency liboglappth updated to version 1.0.0 in r139541. [[BR]] ghemical updated to version 3.0.0 in r139542 using patch from [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756440 debian bug 756440] which fixes the clang build issue reported here. -- Ticket URL: <https://trac.macports.org/ticket/48630#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts