Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7944 Discussions

ICC / OS X 10.7.2: This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.

Marc_Lavergne
Beginner
711 Views
There a misuse of the CSBackupSetItemExcluded API in icc for Darwin. If the user isn't an admin on the machine the process is run on and excludeByPath is set to True, the following error is repeated over and over:
2011-12-21 12:12:30.154 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2011-12-21 12:12:30.155 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2011-12-21 12:12:30.156 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2011-12-21 12:12:30.157 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2011-12-21 12:12:30.158 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2011-12-21 12:12:30.159 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2011-12-21 12:12:30.160 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2011-12-21 12:12:30.161 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2011-12-21 12:12:30.162 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2011-12-21 12:12:30.163 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2011-12-21 12:12:30.164 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2011-12-21 12:12:30.165 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2011-12-21 12:12:30.167 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2011-12-21 12:12:30.168 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2011-12-21 12:12:30.154 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2011-12-21 12:12:30.155 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2011-12-21 12:12:30.156 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2011-12-21 12:12:30.157 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2011-12-21 12:12:30.158 icc[32527:303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
This makes it virtually impossible to find and focus on compiler warnings. Please file a bug report for this. Here are some references:
0 Kudos
5 Replies
Marc_Lavergne
Beginner
711 Views
I see what happened here, I searched the forum under Intel C++ Compiler for the error message, there are no hits there, that's why I posted this. The links you provided are indeed the same issue, but reported for the Fortran compiler.
Here's my version string:
icc version 12.1.2 (gcc version 4.2.1 compatibility)
However, the stated work around of invoking the compiler as sudo is a show stopper for an automated build system. The potential for damage from a Makefile error precludes that solution. Is there a fix in the works?

One more question, I saw this: "DPD200171430"Is the bug reporting system searchable for external users outside of forum posts?
Thanks!
0 Kudos
Jeffrey_A_Intel
Employee
711 Views
As you point out, this has been reported most often with the Fortran compiler, but (we think) the root cause is not in the compiler itself so it's not language- or compiler-specific.

I think 12.1.2 is themost recentversion of icc 12.1 available, so you appear to be running the latest.

The putative work-around of using sudo is to run the compiler via sudo one time only. We've had several reports (and I've seen itmyself on several systems) that invoking the compiler once via sudo made the problem go away forever.

"DPD200171430" refers to the entry in our internal problem reporting system. That system is not available externally.
0 Kudos
Marc_Lavergne
Beginner
711 Views
You're absolutely right, I ran "sudo icc" once as the build user and it does appear to have silenced the message. I'm getting clean build logs now. Thanks!
0 Kudos
Jeffrey_A_Intel
Employee
711 Views
The fix for this problem should be available in the next update to the 12.1 compilers which is currently scheduled for February 2012.
0 Kudos
Reply