[MacPorts] #34221: gettext fails to build after osx 10.8 and xcode 4.4 upgrade

MacPorts noreply at macports.org
Sun Jul 29 11:46:23 PDT 2012


#34221: gettext fails to build after osx 10.8 and xcode 4.4 upgrade
----------------------------------------+-----------------------------------
  Reporter:  richard.t.lloyd@…          |       Owner:  macports-tickets@…                   
      Type:  defect                     |      Status:  reopened                             
  Priority:  Normal                     |   Milestone:                                       
 Component:  ports                      |     Version:  2.0.4                                
Resolution:                             |    Keywords:  gettext osx10.8 xcode4.4             
      Port:  gettext                    |  
----------------------------------------+-----------------------------------

Comment(by codewranglers@…):

 Replying to [comment:15 tacliat@…]:
 > On a whim I did a chmod u+s of the javac, java and jar binaries, since
 running configure worked as root. (this says run these binaries as root no
 matter which user executes them)
 >
 > This solved the problem, so its something about the macports user is my
 guess.
 >
 > FYI If you do use the chmod, after you are done building you can undo
 the change by running chmod u-s javac java jar



 The SetUID did the trick for me, too. Configure script took the stumbling
 block. Thanks for your creative thinking :)

 But unfortunately a bit later in that configure run a bunch of errors
 turned up:
 {{{
 checking for sched_yield in -lposix4... no
 configure: creating ./config.status
 ./configure: line 26835: ./config.status: Permission denied
 ./configure: line 26849: ./config.status: Permission denied
 :
 sed: stdout: Broken pipe
 :
 configure: error: write failure creating ./config.status
 configure: error: ./configure failed for gettext-runtime
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work/gettext-0.18.1.1"
 && ./configure --prefix=/opt/local ac_cv_prog_AWK=/usr/bin/awk
 ac_cv_path_GREP=/usr/bin/grep ac_cv_path_SED=/usr/bin/sed --disable-csharp
 --disable-native-java --without-emacs --with-included-gettext --with-
 included-glib --with-included-libcroco --with-included-libxml --without-
 git --without-cvs
 Exit code: 1
 Error: org.macports.configure for port gettext returned: configure
 failure: command execution failed
 DEBUG: Error code: NONE
 DEBUG: Backtrace: configure failure: command execution failed
     while executing
 "$procedure $targetname"
 }}}

 Haven't figured out yet what the reason for that could be.

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


More information about the macports-tickets mailing list