Error Unable To Open Port Invalid Command Name Compiler.blacklist
SCAP-on-Apple SmartCard Services WebKit XQuartz Contact Terms of Use Privacy Policy All user-submitted text and content on this website is licensed under a Creative Commons Attribution 2.5 License unless otherwise noted. Copyright © 2011 Apple Inc. All rights reserved. New Ticket Tickets Wiki Browse Source Timeline Roadmap Ticket Reports Search Search: Context Navigation ← Previous TicketNext Ticket → Ticket #38175 (closed defect: invalid) Opened 4 years ago Last modified 4 years ago gimp2 @2.8.2 - "Unable to open port" Reported by: max.ebbinghaus@… Owned by: macports-tickets@… Priority: Normal Milestone: Component: ports Version: 2.1.3 Keywords: Cc: ryandesign@…, devans@… Port: gimp2 Description (last modified by ryandesign@…) (diff) When trying to upgrade gimp2, I got this message: Error: Unable to open port: can't set "compiler.blacklist": gcc-4.2: error trying to exec '/usr/bin/i686-apple-darwin11-gcc-4.2.1': execvp: No such file or directory child process exited abnormally The message repeats every time I try to clean or upgrade gimp2. When upgrading or installing another port, I see that there are broken files and a broken port (gimp2), but MacPorts fails to rebuild gimp2 correctly. I would be very happy to get some advice on how to avoid this compiler.blacklist problem. Thanks. Change History comment:1 Changed 4 years ago by ryandesign@… Keywords gimp2, compiler.blacklist removed Cc ryandesign@…, devans@… added Description modified (diff) The gimp2 portfile includes this line: compiler.blacklist-append {gcc-4.2 >= 5646} This means that MacPorts will check if the program gcc-4.2 exists. If so, it will run "gcc -v" and examine its output. If the build number mentioned in the output is less than 5646 then gcc-4.2 will be blacklisted (i.e. not allowed to be used). In your case, MacPorts apparently determined that gcc-4.2 does exist, but running it caused it to crash, because /usr/bin/i686-apple-darwin11-gcc-4.2.1 doesn't exist. This points to a broken Xcode command line tools installation. What version of OS X and Xcode do you have? If Lion or later, please upgrade to Xcode 4.6, then visit the Xcode application's Preferences window, click Downloads, and ensure the command line tools are installed and up to date. Hopefully that's all that's needed. Xcode 4.3 and later aren't supposed to contain gcc-4.2 anymore, so if the problem persists and gcc-4.2 is still on your system after installing the latest Xcod
SCAP-on-Apple SmartCard Services WebKit XQuartz Contact Terms of Use Privacy Policy All user-submitted text and content on this website is licensed under a Creative Commons Attribution 2.5 License unless otherwise noted. Copyright © 2011 Apple Inc. All rights reserved. New Ticket Tickets Wiki Browse Source Timeline Roadmap Ticket Reports Search Search: Context Navigation ← Previous TicketNext Ticket → Ticket #40169 (closed defect: worksforme) Opened 3 years ago Last modified 3 years ago https://trac.macports.org/ticket/38175 Error: Unable to open port: invalid command name "port::run_callbacks" Reported by: guivho@… Owned by: macports-tickets@… Priority: Normal Milestone: Component: base Version: 2.2.0 Keywords: Cc: ryandesign@… Port: Description Once a week I successfully run following three commands: port selfupdate port installed port outdated However, since a couple of weeks I get following error output as soon as I run `sudo port https://trac.macports.org/ticket/40169 upgrade outdated': Error: Unable to open port: invalid command name "port::run_callbacks" To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets I have searched the web, 'The problem Hotlist', 'the search page' etc but I'm still clueless. This used to work but unfortunately I do not know when exactly it stopped working. My list of outdated ports is growing, so I really need to upgrade :( Please advise, Guido Attachments selfupdate.log (49.3 KB) - added by guivho@… 3 years ago. Change History comment:1 Changed 3 years ago by ryandesign@… Cc ryandesign@… added The string "run_callbacks" does not occur in any Portfile as far as I can tell, so MacPorts must be saying that while running the internal procedure "run_callbacks" it ran into a problem with some port. Unfortunately it didn't tell us what port. Please run "port outdated" to see which ports are outdated, then try upgrading each port individually (e.g. "sudo port upgrade glib2" if glib2 is one of your outdated ports). Hopefully many can be updated that way. Let us know which ones remain. comment:2 follow-u
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack http://stackoverflow.com/questions/16106975/installing-boost-port-in-macports Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Installing Boost port in MacPorts up vote 0 down vote favorite I just installed MacPorts error unable and am trying to install the boost port. When I type: sudo port install boost however, I get an error that says Unable to open port: invalid command name "compiler.blacklist" How can I fix this issue? When I try to do the installation in Pallet instead, nothing happens after choosing install and pressing "start." Thank you for any help you can provide xcode osx boost port macports share|improve this question asked error unable to Apr 19 '13 at 14:27 user1764386 6812924 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote You're running an outdated version of MacPorts. Run sudo port selfupdate. If that fails, you can try to get more information on the type of failure using sudo port -d selfupdate. If that doesn't help either you can just use the most recent installer from the MacPorts website to update your installation. share|improve this answer answered Apr 19 '13 at 15:07 neverpanic 1,866717 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged xcode osx boost port macports or ask your own question. asked 3 years ago viewed 884 times active 3 years ago Related 2How to reserve the original variants while upgrading a port in MacPorts?0Creating Macports port which doesn't need installation, no dependency, only extract2Linking Boost Filesystem in XCode 3.2 (MacPorts)0installing sets/groups/collections of ports using macports14List of installed MacPorts without dependencies0W