Skip to content

CpioEntry.payload has not been exported #134

@WangJia-UR

Description

@WangJia-UR

Hi, I am trying to build kubevirt on riscv64 and found that bazeldnf reported an error. The log is as follows:

external/bazeldnf/pkg/rpm/cpio2tar.go:100:37: entry.Payload undefined (type *cpio.CpioEntry has no field or method Payload, but does have unexported field payload)
external/bazeldnf/pkg/rpm/cpio2tar.go:113:20: entry.Payload undefined (type *cpio.CpioEntry has no field or method Payload, but does have unexported field payload)
external/bazeldnf/pkg/rpm/cpio2tar.go:123:43: entry.Payload undefined (type *cpio.CpioEntry has no field or method Payload, but does have unexported field payload)
external/bazeldnf/pkg/rpm/tar.go:33:28: rpm.RawUncompressedRPMPayloadReader undefined (type *rpmutils.Rpm has no field or method RawUncompressedRPMPayloadReader)
external/bazeldnf/pkg/rpm/tar.go:45:28: rpm.RawUncompressedRPMPayloadReader undefined (type *rpmutils.Rpm has no field or method RawUncompressedRPMPayloadReader)
external/bazeldnf/pkg/rpm/tar.go:57:28: rpm.RawUncompressedRPMPayloadReader undefined (type *rpmutils.Rpm has no field or method RawUncompressedRPMPayloadReader)
external/bazeldnf/pkg/rpm/tar.go:61:14: undefined: cpio.Tar
external/bazeldnf/pkg/rpm/tar.go:237:36: entry.Payload undefined (type *cpio.CpioEntry has no field or method Payload, but does have unexported field payload)

And the go-rpmutils version github.com/rmohr/go-rpmutils v0.1.2-0.20201215123907-5acf7436c00d is no longer available. When I use go list -mod=mod -m -versions github.com/rmohr/go-rpmutils, I can only find these versions:

github.com/rmohr/go-rpmutils v0.1.0 v0.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions