New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14523 (closed defect: duplicate)

Opened 5 years ago

Last modified 4 years ago

sqlite3 fails to build on new macos/macports installation (NAWK variable empty)

Reported by: nuclear@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: sqlite3 sqlite NAWK "-f" Cc:
Port:

Description

I just installed macports for the first time on a new mac system, and when I tried to port install sqlite3 (indirectly, as a dependency of subversion), it failed to build with errors that looked like incomplete commands (starting with -f ..).

After further investigation I found an empty NAWK variable in the sqlite makefile (NAWK=) which caused rules of the form: $(NAWK) -f whatever, to be issued as: -f whatever.

When I filled in this variable and tried to install the port again, everything worked fine.

Change History

comment:1 Changed 5 years ago by ram@…

  • Owner changed from macports-tickets@… to mww@…
  • Milestone set to Port Bugs

assigning to maintainer

comment:2 Changed 5 years ago by ryandesign@…

This is biting a lot of people running Leopard, and for whatever reason, simply attempting the install again fixes it.

#14938 may be the same problem.

comment:3 Changed 5 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to duplicate

Duplicate of #13953.

comment:4 in reply to: ↑ description Changed 5 years ago by lambert@…

Thanks for reporting this. I've experienced the same problem. For the sake of completeness, can you specify what you filled in the NAWK variable with (awk or gawk)?

Many thanks,

Replying to nuclear@…:

I just installed macports for the first time on a new mac system, and when I tried to port install sqlite3 (indirectly, as a dependency of subversion), it failed to build with errors that looked like incomplete commands (starting with -f ..).

After further investigation I found an empty NAWK variable in the sqlite makefile (NAWK=) which caused rules of the form: $(NAWK) -f whatever, to be issued as: -f whatever.

When I filled in this variable and tried to install the port again, everything worked fine.

comment:5 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.