IBM / ibmi-bob

A build system for creating IBM i-native objects using GNU Make.
https://ibm.github.io/ibmi-bob
Apache License 2.0
48 stars 21 forks source link

Dependency Line needs colon or double colon operator. #126

Closed beckhamrryyaann closed 2 years ago

beckhamrryyaann commented 2 years ago

Hi, I have tried for past few days to figure this out on my end with no success. I am hoping someone can help. I am attempting to use BOB with Code for IBM i. Using Code for IBM i I am developing locally and then pushing my code to my target directory on the IFS. This works fine. The problem is when, after the Deploy runs, and my "makei" command is run I get an

"/QOpenSys/pkgs/lib/bob/mk/Makefile", line 10: make: Dependency line needs colon or double colon operator.
make: Equal sign not found in macro substitution.

I am able to go directly to the command line and run the makei command, the exact same as in my action.json file, and it works with no errors??

Here is my actions.json in vscode->

[
  {
    "name": "Deploy & build all 🔨",
    "command": "OPT=*EVENTF BUILDLIB=&CURLIB /QOpenSys/pkgs/bin/makei build -e lib1=&CURLIB",
    "extensions": [
      "GLOBAL"
    ],
    "environment": "pase",
    "deployFirst": true
  }
]

Here is my iproj.json

{
    "version": "0.0.1",
    "description": "McCreary Modern - Production Planning",
    "objlib": "&lib1",
    "curlib": "&lib1",
    "includePath": [],
    "preUsrlibl": ["&lib1"],
    "postUsrlibl": ["&lib1"],
    "setIBMiEnvCmd": [],
    "repository" : "http://gitlab.mccrearymodern.com/mccrearydev/ibmi/productionplanning.git"
}
beckhamrryyaann commented 2 years ago

After upgrading to Bob 2.4 this error has been fixed. Please close issue.