#11306: "package add" no longer works --------------------------------+---------------------------- Reporter: ttcoder | Owner: bonefish Type: bug | Status: new Priority: normal | Milestone: R1 Component: Kits/Package Kit | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All --------------------------------+---------------------------- Changes (by ttcoder): * priority: low => normal Comment: This has gotten worse now that I've updated to a recent hrev, `package add` no longer works at all, even if the .PackageInfo has no attribute at all. Here's a self-contained reproducible case, where `cat` creates a pristine info file.. If this does not get fixed soon I'm going to have to rewrite my packaging framework to use the alternate syntax, not looking forward to that :-( {{{ mkdir -p obj3 cat << EOF > obj3/.PackageInfo name proof version 1.0-1 summary "test for packaging bug" description "see above" vendor ttcoder packager ttcoder copyrights 2014 licenses MIT architecture any provides { proof } EOF touch obj3/whatever rm proof-1.0-1-x86_gcc2.hpkg package create -q -C ./obj3 -b proof-1.0-1-x86_gcc2.hpkg package add -q -C ./obj3 proof-1.0-1-x86_gcc2.hpkg whatever }}} Run the above in a newly created folder. You'll get this: {{{ > sh _create.sh Failed to parse package info data from package file: Bad data > uname -a Haiku shredder 1 hrev47896 Sep 22 2014 17:04:46 BePC x86 Haiku }}} -- Ticket URL: <https://dev.haiku-os.org/ticket/11306#comment:2> Haiku <https://dev.haiku-os.org> Haiku - the operating system.