[MacPorts] #41084: xylib build fails in Maverick OSX 10.9
#41084: xylib build fails in Maverick OSX 10.9 ---------------------------+-------------------------------- Reporter: laew_rena24@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: Fityk | Port: xylib ---------------------------+-------------------------------- The building failed in Maverick OS X 10.9. The main.log shows that :info:configure checking tr1/memory usability... no :info:configure checking tr1/memory presence... no :info:configure checking for tr1/memory... no . . . . . :info:build ./cache.h:31:11: fatal error: 'tr1/memory' file not found :info:build # include <tr1/memory> :info:build ^ :info:build 1 error generated. :info:build make[2]: *** [cache.lo] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build mv -f .deps/gsas.Tpo .deps/gsas.Plo :info:build mv -f .deps/brucker_raw.Tpo .deps/brucker_raw.Plo :info:build mv -f .deps/xylib.Tpo .deps/xylib.Plo :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_xylib/xylib/work/xylib-1.2/xylib' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_xylib/xylib/work/xylib-1.2' :info:build make: *** [all] Error 2 -- Ticket URL: <https://trac.macports.org/ticket/41084> MacPorts <http://www.macports.org/> Ports system for OS X
#41084: xylib: fatal error: 'tr1/memory' file not found ----------------------------+-------------------------- Reporter: laew_rena24@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: xylib | ----------------------------+-------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * keywords: Fityk => mavericks * type: update => defect Old description:
The building failed in Maverick OS X 10.9. The main.log shows that
:info:configure checking tr1/memory usability... no :info:configure checking tr1/memory presence... no :info:configure checking for tr1/memory... no . . . . . :info:build ./cache.h:31:11: fatal error: 'tr1/memory' file not found :info:build # include <tr1/memory> :info:build ^ :info:build 1 error generated. :info:build make[2]: *** [cache.lo] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build mv -f .deps/gsas.Tpo .deps/gsas.Plo :info:build mv -f .deps/brucker_raw.Tpo .deps/brucker_raw.Plo :info:build mv -f .deps/xylib.Tpo .deps/xylib.Plo :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_xylib/xylib/work/xylib-1.2/xylib' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_xylib/xylib/work/xylib-1.2' :info:build make: *** [all] Error 2
New description: The building failed in Maverick OS X 10.9. The main.log shows that {{{ :info:configure checking tr1/memory usability... no :info:configure checking tr1/memory presence... no :info:configure checking for tr1/memory... no . . . . . :info:build ./cache.h:31:11: fatal error: 'tr1/memory' file not found :info:build # include <tr1/memory> :info:build ^ :info:build 1 error generated. :info:build make[2]: *** [cache.lo] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build mv -f .deps/gsas.Tpo .deps/gsas.Plo :info:build mv -f .deps/brucker_raw.Tpo .deps/brucker_raw.Plo :info:build mv -f .deps/xylib.Tpo .deps/xylib.Plo :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_xylib/xylib/work/xylib-1.2/xylib' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_xylib/xylib/work/xylib-1.2' :info:build make: *** [all] Error 2 }}} -- -- Ticket URL: <https://trac.macports.org/ticket/41084#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41084: xylib: fatal error: 'tr1/memory' file not found ----------------------------+-------------------------- Reporter: laew_rena24@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: xylib | ----------------------------+-------------------------- Comment (by uvw2@…): I make a patch attached this ticket (xylib.patch), but this patch is just a quick hack. In my Mac (mavericks 10.9 and Xcode 5), xylib can be compiled as follows: Patch file of xylib.patch is downloaded in Downloads folder (~/Downloads/). In Termina.app,[[br]] cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/math/xylib[[br]] sudo patch -p1 < ~/Downloads/xylib.patch[[br]] sudo port install xylib[[br]] Is this patch right? -- Ticket URL: <https://trac.macports.org/ticket/41084#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41084: xylib: fatal error: 'tr1/memory' file not found ----------------------------+-------------------------- Reporter: laew_rena24@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: xylib | ----------------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:2 uvw2@…]:
Is this patch right?
I don't think so. Whereas before it was using system includes, you've changed it to use boost includes. But I am not a C/C++ programmer; this problem needs to be solved by the developers of xylib. I have [https://github.com/wojdyr/xylib/issues/4 reported the problem to them]. -- Ticket URL: <https://trac.macports.org/ticket/41084#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41084: xylib: fatal error: 'tr1/memory' file not found ----------------------------+-------------------------- Reporter: laew_rena24@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: xylib | ----------------------------+-------------------------- Comment (by laew_rena24@…): Replying to [comment:3 ryandesign@…]:
Replying to [comment:2 uvw2@…]:
Is this patch right?
I don't think so. Whereas before it was using system includes, you've changed it to use boost includes.
But I am not a C/C++ programmer; this problem needs to be solved by the developers of xylib. I have [https://github.com/wojdyr/xylib/issues/4 reported the problem to them].
What about fityk, is it running very well with this patch? -- Ticket URL: <https://trac.macports.org/ticket/41084#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41084: xylib: fatal error: 'tr1/memory' file not found ----------------------------+-------------------------- Reporter: laew_rena24@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: xylib | ----------------------------+-------------------------- Changes (by ryandesign@…): * cc: uvw2@… (added) -- Ticket URL: <https://trac.macports.org/ticket/41084#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#41084: xylib: fatal error: 'tr1/memory' file not found ----------------------------+-------------------------- Reporter: laew_rena24@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: xylib | ----------------------------+-------------------------- Comment (by wojdyr@…): Hello, upstream developer here. I think this patch will work. Any shared_ptr should do, it can be from <tr1/memory> or from <memory> or from <boost/tr1/memory.hpp> or from <boost/shared_ptr.hpp>, wherever it is present. The problem is caused by a bug in configure script, it will be fixed in the next release. -- Ticket URL: <https://trac.macports.org/ticket/41084#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#41084: xylib: fatal error: 'tr1/memory' file not found ----------------------------+-------------------------- Reporter: laew_rena24@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: xylib | ----------------------------+-------------------------- Comment (by uvw2@…): Replying to [comment:4 laew_rena24@…]:
Replying to [comment:3 ryandesign@…]:
Replying to [comment:2 uvw2@…]:
Is this patch right?
I don't think so. Whereas before it was using system includes, you've changed it to use boost includes.
But I am not a C/C++ programmer; this problem needs to be solved by the developers of xylib. I have [https://github.com/wojdyr/xylib/issues/4 reported the problem to them].
What about fityk, is it running very well with this patch?
Unfortunately, the building of fityk failed in OS X 10.9, regardless of xylib. -- Ticket URL: <https://trac.macports.org/ticket/41084#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#41084: xylib: fatal error: 'tr1/memory' file not found ----------------------------+-------------------------- Reporter: laew_rena24@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: mavericks Port: xylib | ----------------------------+-------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:6 wojdyr@…]:
Hello, upstream developer here. I think this patch will work. Any shared_ptr should do, it can be from <tr1/memory> or from <memory> or from <boost/tr1/memory.hpp> or from <boost/shared_ptr.hpp>, wherever it is present.
The problem is caused by a bug in configure script, it will be fixed in the next release.
I'd rather apply your upstream patch; done in r113354. -- Ticket URL: <https://trac.macports.org/ticket/41084#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#41084: xylib: fatal error: 'tr1/memory' file not found ----------------------------+-------------------------- Reporter: laew_rena24@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: mavericks Port: xylib | ----------------------------+-------------------------- Comment (by laew_rena24@…): Replying to [comment:8 ryandesign@…]:
Replying to [comment:6 wojdyr@…]:
Hello, upstream developer here. I think this patch will work. Any shared_ptr should do, it can be from <tr1/memory> or from <memory> or from <boost/tr1/memory.hpp> or from <boost/shared_ptr.hpp>, wherever it is present.
The problem is caused by a bug in configure script, it will be fixed in the next release.
I'd rather apply your upstream patch; done in r113354.
It's correct, the building of fityk failed in OS X 10.9, the file.log is attached it… -- Ticket URL: <https://trac.macports.org/ticket/41084#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#41084: xylib: fatal error: 'tr1/memory' file not found ----------------------------+-------------------------- Reporter: laew_rena24@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: mavericks Port: xylib | ----------------------------+-------------------------- Comment (by ryandesign@…): This ticket is about xylib and is resolved. The fityk ticket is #41218. -- Ticket URL: <https://trac.macports.org/ticket/41084#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts