[MacPorts] #26952: gimp-app: ScriptExec_Prefix.pch: No such file or directory

MacPorts noreply at macports.org
Tue Jan 11 19:45:48 PST 2011


#26952: gimp-app: ScriptExec_Prefix.pch: No such file or directory
---------------------------------+------------------------------------------
 Reporter:  hanche@…             |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.9.1                                
 Keywords:                       |        Port:  gimp-app                             
---------------------------------+------------------------------------------

Comment(by david.hislop.1@…):

 Replying to [comment:14 david.hislop.1@…]:


 It now works. Yes, you '''do''' have to delete
 {{{/var/folders/*/*/-Caches-/com.apple.Xcode.*}}} manually, but you have
 to pick the right directory! :-(


 {{{ls -l}}} as I did it above didn't find the right directory because
 {{{/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-}}} is 700 owned by
 root:


 {{{
 MacBook:~ david$ ls -ld
 /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-
 drwx------  10 root  wheel  340 12 Jan 12:00
 /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-
 }}}


 Using {{{sudo}}}:


 {{{
 MacBook:~ david$ sudo ls -la
 /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders
 /ScriptExec_Prefix-fjqslffpxdgvupftqlldkqzqbvow
 total 56120
 drwxr-xr-x  4 root  wheel       136  3 Sep 10:46 .
 drwx------  3 root  wheel       102  3 Sep 10:46 ..
 -rw-r--r--  1 root  wheel  28726992  3 Sep 10:46 ScriptExec_Prefix.pch.gch
 -rw-r--r--  1 root  wheel       625  3 Sep 10:46 ScriptExec_Prefix.pch.gch
 .hash-criteria
 }}}


 I {{{sudo mv}}}'d those two files to a temp directory and then {{{sudo
 port -d upgrade gimp-app}}} worked, rebuilding the above files:


 {{{
 MacBook:~ david$ sudo ls -la
 /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders
 /ScriptExec_Prefix-fjqslffpxdgvupftqlldkqzqbvow
 total 56160
 drwxr-xr-x  4 root  wheel       136 12 Jan 13:31 .
 drwx------  3 root  wheel       102  3 Sep 10:46 ..
 -rw-r--r--  1 root  wheel  28747472 12 Jan 13:31 ScriptExec_Prefix.pch.gch
 -rw-r--r--  1 root  wheel       625 12 Jan 13:31 ScriptExec_Prefix.pch.gch
 .hash-criteria
 }}}


 I guess that the previous build was with Xcode 3.2.4. This one was with
 Xcode 3.2.5. Possibly there is an incompatibility with the pre-compiled
 header format between the two versions. In any case, rebuilding fixed it.


 I left {{{-d}}} on to check something I noticed in a previous build that
 might be OK but looked a little odd to me. In the successful build it was
 the same as the previous builds that failed: the "clean" stage uses a path
 different from the "build" stage.


 {{{
 === CLEAN NATIVE TARGET ScriptExec OF PROJECT ScriptExec WITH THE DEFAULT
 CONFIGURATION (Default) ===Check dependenciesClean.Remove clean
 build/Default/ScriptExec.app
     /bin/rm -rf
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_aqua_gimp-app/work/ScriptExec/build/Default/Scr
 iptExec.app

 Clean.Remove clean
 /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders
 /ScriptExec_Prefix-eambjzimyyjxqdbnehsrhulsrtsw/ScriptExec_Prefix.pch.gch
     /bin/rm -rf
 /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders
 /ScriptExec_Prefix-eambjzimyyjxqdbnehsrhulsrtsw/ScriptExec_Prefix.pch.gch
 }}}


 The above uses ScriptExec_Prefix-'''eambjzimyyjxqdbnehsrhulsrtsw'''.


 {{{
 === BUILD NATIVE TARGET ScriptExec OF PROJECT ScriptExec WITH
 CONFIGURATION Deployment ===
 Check dependencies
 ProcessPCH
 /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders
 /ScriptExec_Prefix-fjqslffpxdgvupftqlldkqzqbvow/ScriptExec_Prefix.pch.gch
 ScriptExec_Prefix.pch normal x86_64 c com.apple.compilers.gcc.4_2
 }}}


 The above uses ScriptExec_Prefix-'''fjqslffpxdgvupftqlldkqzqbvow'''.


 Is that intentional?

-- 
Ticket URL: <https://trac.macports.org/ticket/26952#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list