[MacPorts] #31492: Inkscape does not install
#31492: Inkscape does not install ---------------------------------+------------------------------------------ Reporter: fbartolom@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: Inkscape gcc | Port: Inkscape ---------------------------------+------------------------------------------ When I try to upgrade or reinstall Inkscape I get the following error: $ sudo port install inkscape Warning: No port atlas found in the index. ---> Computing dependencies for py26-numpy ---> Cleaning py26-numpy ---> Computing dependencies for inkscape ---> Configuring inkscape Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for inkscape is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_inkscape/inkscape/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> While the log file reports: :info:configure checking GNU compiler version... :info:configure configure: error: gcc >= 3.0 is needed to compile inkscape :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_inkscape/inkscape/work/inkscape-0.48.2" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with- xft --with-gnome-vfs --with-python --enable-lcms --enable-poppler-cairo " returned error 1 :error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details) :debug:configure Backtrace: configure failure: shell command failed (see log for details) while executing "$procedure $targetname" :info:configure Warning: the following items did not execute (for inkscape): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:configure Log for inkscape is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_inkscape/inkscape/main.log -- Ticket URL: <https://trac.macports.org/ticket/31492> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31492: inkscape: gcc >= 3.0 is needed to compile inkscape ---------------------------------+------------------------------------------ Reporter: fbartolom@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: inkscape ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * keywords: Inkscape gcc => * owner: macports-tickets@… => devans@… * port: Inkscape => inkscape Old description:
When I try to upgrade or reinstall Inkscape I get the following error: $ sudo port install inkscape Warning: No port atlas found in the index. ---> Computing dependencies for py26-numpy ---> Cleaning py26-numpy ---> Computing dependencies for inkscape ---> Configuring inkscape Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for inkscape is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_inkscape/inkscape/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
While the log file reports: :info:configure checking GNU compiler version... :info:configure configure: error: gcc >= 3.0 is needed to compile inkscape :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_inkscape/inkscape/work/inkscape-0.48.2" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with- xft --with-gnome-vfs --with-python --enable-lcms --enable-poppler-cairo " returned error 1 :error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details) :debug:configure Backtrace: configure failure: shell command failed (see log for details) while executing "$procedure $targetname" :info:configure Warning: the following items did not execute (for inkscape): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:configure Log for inkscape is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_inkscape/inkscape/main.log
New description: When I try to upgrade or reinstall Inkscape I get the following error: {{{ $ sudo port install inkscape Warning: No port atlas found in the index. ---> Computing dependencies for py26-numpy ---> Cleaning py26-numpy ---> Computing dependencies for inkscape ---> Configuring inkscape Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for inkscape is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_inkscape/inkscape/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} While the log file reports: {{{ :info:configure checking GNU compiler version... :info:configure configure: error: gcc >= 3.0 is needed to compile inkscape :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_inkscape/inkscape/work/inkscape-0.48.2" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with- xft --with-gnome-vfs --with-python --enable-lcms --enable-poppler-cairo " returned error 1 :error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details) :debug:configure Backtrace: configure failure: shell command failed (see log for details) while executing "$procedure $targetname" :info:configure Warning: the following items did not execute (for inkscape): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:configure Log for inkscape is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_inkscape/inkscape/main.log }}} -- Comment: Please remember to use WikiFormatting and to Cc the maintainer of the affected port. What version of Xcode is installed? Try reinstalling the latest version of Xcode for your OS version. -- Ticket URL: <https://trac.macports.org/ticket/31492#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31492: inkscape: gcc >= 3.0 is needed to compile inkscape ---------------------------------+------------------------------------------ Reporter: fbartolom@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: inkscape ---------------------------------+------------------------------------------ Comment(by takanori@…): I confirmed this problem on Xcode 4.2 GM/Lion. So I guess the original reporter was using clang 3.0 as a compiler. {{{ $ clang --version Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn) Target: x86_64-apple-darwin11.1.0 Thread model: posix }}} -- Ticket URL: <https://trac.macports.org/ticket/31492#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31492: inkscape: gcc >= 3.0 is needed to compile inkscape ---------------------------------+------------------------------------------ Reporter: fbartolom@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: inkscape ---------------------------------+------------------------------------------ Changes (by devans@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/31492#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31492: inkscape: gcc >= 3.0 is needed to compile inkscape ---------------------------------+------------------------------------------ Reporter: fbartolom@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: inkscape ---------------------------------+------------------------------------------ Comment(by devans@…): Although I don't have Lion installed, I was able to confirm the problem on XCode 4.1/SL as well by setting {{{ configure.compiler clang }}} The gcc version check in configure fails, not because the clang version is 3.0 or less (2.1 in XCode 4.1) but because the check is looking for a line with the string 'gcc version' in the output of 'clang -v' which it never finds. This sets results in the extracted major version being set to 0. I tried disabling this check in the case where clang is the compiler and configure completed successfully, but the build phase fails miserably using clang. Attached is a patch for the port file that sets the compiler to llvm- gcc-4.2 if the selected compiler is clang. This works for me but needs to be tested on Lion. Please let me know if this works on Lion or if not what modifications to make. Thanks -- Ticket URL: <https://trac.macports.org/ticket/31492#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31492: inkscape: gcc >= 3.0 is needed to compile inkscape ---------------------------------+------------------------------------------ Reporter: fbartolom@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: inkscape ---------------------------------+------------------------------------------ Comment(by takanori@…): {{{ Patch to use llvm-gcc-4.2 instead of clang }}} It works fine on Xcode 4.2/Lion. :-) -- Ticket URL: <https://trac.macports.org/ticket/31492#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31492: inkscape: gcc >= 3.0 is needed to compile inkscape ----------------------------------+----------------------------------------- Reporter: fbartolom@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: clang Port: inkscape | ----------------------------------+----------------------------------------- Changes (by devans@…): * status: assigned => closed * keywords: => clang * resolution: => fixed Comment: Fix committed in r85061, thanks. -- Ticket URL: <https://trac.macports.org/ticket/31492#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31492: inkscape: gcc >= 3.0 is needed to compile inkscape ----------------------------------+----------------------------------------- Reporter: fbartolom@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: clang Port: inkscape | ----------------------------------+----------------------------------------- Comment(by suv-sf@…): Replying to [comment:4 devans@…]:
I tried disabling this check in the case where clang is the compiler and configure completed successfully, but the build phase fails miserably using clang.
Upstream ticket filed:[[BR]] [https://bugs.launchpad.net/inkscape/+bug/992124 Bug 992124 “RFE: clang support”] -- Ticket URL: <https://trac.macports.org/ticket/31492#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts