yatima1460 / Drill

Search files without indexing, but fast crawling
https://drill.software/
GNU General Public License v2.0
268 stars 21 forks source link

566 build fails with dmd 2.097.0 #75

Closed yochananmarqos closed 3 years ago

yochananmarqos commented 3 years ago

Linux distro Manjaro GNOME

Build Version drill-search 566-1 (AUR)

Describe the bug

Fails with dmd 1:2.097.0-1 & dub 1.26.0-1, previously was successful with dmd 1:2.096.1-1 & dub 1.25.0-1.

Using dub registry url 'https://code.dlang.org/'
Refreshing local packages (refresh existing: true)...
Looking for local package map at /var/lib/dub/packages/local-packages.json
Looking for local package map at /build/.dub/packages/local-packages.json
Looking for local package map at /build/drill-search/src/Drill-566/.dub/packages/local-packages.json
Note: Failed to determine version of package drill-search at .. Assuming ~master.
Refreshing local packages (refresh existing: false)...
Looking for local package map at /var/lib/dub/packages/local-packages.json
Looking for local package map at /build/.dub/packages/local-packages.json
Looking for local package map at /build/drill-search/src/Drill-566/.dub/packages/local-packages.json
Refreshing local packages (refresh existing: false)...
Looking for local package map at /var/lib/dub/packages/local-packages.json
Looking for local package map at /build/.dub/packages/local-packages.json
Looking for local package map at /build/drill-search/src/Drill-566/.dub/packages/local-packages.json
Generating using build
Configuring dependent drill-search, deps:
Using custom build type 'release'.
Performing "release" build using /usr/bin/dmd for x86_64.
drill-search ~master: building configuration "CLI"...
/usr/bin/dmd -J=. -m64 -c -of.dub/build/CLI-release-linux.posix-x86_64-dmd_v2.097.0-05F5B3BDA6A08D0FE53626BDE67A1EA9/drill-search-cli.o -release -inline -noboundscheck -O -w -version=Have_drill_search -version=StdLoggerDisableTrace -version=StdLoggerDisableInfo -version=StdLoggerDisableWarning -version=StdLoggerDisableError CLI/CLI.d Core/ApplicationInfo.d Core/Config.d Core/Context.d Core/Crawler.d Core/FileInfo.d Core/ListData.d Core/Meta.d Core/Utils.d -vcolumns
CLI/CLI.d(99,13): Warning: statement is not reachable
CLI/CLI.d(108,13): Warning: statement is not reachable
Error: warnings are treated as errors
       Use -wi if you wish to treat warnings only as informational.
FAIL .dub/build/CLI-release-linux.posix-x86_64-dmd_v2.097.0-05F5B3BDA6A08D0FE53626BDE67A1EA9/ drill-search-cli executable
/usr/bin/dmd failed with exit code 1.

Tried with 569 & 571:

Core/Utils.d(11,8): Error: module `GTKBinds` is in file 'GTKBinds.d' which cannot be read
import path[0] = /usr/include/dlang/dmd
FAIL .dub/build/CLI-release-linux.posix-x86_64-dmd_v2.097.0-05F5B3BDA6A08D0FE53626BDE67A1EA9/ drill-search-cli executable
/usr/bin/dmd failed with exit code 1.

Other notes It builds successfully with ldc 2:1.26.0-3 dub 1.26.0-1.

yochananmarqos commented 3 years ago

I was able to build it from afc2b99, thanks!