On Tue, Feb 14, 2023 at 06:37:57AM -0700, Brian Callahan wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   [email protected] 2023/02/14 06:37:57
> 
> Modified files:
>       sysutils/trash-d: Makefile 
> Added files:
>       sysutils/trash-d/patches: patch-dub_json 
>                                 patch-source_trash_ver_d 
> 
> Log message:
> Newer versions of dub have very strong opinions of what a version string
> looks like, which breaks assumptions and the build in trash-d.
> Fix those assumptions and get it building and working again.
> Spotted by aja@, thanks and sorry.

Fails in a different way:

===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: cc -> /usr/bin/cc
===>  Compiler link: c++ -> /usr/bin/c++
===>  Generating configure for trash-d-18p0
===>  Configuring for trash-d-18p0
===>  Building for trash-d-18p0
cd /hack/cvs/ports/pobj/trash-d-18/trash-d-18 && dub build -b release 
--cache=local --compiler=dmd
     Warning /hack/cvs/ports/pobj/trash-d-18/trash-d-18/dub.json(5:1): 
shortVersion: Key is not a valid member of this section. There are 53 valid 
keys: name, description, homepage, authors, copyright, license, 
toolchainRequirements, configurations, buildTypes, -ddoxFilterArgs, -ddoxTool, 
subPackages, version, dependencies, systemDependencies, targetType, targetPath, 
targetName, workingDirectory, mainSourceFile, subConfigurations, dflags, 
lflags, libs, sourceFiles, sourcePaths, excludedSourceFiles, injectSourceFiles, 
copyFiles, extraDependencyFiles, versions, debugVersions, versionFilters, 
debugVersionFilters, importPaths, stringImportPaths, preGenerateCommands, 
postGenerateCommands, preBuildCommands, postBuildCommands, preRunCommands, 
postRunCommands, environments, buildEnvironments, runEnvironments, 
preGenerateEnvironments, postGenerateEnvironments, preBuildEnvironments, 
postBuildEnvironments, preRunEnvironments, postRunEnvironments, 
buildRequirements, buildOptions
     Warning /hack/cvs/ports/pobj/trash-d-18/trash-d-18/dub.json(6:1): 
versionName: Key is not a valid member of this section. Did you mean: version, 
versions, versionFilters
    Starting Performing "release" build using dmd for x86_64.
Error /nonexistent: Permission denied
*** Error 2 in . (Makefile:31 'do-build')
*** Error 2 in . (/hack/cvs/ports/infrastructure/mk/bsd.port.mk:2956 
'/hack/cvs/ports/pobj/trash-d-18/.build_done': @cd /usr/ports/sysutils/...)
*** Error 2 in /usr/ports/sysutils/trash-d 
(/hack/cvs/ports/infrastructure/mk/bsd.port.mk:2600 'all': @lock=trash-d-18p0;  
export _LOCKS_HEL...)


-- 
Antoine

Reply via email to