Gnumake has broken PATH behavior in xcode 3.2; are others seeing this?

It appears that the handling of the PATH variable is now broken in Xcode 3.2 with Snow Leopard.
As long as SHELL is still set to the default of /bin/sh, simple commands seem to now be handled differently (perhaps via a built-in optimization?) and only the pre-existing environment PATH to gnumake is used, instead of the PATH variable. This results in inconsistent behavior, where printing $PATH from the shell shows the correct path, and "which" can locate an executable, but when you try to run it, it says it can't be found.
The following Makefile demonstrates this, if you run "make test1" with the new make.
It fails, but should succeed. Meanwhile "make test2" and "make test3" succeed.
Note that if you change SHELL to something other than /bin/sh, it will work for test1,
even if what it points to is just a copy of /bin/sh named something else.
Is anyone else seeing this happen? It's odd, since the gnu version of make is the same for Xcode 3.1 and 3.2, so Apple must be making some other optimizations that affect it.
Here's the Makefile to show this:
(unfortunately, the tabs don't seem to be coming through, so you'll need to re-indent this
properly as a Makefile)
PATH := mybin:$(PATH)
export MAKE
test1: mybin/testprogram
echo SHELL=$(SHELL)
echo PATH=$(PATH)
which testprogram
testprogram
test2: mybin/testprogram
echo SHELL=$(SHELL)
echo PATH=$(PATH)
which testprogram
echo; testprogram
test3: mybin/testprogram
echo SHELL=$(SHELL)
echo PATH=$(PATH)
which testprogram
a=0 testprogram
mybin/testprogram:
mkdir -p mybin
echo "#!/bin/sh" > $@
echo 'echo "($$MAKE) has run $$0"' >> $@
chmod +x $@

I misquoted some details. At the time the incident occurred my Remote Desktop Administrator was the only ARD admin configured to use the task server where the data was lost from. The other 4 where not yet configured.
(the old server we are retiring (with it's own separate license had the other Remote Desktop Administrators reporting to it)
I have started switching other Administrators over to the server in question and have not seen any more systems disappear from the sqlite3 database.
I also updated our old task server to 3.3.1 on Friday and over the weekend it maintained all the data. Even for a system that has not reported any new data since September of 2006.

Similar Messages

  • ITunes 10.1.6.7 update has broken my foreign font display - Asian characters are now squares. How do I fix this?

    The iTunes 10.1.6.7 update has broken my foreign font display - Asian characters are now squares.
    They are fine on my iPhone, copying to other documents & through the Last FM scrobbler, yet iTunes shows songs incorrectly. I've fiddled with the ID3/Unicode settings - nothing changes.
    For example: iTunes shows a bunch of squares, yet when I copy and paste them here it becomes ~  일렉트로보이즈
    This was not a problem earlier - everything was fine in the four years or so I've used iTunes until, I believe, this update. If it was not the update, I'm not sure what else it could be?
    Any suggestions on how to fix this? Thank you!

    Thank you so much! I vigorously searched around these parts and the general internet before posting and found nothing - it's so simple, too
    Hahaha, turns out it was Windows, not iTunes, that broke my font

  • Denim update has broken accelerometer on Lumia 930 (UK CV). Anyone experiencing this?

    Hey all,
    After the denim firmware update my 930's accelerometer starting lagging badly (2 or 3 seconds). This is either on games or just the normal screen rotation.. I found more people with the same problem after the update, so far only in the UK CV.
    I haven't found a solution yet, only thing I haven't tried is a hard reset and I'd really like to avoid that. It is really annoying as I'm developing an app that depends on the accelerometer..
    I contacted @LumiaHelp on twitter, and they directed me here.
    Anyone with the same problem? Resolution suggestions (without hard resetting) ?
    Phone status:
    - OS Version: 8.10.14226.359
    - Firmware revision: 02540.00019.14522.26006
    - Mobile Operator: 000-GB
    Video showing the problem: https://www.youtube.com/watch?v=3jovOzasyjw
    Thanks
    Ricardo
    Ricardo Caldeira

    Hi Ricardo,
    This forum is to discuss windows phone development issue. I think your question is about the firmware, I would recommend you post your question on answers forum
    http://answers.microsoft.com/en-us/.
    Please feel free to let me know if you have any concerns.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • Upgrade to IOS 6 has caused everything to slow down, noticeably..ANYONE ELSE SEEING THIS PARTICULARLY ON MY MAC

    Is anyone else seeing this noticeable slow down? 
    Ever since the IOS 6 , at least since then, everything slows down and nothing is wrong, just nothing is any where near as fast as it used to be... Other friends who have macs also say the same....
    Is there a fix coming or something to restore thiings back to normal.

    Allan,
    Just about everything...The internet is slow and I have a very fast FIOS connection 25 up and down....
    You click on something, i.e. a bookmark and it takes a while for it to do anything...Dock items seem to react slower to open, it is like it thinking about it before anything happens....
    Not sure how to describe it, but several friends have said the exact same thing...even on our Ipads...
    Do you see nothing slower?
    Harry

  • Illustrator 6.0 vector paths, when opened in Illustrator CC are now all broken into segments?

    Illustrator 6.0 vector paths, when opened in Illustrator CC are now all broken into segments at key points (ie. a circle, has become a series of 4 quarter circle lines. Has anyone experienced this and is there a quick fix? I still have both Illustrator versions installed and can go back to use the original files, however I'd like to upgrade smoothly without having to redo all my vectors!    

    That is strange sounds like what happens when you open a die built in autocad, in illustrator. What happens if you paste a CS6 path into CC?

  • Mavericks has broken most stock apps, app store ,preview, messages, facetime ect the list goes on they bounce in the menu then nothing its been like that since installing mavericks fixed briefly by reinstalling but then stopped again very quickly

    mavericks has broken most stock apps, app store ,preview, messages, facetime ect the list goes on they bounce in the menu then nothing its been like that since installing mavericks fixed briefly by reinstalling but then stopped again very quickly
    any help ?

    You most likely ran a defective third-party "utility" such as "CleanMyMac" or "MacCleanse" that purports to "clean up" "junk" files. What it really does is to corrupt the operating system and many applications.   
    The first thing you need to do is remove that software according to the developer's instructions. Never install it, or anything like it, again. Then see below.
    If you don't already have a current backup, back up all data, then reinstall the OS.* You don't need to erase the startup volume, and you won't need the backup unless something goes wrong. If the system was upgraded from an older version of OS X, you may need the Apple ID and password you used.
    If you use FileVault 2, then before running the Installer you must launch Disk Utility and select the icon of the FileVault startup volume ("Macintosh HD," unless you gave it a different name.) It will be nested below another icon with the same name. Click the Unlock button in the toolbar and enter your login password when prompted. Then quit Disk Utility to be returned to the main Recovery screen.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    If you installed the Java runtime distributed by Apple and still need it, you'll have to reinstall it. The same goes for Xcode. All other data will be preserved.
    *The linked support article refers to OS X 10.9 ("Mavericks"), but the procedure is the same for OS X 10.7 ("Lion") and later.

  • IPhone has broken links in mail

    I receive several mail with links from forums I visit. On my iPad I can just tab the links, but on the iPhone the links are broken, and when I tab them, the path to the forum thread is not existing. This has been a problem very long, please help.

    Daniel,
    try to duplicate the problem when you make a new User account on your Mac:
    - open System Preferences, Accounts
    - click the + sign and make a new User
    - switch to the new user account (appears top right when you click on your user name)
    - start Mail and enter your email account settings
    - try sending a Mail
    If this duplicates your problem, the Mail program itself maybe corrupt and you may need to re-install.
    If this does not duplicate your problem, your problem is local.
    Not sure how you can repair this, but you might try to drag your plist file to the desktop and restart Mail:
    Open Preferences from within the Mail program and note the exact settings for your email accounts.
    Quit Mail
    Drag the following file to the desktop:
    your home directory / Library / Preferences / com.apple.mail.plist
    Restart Mail
    Re-install your mail settings
    These actions will not interfere with your mailboxes, it will simply create a new plist preference file when you re-start Mail.

  • Software Update has broken my system

    Software Update has broken my system so that I can no longer restart or shutdown normally. All attempts to restart or shutdown hang the system with a grey screen and a Software Update menu on the menu bar. The menus can be pulled down, but the menu items, like "restart", are not functional. I have to use the control/command/power keys to force a restart, and then command-R after the chime to get to a screen where I can shutdown.
    I have just done a complete reinstall of the operating system (10.7.5), with no change in this behavior. I have also tried to do a manual installation of the latest security update, but after hitting the restart button, the same Software Update screen appears whether I have actually used Software Update or not. How do I go about nudging my system out of this behavior?

    The startup disk may need repairing.
    Launch Disk Utility located in HD > Applications > Utilities
    Select the startup disk on the left then select the First Aid tab.
    Click:  Verify Disk
    If repairs are necessary, restart while holding down the Command + R keys so you can access ML recovery / Disk Utility. OS X: About OS X Recovery
    If the startup disk does not need repairing, start up in Safe Mode
    Keep in mind a Safe Mode boot takes longer than a normal boot so be patient. When you're in Safe Mode you should see Safe Mode in red top right side of the desktop.
    From there click the Apple menu icon top left in the screen. Select Restart from the drop down menu.

  • Eclipse Mars has broken exisitng JDBC

    Hi all,
    I've upgraded to Eclipse Mars - but loading the current workspace (I told it to upgrade from Luna for compatibility) has broken the JDBC Oracle connection.
    The only settings that may have changed are my machine's Java version. Windows 8.1 has caused me no end of bother recently by having multiple Java installations and being fussy interacting with both 64 and 32 bit versions. I got round this with Luna by forcing a path to v7 in eclipse.ini, but v6 is installed "as default" according to the control panel info. However, both 7 and 8 are supposedly installed.
    Using the new Eclipse installer, it was happy to function using the newest version of Java, but I don't think the binary app is reading it.
    Error fairly standard from Java - when testing connection
    "Cannot load JDBC Driver class: oracle.jdbc.OracleDrvier."
    Nothing has changed with the native Oracle instant client.
    Posted in both Eclipse and BIRT forums as it's BIRT I'm using.
    Any thoughts or more info needed?
    Thanks

    Fixed already: Mars needed to restore the previously used OJDBC.jar driver which didn't automatically get read for some reason.

  • Mars has broken existing JDBC Oracle connections

    Hi all,
    I've upgraded to Eclipse Mars - but loading the current workspace (I told it to upgrade from Luna for compatibility) has broken the JDBC Oracle connection.
    The only settings that may have changed are my machine's Java version. Windows 8.1 has caused me no end of bother recently by having multiple Java installations and being fussy interacting with both 64 and 32 bit versions. I got round this with Luna by forcing a path to v7 in eclipse.ini, but v6 is installed "as default" according to the control panel info. However, both 7 and 8 are supposedly installed.
    Using the new Eclipse installer, it was happy to function using the newest version of Java, but I don't think the binary app is reading it.
    Error fairly standard from Java - when testing connection
    "Cannot load JDBC Driver class: oracle.jdbc.OracleDrvier."
    Nothing has changed with the native Oracle instant client.
    Posted in both Eclipse and BIRT forums as it's BIRT I'm using.
    Any thoughts or more info needed?
    Thanks

    Fixed already: Mars needed to restore the previously used OJDBC.jar driver which didn't automatically get read for some reason.

  • [svn:osmf:] 15950: Fix broken resize behavior in HelloWorld sample.

    Revision: 15950
    Revision: 15950
    Author:   [email protected]
    Date:     2010-05-07 09:54:21 -0700 (Fri, 07 May 2010)
    Log Message:
    Fix broken resize behavior in HelloWorld sample.
    Modified Paths:
        osmf/trunk/apps/samples/framework/HelloWorld/HelloWorld7.as

  • Broken Archive Behavior with Yosemite Mac Mail and Gmail?

    Hi -
    It seems that with the Yosemite upgrade of Mail, the archive behavior with gmail (google apps) has broken. You can not change the Archive command to select the archive folder. The command just seems just to move the message from the Inbox to to the All Mail folder and no longer shows any messages in my folder called Archive. I have to go to gmail web to view these messages. This broke from Mavericks where I was able to archive to a mailbox called 'Archive'.
    Is there anyway to change the behavior of Mail to select the archive folder and view the contents of my IMAP folder named 'Archive'?
    Thanks

    Hello VMH!
    When either one of us deletes a message, it is automatically deleted from the other's Mail Inbox
    That's exactly what IMAP is for: to sync mailboxes on different machines.
    We would very much like to find a simple way to make sure whatever messages get downloaded into our Mail Inboxes stay there regardless of what the other person does.
    As far as I know, that's not possible with IMAP. Besides, as I indicated above, it contradicts the idea behind IMAP. For info on IMAP and Gmail see this [Help Page|http://mail.google.com/support/bin/answer.py?hl=en&ctx=mail&answer=75725] (click the link) and for info on deleting IMAP messages in Gmail see [this page|http://mail.google.com/support/bin/answer.py?hl=en&answer=78755] (again, click the link).
    In your case I would recommend using POP instead of IMAP. But you have to make sure that the messages you download are kept on the server, so that your wife can access them, too. In the following I'll give some instructions on how to accomplish that.
    *1) Switch from IMAP to POP in Gmail*
    1.1 Log into your Gmail account via mail.google.com, click "Settings" in the upper right corner of the window and select "Forwarding and POP/IMAP". Make sure POP is enabled for "all mail".
    1.2 Set the option "When messages are accessed with POP" via the drop-down menu to "Keep Google Mail's copy in the Inbox".
    1.3 Disable IMAP access.
    *2) Create a new POP mail account in Apple Mail*
    *3) Adjust Apple Mail's settings*
    In Apple Mail's Preferences > Accounts, select your new POP account and click on the "Advanced" tab. There you have to uncheck the checkbox next to "Remove copy from server after retrieving a message".
    (You'll have to repeat steps 2) and 3) on your wife's computer as well.)
    Hope that helps to get you started.
    Good computing.
    floba
    (MN592)

  • My Mac has broken and I want to sell it for parts. How can I be sure that my personal data that is/was on the hard drive is safe?

    My 2006 MacBook Pro has broken. There is a little bit of drive noise when I turn it on, but then nothing happens. It is no big deal. Most of my files were backed up. There are a few files I would like to recover if possible, but nothing worth a major effort.
    I have seen that broken MacBook Pro's go for about $300 on eBay for parts, so I would like to sell the MacBook Pro. However, I only want to do that after I am sure that my personal data is wiped out. Does anyone know how I can accomplish that? Does anyone know of an easy way to search the old hard drive for some of the data that I lost? Can a Genius Bar take care of this stuff for me (and how much do they charge?)?
    Thank you for your help.
    - Eric

    EricNY wrote:
    I only want to do that after I am sure that my personal data is wiped out. Does anyone know how I can accomplish that?
    The ONLY real secure way to be sure that noone may recover data from your drive is, to remove the drive, and drill one or two 1" holes thru the disk.
    A bit less secure but useful way is, to wipe out the data with a tool that's overwrite all sectors of the drive with randomized data in multiple runs.
    For example: Permanent Ereaser http://www.edenwaith.com/products/permanent%20eraser/
    Independent tests bring out, that even specialized recovery companies with forensic tools are unable to find useful data after such a run.
    EricNY wrote:
    Does anyone know of an easy way to search the old hard drive for some of the data that I lost?
    There are some recovery tools out there to fit your needs, e.g. MacKeeper http://mackeeper.zeobit.com/mac-data-recovery
    Lupunus

  • Why do I not have access to all the features of my Canon MG5320 printer in all applications which use a printer? The printer has two paper paths. The rear path is used for photo paper and other specialty papers. this is only one "unavailable".

    I have an iMac late 2012 with OSX 10.8.
    The MG5320 has two paper feed paths; one at the rear for photo paper, brochure paper, and other specialty papers and a tray for regular 8½x11 paper. It also can print on CDs and DVDs and has an automatic duplexer. Canon provides a utility for printing on the CDs and DVDs and also for printing photos and other specialty items. This is available in Mac format also. I installed the most recent drivers and utilities.
    I also have a HP IBM Compatible computer on which the above printer as well as an Epson are installed. Every option of each printer is available in every software application that has need for a printer.
    The Mac printer dialog varies from one application to another. The only applications that list the option for selecting paper quality which includes photo paper are Office for Mac, Pages, and Numbers. Not likely that I would be using any of these for photo printing. Auto duplexing, however, is not available here or in any other applications.
    The print dialog in Aperture, Photoshop Elements for Mac, ACDSee for Mac, or iPhoto provide the choice of numerous sizes of paper but no option for paper quality. Therefore, I attempted to use the print utility supplied by Canon and updated by Apple for printing some photos. The photos are selected in this utility. When the print command was given I was shown a message that the printer was being reset. It then began printing a spreadsheet, which was not even open, from the front tray on regular paper in fast draft quality.
    It is essential that the rear feed be available for printing photos. The printer will not accept photo paper from the front tray. The greater proportion of my printing is photos or other specialty items all of which use paper that must be fed from the rear feed.
    An acquaintence who considers himself to be somewhat of a Mac expert insists that the printer options that I require are available and all I need to do is look for them. The print dialog should be clear enough that "looking for options" is not a necessity. Even so, I have dilligently searched every variation of the Mac print dialog on my iMac and only the office type applications named above included anything other than the basic printer functions.
    I have also searched numerous locations online without finding a solution. I did, however, find that printing and printing problems seem to be common with several versions of the Mac OS and Mac computers in general.
    I would appreciate it if someone could provide me with a solution. I have no desire to upgrade my Windows OS to Windows 8 which is perhaps suitable for "smart" phones but not desktop computers. However, because of the printing issue I have temporarily put my iMac aside and reverted to using my PC with Windows Vista.
    Help!!

    This is a user forum I feel you need to deal with Adobe customer services or support chat did not work in you case.

  • The computer I usually pair my iphone 4 with has broken.  How do I set it up to pair with my other computer without losing the applications and songs already purchased on the iphone?

    The computer I usually pair my iphone 4 with has BROKEN.  How do I change the pairing to another computer.  I tried to pair it to my other computer and it tells me I have to delete everything on the iphone to continue.  I have alot of items purchased so I dont want to do that?  Can someone please help me.

    Read http://support.apple.com/kb/HT4236

Maybe you are looking for

  • Connect iMac to Smart TV

    We have a big presentation in the new year and are buying a smart tv to connect to a 27" iMac. Our designer will be making changes to designs in Illustrator that we want the clients to view on the smart TV. What's the best way of linking the two plea

  • Oracle Essbase not starting up

    Hi, We are having issues with oracle essbase server in our oracle Hyperion planning system. The ./opmncl startall process gives below error. checked OPMN log and it says, JVM initialization and singleserver signon are succesfull. However, i see error

  • Thirdparty sales order visibility

    Hi, Can we view Third party sales order in MD04 Stock req list? Thanks and Regds Sridhara K N

  • Playback Window Goes Blank

    When I drag clips or transitions into the timeline, the playback screen goes blank. If i completely close the program and reopen it, the playback window works again until I try to drag another clip or transition to the timeline.

  • Iphoto 11 creating events

    While editing photos in an event, iphoto basically split the event I was working in. Never had that happen before. Also, while adding titles I would get halfway finished and the text box would suddenly close. iPhoto also shut down unexpectedly. Been