[MacPorts] #38273: org.macports.build for port graphviz returned
#38273: org.macports.build for port graphviz returned ---------------------------+-------------------------------- Reporter: jinlei.phys@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: ---------------------------+-------------------------------- when I was installed graphviz, the following errors happened sudo port install graphviz ---> Computing dependencies for graphviz ---> Fetching archive for graphviz ---> Attempting to fetch graphviz-2.30.1_0+pangocairo+x11.darwin_12.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/graphviz ---> Attempting to fetch graphviz-2.30.1_0+pangocairo+x11.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/graphviz ---> Attempting to fetch graphviz-2.30.1_0+pangocairo+x11.darwin_12.x86_64.tbz2 from http://packages.macports.org/graphviz ---> Fetching distfiles for graphviz ---> Verifying checksum(s) for graphviz ---> Extracting graphviz ---> Configuring graphviz ---> Building graphviz Error: org.macports.build for port graphviz returned: command execution failed Please see the log file for port graphviz for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port graphviz failed -- Ticket URL: <https://trac.macports.org/ticket/38273> MacPorts <http://www.macports.org/> Ports system for OS X
#38273: org.macports.build for port graphviz returned ----------------------------+-------------------------- Reporter: jinlei.phys@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: graphviz | ----------------------------+-------------------------- Changes (by larryv@…): * owner: macports-tickets@… => ryandesign@… * port: => graphviz Old description:
when I was installed graphviz, the following errors happened sudo port install graphviz ---> Computing dependencies for graphviz ---> Fetching archive for graphviz ---> Attempting to fetch graphviz-2.30.1_0+pangocairo+x11.darwin_12.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/graphviz ---> Attempting to fetch graphviz-2.30.1_0+pangocairo+x11.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/graphviz ---> Attempting to fetch graphviz-2.30.1_0+pangocairo+x11.darwin_12.x86_64.tbz2 from http://packages.macports.org/graphviz ---> Fetching distfiles for graphviz ---> Verifying checksum(s) for graphviz ---> Extracting graphviz ---> Configuring graphviz ---> Building graphviz Error: org.macports.build for port graphviz returned: command execution failed Please see the log file for port graphviz for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port graphviz failed
New description: when I was installed graphviz, the following errors happened {{{ sudo port install graphviz ---> Computing dependencies for graphviz ---> Fetching archive for graphviz ---> Attempting to fetch graphviz-2.30.1_0+pangocairo+x11.darwin_12.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/graphviz ---> Attempting to fetch graphviz-2.30.1_0+pangocairo+x11.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/graphviz ---> Attempting to fetch graphviz-2.30.1_0+pangocairo+x11.darwin_12.x86_64.tbz2 from http://packages.macports.org/graphviz ---> Fetching distfiles for graphviz ---> Verifying checksum(s) for graphviz ---> Extracting graphviz ---> Configuring graphviz ---> Building graphviz Error: org.macports.build for port graphviz returned: command execution failed Please see the log file for port graphviz for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port graphviz failed }}} -- Comment: Thanks for the ticket. In the future, please Cc any port maintainers, and use [[WikiFormatting]] in your ticket descriptions. -- Ticket URL: <https://trac.macports.org/ticket/38273#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38273: org.macports.build for port graphviz returned ----------------------------+-------------------------- Reporter: jinlei.phys@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: graphviz | ----------------------------+-------------------------- Comment (by ryandesign@…): The log says: {{{ :info:build In file included from gvplugin_quartz.c:20: :info:build ./gvplugin_quartz.h:22:10: fatal error: 'ApplicationServices/ApplicationServices.h' file not found :info:build #include <ApplicationServices/ApplicationServices.h> :info:build ^ }}} ApplicationServices is a standard and essential part of OS X. Does /System/Library/Frameworks/ApplicationServices.framework exist? If not, restore it from your backups. -- Ticket URL: <https://trac.macports.org/ticket/38273#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38273: org.macports.build for port graphviz returned ----------------------------+-------------------------- Reporter: jinlei.phys@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: graphviz | ----------------------------+-------------------------- Comment (by jinlei.phys@…): Replying to [comment:4 ryandesign@…]:
The log says:
{{{ :info:build In file included from gvplugin_quartz.c:20: :info:build ./gvplugin_quartz.h:22:10: fatal error: 'ApplicationServices/ApplicationServices.h' file not found :info:build #include <ApplicationServices/ApplicationServices.h> :info:build ^ }}}
ApplicationServices is a standard and essential part of OS X. Does /System/Library/Frameworks/ApplicationServices.framework exist? If not, restore it from your backups.
yes, I think the /System/Library/Frameworks/ApplicationServices.framework exist. {{{ bash-3.2# cd /System/Library/Frameworks/ApplicationServices.framework bash-3.2# ls ApplicationServices Resources Frameworks Versions bash-3.2# pwd /System/Library/Frameworks/ApplicationServices.framework }}} -- Ticket URL: <https://trac.macports.org/ticket/38273#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38273: org.macports.build for port graphviz returned ----------------------------+-------------------------- Reporter: jinlei.phys@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: graphviz | ----------------------------+-------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: You're missing the Headers directory, which is consistent with the error message that Graphviz couldn't find the ApplicationServices.h header: {{{ $ cd /System/Library/Frameworks/ApplicationServices.framework $ ls ApplicationServices Frameworks Headers Resources Versions }}} Please restore it from your backups. -- Ticket URL: <https://trac.macports.org/ticket/38273#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38273: org.macports.build for port graphviz returned ----------------------------+-------------------------- Reporter: jinlei.phys@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: graphviz | ----------------------------+-------------------------- Comment (by jinlei.phys@…): Replying to [comment:6 ryandesign@…]:
You're missing the Headers directory, which is consistent with the error message that Graphviz couldn't find the ApplicationServices.h header: {{{ $ cd /System/Library/Frameworks/ApplicationServices.framework $ ls ApplicationServices Frameworks Headers Resources Versions }}} Please restore it from your backups.
Thank you for your reply.... But the problem is I don't have the backups..... -- Ticket URL: <https://trac.macports.org/ticket/38273#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#38273: graphviz: build fails when ApplicationServices framework is damaged ----------------------------+-------------------------- Reporter: jinlei.phys@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: graphviz | ----------------------------+-------------------------- Comment (by ryandesign@…): Headers is supposed to be a symlink to the Headers directory inside Versions/Current. So if only the symlink is missing, you could recreate it: {{{ $ cd /System/Library/Frameworks/ApplicationServices.framework $ sudo ln -s Versions/Current/Headers Headers }}} If that doesn't work, reinstall OS X; that should reinstall a correct ApplicationServices framework, and repair any other components of your OS that might be similarly damaged. -- Ticket URL: <https://trac.macports.org/ticket/38273#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#38273: graphviz: build fails when ApplicationServices framework is damaged ----------------------------+-------------------------- Reporter: jinlei.phys@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: graphviz | ----------------------------+-------------------------- Comment (by jinlei.phys@…): Replying to [comment:8 ryandesign@…]:
Headers is supposed to be a symlink to the Headers directory inside Versions/Current. So if only the symlink is missing, you could recreate it:
{{{ $ cd /System/Library/Frameworks/ApplicationServices.framework $ sudo ln -s Versions/Current/Headers Headers }}}
If that doesn't work, reinstall OS X; that should reinstall a correct ApplicationServices framework, and repair any other components of your OS that might be similarly damaged.
Thank you. I think my Headers file is missing {{{ kintekiMacBook-Pro:~ jinlei$ cd /System/Library/Frameworks/ApplicationServices.framework kintekiMacBook-Pro:ApplicationServices.framework jinlei$ cd Versions/Current/ kintekiMacBook-Pro:Current jinlei$ ls ApplicationServices Resources Frameworks _CodeSignature kintekiMacBook-Pro:Current jinlei$ }}} But I really don't want to reinstall OS X, Could you give me your Headers file and I use the command ? {{{ sudo ln -s Versions/Current/Headers Headers }}} -- Ticket URL: <https://trac.macports.org/ticket/38273#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#38273: graphviz: build fails when ApplicationServices framework is damaged ----------------------------+-------------------------- Reporter: jinlei.phys@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: graphviz | ----------------------------+-------------------------- Comment (by ryandesign@…): It's a folder, not a file. I've attached it to this ticket. Download, unzip, move it to /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Headers. -- Ticket URL: <https://trac.macports.org/ticket/38273#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#38273: graphviz: build fails when ApplicationServices framework is damaged ----------------------------+-------------------------- Reporter: jinlei.phys@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: graphviz | ----------------------------+-------------------------- Comment (by jinlei.phys@…): Replying to [comment:10 ryandesign@…]:
It's a folder, not a file. I've attached it to this ticket. Download, unzip, move it to /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Headers.
I think the ApplicationServices.h missing problem is solved. But it remind me there is another problem... {{{ :info:build /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:24:10: fatal error: 'CoreServices/CoreServices.h' file not found }}} Why there are so many missing files in my computer? are there some software that I haven't installed cause this problem? -- Ticket URL: <https://trac.macports.org/ticket/38273#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#38273: graphviz: build fails when ApplicationServices framework is damaged ----------------------------+-------------------------- Reporter: jinlei.phys@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: graphviz | ----------------------------+-------------------------- Comment (by ryandesign@…): I don't know why. The simplest fix will be to reinstall the OS. This should not adversely affect any of your user files. -- Ticket URL: <https://trac.macports.org/ticket/38273#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#38273: graphviz: build fails when ApplicationServices framework is damaged ----------------------------+-------------------------- Reporter: jinlei.phys@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: graphviz | ----------------------------+-------------------------- Comment (by jmr@…): {{{ % pkgutil --file-info /System/Library/Frameworks/CoreServices.framework/Versions/A/Headers/CoreServices.h volume: / path: /System/Library/Frameworks/CoreServices.framework/Versions/A/Headers/CoreServices.h pkgid: com.apple.pkg.DevSDKLeo pkg-version: 4.0.0.9000000000.1.1306847324 install-time: 1359631277 uid: 0 gid: 0 mode: 644 }}} So try reinstalling/upgrading the Xcode command line tools. -- Ticket URL: <https://trac.macports.org/ticket/38273#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#38273: graphviz: build fails when ApplicationServices framework is damaged ----------------------------+-------------------------- Reporter: jinlei.phys@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: graphviz | ----------------------------+-------------------------- Comment (by jinlei.phys@…): Replying to [comment:13 jmr@…]:
{{{ % pkgutil --file-info /System/Library/Frameworks/CoreServices.framework/Versions/A/Headers/CoreServices.h volume: / path: /System/Library/Frameworks/CoreServices.framework/Versions/A/Headers/CoreServices.h
pkgid: com.apple.pkg.DevSDKLeo pkg-version: 4.0.0.9000000000.1.1306847324 install-time: 1359631277 uid: 0 gid: 0 mode: 644 }}} So try reinstalling/upgrading the Xcode command line tools.
Thank you. The problem is sloved {{{ kintekiMacBook-Pro:~ jinlei$ sudo port install graphviz ---> Computing dependencies for graphviz ---> Fetching archive for graphviz ---> Attempting to fetch graphviz-2.30.1_0+pangocairo+x11.darwin_12.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/graphviz ---> Attempting to fetch graphviz-2.30.1_0+pangocairo+x11.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/graphviz ---> Attempting to fetch graphviz-2.30.1_0+pangocairo+x11.darwin_12.x86_64.tbz2 from http://packages.macports.org/graphviz ---> Fetching distfiles for graphviz ---> Verifying checksum(s) for graphviz ---> Extracting graphviz ---> Configuring graphviz ---> Building graphviz ---> Staging graphviz into destroot ---> Installing graphviz @2.30.1_0+pangocairo+x11 ---> Activating graphviz @2.30.1_0+pangocairo+x11 ---> Cleaning graphviz ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. }}} -- Ticket URL: <https://trac.macports.org/ticket/38273#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts