[MacPorts] #30345: privoxy fail to build on 10.7

MacPorts noreply at macports.org
Sun Jul 24 11:00:54 PDT 2011


#30345: privoxy fail to build on 10.7
--------------------------------------------+-------------------------------
 Reporter:  nicolas.private@…               |       Owner:  macports-tickets@…                   
     Type:  defect                          |      Status:  new                                  
 Priority:  Low                             |   Milestone:                                       
Component:  ports                           |     Version:  2.0.0                                
 Keywords:  privoxy  CC_PRINT_OPTIONS_FILE  |        Port:  privoxy                              
--------------------------------------------+-------------------------------
 I am using 10.7 and trying to install privoxy from clean macports install
 (2.0).

 Here is the log :


 {{{
 debug:configure changing euid/egid - current euid: 0 - current egid: 0
 :debug:configure egid changed to: 503
 :debug:configure euid changed to: 504
 :debug:build build phase started at Sun Jul 24 19:49:20 CEST 2011
 :notice:build --->  Building privoxy
 :debug:build Executing org.macports.build (privoxy)
 :debug:build Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_privoxy/privoxy/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.7'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_privoxy/privoxy/work/privoxy-3.0.17-stable"
 && /usr/bin/make -j2 -w all'
 :debug:build Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_privoxy/privoxy/work/privoxy-3.0.17-stable"
 && /usr/bin/make -j2 -w all
 :info:build make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_privoxy/privoxy/work/privoxy-3.0.17-stable'
 :info:build /Developer/usr/bin/llvm-gcc-4.2 -c -pipe -pipe -O2 -arch
 x86_64 -I/opt/local/include  -Dunix -Wall   actions.c -o actions.o
 :info:build /Developer/usr/bin/llvm-gcc-4.2 -c -pipe -pipe -O2 -arch
 x86_64 -I/opt/local/include  -Dunix -Wall   cgi.c -o cgi.o
 :info:build can not open CC_PRINT_OPTIONS_FILE
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_privoxy/privoxy/work/.CC_PRINT_OPTIONS
 :info:build can not open CC_PRINT_OPTIONS_FILE
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_privoxy/privoxy/work/.CC_PRINT_OPTIONS
 :info:build make: *** [actions.o] Error 1
 :info:build make: *** Waiting for unfinished jobs....
 :info:build make: *** [cgi.o] Error 1
 }}}



 It seems that there is a problem between uid/gid change (503/504) and
 CC_PRINT_OPTIONS_FILE permissions.

 To fix the problem I just change permission on CC_PRINT_OPTIONS_FILE file
 to 777 :

 {{{
 sudo chmod 777
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_privoxy/privoxy/work/.CC_PRINT_OPTIONS
 }}}


 Regards,
 Nicolas.

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


More information about the macports-tickets mailing list