Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#123 closed defect (fixed)

brew upgrade / reinstall survex fail — at Version 2

Reported by: Enrico Fratnik Owned by: Olly Betts
Priority: blocker Milestone:
Component: Other Version: 1.2.43
Keywords: Cc:

Description (last modified by Olly Betts)

Dear all,

when I brew upgrade my system or try to reinstall survex brew report an error (see below).

Any idea?

Thank you in advance

enrico

@icts-enrico ~ % brew tap survex/survex https://git.survex.com/homebrew-survex

@icts-enrico ~ % brew reinstall survex
==> Downloading https://survex.com/software/1.2.43/survex-1.2.43.tar.gz
######################################################################## 100.0%
==> Reinstalling survex/survex/survex 
==> ./configure --prefix=/usr/local/Cellar/survex/1.2.43 --bindir=/usr/local/Cellar/survex/1.2.43/bin --mandir=/usr/local/Cellar/sur
==> make
Last 15 lines from /Users/enricof/Library/Logs/Homebrew/survex/02.make:
1 error generated.
1 error generated.
1 errormake[3]:  generated.
*** [readval.o] Error 1
make[3]: *** [cavern.o] Error 1
make[3]: *** [network.o] Error 1
make[3]: *** [netskel.o] Error 1
1 error generated.
make[3]: *** [commands.o] Error 1
1 error generated.
make[3]: *** [datain.o] Error 1
mv -f .deps/date.Tpo .deps/date.Po
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

If reporting this issue please do so to (not Homebrew/brew or Homebrew/core):
  survex/survex

Traceback (most recent call last):
	26: from /usr/local/Homebrew/Library/Homebrew/build.rb:229:in `<main>'
	25: from /usr/local/Homebrew/Library/Homebrew/build.rb:133:in `install'
	24: from /usr/local/Homebrew/Library/Homebrew/utils.rb:550:in `with_env'
	23: from /usr/local/Homebrew/Library/Homebrew/build.rb:138:in `block in install'
	22: from /usr/local/Homebrew/Library/Homebrew/formula.rb:1275:in `brew'
	21: from /usr/local/Homebrew/Library/Homebrew/formula.rb:2401:in `stage'
	20: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/forwardable.rb:230:in `stage'
	19: from /usr/local/Homebrew/Library/Homebrew/resource.rb:91:in `stage'
	18: from /usr/local/Homebrew/Library/Homebrew/resource.rb:116:in `unpack'
	17: from /usr/local/Homebrew/Library/Homebrew/resource.rb:199:in `mktemp'
	16: from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `run'
	15: from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `chdir'
	14: from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `block in run'
	13: from /usr/local/Homebrew/Library/Homebrew/resource.rb:117:in `block in unpack'
	12: from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:102:in `stage'
	11: from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:115:in `chdir'
	10: from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:115:in `chdir'
	 9: from /usr/local/Homebrew/Library/Homebrew/resource.rb:121:in `block (2 levels) in unpack'
	 8: from /usr/local/Homebrew/Library/Homebrew/formula.rb:2421:in `block in stage'
	 7: from /usr/local/Homebrew/Library/Homebrew/utils.rb:550:in `with_env'
	 6: from /usr/local/Homebrew/Library/Homebrew/formula.rb:2422:in `block (2 levels) in stage'
	 5: from /usr/local/Homebrew/Library/Homebrew/formula.rb:1282:in `block in brew'
	 4: from /usr/local/Homebrew/Library/Homebrew/build.rb:178:in `block (2 levels) in install'
	 3: from /usr/local/Homebrew/Library/Taps/survex/homebrew-survex/HomebrewFormula/survex.rb:21:in `install'
	 2: from /usr/local/Homebrew/Library/Homebrew/formula.rb:2192:in `system'
	 1: from /usr/local/Homebrew/Library/Homebrew/formula.rb:2192:in `open'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2256:in `block in system': Failed executing: make (BuildError)
	9: from /usr/local/Homebrew/Library/Homebrew/brew.rb:164:in `<main>'
	8: from /usr/local/Homebrew/Library/Homebrew/brew.rb:176:in `rescue in <main>'
	7: from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:509:in `dump'
	6: from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:455:in `issues'
	5: from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:459:in `fetch_issues'
	4: from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:61:in `issues_for_formula'
	3: from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:30:in `search_issues'
	2: from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:160:in `search'
	1: from /usr/local/Homebrew/Library/Homebrew/utils/github/api.rb:234:in `open_rest'
/usr/local/Homebrew/Library/Homebrew/utils/github/api.rb:304:in `raise_error': Validation Failed: [{"message"=>"The listed users and repositories cannot be searched either because the resources do not exist or you do not have permission to view them.", "resource"=>"Search", "field"=>"q", "code"=>"invalid"}] (GitHub::API::ValidationFailedError)

Change History (2)

comment:1 Changed 3 years ago by Pawczak

Hey! I got similar error while trying to Install Survex on MacOS Monterey Version: 12.1 (21C52).

I won't paste the logs from brew installation because error is the same.

Is there any other installation options ?

comment:2 Changed 3 years ago by Olly Betts

Description: modified (diff)
Resolution: fixed
Status: newclosed

I was hoping someone who actually uses macos would address this, but given nobody has I've had a go myself.

It's hard to be sure because only the end of the log is shown (whereas typically it's the first errors that are the most interesting) but my guess was that this is a proj version issue, so I've updated the homebrew repo to Survex 1.4.1 which works with newer proj versions.

I have also managed to set up test installing via continuous integration so this new package should install on both macos 10.15 and 11:

https://github.com/ojwb/homebrew-survex/actions/runs/1781622178

I'll close as this should be resolved - if it isn't for you please reopen (or comment if you can't and I'll reopen) with details.

Note: See TracTickets for help on using tickets.