Skip to content

no Go files in /tmp/dh-make-golangXXXXXXXX #186

@sunmin89

Description

@sunmin89

here is my system info

Distributor ID: Debian
Description:    Debian GNU/Linux bookworm/sid
Release:        unstable
Codename:       sid

when i make a deb go package with this command

 dh-make-golang github.com/helm/helm/tree/main/cmd/helm

it complains:

package github.com/helm/helm: no Go files in /tmp/dh-make-golang65739910/src/github.com/helm/helm
2022/09/29 21:54:32 Could not create a tarball of the upstream source: find mains: ["go" "list" "-f" "{{.ImportPath}} {{.Name}}" "github.com/helm/helm"]: exit status 1

the full output is here

2022/09/29 21:54:08 Starting "dh-make-golang v0.6.0 linux/amd64"
2022/09/29 21:54:08 Continuing with repository root "github.com/helm/helm" instead of specified import path "github.com/helm/helm/tree/main/cmd/helm" (repositories are the unit of packaging in Debian)
2022/09/29 21:54:08 Downloading "github.com/helm/helm/..."
2022/09/29 21:54:32 Determining upstream version number
2022/09/29 21:54:32 Found latest tag "v3.9.0-rc.1"
2022/09/29 21:54:32 INFO: master is ahead of "v3.9.0-rc.1" by 84 commits
2022/09/29 21:54:32 Package version is "3.9.0~rc1"
code in directory /tmp/dh-make-golang65739910/src/github.com/helm/helm/cmd/helm expects import "helm.sh/helm/v3/cmd/helm"
code in directory /tmp/dh-make-golang65739910/src/github.com/helm/helm/internal/ignore expects import "helm.sh/helm/v3/internal/ignore"
code in directory /tmp/dh-make-golang65739910/src/github.com/helm/helm/internal/version expects import "helm.sh/helm/v3/internal/version"
code in directory /tmp/dh-make-golang65739910/src/github.com/helm/helm/pkg/chartutil expects import "helm.sh/helm/v3/pkg/chartutil"
code in directory /tmp/dh-make-golang65739910/src/github.com/helm/helm/pkg/engine expects import "helm.sh/helm/v3/pkg/engine"
code in directory /tmp/dh-make-golang65739910/src/github.com/helm/helm/pkg/kube expects import "helm.sh/helm/v3/pkg/kube"
code in directory /tmp/dh-make-golang65739910/src/github.com/helm/helm/pkg/lint expects import "helm.sh/helm/v3/pkg/lint"
code in directory /tmp/dh-make-golang65739910/src/github.com/helm/helm/pkg/lint/rules expects import "helm.sh/helm/v3/pkg/lint/rules"
code in directory /tmp/dh-make-golang65739910/src/github.com/helm/helm/pkg/lint/support expects import "helm.sh/helm/v3/pkg/lint/support"
code in directory /tmp/dh-make-golang65739910/src/github.com/helm/helm/pkg/plugin expects import "helm.sh/helm/v3/pkg/plugin"
code in directory /tmp/dh-make-golang65739910/src/github.com/helm/helm/pkg/plugin/cache expects import "helm.sh/helm/v3/pkg/plugin/cache"
code in directory /tmp/dh-make-golang65739910/src/github.com/helm/helm/pkg/plugin/installer expects import "helm.sh/helm/v3/pkg/plugin/installer"
code in directory /tmp/dh-make-golang65739910/src/github.com/helm/helm/pkg/provenance expects import "helm.sh/helm/v3/pkg/provenance"
code in directory /tmp/dh-make-golang65739910/src/github.com/helm/helm/pkg/registry expects import "helm.sh/helm/v3/pkg/registry"
code in directory /tmp/dh-make-golang65739910/src/github.com/helm/helm/pkg/releaseutil expects import "helm.sh/helm/v3/pkg/releaseutil"
code in directory /tmp/dh-make-golang65739910/src/github.com/helm/helm/pkg/repo expects import "helm.sh/helm/v3/pkg/repo"
code in directory /tmp/dh-make-golang65739910/src/github.com/helm/helm/pkg/storage expects import "helm.sh/helm/v3/pkg/storage"
code in directory /tmp/dh-make-golang65739910/src/github.com/helm/helm/pkg/storage/driver expects import "helm.sh/helm/v3/pkg/storage/driver"
2022/09/29 21:54:32 WARNING: In findMains: ["go" "list" "-f" "{{.ImportPath}} {{.Name}}" "github.com/helm/helm/..."]: exit status 1
2022/09/29 21:54:32 Retrying without appending "/..." to repo
package github.com/helm/helm: no Go files in /tmp/dh-make-golang65739910/src/github.com/helm/helm
2022/09/29 21:54:32 Could not create a tarball of the upstream source: find mains: ["go" "list" "-f" "{{.ImportPath}} {{.Name}}" "github.com/helm/helm"]: exit status 1```

some package (ie.https://github.com/toorop/go-dkim)can be translated to debian package successfully, while some others failed, I can't find what's wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions