[cross] compiling requires target & host binaries of the lemon compiler

Bug #623202 reported by Peter Pearse
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cross build source patching
Undecided
Unassigned
sqlite3 (Debian)
Fix Released
Unknown
sqlite3 (Ubuntu)
Undecided
Unassigned
Maverick
Undecided
Unassigned

Bug Description

Binary package hint: sqlite

Since the build needs to run the lemon compiler, cross compiling requires that both a host version to use during the build and a target version for the package are produced.

Example patch attached.

Revision history for this message
Peter Pearse (peter-pearse) wrote :

Patch Makefile.in to build & use host lemon during build, target lemon for packaging.

tags: added: patch
Revision history for this message
Loïc Minier (lool) wrote :

Remove:
+#lemon$(BEXE): $(TOP)/tool/lemon.c $(TOP)/src/lempar.c

Could you please send that upstream?

tags: added: cross
Revision history for this message
Steve Langasek (vorlon) wrote :

explicitly untargeting from maverick, since getting this fix into the archive isn't a blocker for us.

affects: sqlite (Ubuntu) → sqlite3 (Ubuntu)
Changed in sqlite3 (Ubuntu Maverick):
status: New → Won't Fix
Revision history for this message
Steve Langasek (vorlon) wrote :

This fix has been uploaded to natty, thanks!

Peter, where bugs have been opened against packages, ideally the bug number would be referenced in the debian/changelog of the patch so it can be autoclosed on upload.

Changed in sqlite3 (Ubuntu):
status: New → Fix Released
Changed in cross-patches:
status: New → Fix Released
Changed in sqlite3 (Debian):
status: Unknown → New
Changed in sqlite3 (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.