[MacPorts] #40979: asymptote @2.16_2 +python27 darwin_13.x86_64
#40979: asymptote @2.16_2 +python27 darwin_13.x86_64 -----------------------------+-------------------------------- Reporter: ulrich.klauck@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: asymptote -----------------------------+-------------------------------- {{{ Port does not install. Error message is: ---> Building asymptote Error: org.macports.build for port asymptote returned: command execution failed Please see the log file for port asymptote for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_asymptote/asymptote/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port asymptote failed }}} -- Ticket URL: <https://trac.macports.org/ticket/40979> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote @2.16_2 +python27: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => loshea@… * keywords: => mavericks Old description:
{{{ Port does not install. Error message is:
---> Building asymptote Error: org.macports.build for port asymptote returned: command execution failed Please see the log file for port asymptote for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_asymptote/asymptote/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port asymptote failed
}}}
New description: Port does not install. Error message is: {{{ ---> Building asymptote Error: org.macports.build for port asymptote returned: command execution failed Please see the log file for port asymptote for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_asymptote/asymptote/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port asymptote failed }}} -- -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote @2.16_2 +python27: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Changes (by ryandesign@…): * cc: papachoco@… (added) Comment: Has duplicate #41062. -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote @2.16_2 +python27: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Comment (by ulrich.klauck@…): Hi guys, I solved the problem for me by building asymptote from the source. There have been 3 problems: - Adding '-stdlib=libstdc++' to the CFLAGS solved the slist.h-problem. In Max OS X Apple obviously moved to the C++11 STL. This can be overriden with the above mentionned CFLAG. - The other two problems concern the preprocessor macros HAVE_LIBREADLINE and HAVE_LIBSIGSEGV in config.h. The configure script should be called with the option so that both are not defined. Maybe this holds true only for my particular system configuration. Since I am not well schooled in the structure of config.in files and configure scripts, as a quick (but dirty) solution I simply changed config.h After applying these changes asymptote builds perfectly. -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote @2.16_2 +python27: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Comment (by mschamschula@…): Just added the above mentioned CFLAGS to the Portfile and updated asymptote to version 2.25. Also had to add --disable-offscreen to configure.args as there is an issue with the MESA GLUT. -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote @2.16_2 +python27: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Comment (by mojca@…): I think one can call this maintainer timeout. I'm ready to apply the patch, but the following line is weird: {{{ configure.env CFLAGS="-stdlib=libstdc++" }}} I don't have 10.9, so I would like to ask for confirmation that this is still needed. If it's still needed, we need to ask the upstream author for a fix. -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote @2.16_2 +python27: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Comment (by mschamschula@…): Replying to [comment:10 mojca@…]:
I think one can call this maintainer timeout. I'm ready to apply the patch, but the following line is weird: {{{ configure.env CFLAGS="-stdlib=libstdc++" }}}
I don't have 10.9, so I would like to ask for confirmation that this is still needed. If it's still needed, we need to ask the upstream author for a fix.
If you are using Xcode 5.1.x on 10.8 or 10.9 you will have this issue. It is not a problem for 10.7 or below. -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote @2.16_2 +python27: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Comment (by mojca@…): I committed the rest in r120000, but I would like to explore if there is another ("proper") way for to fix this `stdlib` flag. -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote @2.16_2 +python27: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Comment (by mojca@…): Can someone explain me why `CFLAGS` instead of `CXXFLAGS`? I don't have 10.9 installed yet, but I'm curious to know whether the following blind fix would help. (Not a proper fix yet, but I want to know whether it works at all.) {{{ #!patch --- prc/writePRC.h.orig +++ prc/writePRC.h @@ -26,7 +26,7 @@ #include <deque> #include <list> #ifdef __GNUC__ -#include <ext/slist> +#include <forward_list> #endif #include <map> #include <iostream> @@ -225,7 +225,7 @@ class PRCAttribute : public PRCAttributeEntry std::deque<PRCSingleAttribute> attribute_keys; }; #ifdef __GNUC__ -typedef __gnu_cxx::slist<PRCAttribute> PRCAttributeList; +typedef std::forward_list<PRCAttribute> PRCAttributeList; #else typedef std::list<PRCAttribute> PRCAttributeList; #endif }}} -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote @2.16_2 +python27: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Comment (by mojca@…): A note to myself: a fix might need to include something like the following (but that still won't be the proper solution). {{{ #include <ciso646> #ifdef _LIBCPP_VERSION #include <forward_list> // libc++ #else #include <ext/slist> // libstdc++ #endif }}} -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Changes (by mojca@…): * version: 2.2.1 => Old description:
Port does not install. Error message is:
{{{ ---> Building asymptote Error: org.macports.build for port asymptote returned: command execution failed Please see the log file for port asymptote for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_asymptote/asymptote/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port asymptote failed
}}}
New description: Port does not install. Error message is: {{{ /usr/bin/clang++ -Wall -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -DUSEGC -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -I/opt/local/include -pipe -Os -arch x86_64 -I . -I/opt/local/include/gc -I/usr/include/gc -o settings.o -c settings.cc In file included from picture.cc:10: In file included from ./picture.h:15: In file included from ./drawelement.h:19: In file included from ./prcfile.h:5: In file included from ./prc/oPRCFile.h:41: ./prc/writePRC.h:29:10: fatal error: 'ext/slist' file not found #include <ext/slist> ^ }}} -- -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Comment (by mojca@…): Unsuccessful attempt in r120065 (https://build.macports.org/builders /buildports-mavericks-x86_64/builds/3491) I'm looking for testers to try out the latest version from SVN, please see: * https://sourceforge.net/p/asymptote/code/HEAD/tree/ -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Comment (by mojca@…): I opened a port abandoned ticket (#43714). -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Comment (by mojca@…): I added a `Portfile` for version 2.29 and would like to ask 10.9 users for testing. I suspect there are still problems, but we need detailed reports to be able to fix the sources. -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Changes (by mojca@…): * cc: mk@… (added) -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:19> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Comment (by mojca@…): According to `mf2k` this is where it gets stuck now: * `genv.cc:18:10: fatal error: 'bits/stl_algo.h' file not found` {{{ /usr/bin/clang++ -Wall -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -DUSEGC -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -I/opt/local/include -pipe -Os -arch x86_64 -I . -I/opt/local/include/gc -I/usr/include/gc -o genv.o -c genv.cc In file included from runtimebase.in:1: In file included from ./stack.h:13: In file included from ./errormsg.h:12: In file included from ./common.h:35: In file included from ./memory.h:32: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/ext/hash_map:212:5: warning: Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map> [-W#warnings] # warning Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map> ^ In file included from env.cc:9: In file included from ./env.h:12: In file included from ./errormsg.h:12: In file included from ./common.h:35: In file included from ./memory.h:32: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/ext/hash_map:212:5: warning: Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map> [-W#warnings] # warning Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map> ^ genv.cc:18:10: fatal error: 'bits/stl_algo.h' file not found #include <bits/stl_algo.h> ^ 1 warning generated. }}} -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:20> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Comment (by mojca@…): A patch has been applied upstream: * https://sourceforge.net/p/asymptote/code/5651/ Feel free to test. -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:21> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Comment (by mojca@…): Another patch: * https://sourceforge.net/p/asymptote/code/5652/ -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:22> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Comment (by mojca@…): As pointed out by mf2k, here's a [https://sourceforge.net/p/asymptote/discussion/409349/thread/3ced789c discussion on the forum]. The binary builds, but hangs forever. Volunteers to debug the hanging `asy` welcome ;) I'm also attaching another patch for testing. -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:23> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Comment (by mf2k@…): Here's latest attempt at the Portfile which hangs while building. -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:24> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Comment (by mojca@…): New patch `patch-runlabel.in.diff` (to be added to `Portfile` manually for now). -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:25> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Comment (by mojca@…): The basic patch using `libstdc++` committed in r120125. Follow up for `libc++`-related issues in ticket #43728. -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:26> MacPorts <http://www.macports.org/> Ports system for OS X
#40979: asymptote: fatal error: 'ext/slist' file not found ------------------------------+----------------------- Reporter: ulrich.klauck@… | Owner: loshea@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: mavericks Port: asymptote | ------------------------------+----------------------- Changes (by mojca@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/40979#comment:27> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts