void-linux / void-linux/void-packages
Package request: ddev
Open
Nobody has claimed this yet.
request
- Dominant language
- Shell
- Stars
- 3.4k
- Forks
- 2.8k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 299
Description
Package name
ddev
Package homepage
Description
Docker-based PHP development environments.
I attempted to package it:
# Template file for 'ddev'
pkgname=ddev
version=1.24.3
revision=1
#build_wrksrc=
build_style=go
go_import_path=github.com/ddev/ddev
go_mod_mode=off
#configure_args=""
#make_build_args=""
#make_install_args=""
#conf_files=""
hostmakedepends=""
makedepends=""
depends=""
short_desc="Docker-based local PHP+Node.js web development environments"
maintainer="Eloi Torrents <eloitor@duck.com>"
license="Apache-2.0"
homepage="https://ddev.com"
changelog="https://raw.githubusercontent.com/ddev/ddev/refs/heads/main/version-history.md"
distfiles="https://github.com/ddev/ddev/archive/refs/tags/v${version}.tar.gz"
checksum=222ba16d6465f947ac2f39268f0f937379e960e9e4f6fe1604380e0f7c87693c
But I'm getting the following error that I don't know how to fix.
=> ddev-1.24.3_1: running do_build ...
cannot find module providing package github.com/ddev/ddev: import lookup disabled by -mod=vendor
(Go version in go.mod is at least 1.14 and vendor directory exists.)
=> ERROR: ddev-1.24.3_1: do_build: 'go install -p "$XBPS_MAKEJOBS" -v -tags "${go_build_tags}" -ldflags "${go_ldflags}" ${go_package}' exited with 1
=> ERROR: in do_build() at common/build-style/go.sh:59
Does the requested package meet the package requirements?
System, Compiled
Is the requested package released?
Yes
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with common/build-style/go.sh at the reported do_build failure, then inspect ddev's go.mod and vendor directory to understand why the import lookup fails. Compare the package template settings with the build-style expectations and verify that do_build completes successfully for ddev-1.24.3_1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go, node.js, php
- Domain
- build-system, devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100