Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build on Arch Linux #1985

Closed
graysky2 opened this issue Aug 2, 2020 · 17 comments
Closed

Unable to build on Arch Linux #1985

graysky2 opened this issue Aug 2, 2020 · 17 comments
Labels

Comments

@graysky2
Copy link
Contributor

graysky2 commented Aug 2, 2020

Issue Details

  • Version of AdGuard Home server:
    • 0.103.3
  • Operating system and version:
    • Arch Linux

Expected Behavior

Running make should successful build AdGuardHome

Actual Behavior

Make depends installed on Arch beyond standard toolchain are: go nodejs npm git golangci-lint

Downloaded and extracted the sourcetarball: https://github.com/AdguardTeam/AdGuardHome/archive/v0.103.3.tar.gz

% cd AdGuardHome-0.103.3
% make init
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
git config core.hooksPath .githooks
fatal: not in a git directory
make: *** [Makefile:99: init] Error 128

If I run git init in the untarred source first, it gets a bit further but errors out:

% cd AdGuardHome-0.103.3
% git init
Initialized empty Git repository in /build/adguardhome/src/AdGuardHome-0.103.3/.git/

% make init
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
git config core.hooksPath .githooks

% make
atal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
npm --prefix client ci
npm --prefix client run build-prod

> dashboard@0.1.0 build-prod /build/adguardhome/src/AdGuardHome-0.103.3/client
> cross-env BUILD_ENV=prod webpack --config webpack.prod.js

sh: cross-env: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! dashboard@0.1.0 build-prod: `cross-env BUILD_ENV=prod webpack --config webpack.prod.js`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the dashboard@0.1.0 build-prod script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /build/.npm/_logs/2020-08-02T11_26_32_313Z-debug.log
make: *** [Makefile:107: client] Error 1
make: *** Waiting for unfinished jobs....

> fsevents@1.2.13 install /build/adguardhome/src/AdGuardHome-0.103.3/client/node_modules/fsevents
> node install.js


Skipping 'fsevents' build as platform linux is not supported

> core-js-pure@3.6.5 postinstall /build/adguardhome/src/AdGuardHome-0.103.3/client/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

added 1806 packages in 9.674s
go mod download
@ameshkov
Copy link
Member

ameshkov commented Aug 2, 2020

Downloaded and extracted the sourcetarball

I'd suggest doing git clone and checkout for the tag you want to build instead.
make depends on the git repo state - it gets the version info from there.

I guess we can change this and allow specifying version on the outside, but this won't help you build v0.103.3.

it gets a bit further but errors out

It seems the root cause for it is this sh: cross-env: command not found

cross-env is a node module that's installed when you run npm --prefix client ci. For some reason, it is either not installed or it's incompatible with the version of npm/node that you're using.

Please make sure that you're using Go v1.14 or newer and Nodejs v13 or newer.

I know we have node v10 in the README, this info may be outdated.

@graysky2
Copy link
Contributor Author

graysky2 commented Aug 3, 2020

I'd suggest doing git clone and checkout for the tag you want to build instead. make depends on the git repo state - it gets the version info from there.

OK, with v0.102.0 I was able to build from the tarball. I took you suggestion and cloned the repo instead which fixed the first error, but I am still encountering the build error related to missing the node module it seems. See below.

Please make sure that you're using Go v1.14 or newer and Nodejs v13 or newer.

I am. Arch is shipping:

cross-env is a node module that's installed when you run npm --prefix client ci. For some reason, it is either not installed or it's incompatible with the version of npm/node that you're using.

Could there be a dependency missing that would cause the cross-env node modules to not get built? I did not see npm as a dependency on the README, but it is needed. For reference, Arch is shipping npm v6.14.7.

Thanks!

% make init && make
git config core.hooksPath .githooks
npm --prefix client ci
npm --prefix client run build-prod

> dashboard@0.1.0 build-prod /build/adguardhome/src/AdGuardHome/client
> cross-env BUILD_ENV=prod webpack --config webpack.prod.js

sh: cross-env: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! dashboard@0.1.0 build-prod: `cross-env BUILD_ENV=prod webpack --config webpack.prod.js`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the dashboard@0.1.0 build-prod script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /build/.npm/_logs/2020-08-03T10_29_54_547Z-debug.log
make: *** [Makefile:107: client] Error 1
make: *** Waiting for unfinished jobs....

> fsevents@1.2.13 install /build/adguardhome/src/AdGuardHome/client/node_modules/fsevents
> node install.js


Skipping 'fsevents' build as platform linux is not supported

> core-js-pure@3.6.5 postinstall /build/adguardhome/src/AdGuardHome/client/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

added 1806 packages in 9.666s
go mod download

EDIT: here is the debug log it mentioned:

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   '/usr/bin/node',
1 verbose cli   '/usr/bin/npm',
1 verbose cli   '--prefix',
1 verbose cli   'client',
1 verbose cli   'run',
1 verbose cli   'build-prod'
1 verbose cli ]
2 info using npm@6.14.7
3 info using node@v14.7.0
4 verbose run-script [ 'prebuild-prod', 'build-prod', 'postbuild-prod' ]
5 info lifecycle dashboard@0.1.0~prebuild-prod: dashboard@0.1.0
6 info lifecycle dashboard@0.1.0~build-prod: dashboard@0.1.0
7 verbose lifecycle dashboard@0.1.0~build-prod: unsafe-perm in lifecycle true
8 verbose lifecycle dashboard@0.1.0~build-prod: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/build/adguardhome/src/AdGuardHome/client/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
9 verbose lifecycle dashboard@0.1.0~build-prod: CWD: /build/adguardhome/src/AdGuardHome/client
10 silly lifecycle dashboard@0.1.0~build-prod: Args: [ '-c', 'cross-env BUILD_ENV=prod webpack --config webpack.prod.js' ]
11 info lifecycle dashboard@0.1.0~build-prod: Failed to exec build-prod script
12 verbose stack Error: dashboard@0.1.0 build-prod: `cross-env BUILD_ENV=prod webpack --config webpack.prod.js`
12 verbose stack spawn ENOENT
12 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
12 verbose stack     at ChildProcess.emit (events.js:314:20)
12 verbose stack     at maybeClose (internal/child_process.js:1051:16)
12 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
13 verbose pkgid dashboard@0.1.0
14 verbose cwd /build/adguardhome/src/AdGuardHome
15 verbose Linux 5.7.12-1-minimum
16 verbose argv "/usr/bin/node" "/usr/bin/npm" "--prefix" "client" "run" "build-prod"
17 verbose node v14.7.0
18 verbose npm  v6.14.7
19 error code ELIFECYCLE
20 error syscall spawn
21 error file sh
22 error errno ENOENT
23 error dashboard@0.1.0 build-prod: `cross-env BUILD_ENV=prod webpack --config webpack.prod.js`
23 error spawn ENOENT
24 error Failed at the dashboard@0.1.0 build-prod script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]

@ameshkov
Copy link
Member

ameshkov commented Aug 3, 2020

make init is also unnecessary, it just installs git hooks for local development.

Could there be a dependency missing that would cause the cross-env node modules to not get built

Not really.

This line is also really strange, node_modules should've been created when you run npm --prefix client ci:

npm WARN Local package.json exists, but node_modules missing, did you mean to install?

Please try running these commands manually one by one and see if they're successful:

  • npm --prefix client ci
  • npm --prefix client run build-prod

Also, look for node_modules and cross-env in this PATH: 8 verbose lifecycle dashboard@0.1.0~build-prod: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/build/adguardhome/src/AdGuardHome/client/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl

@graysky2
Copy link
Contributor Author

graysky2 commented Aug 3, 2020

Here is the output:

% npm --prefix client ci
> fsevents@1.2.13 install /build/adguardhome/src/AdGuardHome/client/node_modules/fsevents
> node install.js

Skipping 'fsevents' build as platform linux is not supported

> core-js-pure@3.6.5 postinstall /build/adguardhome/src/AdGuardHome/client/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

added 1806 packages in 9.738s

And

% npm --prefix client run build-prod
> dashboard@0.1.0 build-prod /build/adguardhome/src/AdGuardHome/client
> cross-env BUILD_ENV=prod webpack --config webpack.prod.js

Hash: 54157284e0fe9180cd30
Version: webpack 4.43.0
Time: 28349ms
Built at: 08/03/2020 10:42:17 AM
                              Asset       Size  Chunks                                Chunk Names
assets/apple-touch-icon-180x180.png   2.09 KiB          [emitted]                     
                 assets/favicon.png   1.27 KiB          [emitted]                     
       assets/safari-pinned-tab.svg  801 bytes          [emitted]                     
                         index.html  968 bytes          [emitted]                     
    install.011c7f02a441e9f32b4e.js   1.91 MiB       0  [emitted] [immutable]  [big]  install
   install.63a81bd4e23cd09d544b.css    353 KiB       0  [emitted] [immutable]  [big]  install
                       install.html  924 bytes          [emitted]                     
      login.98f4ef0cf67c8b525fb8.js   1.84 MiB       1  [emitted] [immutable]  [big]  login
     login.addf33d5a9fba45eb7a6.css    348 KiB       1  [emitted] [immutable]  [big]  login
                         login.html  907 bytes          [emitted]                     
       main.4d6363c0beb7576de8b0.js   2.66 MiB       2  [emitted] [immutable]  [big]  main
      main.fb9bcaa3aa48cffa7c66.css    398 KiB       2  [emitted] [immutable]  [big]  main
Entrypoint main [big] = main.fb9bcaa3aa48cffa7c66.css main.4d6363c0beb7576de8b0.js
Entrypoint install [big] = install.63a81bd4e23cd09d544b.css install.011c7f02a441e9f32b4e.js
Entrypoint login [big] = login.addf33d5a9fba45eb7a6.css login.98f4ef0cf67c8b525fb8.js
  [3] ./src/helpers/constants.js 12.1 KiB {0} {1} {2} [built]
  [8] ./src/helpers/helpers.js 22 KiB {0} {1} {2} [built]
 [13] ./node_modules/react-redux/es/index.js + 22 modules 49.6 KiB {0} {1} {2} [built]
      |    23 modules
 [16] ./src/actions/index.js 37.4 KiB {0} {1} {2} [built]
 [28] ./node_modules/i18next/dist/esm/i18next.js + 15 modules 80.6 KiB {0} {1} {2} [built]
      |    16 modules
 [58] ./src/i18n.js + 1 modules 13.3 KiB {0} {1} {2} [built]
      | ./src/i18n.js 2.85 KiB [built]
      |     + 1 hidden module
 [64] ./src/helpers/twosky.js 180 bytes {0} {1} {2} [built]
[138] ./src/helpers/version.js 478 bytes {0} {1} {2} [built]
[196] ./src/__locales/vi.json 35.6 KiB {0} {1} {2} [built]
[197] ./src/__locales/en.json 37.5 KiB {0} {1} {2} [built]
[198] ./src/__locales/ru.json 55.5 KiB {0} {1} {2} [built]
[227] ./src/configureStore.js + 1 modules 972 bytes {0} {1} {2} [built]
      | ./src/configureStore.js 486 bytes [built]
      |     + 1 hidden module
[649] ./src/index.js + 153 modules 1.02 MiB {2} [built]
      | ./src/index.js 496 bytes [built]
      | ./src/containers/App.js 406 bytes [built]
      | ./src/reducers/index.js 15.5 KiB [built]
      | ./src/reducers/encryption.js 4.67 KiB [built]
      | ./src/reducers/clients.js 3.37 KiB [built]
      | ./src/reducers/access.js 3.92 KiB [built]
      | ./src/reducers/rewrites.js 3.22 KiB [built]
      | ./src/reducers/services.js 2.26 KiB [built]
      | ./src/reducers/stats.js 5.2 KiB [built]
      | ./src/reducers/queryLogs.js 7.54 KiB [built]
      | ./src/reducers/dnsConfig.js 3.3 KiB [built]
      | ./src/reducers/filtering.js 7.23 KiB [built]
      | ./src/containers/Header.js 404 bytes [built]
      | ./src/actions/stats.js 7.67 KiB [built]
      | ./src/actions/access.js 6.52 KiB [built]
      |     + 139 hidden modules
[652] ./src/install/index.js + 11 modules 45.8 KiB {0} [built]
      | ./src/install/index.js 545 bytes [built]
      | ./src/reducers/install.js 4.27 KiB [built]
      | ./src/install/Setup/index.js 6.92 KiB [built]
      | ./src/actions/install.js 4.91 KiB [built]
      | ./src/install/Setup/Greeting.js 724 bytes [built]
      | ./src/install/Setup/Settings.js 14.9 KiB [built]
      | ./src/install/Setup/Auth.js 3.15 KiB [built]
      | ./src/install/Setup/Devices.js 1.89 KiB [built]
      | ./src/install/Setup/Submit.js 1.59 KiB [built]
      | ./src/install/Setup/Progress.js 891 bytes [built]
      | ./src/install/Setup/Controls.js 4.54 KiB [built]
      | ./src/install/Setup/AddressList.js 1.33 KiB [built]
[653] ./src/login/index.js + 4 modules 11.4 KiB {1} [built]
      | ./src/login/index.js 543 bytes [built]
      | ./src/reducers/login.js 1.93 KiB [built]
      | ./src/login/Login/index.js 4.62 KiB [built]
      | ./src/actions/login.js 1.73 KiB [built]
      | ./src/login/Login/Form.js 2.43 KiB [built]
    + 740 hidden modules

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets: 
  install.63a81bd4e23cd09d544b.css (353 KiB)
  install.011c7f02a441e9f32b4e.js (1.91 MiB)
  login.addf33d5a9fba45eb7a6.css (348 KiB)
  login.98f4ef0cf67c8b525fb8.js (1.84 MiB)
  main.fb9bcaa3aa48cffa7c66.css (398 KiB)
  main.4d6363c0beb7576de8b0.js (2.66 MiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  main (3.05 MiB)
      main.fb9bcaa3aa48cffa7c66.css
      main.4d6363c0beb7576de8b0.js
  install (2.25 MiB)
      install.63a81bd4e23cd09d544b.css
      install.011c7f02a441e9f32b4e.js
  login (2.18 MiB)
      login.addf33d5a9fba45eb7a6.css
      login.98f4ef0cf67c8b525fb8.js


WARNING in webpack performance recommendations: 
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

WARNING in 
src/components/App/index.css
 3:16  ⚠  Expected "#67B279" to be "#67b279"   color-hex-case
 6:16  ⚠  Expected "#F3F3F3" to be "#f3f3f3"   color-hex-case

src/components/Logs/Logs.css
   2:16  ⚠  Expected "#4D4D4D" to be "#4d4d4d"       color-hex-case                      
   4:15  ⚠  Expected "#DF3812" to be "#df3812"       color-hex-case                      
  54:18  ⚠  Expected numeric font-weight notation    font-weight-notation                
 239:18  ⚠  Expected numeric font-weight notation    font-weight-notation                
 342:5   ⚠  Expected empty line before declaration   declaration-empty-line-before       
 367:5   ⚠  Expected empty line before declaration   declaration-empty-line-before       
 385:14  ⚠  Expected double quotes                   string-quotes                       
 391:14  ⚠  Expected double quotes                   string-quotes                       
 407:18  ⚠  Expected a trailing semicolon            declaration-block-trailing-semicolon
 440:26  ⚠  Expected double quotes                   string-quotes                       

src/components/ui/Icons.css
  9:5  ⚠  Expected empty line before declaration   declaration-empty-line-before
 15:5  ⚠  Expected empty line before declaration   declaration-empty-line-before
 21:5  ⚠  Expected empty line before declaration   declaration-empty-line-before

src/components/Logs/Cells/IconTooltip.css
 38:18  ⚠  Expected numeric font-weight notation   font-weight-notation
 68:22  ⚠  Expected numeric font-weight notation   font-weight-notation
 73:14  ⚠  Expected double quotes                  string-quotes       
 98:14  ⚠  Expected double quotes                  string-quotes


Child HtmlWebpackCompiler:
                                  Asset       Size  Chunks             Chunk Names
    assets/apple-touch-icon-180x180.png   2.09 KiB          [emitted]  
                     assets/favicon.png   1.27 KiB          [emitted]  
           assets/safari-pinned-tab.svg  801 bytes          [emitted]  
     + 3 hidden assets
    Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0
    Entrypoint HtmlWebpackPlugin_1 = __child-HtmlWebpackPlugin_1
    Entrypoint HtmlWebpackPlugin_2 = __child-HtmlWebpackPlugin_2
    [0] ./node_modules/html-webpack-plugin/lib/loader.js!./public/index.html 1.28 KiB {0} [built]
    [1] ./node_modules/html-webpack-plugin/lib/loader.js!./public/install.html 1.22 KiB {1} [built]
    [2] ./node_modules/html-webpack-plugin/lib/loader.js!./public/login.html 1.21 KiB {2} [built]
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!node_modules/react-popper-tooltip/dist/styles.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!node_modules/react-table/react-table.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/App/index.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/Dashboard/Dashboard.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/Header/Header.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/Logs/Cells/IconTooltip.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/Logs/Logs.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       4 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/Settings/Clients/Service.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/Settings/Settings.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/SetupGuide/Guide.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/Toasts/Toast.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Accordion.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       4 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Card.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Checkbox.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Dropdown.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Footer.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Icons.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Line.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Loading.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/LogsSearchLink.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Modal.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Overlay.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/PageTitle.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/ReactTable.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Select.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       5 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Tabler.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       5 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Tabs.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Tooltip.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Topline.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Version.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/install/Setup/Setup.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
    [0] ./node_modules/css-loader/dist/cjs.js??ref--4-2!./node_modules/postcss-loader/src??postcss!./src/install/Setup/Setup.css 2.67 KiB {0} [built]
        + 1 hidden module
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/login/Login/Login.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
    [0] ./node_modules/css-loader/dist/cjs.js??ref--4-2!./node_modules/postcss-loader/src??postcss!./src/login/Login/Login.css 1.1 KiB {0} [built]
        + 1 hidden module

@szolin
Copy link
Contributor

szolin commented Aug 3, 2020

@graysky2 So does the build now works for you via make ?

@graysky2
Copy link
Contributor Author

graysky2 commented Aug 3, 2020

@szolin - No, if I build with make it errors out as shown above. All of these commands are getting executed within a clean buildroot, per Arch defaults. It is as if, somethings in the Makefile are getting ignored whereas running the commands long-hand works. I've never seen anything like this.

@szolin
Copy link
Contributor

szolin commented Aug 3, 2020

if I build with make it errors out as shown above

Are they really errors? It seems like those messages are warnings.
Please let's start over - post the full output of make here.

@graysky2
Copy link
Contributor Author

graysky2 commented Aug 3, 2020

@szolin - You bet. When building on Arch, one uses a PKGBUILD for reproducible builds. For Adguard, I am maintaining this PKGBUILD. The build section looks like this:

build(){
  cd "$_pkgname"
  make
}

When I call makechrootpkg, the dependencies are installed in a clean buildroot and the two commands above are executed there in.

When I attempt to build this in the chroot:

% CHROOT=/scratch/build
% makechrootpkg -c -r $CHROOT
...
npm --prefix client ci
npm --prefix client run build-prod

> dashboard@0.1.0 build-prod /build/adguardhome/src/AdGuardHome/client
> cross-env BUILD_ENV=prod webpack --config webpack.prod.js

sh: cross-env: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! dashboard@0.1.0 build-prod: `cross-env BUILD_ENV=prod webpack --config webpack.prod.js`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the dashboard@0.1.0 build-prod script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /build/.npm/_logs/2020-08-03T15_09_35_391Z-debug.log
make: *** [Makefile:107: client] Error 1
make: *** Waiting for unfinished jobs....

> fsevents@1.2.13 install /build/adguardhome/src/AdGuardHome/client/node_modules/fsevents
> node install.js


Skipping 'fsevents' build as platform linux is not supported

> core-js-pure@3.6.5 postinstall /build/adguardhome/src/AdGuardHome/client/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

added 1806 packages in 10.485s
go mod download

So an error was thrown at that point.

EDIT: I just discovered the source of the error to be running make with more than a single thread. If I force it, the build is successful. Why???

build(){
  cd "$_pkgname"
  make -j1
}

Now the output is as follows and there are no errors:

npm --prefix client ci

> fsevents@1.2.13 install /build/adguardhome/src/AdGuardHome/client/node_modules/fsevents
> node install.js


Skipping 'fsevents' build as platform linux is not supported

> core-js-pure@3.6.5 postinstall /build/adguardhome/src/AdGuardHome/client/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

added 1806 packages in 11.593s
go mod download
npm --prefix client run build-prod

> dashboard@0.1.0 build-prod /build/adguardhome/src/AdGuardHome/client
> cross-env BUILD_ENV=prod webpack --config webpack.prod.js

Hash: 54157284e0fe9180cd30
Version: webpack 4.43.0
Time: 29869ms
Built at: 08/03/2020 11:19:46 AM
                              Asset       Size  Chunks                                Chunk Names
assets/apple-touch-icon-180x180.png   2.09 KiB          [emitted]                     
                 assets/favicon.png   1.27 KiB          [emitted]                     
       assets/safari-pinned-tab.svg  801 bytes          [emitted]                     
                         index.html  968 bytes          [emitted]                     
    install.011c7f02a441e9f32b4e.js   1.91 MiB       0  [emitted] [immutable]  [big]  install
   install.63a81bd4e23cd09d544b.css    353 KiB       0  [emitted] [immutable]  [big]  install
                       install.html  924 bytes          [emitted]                     
      login.98f4ef0cf67c8b525fb8.js   1.84 MiB       1  [emitted] [immutable]  [big]  login
     login.addf33d5a9fba45eb7a6.css    348 KiB       1  [emitted] [immutable]  [big]  login
                         login.html  907 bytes          [emitted]                     
       main.4d6363c0beb7576de8b0.js   2.66 MiB       2  [emitted] [immutable]  [big]  main
      main.fb9bcaa3aa48cffa7c66.css    398 KiB       2  [emitted] [immutable]  [big]  main
Entrypoint main [big] = main.fb9bcaa3aa48cffa7c66.css main.4d6363c0beb7576de8b0.js
Entrypoint install [big] = install.63a81bd4e23cd09d544b.css install.011c7f02a441e9f32b4e.js
Entrypoint login [big] = login.addf33d5a9fba45eb7a6.css login.98f4ef0cf67c8b525fb8.js
  [3] ./src/helpers/constants.js 12.1 KiB {0} {1} {2} [built]
  [8] ./src/helpers/helpers.js 22 KiB {0} {1} {2} [built]
 [13] ./node_modules/react-redux/es/index.js + 22 modules 49.6 KiB {0} {1} {2} [built]
      |    23 modules
 [16] ./src/actions/index.js 37.4 KiB {0} {1} {2} [built]
 [28] ./node_modules/i18next/dist/esm/i18next.js + 15 modules 80.6 KiB {0} {1} {2} [built]
      |    16 modules
 [58] ./src/i18n.js + 1 modules 13.3 KiB {0} {1} {2} [built]
      | ./src/i18n.js 2.85 KiB [built]
      |     + 1 hidden module
 [64] ./src/helpers/twosky.js 180 bytes {0} {1} {2} [built]
[138] ./src/helpers/version.js 478 bytes {0} {1} {2} [built]
[196] ./src/__locales/vi.json 35.6 KiB {0} {1} {2} [built]
[197] ./src/__locales/en.json 37.5 KiB {0} {1} {2} [built]
[198] ./src/__locales/ru.json 55.5 KiB {0} {1} {2} [built]
[227] ./src/configureStore.js + 1 modules 972 bytes {0} {1} {2} [built]
      | ./src/configureStore.js 486 bytes [built]
      |     + 1 hidden module
[649] ./src/index.js + 153 modules 1.02 MiB {2} [built]
      | ./src/index.js 496 bytes [built]
      | ./src/containers/App.js 406 bytes [built]
      | ./src/reducers/index.js 15.5 KiB [built]
      | ./src/reducers/encryption.js 4.67 KiB [built]
      | ./src/reducers/clients.js 3.37 KiB [built]
      | ./src/reducers/access.js 3.92 KiB [built]
      | ./src/reducers/rewrites.js 3.22 KiB [built]
      | ./src/reducers/services.js 2.26 KiB [built]
      | ./src/reducers/stats.js 5.2 KiB [built]
      | ./src/reducers/queryLogs.js 7.54 KiB [built]
      | ./src/reducers/dnsConfig.js 3.3 KiB [built]
      | ./src/reducers/filtering.js 7.23 KiB [built]
      | ./src/containers/Header.js 404 bytes [built]
      | ./src/actions/stats.js 7.67 KiB [built]
      | ./src/actions/access.js 6.52 KiB [built]
      |     + 139 hidden modules
[652] ./src/install/index.js + 11 modules 45.8 KiB {0} [built]
      | ./src/install/index.js 545 bytes [built]
      | ./src/reducers/install.js 4.27 KiB [built]
      | ./src/install/Setup/index.js 6.92 KiB [built]
      | ./src/actions/install.js 4.91 KiB [built]
      | ./src/install/Setup/Greeting.js 724 bytes [built]
      | ./src/install/Setup/Settings.js 14.9 KiB [built]
      | ./src/install/Setup/Auth.js 3.15 KiB [built]
      | ./src/install/Setup/Devices.js 1.89 KiB [built]
      | ./src/install/Setup/Submit.js 1.59 KiB [built]
      | ./src/install/Setup/Progress.js 891 bytes [built]
      | ./src/install/Setup/Controls.js 4.54 KiB [built]
      | ./src/install/Setup/AddressList.js 1.33 KiB [built]
[653] ./src/login/index.js + 4 modules 11.4 KiB {1} [built]
      | ./src/login/index.js 543 bytes [built]
      | ./src/reducers/login.js 1.93 KiB [built]
      | ./src/login/Login/index.js 4.62 KiB [built]
      | ./src/actions/login.js 1.73 KiB [built]
      | ./src/login/Login/Form.js 2.43 KiB [built]
    + 740 hidden modules

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets: 
  install.63a81bd4e23cd09d544b.css (353 KiB)
  install.011c7f02a441e9f32b4e.js (1.91 MiB)
  login.addf33d5a9fba45eb7a6.css (348 KiB)
  login.98f4ef0cf67c8b525fb8.js (1.84 MiB)
  main.fb9bcaa3aa48cffa7c66.css (398 KiB)
  main.4d6363c0beb7576de8b0.js (2.66 MiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  main (3.05 MiB)
      main.fb9bcaa3aa48cffa7c66.css
      main.4d6363c0beb7576de8b0.js
  install (2.25 MiB)
      install.63a81bd4e23cd09d544b.css
      install.011c7f02a441e9f32b4e.js
  login (2.18 MiB)
      login.addf33d5a9fba45eb7a6.css
      login.98f4ef0cf67c8b525fb8.js


WARNING in webpack performance recommendations: 
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

WARNING in 
src/components/App/index.css
 3:16  ⚠  Expected "#67B279" to be "#67b279"   color-hex-case
 6:16  ⚠  Expected "#F3F3F3" to be "#f3f3f3"   color-hex-case

src/components/Logs/Logs.css
   2:16  ⚠  Expected "#4D4D4D" to be "#4d4d4d"       color-hex-case                      
   4:15  ⚠  Expected "#DF3812" to be "#df3812"       color-hex-case                      
  54:18  ⚠  Expected numeric font-weight notation    font-weight-notation                
 239:18  ⚠  Expected numeric font-weight notation    font-weight-notation                
 342:5   ⚠  Expected empty line before declaration   declaration-empty-line-before       
 367:5   ⚠  Expected empty line before declaration   declaration-empty-line-before       
 385:14  ⚠  Expected double quotes                   string-quotes                       
 391:14  ⚠  Expected double quotes                   string-quotes                       
 407:18  ⚠  Expected a trailing semicolon            declaration-block-trailing-semicolon
 440:26  ⚠  Expected double quotes                   string-quotes                       

src/components/ui/Icons.css
  9:5  ⚠  Expected empty line before declaration   declaration-empty-line-before
 15:5  ⚠  Expected empty line before declaration   declaration-empty-line-before
 21:5  ⚠  Expected empty line before declaration   declaration-empty-line-before

src/components/Logs/Cells/IconTooltip.css
 38:18  ⚠  Expected numeric font-weight notation   font-weight-notation
 68:22  ⚠  Expected numeric font-weight notation   font-weight-notation
 73:14  ⚠  Expected double quotes                  string-quotes       
 98:14  ⚠  Expected double quotes                  string-quotes


Child HtmlWebpackCompiler:
                                  Asset       Size  Chunks             Chunk Names
    assets/apple-touch-icon-180x180.png   2.09 KiB          [emitted]  
                     assets/favicon.png   1.27 KiB          [emitted]  
           assets/safari-pinned-tab.svg  801 bytes          [emitted]  
     + 3 hidden assets
    Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0
    Entrypoint HtmlWebpackPlugin_1 = __child-HtmlWebpackPlugin_1
    Entrypoint HtmlWebpackPlugin_2 = __child-HtmlWebpackPlugin_2
    [0] ./node_modules/html-webpack-plugin/lib/loader.js!./public/index.html 1.28 KiB {0} [built]
    [1] ./node_modules/html-webpack-plugin/lib/loader.js!./public/install.html 1.22 KiB {1} [built]
    [2] ./node_modules/html-webpack-plugin/lib/loader.js!./public/login.html 1.21 KiB {2} [built]
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!node_modules/react-popper-tooltip/dist/styles.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!node_modules/react-table/react-table.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/App/index.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/Dashboard/Dashboard.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/Header/Header.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/Logs/Cells/IconTooltip.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/Logs/Logs.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       4 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/Settings/Clients/Service.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/Settings/Settings.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/SetupGuide/Guide.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/Toasts/Toast.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Accordion.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       4 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Card.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Checkbox.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Dropdown.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Footer.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Icons.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Line.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Loading.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/LogsSearchLink.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Modal.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Overlay.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/PageTitle.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/ReactTable.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Select.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       5 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Tabler.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       5 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Tabs.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Tooltip.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Topline.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/components/ui/Version.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/install/Setup/Setup.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
    [0] ./node_modules/css-loader/dist/cjs.js??ref--4-2!./node_modules/postcss-loader/src??postcss!./src/install/Setup/Setup.css 2.67 KiB {0} [built]
        + 1 hidden module
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!src/login/Login/Login.css:
     3 assets
    Entrypoint mini-css-extract-plugin = *
    [0] ./node_modules/css-loader/dist/cjs.js??ref--4-2!./node_modules/postcss-loader/src??postcss!./src/login/Login/Login.css 1.1 KiB {0} [built]
        + 1 hidden module
PATH=/build/go/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl go generate ./...
github.com/gobuffalo/packd/internal/takeon/github.com/markbates/errx
github.com/rogpeppe/go-internal/semver
github.com/gobuffalo/packr/v2/internal/takeon/github.com/markbates/errx
golang.org/x/sync/errgroup
golang.org/x/sys/unix
github.com/joho/godotenv
github.com/rogpeppe/go-internal/module
github.com/gobuffalo/packr/v2/file/resolver/encoding/hex
github.com/karrick/godirwalk
github.com/gobuffalo/packr/v2/internal/takeon/github.com/markbates/oncer
github.com/spf13/pflag
github.com/gobuffalo/packd
github.com/rogpeppe/go-internal/modfile
github.com/gobuffalo/packr/v2/file
github.com/gobuffalo/envy
github.com/gobuffalo/packr
github.com/spf13/cobra
golang.org/x/crypto/ssh/terminal
github.com/sirupsen/logrus
github.com/gobuffalo/logger
github.com/gobuffalo/packr/v2/plog
github.com/gobuffalo/packr/v2/file/resolver
github.com/gobuffalo/packr/v2/jam/parser
github.com/gobuffalo/packr/v2/jam/store
github.com/gobuffalo/packr/builder
github.com/gobuffalo/packr/packr/cmd
github.com/gobuffalo/packr/packr
CGO_ENABLED=0 go build -ldflags="-s -w -X main.version=v0.103.3-SNAPSHOT-ddb9a2e8 -X main.channel=edge -X main.goarm="
PATH=/build/go/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl packr clean

@szolin
Copy link
Contributor

szolin commented Aug 3, 2020

So it works!
Our makefile can't handle several jobs in parallel at this time, because we expect the make target prerequisites to be executed one by one, not all at once. We probably should fix this.

@szolin szolin closed this as completed Aug 3, 2020
@graysky2
Copy link
Contributor Author

graysky2 commented Aug 3, 2020

No problem, szolin. Thank you and @ameshkov for the help to troubleshoot this. I believe the Arch package is 100% now.

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=adguardhome

@ameshkov
Copy link
Member

ameshkov commented Aug 3, 2020

@graysky2
Copy link
Contributor Author

graysky2 commented Aug 3, 2020

@ameshkov - That section seems to be for precompiled packages, no? Is your intent to link distro-specific packages as well?

@ameshkov
Copy link
Member

ameshkov commented Aug 3, 2020

@graysky2 generally, to list all alternative ways of installing AGH

@graysky2
Copy link
Contributor Author

graysky2 commented Aug 3, 2020

I am happy to modify #1989 to include the Arch Linux specific.

@ameshkov
Copy link
Member

ameshkov commented Aug 3, 2020

Github's Wiki does not support pull requests, but it'd be great if you could simply post the text that describes your package here.

@graysky2
Copy link
Contributor Author

graysky2 commented Aug 3, 2020

I was thinking something like:

Users of Arch Linux, Arch ARM, and other Arch-based clones, may build via adguardhome in the AUR.

@ameshkov
Copy link
Member

ameshkov commented Aug 3, 2020

Done, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants