[MacPorts] #14568: git-core fails to build with msgfmt not found

MacPorts trac at macosforge.org
Wed Mar 5 23:44:28 PST 2008


#14568: git-core fails to build with msgfmt not found
-----------------------------------------+----------------------------------
 Reporter:  shreevatsa.public at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                       |      Status:  new                                  
 Priority:  Normal                       |   Milestone:  Port Bugs                            
Component:  ports                        |     Version:  1.6.0                                
 Keywords:                               |  
-----------------------------------------+----------------------------------
 Trying to `sudo port -vd install git-core`, I find it fails for some
 strange reason. The last few lines are:
 {{{
 --->  Building git-core with target all gitweb/gitweb.cgi
 DEBUG: Executing org.macports.build (git-core)
 DEBUG: Environment: CFLAGS='-Wall -O2 -I/opt/local/include'
 LDFLAGS='-L/opt/local/lib'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_git-core/work/git-1.5.4.3" && make all
 gitweb/gitweb.cgi prefix=/opt/local CURLDIR=/opt/local
 OPENSSLDIR=/opt/local ICONVDIR=/opt/local PERL_PATH="/usr/bin/env perl"
 NO_FINK=1 NO_DARWIN_PORTS=1'
     SUBDIR git-gui
     SUBDIR gitk-git
 Generating catalog po/de.msg
 msgfmt --statistics --tcl po/de.po -l de -d po/
 make[1]: msgfmt: Command not found
 make[1]: *** [po/de.msg] Error 127
 make: *** [all] Error 2
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_git-core/work/git-1.5.4.3" && make all
 gitweb/gitweb.cgi prefix=/opt/local CURLDIR=/opt/local
 OPENSSLDIR=/opt/local ICONVDIR=/opt/local PERL_PATH="/usr/bin/env perl"
 NO_FINK=1 NO_DARWIN_PORTS=1 " returned error 2
 Command output:     SUBDIR git-gui
     SUBDIR gitk-git
 Generating catalog po/de.msg
 msgfmt --statistics --tcl po/de.po -l de -d po/
 make[1]: msgfmt: Command not found
 make[1]: *** [po/de.msg] Error 127
 make: *** [all] Error 2
 }}}

 I have `msgfmt` in `/opt/local/bin/msgfmt`, and `/opt/local/bin` in my
 `PATH`, but it's possible the build process starts a new shell which
 cannot find it?

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14568>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list