You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/01/06 18:03:31 UTC

[GitHub] [couchdb] wohali opened a new issue #2404: 3.0 build is broken on Microsoft Windows

wohali opened a new issue #2404: 3.0 build is broken on Microsoft Windows
URL: https://github.com/apache/couchdb/issues/2404
 
 
   Should be something simple.
   
   ```
   ==> config (compile)
   ==> b64url (compile)
   ==> ets_lru (compile)
   ==> khash (compile)
   ==> snappy (compile)
   ==> ioq (compile)
   ==> hqueue (compile)
   Compiling c:/relax/couchdb/src/hqueue/c_src/hqueue.c
   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x64
   Copyright (C) Microsoft Corporation.  All rights reserved.
   
   cl : Command line error D8021 : invalid numeric argument '/Werror'
   ERROR: compile failed while processing c:/relax/couchdb/src/hqueue: rebar_abort
   make: *** [couch] Error 1
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali commented on issue #2404: 3.0 build is broken on Microsoft Windows

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #2404: 3.0 build is broken on Microsoft Windows
URL: https://github.com/apache/couchdb/issues/2404#issuecomment-571258241
 
 
   Resolved the docs build with a python 3.7/pip/sphinx update. Will make separate commits to apache/couchdb-glazier with the new steps required.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] janl commented on issue #2404: 3.0 build is broken on Microsoft Windows

Posted by GitBox <gi...@apache.org>.
janl commented on issue #2404: 3.0 build is broken on Microsoft Windows
URL: https://github.com/apache/couchdb/issues/2404#issuecomment-571663366
 
 
   IIRC, I built it so that it HAS to be set in `couchdb.cmd`/`couchdb`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali commented on issue #2404: 3.0 build is broken on Microsoft Windows

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #2404: 3.0 build is broken on Microsoft Windows
URL: https://github.com/apache/couchdb/issues/2404#issuecomment-571654167
 
 
   Yeah, it's an optional variable, Erlang is supposed to set the default value here:
   
   https://github.com/apache/couchdb/blob/08a9a5ffe6b2dcfeb480c4cdb15d60ececea8442/src/chttpd/src/chttpd_misc.erl#L294-L297
   
   but that's the wrong guess. I'll dig in a bit more...the variable SHOULD be optional.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali commented on issue #2404: 3.0 build is broken on Microsoft Windows

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #2404: 3.0 build is broken on Microsoft Windows
URL: https://github.com/apache/couchdb/issues/2404#issuecomment-571672456
 
 
   🤷‍♀ ok, i'll update it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] janl commented on issue #2404: 3.0 build is broken on Microsoft Windows

Posted by GitBox <gi...@apache.org>.
janl commented on issue #2404: 3.0 build is broken on Microsoft Windows
URL: https://github.com/apache/couchdb/issues/2404#issuecomment-571554436
 
 
   This sounds like it? https://github.com/apache/couchdb/commit/ff0da20de60b3a70af8727e8fad9a3ff00430fad#diff-bab26d0becaf24757b2024c70e3cd676

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali opened a new issue #2404: 3.0 build is broken on Microsoft Windows

Posted by GitBox <gi...@apache.org>.
wohali opened a new issue #2404: 3.0 build is broken on Microsoft Windows
URL: https://github.com/apache/couchdb/issues/2404
 
 
   Should be something simple.
   
   ```
   ==> config (compile)
   ==> b64url (compile)
   ==> ets_lru (compile)
   ==> khash (compile)
   ==> snappy (compile)
   ==> ioq (compile)
   ==> hqueue (compile)
   Compiling c:/relax/couchdb/src/hqueue/c_src/hqueue.c
   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x64
   Copyright (C) Microsoft Corporation.  All rights reserved.
   
   cl : Command line error D8021 : invalid numeric argument '/Werror'
   ERROR: compile failed while processing c:/relax/couchdb/src/hqueue: rebar_abort
   make: *** [couch] Error 1
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali commented on issue #2404: 3.0 build is broken on Microsoft Windows

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #2404: 3.0 build is broken on Microsoft Windows
URL: https://github.com/apache/couchdb/issues/2404#issuecomment-571279724
 
 
   Re-opening. Fauxton can't be found on Windows right now. It's in `rel/overlay/share/www` but `GET /_utils/index.html` returns Not found.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali opened a new issue #2404: 3.0 build is broken on Microsoft Windows

Posted by GitBox <gi...@apache.org>.
wohali opened a new issue #2404: 3.0 build is broken on Microsoft Windows
URL: https://github.com/apache/couchdb/issues/2404
 
 
   Should be something simple.
   
   ```
   ==> config (compile)
   ==> b64url (compile)
   ==> ets_lru (compile)
   ==> khash (compile)
   ==> snappy (compile)
   ==> ioq (compile)
   ==> hqueue (compile)
   Compiling c:/relax/couchdb/src/hqueue/c_src/hqueue.c
   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x64
   Copyright (C) Microsoft Corporation.  All rights reserved.
   
   cl : Command line error D8021 : invalid numeric argument '/Werror'
   ERROR: compile failed while processing c:/relax/couchdb/src/hqueue: rebar_abort
   make: *** [couch] Error 1
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali closed issue #2404: 3.0 build is broken on Microsoft Windows

Posted by GitBox <gi...@apache.org>.
wohali closed issue #2404: 3.0 build is broken on Microsoft Windows
URL: https://github.com/apache/couchdb/issues/2404
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali edited a comment on issue #2404: 3.0 build is broken on Microsoft Windows

Posted by GitBox <gi...@apache.org>.
wohali edited a comment on issue #2404: 3.0 build is broken on Microsoft Windows
URL: https://github.com/apache/couchdb/issues/2404#issuecomment-571279724
 
 
   Re-opening.
   
   Fauxton can't be accessed on Windows right now.
   
   The built files are placed in `rel/overlay/share/www` correctly, but `GET /_utils/index.html` returns `Not found.` I suspect this is related to recent changes to `couchdb.cmd`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] janl commented on issue #2404: 3.0 build is broken on Microsoft Windows

Posted by GitBox <gi...@apache.org>.
janl commented on issue #2404: 3.0 build is broken on Microsoft Windows
URL: https://github.com/apache/couchdb/issues/2404#issuecomment-571654834
 
 
   That’s where the erlang side should pick up the env var that is set in `couchdb.cmd` :)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali commented on issue #2404: 3.0 build is broken on Microsoft Windows

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #2404: 3.0 build is broken on Microsoft Windows
URL: https://github.com/apache/couchdb/issues/2404#issuecomment-571252545
 
 
   Resolved via #2405 .
   
   Now, docs won't build: `Fatal error in launcher: Unable to create process using '"'`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali commented on issue #2404: 3.0 build is broken on Microsoft Windows

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #2404: 3.0 build is broken on Microsoft Windows
URL: https://github.com/apache/couchdb/issues/2404#issuecomment-571655123
 
 
   But the old behaviour should work too, it shouldn't *have* to be set.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali closed issue #2404: 3.0 build is broken on Microsoft Windows

Posted by GitBox <gi...@apache.org>.
wohali closed issue #2404: 3.0 build is broken on Microsoft Windows
URL: https://github.com/apache/couchdb/issues/2404
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali commented on issue #2404: 3.0 build is broken on Microsoft Windows

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #2404: 3.0 build is broken on Microsoft Windows
URL: https://github.com/apache/couchdb/issues/2404#issuecomment-572210466
 
 
   That PR didn't fix Fauxton on Windows @janl . Going to have to dig into the change more deeply, and see exactly how this functioned under 2.3.1.
   
   For completeness, after `make release` on Windows, `rel\couchdb\bin\couchdb` contains:
   
   ```
   set COUCHDB_FAUXTON_DOCROOT="./share/www"
   ```
   
   and hitting `http://localhost:5984/_utils` after startup produces the raw text string `Not found.`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali commented on issue #2404: 3.0 build is broken on Microsoft Windows

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #2404: 3.0 build is broken on Microsoft Windows
URL: https://github.com/apache/couchdb/issues/2404#issuecomment-572227942
 
 
   Got it.
   
   In .cmd/.bat files, you don't quote the value of a string with spaces. In other words,
   
   ```batch
   C:\relax\couchdb\rel\couchdb>SET A=b c d
   
   C:\relax\couchdb\rel\couchdb>echo %A%
   b c d
   ```
   
   PR coming up to fix this.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali closed issue #2404: 3.0 build is broken on Microsoft Windows

Posted by GitBox <gi...@apache.org>.
wohali closed issue #2404: 3.0 build is broken on Microsoft Windows
URL: https://github.com/apache/couchdb/issues/2404
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services