Build.exe does not build Delphi 10.3 Rio packages.

Issue #308 wontfix
Rémy Settier created an issue

Build.exe does not build any packages (win32, win64, Debug, Release) for Delphi 10.3 rio.

Comments (21)

  1. Stefan Glienke repo owner

    I wish I could set up fields as mandatory then I would not have to guess what version you reported this for... I am guessing 1.2.1 because 1.2.2 contains 10.3 support (but is not released yet)

  2. Rémy Settier Account Deactivated reporter

    Sorry, I know 1.2.2 is not released but I tried it to evaluate impact of Delphi 10.3 on my projects.

  3. Stefan Glienke repo owner

    So you are saying that with 1.2.2 it does not build the packages for 10.3. Could you possibly if you don't mind pretty please provide a little bit more information?

    P.S. Sorry if that sounds a bit annoyed but "it does not work" especially on a friday afternoon causes exactly that.

  4. Rémy Settier Account Deactivated reporter

    I just installed Delphi 10.3 on my workstation (with Delphi XE6 and Delphi 10.1). I checkout the branch hotfix/1.2.2. When I launch build.exe I can select Delphi 10.3 Win32, Win64 and Linux64. Debug and/or Release. But when I click the build button the console window popup and disappear immediately.

    I can build all packages from the IDE.

  5. Stefan Glienke repo owner

    Check the "Pause after each step" option please and/or post what it writes to the Logs folder.

  6. Rémy Settier Account Deactivated reporter

    There is no file in the Logs folder but I can see a kind of "File not found" (sorry my Windows is in french) error in the console window. I found BuildHelper.bat call "C:\Windows\Microsoft.NET\Framework\v4.5\msbuild.exe" but I have not installed this version of the framework.

  7. Rémy Settier Account Deactivated reporter

    Sorry I have Framework 4.5, 4.6 and 4.7. But only msbuild v4.7 is present in "C:\Windows\Microsoft.NET\Framework\v4.0.30319". I work with Windows 10 Enterprise.

  8. Stefan Glienke repo owner

    Well that is what the installer reads from the rsvars.bat in your bds\bin directory. If you don't have that framework version then you cannot use msbuild which the installer tries to use. I actually expected the RAD Studio installer to take care of that but whatever.

    In a distant future we might write a new installer or get rid of it altogether.

  9. Stefan Glienke repo owner

    Then something is wrong on your side.

    As you can see in buildhelper.bat it calls %FrameworkDir%\msbuild.exe and %FrameworkDir% is set in rsvars.bat to the directory you mentioned in your previous comment. Make sure your %PATH% did not get too long. It gets truncated then.

  10. Ryan Potts

    I found that my rsvar.bat was OK and I am still not having any success with build.exe. I have also confirmed that .NET is >4.5 (running on Windows 10 April update). I am suspecting it may have something to do with the fact that I still have 10.2.3 installed on C: (SSD) and opted to place 10.3 on my much more spacious (rust) D drive. Build.exe not working is not a show stopper for me. I am able to build everything fine via the 10.3 IDE.

    Once other 3rd party dependencies have published updates for 10.3, I will no longer need 10.2.3 and will remove it. I plan to give Build another try at that time.

    Build is reporting that it cannot complete the task and lists off 10.3 RIO. I apologize for not being more specific (exact). I am working from memory at the moment and not at the actual computer that has the issue. I am also only trying to build for RIO 32 bit at this point.

    If there is anything you would like me to look into, in the meantime, I would be happy to do so.

  11. Stefan Glienke repo owner

    Well, then please report what exactly is the error once you are back on the machine - I read your comment twice and could not extract any information that would be helpful pinpointing the problem.

  12. Ryan Potts

    Stefan here is the information. I threw in rsvars.bat, I saw no harm in it. If there is anything else I can provide just let me know. Thanks.

    The exact response I am seeing from Build is

    Failed to build the task:
    "Packages\Delphi10Rio\Spring4d.groupproj"
    

    Delphi 10.3 (Win32) is only selected Target All Build Configurations and options, except for Console, are selected.

    rsvars.bat:

    @SET BDS=D:\Program Files (x86)\Embarcadero\Studio\20.0
    @SET BDSINCLUDE=D:\Program Files (x86)\Embarcadero\Studio\20.0\include
    @SET BDSCOMMONDIR=C:\Users\rpott\Documents\Embarcadero\Studio\20.0
    @SET FrameworkDir=C:\Windows\Microsoft.NET\Framework\v4.0.30319
    @SET FrameworkVersion=v4.5
    @SET FrameworkSDKDir=
    @SET PATH=%FrameworkDir%;%FrameworkSDKDir%;D:\Program Files (x86)\Embarcadero\Studio\20.0\bin;D:\Program Files (x86)\Embarcadero\Studio\20.0\bin64;D:\Program Files (x86)\Embarcadero\Studio\20.0\cmake;C:\Users\Public\Documents\Embarcadero\InterBase\redist\InterBaseXE7\IDE_spoof;%PATH%
    @SET LANGDIR=EN
    @SET PLATFORM=
    @SET PlatformSDK=
    
  13. Stefan Glienke repo owner

    Please, I mentioned that before, check the "Pause after each step" checkbox and tell me the output in the console window...

  14. Ryan Potts

    The box is checked. Console window never appears. The error message appears immediately upon clicking build.
    exitcode of ExecuteCommandLine is 255.

    cmdFilename is

    'C:\Windows\System32\cmd.exe'
    

    commandLine is

    '/C BuildHelper "D:\Program Files (x86)\Embarcadero\Studio\20.0\bin\rsvars.bat" "Packages\Delphi10Rio\Spring4D.groupproj" "Config=Debug" "Platform=Win32" "DCC_DcuOutput=D:\Program Files (x86)\Embarcadero\Studio\20.0\source\spring4d\Library\Delphi10Rio\Win32\Debug" "DCC_Define=" pause'
    

    I don't run Build in the IDE normally, but did this time to see what I can see is going on....

  15. Stefan Glienke repo owner

    DCC_DcuOutput=D:\Program Files (x86)\Embarcadero\Studio\20.0\source\spring4d\Library\Delphi10Rio\Win32\Debug

    Program files directory is write protected - ones does not put custom stuff there...

  16. Log in to comment