| Summary: | quilt-native doesn't build | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Alex deVries <alex.devries> |
| Component: | core | Assignee: | Nitin Kamble <nitin.a.kamble> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | minor | ||
| Priority: | Low | CC: | ke.yu, kevin.tian, meta.mr.watcher, meta.watcher, sgw |
| Version: | 0.9 | ||
| Target Milestone: | 1.0 M1 | ||
| Hardware: | x86 | ||
| OS: | x86 | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
Nitin is the owner of quilt, and he will help to take look. My build system is fedora. Can somebody provide access to an Ubuntu squeeze/sid system? Thanks & Regards, Nitin I tried it in my Ubuntu 10.04, the quilt-native can compile successful, and yet it still has error "make: ./git-desc: Command not found", so looks this error is harmless. the mail also mention this. so probably the compile failure is caused by the "/bin/sed: -e expression #1, char 55: unknown option to `s'" (In reply to comment #3) > I tried it in my Ubuntu 10.04, the quilt-native can compile successful, and yet > it still has error "make: ./git-desc: Command not found", so looks this error > is harmless. the mail also mention this. > > so probably the compile failure is caused by the "/bin/sed: -e expression #1, > char 55: unknown option to `s'" You're right, this is the actual terminal failure. - A Oh, I understand the problem. The sed expression around line 261 in Makefile.in doesn't escape the : properly. So if you have a : in your path, it'll fail out with the above error. This is a bug, but can be avoided by just not using a : in your path. - A Having a colon in a path isn't such an unreasonable thing; if it hit me, it'll hit others. The right way to fix this is to autoconf the *.in files instead of this painful sed line. That's a pretty large fix. It pains me to suggest autoconf as the solution to anything, but it is. But not using a : in your path is a reasonable workaround, which is why I'm moving this to be a minor bug. The git-desc error is just misleading, we should really patch it with the above. I suggest we just leave this as minor with a workaround and move on. - A Just chatted with Alex, and we realized that this is not a bug related to Ubuntu. It is actually issue of having a : in build dirname. It was confusing sed -e 's: ...<build dirname> : ... :g' parameter. Seeting this to low priority now. The current master tree does not show this issue. This command is succeeding for me: bitbake quilt-native |
When building quilt-native on an Ubuntu squeeze/sid, I get the following error: Log data follows: | NOTE: make | make: ./git-desc: Command not found | bin/quilt.in -> bin/quilt | /bin/sed: -e expression #1, char 55: unknown option to `s' | make: *** [bin/quilt] Error 1 | FATAL: oe_runmake failed | ERROR: Task failed: ('function do_compile failed', '/home/alex/poky/nxy/build/20101103-16:51:45/tmp/work/x86_64-linux/quilt-native-0.48-r0/quilt-0.48/build/tmp/work/x86_64-linux/quilt-native-0.48-r0/temp/log.do_compile.8599') NOTE: package quilt-native-0.48-r0: task do_compile: Failed This is identical to the following reported bug: http://www.mail-archive.com/quilt-dev@nongnu.org/msg01314.html It isn't really clear why there's no git-desc... - A