Opened 10 years ago
Closed 10 years ago
#11458 closed bug (fixed)
Invoking jam from subdirectories does not work
Reported by: | pulkomandy | Owned by: | zooey |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Build System | Version: | R1/Development |
Keywords: | Cc: | zooey | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
mkdir generated cd generated ../configure ... cd ../src/add-ons/kernel/ jam -qj2 @install
Fails with:
File ../../../../../generated/objects/common/data/settings/tracker_new_templates/C++ header Chmod1 ../../../../../generated/objects/common/data/settings/tracker_new_templates/C++ header SetType1 ../../../../../generated/objects/common/data/settings/tracker_new_templates/C++ header File ../../../../../generated/objects/common/data/settings/tracker_new_templates/C++ source Chmod1 ../../../../../generated/objects/common/data/settings/tracker_new_templates/C++ source SetType1 ../../../../../generated/objects/common/data/settings/tracker_new_templates/C++ source File ../../../../../generated/objects/common/data/settings/tracker_new_templates/Makefile Chmod1 ../../../../../generated/objects/common/data/settings/tracker_new_templates/Makefile SetType1 ../../../../../generated/objects/common/data/settings/tracker_new_templates/Makefile File ../../../../../generated/objects/common/data/settings/tracker_new_templates/text file Chmod1 ../../../../../generated/objects/common/data/settings/tracker_new_templates/text file SetType1 ../../../../../generated/objects/common/data/settings/tracker_new_templates/text file InitScript1 ../../../../../generated/haiku.image-extract-files AddExtractFileToContainerExtractFilesScript <HaikuImage>haiku.image-extract-files-dummy-home/config/settings/WebPositive-<download>WebPositiveBookmarks-2014-07-21.zip DetermineEffectiveHaikuRevision1 ../../../../../generated/build/effective-haiku-revision PreprocessPackageOrRepositoryInfo1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_loader.hpkg/haiku_loader-package-info PreprocessPackageOrRepositoryInfo1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku.hpkg/haiku-package-info UpdatePackageInfoRequires ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku.hpkg/haiku-package-info UpdatePackageInfoRequires ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_loader.hpkg/haiku_loader-package-info warning: using independent target build_haiku_package warning: using independent target <hpkg_-haiku_loader.hpkg>haiku.package-init-vars warning: using independent target <hpkg_-haiku_loader.hpkg>haiku.package-make-dirs warning: using independent target <hpkg_-haiku_loader.hpkg>haiku.package-copy-files warning: using independent target <hpkg_-haiku_loader.hpkg>haiku.package-extract-files BuildHaikuPackage1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_loader.hpkg warning: using independent target <hpkg_-haiku.hpkg>haiku.package-init-vars warning: using independent target <hpkg_-haiku.hpkg>haiku.package-make-dirs warning: using independent target <hpkg_-haiku.hpkg>haiku.package-copy-files warning: using independent target <hpkg_-haiku.hpkg>haiku.package-extract-files BuildHaikuPackage1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku.hpkg /bin/sh: line 1: ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/build_haiku_package: No such file or directory ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/build_haiku_package "../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku.hpkg" "../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku.hpkg/haiku-package-info" ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku.hpkg/scripts/haiku.package-init-vars ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku.hpkg/scripts/haiku.package-make-dirs ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku.hpkg/scripts/haiku.package-copy-files ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku.hpkg/scripts/haiku.package-extract-files ...failed BuildHaikuPackage1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku.hpkg ... ...removing ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku.hpkg PreprocessPackageOrRepositoryInfo1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_x86.hpkg/haiku_secondary-package-info /bin/sh: line 1: ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/build_haiku_package: No such file or directory ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/build_haiku_package "../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_loader.hpkg" "../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_loader.hpkg/haiku_loader-package-info" ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_loader.hpkg/scripts/haiku.package-init-vars ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_loader.hpkg/scripts/haiku.package-make-dirs ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_loader.hpkg/scripts/haiku.package-copy-files ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_loader.hpkg/scripts/haiku.package-extract-files ...failed BuildHaikuPackage1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_loader.hpkg ... ...removing ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_loader.hpkg PreprocessPackageOrRepositoryInfo1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_devel.hpkg/haiku_devel-package-info UpdatePackageInfoRequires ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_x86.hpkg/haiku_secondary-package-info UpdatePackageInfoRequires ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_devel.hpkg/haiku_devel-package-info warning: using independent target <hpkg_-haiku_x86.hpkg>haiku.package-init-vars warning: using independent target <hpkg_-haiku_x86.hpkg>haiku.package-make-dirs warning: using independent target <hpkg_-haiku_x86.hpkg>haiku.package-copy-files warning: using independent target <hpkg_-haiku_x86.hpkg>haiku.package-extract-files BuildHaikuPackage1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_x86.hpkg warning: using independent target <hpkg_-haiku_devel.hpkg>haiku.package-init-vars warning: using independent target <hpkg_-haiku_devel.hpkg>haiku.package-make-dirs warning: using independent target <hpkg_-haiku_devel.hpkg>haiku.package-copy-files /bin/sh: line 1: ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/build_haiku_package: No such file or directory warning: using independent target <hpkg_-haiku_devel.hpkg>haiku.package-extract-files BuildHaikuPackage1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_devel.hpkg ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/build_haiku_package "../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_x86.hpkg" "../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_x86.hpkg/haiku_secondary-package-info" ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_x86.hpkg/scripts/haiku.package-init-vars ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_x86.hpkg/scripts/haiku.package-make-dirs ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_x86.hpkg/scripts/haiku.package-copy-files ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_x86.hpkg/scripts/haiku.package-extract-files ...failed BuildHaikuPackage1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_x86.hpkg ... ...removing ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_x86.hpkg PreprocessPackageOrRepositoryInfo1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_x86_devel.hpkg/haiku_devel_secondary-package-info /bin/sh: line 1: ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/build_haiku_package: No such file or directory ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/build_haiku_package "../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_devel.hpkg" "../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_devel.hpkg/haiku_devel-package-info" ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_devel.hpkg/scripts/haiku.package-init-vars ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_devel.hpkg/scripts/haiku.package-make-dirs ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_devel.hpkg/scripts/haiku.package-copy-files ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_devel.hpkg/scripts/haiku.package-extract-files ...failed BuildHaikuPackage1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_devel.hpkg ... ...removing ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_devel.hpkg PreprocessPackageOrRepositoryInfo1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-makefile_engine.hpkg/makefile_engine-package-info UpdatePackageInfoRequires ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_x86_devel.hpkg/haiku_devel_secondary-package-info UpdatePackageInfoRequires ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-makefile_engine.hpkg/makefile_engine-package-info warning: using independent target <hpkg_-haiku_x86_devel.hpkg>haiku.package-init-vars warning: using independent target <hpkg_-haiku_x86_devel.hpkg>haiku.package-make-dirs warning: using independent target <hpkg_-haiku_x86_devel.hpkg>haiku.package-copy-files warning: using independent target <hpkg_-haiku_x86_devel.hpkg>haiku.package-extract-files BuildHaikuPackage1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_x86_devel.hpkg warning: using independent target <hpkg_-makefile_engine.hpkg>haiku.package-init-vars warning: using independent target <hpkg_-makefile_engine.hpkg>haiku.package-make-dirs warning: using independent target <hpkg_-makefile_engine.hpkg>haiku.package-copy-files warning: using independent target <hpkg_-makefile_engine.hpkg>haiku.package-extract-files BuildHaikuPackage1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/makefile_engine.hpkg /bin/sh: line 1: ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/build_haiku_package: No such file or directory ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/build_haiku_package "../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_x86_devel.hpkg" "../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_x86_devel.hpkg/haiku_devel_secondary-package-info" ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_x86_devel.hpkg/scripts/haiku.package-init-vars ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_x86_devel.hpkg/scripts/haiku.package-make-dirs ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_x86_devel.hpkg/scripts/haiku.package-copy-files ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_x86_devel.hpkg/scripts/haiku.package-extract-files ...failed BuildHaikuPackage1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_x86_devel.hpkg ... ...removing ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_x86_devel.hpkg PreprocessPackageOrRepositoryInfo1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-webpositive.hpkg/webpositive-package-info /bin/sh: line 1: ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/build_haiku_package: No such file or directory ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/build_haiku_package "../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/makefile_engine.hpkg" "../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-makefile_engine.hpkg/makefile_engine-package-info" ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-makefile_engine.hpkg/scripts/haiku.package-init-vars ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-makefile_engine.hpkg/scripts/haiku.package-make-dirs ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-makefile_engine.hpkg/scripts/haiku.package-copy-files ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-makefile_engine.hpkg/scripts/haiku.package-extract-files ...failed BuildHaikuPackage1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/makefile_engine.hpkg ... ...removing ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/makefile_engine.hpkg PreprocessPackageOrRepositoryInfo1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/repositories/Haiku-info UpdatePackageInfoRequires ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-webpositive.hpkg/webpositive-package-info RepositoryConfig1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/repositories/Haiku-config PreprocessPackageOrRepositoryInfo1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_userguide.hpkg/haiku_userguide-package-info UpdatePackageInfoRequires ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_userguide.hpkg/haiku_userguide-package-info warning: using independent target <hpkg_-webpositive.hpkg>haiku.package-init-vars warning: using independent target <hpkg_-webpositive.hpkg>haiku.package-make-dirs warning: using independent target <hpkg_-webpositive.hpkg>haiku.package-copy-files warning: using independent target <hpkg_-webpositive.hpkg>haiku.package-extract-files BuildHaikuPackage1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/webpositive.hpkg /bin/sh: line 1: ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/build_haiku_package: No such file or directory ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/build_haiku_package "../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/webpositive.hpkg" "../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-webpositive.hpkg/webpositive-package-info" ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-webpositive.hpkg/scripts/haiku.package-init-vars ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-webpositive.hpkg/scripts/haiku.package-make-dirs ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-webpositive.hpkg/scripts/haiku.package-copy-files ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-webpositive.hpkg/scripts/haiku.package-extract-files ...failed BuildHaikuPackage1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/webpositive.hpkg ... ...removing ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/webpositive.hpkg PreprocessPackageOrRepositoryInfo1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_welcome.hpkg/haiku_welcome-package-info warning: using independent target <hpkg_-haiku_userguide.hpkg>haiku.package-init-vars warning: using independent target <hpkg_-haiku_userguide.hpkg>haiku.package-make-dirs warning: using independent target <hpkg_-haiku_userguide.hpkg>haiku.package-copy-files warning: using independent target <hpkg_-haiku_userguide.hpkg>haiku.package-extract-files BuildHaikuPackage1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_userguide.hpkg UpdatePackageInfoRequires ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_welcome.hpkg/haiku_welcome-package-info /bin/sh: line 1: ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/build_haiku_package: No such file or directory ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/build_haiku_package "../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_userguide.hpkg" "../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_userguide.hpkg/haiku_userguide-package-info" ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_userguide.hpkg/scripts/haiku.package-init-vars ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_userguide.hpkg/scripts/haiku.package-make-dirs ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_userguide.hpkg/scripts/haiku.package-copy-files ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_userguide.hpkg/scripts/haiku.package-extract-files ...failed BuildHaikuPackage1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_userguide.hpkg ... ...removing ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_userguide.hpkg warning: using independent target <hpkg_-haiku_welcome.hpkg>haiku.package-init-vars warning: using independent target <hpkg_-haiku_welcome.hpkg>haiku.package-make-dirs warning: using independent target <hpkg_-haiku_welcome.hpkg>haiku.package-copy-files warning: using independent target <hpkg_-haiku_welcome.hpkg>haiku.package-extract-files BuildHaikuPackage1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_welcome.hpkg /bin/sh: line 1: ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/build_haiku_package: No such file or directory ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/build_haiku_package "../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_welcome.hpkg" "../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_welcome.hpkg/haiku_welcome-package-info" ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_welcome.hpkg/scripts/haiku.package-init-vars ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_welcome.hpkg/scripts/haiku.package-make-dirs ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_welcome.hpkg/scripts/haiku.package-copy-files ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages_build/regular/hpkg_-haiku_welcome.hpkg/scripts/haiku.package-extract-files ...failed BuildHaikuPackage1 ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_welcome.hpkg ... ...removing ../../../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_welcome.hpkg BUILD FAILURE: ...failed updating 9 target(s)... ...skipped 28 target(s)... ...updated 61 target(s)...
Change History (11)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
This is on Haiku with the correct jam (it works if I run it from the base directory or from generated).
comment:3 by , 10 years ago
Running jam in a sub directory can only work in the case when you have run configure
in the Haiku base directory. At least that's how it always was -- if that is what you did, and you can't do it anymore, it must have happened in the not so distant past :-)
comment:4 by , 10 years ago
I ran configure from the generated directory. I'm fine with it not being supported, but we should try to have better error reporting, rather than a confusing failure after managing to build most things. As you can see it only fails when building packages, so it's actually possible to build many targets that don't involve packages. This is what made me think it was supported.
comment:5 by , 10 years ago
What about running jam -sHAIKU_OUTPUT_DIR=....
from the src/ subdirectory?
comment:6 by , 10 years ago
There's an incorrect LocalDepends invocation in the BuildHaikuPackage
rule. That should be a Depends
instead.
comment:7 by , 10 years ago
I get a bit closer after fixing that, but:
AppendToContainerCopyFilesScript <HaikuImage>haiku.image-copy-files-dummy-home/config/settings/Tracker/Tracker New Templates AddDirectoryToContainerCopyFilesScript <HaikuImage>home/config/settings/Media/dvb/-/<copy-directory-to-container>../../../data/settings/media/dvb AppendToContainerCopyFilesScriptSingleFile <HaikuImage>haiku.image-copy-files-dummy-system/settings/package-repositories-<repository-config>HaikuPorts-config AppendToContainerCopyFilesScriptSingleFile <HaikuImage>haiku.image-copy-files-dummy-system/settings/package-repositories-<repository-config>Haiku-config InitScript1 ../../../generated/haiku.image-extract-files AddExtractFileToContainerExtractFilesScript <HaikuImage>haiku.image-extract-files-dummy-home/config/settings/WebPositive-<download>WebPositiveBookmarks-2014-07-21.zip HaikuRepository1 ../../../generated/objects/haiku/x86_gcc2/packaging/repositories/Haiku entry not initialized! ../../../build/scripts/build_haiku_repository "../../../generated/objects/haiku/x86_gcc2/packaging/repositories/Haiku-repository-init-vars" "../../../generated/objects/haiku/x86_gcc2/packaging/repositories/Haiku" "../../../generated/objects/haiku/x86_gcc2/packaging/repositories/Haiku-info" "../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku.hpkg" "../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_devel.hpkg" "../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_loader.hpkg" "../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_userguide.hpkg" "../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_welcome.hpkg" "../../../generated/objects/haiku/x86_gcc2/packaging/packages/makefile_engine.hpkg" "../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_x86.hpkg" "../../../generated/objects/haiku/x86_gcc2/packaging/packages/haiku_x86_devel.hpkg" "../../../generated/objects/haiku/x86_gcc2/packaging/packages/webpositive.hpkg" ...failed HaikuRepository1 ../../../generated/objects/haiku/x86_gcc2/packaging/repositories/Haiku ...
comment:8 by , 10 years ago
That has to do with package_repo
. If a different directory is given via "-C", it changes the working directory before interpreting the given package file paths, which in this case are relative ones. I'm not sure, if that is a bug or a feature. It doesn't seem like any other path is interpreted in the context of the changed current working directory, so it might be a feature and the "-C ..." can be omitted in build/scripts/build_haiku_repository. But the command line option may as well just be a copy and paste left-over from the package
command and isn't really needed for package_repo
. Maybe Oliver has a clue.
At any rate, the error message isn't particularly helpful. It stems from RepositoryWriterImpl::_AddPackage(), where we only know the invalid BEntry
. A check and a better error message should be added where the BEntry is initialized.
comment:9 by , 10 years ago
Cc: | added |
---|
comment:10 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → in-progress |
On which host platform ? If not on Haiku, are you using the correct jam ?