[MacPorts] #13937: expat 2.0.1 build failure

MacPorts trac at macosforge.org
Mon Jan 14 23:32:44 PST 2008


#13937: expat 2.0.1 build failure
-----------------------------------------+----------------------------------
  Reporter:  abigatti at enphaseenergy.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect                      |      Status:  new                                  
  Priority:  Normal                      |   Milestone:  Port Bugs                            
 Component:  ports                       |     Version:  1.6.0                                
Resolution:                              |    Keywords:                                       
-----------------------------------------+----------------------------------
Changes (by jmpp at macports.org):

  * priority:  High => Normal
  * summary:  Error: Target org.macports.configure returned: configure
              failure: shell command " cd
              "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/work/expat-2.0.1"
              && ./configure --prefix=/opt/local
              --mandir=/opt/local/share/man " returned error
              77 => expat 2.0.1 build failure
  * milestone:  MacPorts base bugs => Port Bugs

Old description:

> sudo port -d install sqlite3
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/sqlite3
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/sqlite3
> DEBUG: Requested variant darwin is not provided by port sqlite3.
> DEBUG: Requested variant i386 is not provided by port sqlite3.
> DEBUG: Requested variant macosx is not provided by port sqlite3.
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline
> DEBUG: Requested variant i386 is not provided by port readline.
> DEBUG: Requested variant macosx is not provided by port readline.
> DEBUG: Executing variant darwin provides darwin
> DEBUG: Executing variant darwin_9 provides darwin_9
> DEBUG: Searching for dependency: readline
> DEBUG: Didn't find receipt, going to depspec regex for: readline
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/gawk
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/gawk
> DEBUG: Requested variant darwin is not provided by port gawk.
> DEBUG: Requested variant i386 is not provided by port gawk.
> DEBUG: Requested variant macosx is not provided by port gawk.
> DEBUG: Searching for dependency: gawk
> DEBUG: Didn't find receipt, going to depspec regex for: gawk
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
> DEBUG: Requested variant darwin is not provided by port ncurses.
> DEBUG: Requested variant i386 is not provided by port ncurses.
> DEBUG: Requested variant macosx is not provided by port ncurses.
> DEBUG: Searching for dependency: ncurses
> DEBUG: Didn't find receipt, going to depspec regex for: ncurses
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
> DEBUG: Requested variant darwin is not provided by port ncursesw.
> DEBUG: Requested variant i386 is not provided by port ncursesw.
> DEBUG: Requested variant macosx is not provided by port ncursesw.
> DEBUG: Searching for dependency: ncursesw
> DEBUG: Didn't find receipt, going to depspec regex for: ncursesw
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
> DEBUG: Requested variant darwin is not provided by port libiconv.
> DEBUG: Requested variant i386 is not provided by port libiconv.
> DEBUG: Requested variant macosx is not provided by port libiconv.
> DEBUG: Searching for dependency: libiconv
> DEBUG: Didn't find receipt, going to depspec regex for: libiconv
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext
> DEBUG: Requested variant darwin is not provided by port gettext.
> DEBUG: Requested variant i386 is not provided by port gettext.
> DEBUG: Requested variant macosx is not provided by port gettext.
> DEBUG: Searching for dependency: gettext
> DEBUG: Didn't find receipt, going to depspec regex for: gettext
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf
> DEBUG: Requested variant darwin is not provided by port gperf.
> DEBUG: Requested variant i386 is not provided by port gperf.
> DEBUG: Requested variant macosx is not provided by port gperf.
> DEBUG: Searching for dependency: gperf
> DEBUG: Didn't find receipt, going to depspec regex for: gperf
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
> DEBUG: Searching for dependency: libiconv
> DEBUG: Didn't find receipt, going to depspec regex for: libiconv
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
> DEBUG: Searching for dependency: ncurses
> DEBUG: Didn't find receipt, going to depspec regex for: ncurses
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
> DEBUG: Requested variant darwin is not provided by port expat.
> DEBUG: Requested variant i386 is not provided by port expat.
> DEBUG: Requested variant macosx is not provided by port expat.
> DEBUG: Searching for dependency: expat
> DEBUG: Didn't find receipt, going to depspec regex for: expat
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
> DEBUG: Searching for dependency: ncursesw
> DEBUG: Didn't find receipt, going to depspec regex for: ncursesw
> DEBUG: Skipping completed org.macports.main (expat)
> DEBUG: Skipping completed org.macports.fetch (expat)
> DEBUG: Skipping completed org.macports.checksum (expat)
> DEBUG: Skipping completed org.macports.extract (expat)
> DEBUG: Skipping completed org.macports.patch (expat)
> --->  Configuring expat
> DEBUG: Executing org.macports.configure (expat)
> DEBUG: Using compiler 'Mac OS X gcc 4.0'
> DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/opt/local/include'
> CXXFLAGS='-O2' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0'
> F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2'
> OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install' OBJCFLAGS='-O2'
> FFLAGS='-O2' CC='/usr/bin/gcc-4.0'
> DEBUG: Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/work/expat-2.0.1"
> && ./configure --prefix=/opt/local --mandir=/opt/local/share/man'
> checking build system type... i386-apple-darwin9.0.0
> checking host system type... i386-apple-darwin9.0.0
> checking for gcc... /usr/bin/gcc-4.0
> checking for C compiler default output file name... configure: error: C
> compiler cannot create executables
> See `config.log' for more details.
> Error: Target org.macports.configure returned: configure failure: shell
> command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/work/expat-2.0.1"
> && ./configure --prefix=/opt/local --mandir=/opt/local/share/man "
> returned error 77
> Command output: checking build system type... i386-apple-darwin9.0.0
> checking host system type... i386-apple-darwin9.0.0
> checking for gcc... /usr/bin/gcc-4.0
> checking for C compiler default output file name... configure: error: C
> compiler cannot create executables
> See `config.log' for more details.
>
> Warning: the following items did not execute (for expat):
> org.macports.activate org.macports.configure org.macports.build
> org.macports.destroot org.macports.install
> Error: The following dependencies failed to build: gawk gettext expat
> libiconv gperf ncurses ncursesw readline
> Error: Status 1 encountered during processing.
>

> $ sudo port -v install sqlite3
> --->  Configuring expat
> checking build system type... i386-apple-darwin9.0.0
> checking host system type... i386-apple-darwin9.0.0
> checking for gcc... /usr/bin/gcc-4.0
> checking for C compiler default output file name... configure: error: C
> compiler cannot create executables
> See `config.log' for more details.
> Error: Target org.macports.configure returned: configure failure: shell
> command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/work/expat-2.0.1"
> && ./configure --prefix=/opt/local --mandir=/opt/local/share/man "
> returned error 77
> Command output: checking build system type... i386-apple-darwin9.0.0
> checking host system type... i386-apple-darwin9.0.0
> checking for gcc... /usr/bin/gcc-4.0
> checking for C compiler default output file name... configure: error: C
> compiler cannot create executables
> See `config.log' for more details.
>
> Warning: the following items did not execute (for expat):
> org.macports.activate org.macports.configure org.macports.build
> org.macports.destroot org.macports.install
> Error: The following dependencies failed to build: gawk gettext expat
> libiconv gperf ncurses ncursesw readline
> Error: Status 1 encountered during processing.

New description:

 {{{
  sudo port -d install sqlite3
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/sqlite3
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/sqlite3
 DEBUG: Requested variant darwin is not provided by port sqlite3.
 DEBUG: Requested variant i386 is not provided by port sqlite3.
 DEBUG: Requested variant macosx is not provided by port sqlite3.
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline
 DEBUG: Requested variant i386 is not provided by port readline.
 DEBUG: Requested variant macosx is not provided by port readline.
 DEBUG: Executing variant darwin provides darwin
 DEBUG: Executing variant darwin_9 provides darwin_9
 DEBUG: Searching for dependency: readline
 DEBUG: Didn't find receipt, going to depspec regex for: readline
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/gawk
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/gawk
 DEBUG: Requested variant darwin is not provided by port gawk.
 DEBUG: Requested variant i386 is not provided by port gawk.
 DEBUG: Requested variant macosx is not provided by port gawk.
 DEBUG: Searching for dependency: gawk
 DEBUG: Didn't find receipt, going to depspec regex for: gawk
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
 DEBUG: Requested variant darwin is not provided by port ncurses.
 DEBUG: Requested variant i386 is not provided by port ncurses.
 DEBUG: Requested variant macosx is not provided by port ncurses.
 DEBUG: Searching for dependency: ncurses
 DEBUG: Didn't find receipt, going to depspec regex for: ncurses
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
 DEBUG: Requested variant darwin is not provided by port ncursesw.
 DEBUG: Requested variant i386 is not provided by port ncursesw.
 DEBUG: Requested variant macosx is not provided by port ncursesw.
 DEBUG: Searching for dependency: ncursesw
 DEBUG: Didn't find receipt, going to depspec regex for: ncursesw
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
 DEBUG: Requested variant darwin is not provided by port libiconv.
 DEBUG: Requested variant i386 is not provided by port libiconv.
 DEBUG: Requested variant macosx is not provided by port libiconv.
 DEBUG: Searching for dependency: libiconv
 DEBUG: Didn't find receipt, going to depspec regex for: libiconv
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext
 DEBUG: Requested variant darwin is not provided by port gettext.
 DEBUG: Requested variant i386 is not provided by port gettext.
 DEBUG: Requested variant macosx is not provided by port gettext.
 DEBUG: Searching for dependency: gettext
 DEBUG: Didn't find receipt, going to depspec regex for: gettext
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf
 DEBUG: Requested variant darwin is not provided by port gperf.
 DEBUG: Requested variant i386 is not provided by port gperf.
 DEBUG: Requested variant macosx is not provided by port gperf.
 DEBUG: Searching for dependency: gperf
 DEBUG: Didn't find receipt, going to depspec regex for: gperf
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
 DEBUG: Searching for dependency: libiconv
 DEBUG: Didn't find receipt, going to depspec regex for: libiconv
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
 DEBUG: Searching for dependency: ncurses
 DEBUG: Didn't find receipt, going to depspec regex for: ncurses
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
 DEBUG: Requested variant darwin is not provided by port expat.
 DEBUG: Requested variant i386 is not provided by port expat.
 DEBUG: Requested variant macosx is not provided by port expat.
 DEBUG: Searching for dependency: expat
 DEBUG: Didn't find receipt, going to depspec regex for: expat
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
 DEBUG: Searching for dependency: ncursesw
 DEBUG: Didn't find receipt, going to depspec regex for: ncursesw
 DEBUG: Skipping completed org.macports.main (expat)
 DEBUG: Skipping completed org.macports.fetch (expat)
 DEBUG: Skipping completed org.macports.checksum (expat)
 DEBUG: Skipping completed org.macports.extract (expat)
 DEBUG: Skipping completed org.macports.patch (expat)
 --->  Configuring expat
 DEBUG: Executing org.macports.configure (expat)
 DEBUG: Using compiler 'Mac OS X gcc 4.0'
 DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/opt/local/include'
 CXXFLAGS='-O2' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0'
 F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2'
 OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install' OBJCFLAGS='-O2'
 FFLAGS='-O2' CC='/usr/bin/gcc-4.0'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/work/expat-2.0.1"
 && ./configure --prefix=/opt/local --mandir=/opt/local/share/man'
 checking build system type... i386-apple-darwin9.0.0
 checking host system type... i386-apple-darwin9.0.0
 checking for gcc... /usr/bin/gcc-4.0
 checking for C compiler default output file name... configure: error: C
 compiler cannot create executables
 See `config.log' for more details.
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/work/expat-2.0.1"
 && ./configure --prefix=/opt/local --mandir=/opt/local/share/man "
 returned error 77
 Command output: checking build system type... i386-apple-darwin9.0.0
 checking host system type... i386-apple-darwin9.0.0
 checking for gcc... /usr/bin/gcc-4.0
 checking for C compiler default output file name... configure: error: C
 compiler cannot create executables
 See `config.log' for more details.

 Warning: the following items did not execute (for expat):
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 Error: The following dependencies failed to build: gawk gettext expat
 libiconv gperf ncurses ncursesw readline
 Error: Status 1 encountered during processing.


 $ sudo port -v install sqlite3
 --->  Configuring expat
 checking build system type... i386-apple-darwin9.0.0
 checking host system type... i386-apple-darwin9.0.0
 checking for gcc... /usr/bin/gcc-4.0
 checking for C compiler default output file name... configure: error: C
 compiler cannot create executables
 See `config.log' for more details.
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/work/expat-2.0.1"
 && ./configure --prefix=/opt/local --mandir=/opt/local/share/man "
 returned error 77
 Command output: checking build system type... i386-apple-darwin9.0.0
 checking host system type... i386-apple-darwin9.0.0
 checking for gcc... /usr/bin/gcc-4.0
 checking for C compiler default output file name... configure: error: C
 compiler cannot create executables
 See `config.log' for more details.

 Warning: the following items did not execute (for expat):
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 Error: The following dependencies failed to build: gawk gettext expat
 libiconv gperf ncurses ncursesw readline
 Error: Status 1 encountered during processing.
 }}}

Comment:

 Please read http://guide.macports.org/#project.tickets to learn how to
 create proper ticket reports, thanks!

 -jmpp

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


More information about the macports-tickets mailing list