[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-bugs
Subject:    [haiku-bugs] Re: [Haiku] #11306: "package add" odd failure wit this attribute combination
From:       "ttcoder" <trac () haiku-os ! org>
Date:       2014-09-30 19:26:04
Message-ID: 058.78d4c97ddda70845b064c3a2625443a3 () haiku-os ! org
[Download RAW message or body]

#11306: "package add" odd failure wit this attribute combination
--------------------------------+----------------------------
   Reporter:  ttcoder           |      Owner:  bonefish
       Type:  bug               |     Status:  new
   Priority:  low               |  Milestone:  R1
  Component:  Kits/Package Kit  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------

Comment (by ttcoder):

 Here's a session showing the attribute contents:

 {{{
 /SamZulu/_BedRock/develop/TTSystems/TuneStacker/obj.x86> listattr
 .PackageInfo*
 File: .PackageInfo
         Type       Size  Name
 ----------------------------------------------------------
  MIME String        11  "BEOS:TYPE"
       'info'       529  "pe-info"
 File: .PackageInfo DEL
         Type       Size  Name
 ----------------------------------------------------------
  MIME String        11  "BEOS:TYPE"
       'RECT'        16  "StyledEdit-info"
       Int-32         4  "be:caret_position"
       'info'       529  "pe-info"

 1100 bytes total in attributes.

 (tried copying the first attr and doing the package: it succeeded)

 /SamZulu/_BedRock/develop/TTSystems/TuneStacker/obj.x86> copyattr --name
 be:caret_position PackageInfo\ DEL .PackageInfo


 (I then copied the *second* attr and doing the package: it failed!)

 /SamZulu/_BedRock/develop/TTSystems/TuneStacker/obj.x86> copyattr --name
 StyledEdit-info .PackageInfo\ DEL .PackageInfo

 (here's the attr contents if it matters)

 /SamZulu/_BedRock/develop/TTSystems/TuneStacker/obj.x86> catattr
 StyledEdit-info .PackageInfo
 .PackageInfo : 'RECT' : 0x000000:  40 a0 00 00 43 69 00 00 44 02 00 00 44
 22 00 00   '@...Ci..D...D"..'

 }}}


 And here's the duo of packaging commands I run, the second of which being
 the one that fails with the mentionned error:

 {{{
 rm -f tunestacker-5.0.1.1-1-x86_gcc2.hpkg \
 && package create -q -C ./obj.x86 -b tunestacker-5.0.1.1-1-x86_gcc2.hpkg \
 && package add    -q -C ./obj.x86    tunestacker-5.0.1.1-1-x86_gcc2.hpkg
 TuneStacker data lib
 }}}

--
Ticket URL: <https://dev.haiku-os.org/ticket/11306#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic