[oe-issues] [Bug 1679] Cross Compile Badness - Prismstumbler

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Fri Mar 9 23:28:54 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=1679


c.romain at laposte.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Comment #5 from c.romain at laposte.net  2007-03-09 15:28 -------
Prismstumbler still have cross compile badness (detected by qa checking).


_Build log_:

NOTE: package prismstumbler-0.7.3: started
NOTE: package prismstumbler-0.7.3-r4: task do_qa_configure: started
NOTE: Checking sanity of the config.log file
ERROR: This autoconf log indicates errors, it looked at host includes. Rerun
configure task after fixing this. Path was
'/home/cyril/OpenEmbedded/build.angstrom/tmp/work/armv5te-angstrom-linux-gnueabi/prismstumbler-0.7.3-r4/prismstumbler-0.7.3/src/gpsd'
ERROR: Error in executing:
ERROR: Exception:exceptions.SystemExit Message:1
ERROR: Printing the environment of the function
ERROR: Build of
/home/cyril/OpenEmbedded/org.openembedded.dev/packages/prismstumbler/prismstumbler_0.7.3.bb
do_qa_configure failed
ERROR: Task 7
(/home/cyril/OpenEmbedded/org.openembedded.dev/packages/prismstumbler/prismstumbler_0.7.3.bb,
do_qa_configure) failed
ERROR:
'/home/cyril/OpenEmbedded/org.openembedded.dev/packages/prismstumbler/prismstumbler_0.7.3.bb'
failed


_Problems_:

1) prismstumbler tries to include headers from host includes.('/usr/include' is
appended to X_CFLAGS when autoconf determine the athena include dir).
2) prismstumbler does not looks for x headers into the staging directory.
3) Finally, prismstumbler-0.7.3/src/gpsd/Makefile.* are hardcoded: explicit use
of 'ar' and 'ranlib' instead of using $(AR) and $(RANLIB). See related bug
#1014.


_Solution_:

1) add --without-athena option
2) add the missing --x-includes= and --x-libraries= options pointing to staging
directory.
3) fix makefiles to allow cross compilation
See patch below


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the Openembedded-issues mailing list