question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FILES_FOR_REBUILD_CHECK[@]: unbound variable

See original GitHub issue

Apache Airflow version:

Current master

Kubernetes version (if you are using kubernetes) (use kubectl version):

Environment:

  • OS (e.g. from /etc/os-release): MacOS

What happened:

➜ ./breeze prepare-backport-packages 2020.07.27 cncf
/Users/tomaszurbaszek/airflow/scripts/ci/libraries/_md5sum.sh: line 86: FILES_FOR_REBUILD_CHECK[@]: unbound variable

What you expected to happen:

I would love to build packages

How to reproduce it:

Just run

./breeze prepare-backport-packages 2020.07.27 cncf

Anything else we need to know:

N/A

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
turbaszekcommented, Aug 20, 2020

(and there you get another issue - with missing README.md that you have to add

I solved this with changing mode to w+

0reactions
potiukcommented, Aug 20, 2020

I will double check it on mac and see where the undefined variable comes from

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bash throws error, line 8: $1: unbound variable
set -u will abort exactly as you describe if you reference a variable which has not been set. You are invoking your script...
Read more >
Unbound variable error not reported in setup_file() with `set -u`
This bug has been haunting me for a while, as it only happens with a very specific setup. This is running on Debian...
Read more >
Work-around for $@ unbound variable in Bash 4.0.0?
In specifically Bash version 4.0.0 , is there any way to work around the use of an empty $@ raising an unbound variable...
Read more >
Fix unbound variable error in scripts/collect-test-info.sh
The scripts/collect-test-info.sh script is executed with '-u' which means that unset variables will trigger an error like the following one: ...
Read more >
Keep getting "Unbound Variable" error on my function ... - Reddit
Here is my code thus far. (defun firsttry (word) (dotimes (n (length word)) (print n))). Why is it that I keep getting unbound...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found