Opened 19 years ago
Closed 17 years ago
#73 closed bug (fixed)
libroot_build.so broken cross-compiling from Linux
Reported by: | Owned by: | bonefish | |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Build System | Version: | |
Keywords: | Cc: | tomas.wilhelmsson@… | |
Blocked By: | Blocking: | ||
Platform: | x86 |
Description (last modified by )
The standard build (jam -q haiku-image) fails with:
.. SetType1 generated/objects/haiku/x86/release/add-ons/kernel/bus_managers/pci/pci Error: "generated/objects/haiku/x86/release/add-ons/kernel/bus_managers/pci/pci": No such file or directory.
when the code tree is located on a partition other than / (eg. /devel/os/haiku, /devel being a reiserfs filesystem). I tracked this problem down a little bit and found out that normalize_dir_path() called from add_dir_path() in src/build/libroot/fs.cpp fails to build an absolute path. When the code tree is moved to /, it works just fine.
Attachments (1)
Change History (11)
comment:1 by , 19 years ago
Summary: | libroot_build.so broken cross-compiling from Linux → libroot_build.so broken cross-compiling from Linux |
---|
comment:2 by , 19 years ago
Status: | new → assigned |
---|
comment:3 by , 19 years ago
comment:5 by , 19 years ago
Cc: | added |
---|
comment:7 by , 19 years ago
Resolution: | → fixed |
---|
comment:8 by , 19 years ago
Status: | assigned → closed |
---|
comment:9 by , 17 years ago
Platform: | → x86 |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
I get the same effects on Linux now (checked out buildtools and haiku today, 2007-08-22): ... AddTargetVariableToScript1 generated/haiku.image-init-vars InitScript1 generated/haiku.image-make-dirs CreateContainerMakeDirectoriesScript1 generated/haiku.image-make-dirs ResComp1 generated/objects/haiku/x86/common/home-config-settings-printers-preview.rsrc rc: Error! unknown error: 80006003 (No such file or directory)
My haiku dir is at /local/haiku and my /local differs from / like this: /dev/sda3 6.3G 3.6G 2.5G 60% / /dev/hda1 151G 12G 138G 8% /local
I can't move the haiku stuff to /, and the "fix" that went in two years ago doesn't solve it for me.
comment:10 by , 17 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
Please don't hijack closed tickets. The original problem has been understood and fixed; this problem is unrelated. Please open a new ticket and attach the complete build output.
The "break" when encountering "." or ".." definitely doesn't look right. The solution for mount points looks interesting. I'll look into that.