Ticket #26083 (closed defect: worksforme)
sqlite3 universal build fails when readline is not universal
| Reported by: | jonathan.hayward@… | Owned by: | mww@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.1 |
| Keywords: | Cc: | ||
| Port: | sqlite3 |
Description (last modified by ryandesign@…) (diff)
Building sqlite3 fails; command line output is below; I have attached the build log.
bash-3.2# port install -f sqlite3 ---> Computing dependencies for sqlite3 ---> Fetching sqlite3 ---> Verifying checksum(s) for sqlite3 ---> Extracting sqlite3 ---> Configuring sqlite3 ---> Building sqlite3 Error: Target org.macports.build returned: shell command failed Log for sqlite3 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_sqlite3/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Jonathan, http://JonathansCorner.com
Attachments
Change History
comment:1 Changed 3 years ago by ryandesign@…
- Port set to sqlite3
- Owner changed from macports-tickets@… to mww@…
- Description modified (diff)
- Summary changed from sqlite3 build fails on Snow Leopard to sqlite3 universal build fails when readline is not universal
Please remember WikiFormatting, preview before you submit, fill in the Port field, Cc the port maintainer.
sqlite3 builds fine on Snow Leopard. The problem is you are trying to build sqlite3 universal but its dependency readline has not been built universal. Rebuild readline universal, then clean sqlite3 and try again.
sudo port clean sqlite3 sudo port upgrade --enforce-variants readline +universal
comment:2 in reply to: ↑ description Changed 3 years ago by ryandesign@…
Replying to jonathan.hayward@…:
bash-3.2# port install -f sqlite3
FYI, the "-f" flag (and all other one-character-long flags) have no effect unless placed immediately after the word "port", but you don't want to be using the "-f" flag in this case (or in most cases) anyway.
comment:3 Changed 3 years ago by jmr@…
Readline is installed universal according to the log, but apparently not for the needed archs.


Output in /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_sqlite3/main.log