[MacPorts] #13907: ncursesw-5.6 fails to build with "No awk program found" when gawk built as part of dependencies
#13907: ncursesw-5.6 fails to build with "No awk program found" when gawk built as part of dependencies --------------------------------------------+------------------------------- Reporter: jay macports@contravariant.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | --------------------------------------------+------------------------------- This is on a new Leopard install, with a freshly installed MacPorts-1.6.0 from the dmg, selfupdated and synced. No ports installed. While trying to install subversion-javahlbindings, gawk was built, but then ncurses fails at configure, unable to find awk. However, a subsequent attempt to build ncursesw explicitly works fine. I left the milestone blank because I don't know if this is a "base bug" or a port-specific issue. {{{ % sudo port install subversion-javahlbindings ---> Fetching apr ---> Attempting to fetch apr-1.2.12.tar.bz2 from http://www.apache.org/dist/apr ---> Verifying checksum(s) for apr ---> Extracting apr ---> Configuring apr ---> Building apr with target all ---> Staging apr into destroot ---> Installing apr 1.2.12_0+darwin_9 ---> Activating apr 1.2.12_0+darwin_9 ---> Cleaning apr ---> Fetching db44 ---> Attempting to fetch patch.4.4.20.1 from http://www.oracle.com/technology/products/berkeley-db/db/update/4.4.20/ ---> Attempting to fetch patch.4.4.20.2 from http://www.oracle.com/technology/products/berkeley-db/db/update/4.4.20/ ---> Attempting to fetch patch.4.4.20.3 from http://www.oracle.com/technology/products/berkeley-db/db/update/4.4.20/ ---> Attempting to fetch patch.4.4.20.4 from http://www.oracle.com/technology/products/berkeley-db/db/update/4.4.20/ ---> Attempting to fetch db-4.4.20.tar.gz from http://downloads.sleepycat.com/ ---> Verifying checksum(s) for db44 ---> Extracting db44 ---> Applying patches to db44 ---> Configuring db44 ---> Building db44 with target all ---> Staging db44 into destroot ---> Installing db44 4.4.20_1 ---> Activating db44 4.4.20_1 ---> Cleaning db44 ---> Fetching expat ---> Attempting to fetch expat-2.0.1.tar.gz from http://downloads.sourceforge.net/expat ---> Verifying checksum(s) for expat ---> Extracting expat ---> Configuring expat ---> Building expat with target all ---> Staging expat into destroot ---> Installing expat 2.0.1_0 ---> Activating expat 2.0.1_0 ---> Cleaning expat ---> Fetching libiconv ---> Attempting to fetch libiconv-1.12.tar.gz from http://ftp.gnu.org/gnu/libiconv ---> Verifying checksum(s) for libiconv ---> Extracting libiconv ---> Applying patches to libiconv ---> Configuring libiconv ---> Building libiconv with target all ---> Staging libiconv into destroot ---> Installing libiconv 1.12_0 ---> Activating libiconv 1.12_0 ---> Cleaning libiconv ---> Fetching ncursesw ---> Attempting to fetch ncurses-5.6.tar.gz from http://ftp.gnu.org/gnu/ncurses ---> Verifying checksum(s) for ncursesw ---> Extracting ncursesw ---> Applying patches to ncursesw ---> Configuring ncursesw 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_devel_ncursesw/work/ncurses-5.6" && ./configure --prefix=/opt/local --enable-widec --disable-rpath --with- shared --without-debug --without-ada --enable-safe-sprintf --enable- sigwinch --mandir=/opt/local/share/man " returned error 1 Command output: Configuring for darwin9.1.0 checking for prefix... /opt/local checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.0 accepts -g... yes checking version of /usr/bin/gcc-4.0... 4.0.1 checking how to run the C preprocessor... /usr/bin/cpp-4.0 checking whether /usr/bin/gcc-4.0 needs -traditional... no checking whether /usr/bin/gcc-4.0 understands -c and -o together... yes checking for POSIXized ISC... no checking for /usr/bin/gcc-4.0 option to accept ANSI C... -DCC_HAS_PROTOS checking for ldconfig... no checking if you want to ensure bool is consistent with C++... yes checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++-4.0 accepts -g... yes checking version of g++... 4.0.1 checking if you want to build C++ binding and demo... yes checking if you want to build with Ada95... no checking if you want to build programs such as tic... yes checking if you wish to install curses.h... yes checking for mawk... (cached) no checking for gawk... (cached) no checking for nawk... (cached) no checking for awk... (cached) no configure: error: No awk program found Error: The following dependencies failed to build: apr-util sqlite3 gawk gettext ncurses ncursesw readline junit neon openssl zlib subversion }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13907> MacPorts </projects/macports> Ports system for Mac OS
#13907: ncursesw-5.6 fails to build with "No awk program found" when gawk built as part of dependencies ---------------------------------------------+------------------------------ Reporter: jay macports@contravariant.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------------------+------------------------------ Comment (by jay macports@contravariant.org): I'm not sure what I meant by the "gawk" comment -- I must have not read the spew properly. However, the bug did happen, in that ncursesw failed to build as part of the dependency chain, but later did build successfully. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13907#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13907: ncursesw-5.6 fails to build with "No awk program found" when gawk built as part of dependencies ---------------------------------------------+------------------------------ Reporter: jay macports@contravariant.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------------------+------------------------------ Comment (by afb@macports.org): Yeah, it would be interesting to know why it skipped over `/usr/bin/awk`. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13907#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13907: ncursesw-5.6 fails to build with "No awk program found" when gawk built as part of dependencies ---------------------------------------------+------------------------------ Reporter: jay macports@contravariant.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------------------+------------------------------ Comment (by afb@macports.org): This was previously reported in #13053 -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13907#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13907: ncursesw-5.6 fails to build with "No awk program found" when gawk built as part of dependencies ---------------------------------------------+------------------------------ Reporter: jay macports@contravariant.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------------------+------------------------------ Comment (by jay macports@contravariant.org): The spew had {{{ checking for awk... (cached) no }}} so is it possible that the configure step is picking up cached values somehow? Either the distribution incorrectly contains config.cache, or the configure command is invoked in such a way that it's picked up? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13907#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13907: ncursesw-5.6 fails to build with "No awk program found" when gawk built as part of dependencies ---------------------------------------------+------------------------------ Reporter: jay macports@contravariant.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------------------+------------------------------ Changes (by jmpp@macports.org): * milestone: => Port Bugs -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13907#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#13907: ncursesw-5.6 fails to build with "No awk program found" when gawk built as part of dependencies ---------------------------------------------+------------------------------ Reporter: jay macports@contravariant.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: duplicate | Keywords: ---------------------------------------------+------------------------------ Changes (by ryandesign@macports.org): * status: new => closed * resolution: => duplicate Comment: Duplicate of #13053. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13907#comment:6> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts