Testing in 10.12.6 brew reinstall https://github.com/yurikoles/homebrew-core/blob/sane-backends-1.0.27-3/Formula/sane-backends.rb ######################################################################## 100.0% Error: /Library/Caches/Homebrew/Formula/sane-backends.rb:7: syntax error, unexpected '<' <!DOCTYPE html> ^ /Library/Caches/Homebrew/Formula/sane-backends.rb:8: syntax error, unexpected '<' <html lang="en"> ^ /Library/Caches/Homebrew/Formula/sane-backends.rb:9: syntax error, unexpected '<' <head> ^ /Library/Caches/Homebrew/Formula/sane-backends.rb:11: syntax error, unexpected '<' <link rel="dns-prefetch" href="https://assets-cdn.github.com"> ^ /Library/Caches/Homebrew/Formula/sane-backends.rb:11: syntax error, unexpected tIDENTIFIER, expecting end-of-input <link rel="dns-prefetch" href="https://assets-cdn.github.com"> ^ Please report this bug: https://git.io/brew-troubleshooting /usr/local/Library/Homebrew/formulary.rb:22:in `module_eval' /usr/local/Library/Homebrew/formulary.rb:22:in `load_formula' /usr/local/Library/Homebrew/formulary.rb:79:in `load_file' /usr/local/Library/Homebrew/formulary.rb:134:in `load_file' /usr/local/Library/Homebrew/formulary.rb:70:in `klass' /usr/local/Library/Homebrew/formulary.rb:66:in `get_formula' /usr/local/Library/Homebrew/formulary.rb:176:in `factory' /usr/local/Library/Homebrew/extend/ARGV.rb:29:in `block in resolved_formulae' /usr/local/Library/Homebrew/extend/ARGV.rb:27:in `map' /usr/local/Library/Homebrew/extend/ARGV.rb:27:in `resolved_formulae' /usr/local/Library/Homebrew/cmd/reinstall.rb:7:in `reinstall' /usr/local/Library/brew.rb:127:in `<main>'
----------------------------- Testing in 10.13 brew reinstall https://github.com/yurikoles/homebrew-core/blob/sane-backends-1.0.27-3/Formula/sane-backends.rb ######################################################################## 100.0% Error: /Library/Caches/Homebrew/Formula/sane-backends.rb:7: syntax error, unexpected '<' <!DOCTYPE html> ^ /Library/Caches/Homebrew/Formula/sane-backends.rb:8: syntax error, unexpected '<' <html lang="en"> ^ /Library/Caches/Homebrew/Formula/sane-backends.rb:9: syntax error, unexpected '<' <head> ^ /Library/Caches/Homebrew/Formula/sane-backends.rb:11: syntax error, unexpected '<' <link rel="dns-prefetch" href="https://assets-cdn.github.com"> ^ /Library/Caches/Homebrew/Formula/sane-backends.rb:11: syntax error, unexpected tIDENTIFIER, expecting end-of-input <link rel="dns-prefetch" href="https://assets-cdn.github.com"> ^ Please report this bug: https://git.io/brew-troubleshooting /usr/local/Library/Homebrew/formulary.rb:22:in `module_eval' /usr/local/Library/Homebrew/formulary.rb:22:in `load_formula' /usr/local/Library/Homebrew/formulary.rb:79:in `load_file' /usr/local/Library/Homebrew/formulary.rb:134:in `load_file' /usr/local/Library/Homebrew/formulary.rb:70:in `klass' /usr/local/Library/Homebrew/formulary.rb:66:in `get_formula' /usr/local/Library/Homebrew/formulary.rb:176:in `factory' /usr/local/Library/Homebrew/extend/ARGV.rb:29:in `block in resolved_formulae' /usr/local/Library/Homebrew/extend/ARGV.rb:27:in `map' /usr/local/Library/Homebrew/extend/ARGV.rb:27:in `resolved_formulae' /usr/local/Library/Homebrew/cmd/reinstall.rb:7:in `reinstall' /usr/local/Library/brew.rb:127:in `<main>' ITALex15:/ tmyers$ > On Aug 12, 2017, at 8:39 AM, Yurii Kolesnykov <[email protected]> wrote: > > сб, 12 серп. 2017 о 09:05 Olaf Meeuwissen <[email protected] > <mailto:[email protected]>> пише: > They don't get deleted later. The files to be installed don't get > created to begin with. This is arguably a bug in the sane-backends > build system but you can easily work around it by running a `make` > before doing a `make install`. > > It looks like the homebrew stuff assumes that `make install` will be > smart enough to also trigger builds for everything that needs to be > installed. A bit overly optimistic, if you ask me ;-) > > Below is the Makefile.am snippet that installs the configuration files. > The first line after the @list, checks for a readable configuration but > because all these files are generated they don't exist unless you run a > `make install` first. > > install-becfg: > @# Libtool has a bug where it will sometimes symlink the last > @# installed library in $(sanelibdir) to $(sanelibdir)/libsane.*. > @# Having two libsane's can cause issues so get rid of it. > -rm -f $(DESTDIR)$(sanelibdir)/libsane.* > test -z "$(configdir)" || $(MKDIR_P) "$(DESTDIR)$(configdir)" > test -z "$(configdir)/dll.d" || $(MKDIR_P) > "$(DESTDIR)$(configdir)/dll.d" > @list="$(BACKEND_CONFS_ENABLED) saned.conf dll.conf"; for cfg in > $$list; do \ > if test ! -r $${cfg}; then continue; fi; \ > if test -f $(DESTDIR)$(configdir)/$${cfg}; then \ > echo NOT overwriting $${cfg} in $(configdir)...; \ > else \ > echo installing $${cfg} in $(configdir)/$${cfg}...; \ > $(INSTALL_DATA) $${cfg} $(DESTDIR)$(configdir)/$${cfg} \ > || exit 1; \ > fi; \ > done > > I pushed a fix for this in 519ff57. > > Hope this helps, > > Olaf, I had created PR for this > https://github.com/Homebrew/homebrew-core/pull/16722 > <https://github.com/Homebrew/homebrew-core/pull/16722> It can be installed > via: > `brew reinstall > https://github.com/yurikoles/homebrew-core/blob/sane-backends-1.0.27-3/Formula/sane-backends.rb` > > <https://github.com/yurikoles/homebrew-core/blob/sane-backends-1.0.27-3/Formula/sane-backends.rb%60> > > Thomas, please check it. > -- > sane-devel mailing list: [email protected] > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to [email protected]
-- sane-devel mailing list: [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to [email protected]
