Opened 14 years ago

Closed 14 years ago

#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 (Ryan Carsten Schmidt))

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 (1)

main.log (24.6 KB) - added by jonathan.hayward@… 14 years ago.
Output in /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_sqlite3/main.log

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by jonathan.hayward@…

Attachment: main.log added

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

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to mww@…
Port: sqlite3 added
Summary: sqlite3 build fails on Snow Leopardsqlite3 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 14 years ago by ryandesign (Ryan Carsten Schmidt)

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 14 years ago by jmroot (Joshua Root)

Readline is installed universal according to the log, but apparently not for the needed archs.

comment:4 Changed 14 years ago by jonathan.hayward@…

I cleaned sqlite3 and upgraded readline, and things are chugging along. Thanks!

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.