Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

bup fails to install #48950

Closed
PeterPablo opened this issue Feb 7, 2016 · 6 comments
Closed

bup fails to install #48950

PeterPablo opened this issue Feb 7, 2016 · 6 comments

Comments

@PeterPablo
Copy link

Possibly related issue: #42375

peterpablo@PeterPablo:~$ brew install -s bup
==> Downloading https://github.com/bup/bup/archive/0.27.tar.gz
Already downloaded: /Library/Caches/Homebrew/bup-0.27.tar.gz
==> make
Last 15 lines from /Users/peterpablo/Library/Logs/Homebrew/bup/01.make:
ln -s tick-cmd.py cmd/bup-tick
rm -f cmd/bup-version
rm -f cmd/bup-web
rm -f cmd/bup-xstat
ln -s version-cmd.py cmd/bup-version
ln -s web-cmd.py cmd/bup-web
ln -s xstat-cmd.py cmd/bup-xstat
rm -f cmd/bup-import-rdiff-backup
rm -f cmd/bup-import-rsnapshot
t/configure-sampledata --setup
ln -s import-rdiff-backup-cmd.sh cmd/bup-import-rdiff-backup
ln -s import-rsnapshot-cmd.sh cmd/bup-import-rsnapshot
 (can't run cpp as a pipeline)
make[1]: *** [config.h] Error 1
make: *** [config/config.h] Error 2

Here the requested GIST.

@DomT4
Copy link
Member

DomT4 commented Feb 8, 2016

I added a bottle for 10.11.x in b1b396c. Does brew update && brew install bup produce a package that behaves as expected for you?

@DomT4
Copy link
Member

DomT4 commented Feb 13, 2016

Let me know if we can help further here, Thanks!

@DomT4 DomT4 closed this as completed Feb 13, 2016
@PeterPablo
Copy link
Author

I just tested this and now installation worked without a problem. Thank you @DomT4!

@leewalsh
Copy link

Is there any way to install bup with documentation without building bup? I can install the bottle just fine, but there are no man pages:

leewalsh@warbler ~> bup help save
No manual entry for bup-save
leewalsh@warbler ~ [1]> man bup
No manual entry for bup

I see there is an option --with-pandoc, but that seems to imply building bup, which fails in a (maybe) similar fashion as in @PeterPablo's post, with the "can't run cpp as a pipeline" error. Is there any way to install the man pages with the bottle? I really don't care about building bup, but having the help at my fingertips would be nice. If I can figure out how to do it, I'd be happy to add it to the formula.

Here's the output, and logs gist:

leewalsh@warbler ~ [1]> brew remove bup
Uninstalling /usr/local/Cellar/bup/0.27... (67 files, 469.6K)
leewalsh@warbler ~> brew install --with-pandoc bup
==> Downloading https://github.com/bup/bup/archive/0.27.tar.gz
Already downloaded: /Library/Caches/Homebrew/bup-0.27.tar.gz
==> make
Last 15 lines from /Users/leewalsh/Library/Logs/Homebrew/bup/01.make:
ln -s tick-cmd.py cmd/bup-tick
rm -f cmd/bup-web
ln -s version-cmd.py cmd/bup-version
rm -f cmd/bup-xstat
ln -s web-cmd.py cmd/bup-web
rm -f cmd/bup-import-rdiff-backup
ln -s xstat-cmd.py cmd/bup-xstat
rm -f cmd/bup-import-rsnapshot
ln -s import-rdiff-backup-cmd.sh cmd/bup-import-rdiff-backup
t/configure-sampledata --setup
ln -s import-rsnapshot-cmd.sh cmd/bup-import-rsnapshot
Configuring for [bup]
Looking for cpp (/usr/local/Library/ENV/4.3/cpp) (can't run cpp as a pipeline)
make[1]: *** [config.h] Error 1
make: *** [config/config.h] Error 2

@DomT4
Copy link
Member

DomT4 commented Feb 19, 2016

Is there any way to install bup with documentation without building bup?

No. We don't really support the option where people don't want the tool installed but want the documentation for it because it's a little niche.

Configuring for [bup]
Looking for cpp (/usr/local/Library/ENV/4.3/cpp) (can't run cpp as a pipeline)

We've run into this a few times but I can't reproduce locally and I can't recall that we've ever been able to narrow down a reproducible case in every circumstance. A full brew gist-logs bup may be helpful there.

@leewalsh
Copy link

Thanks for your reply @DomT4 !

Is there any way to install bup with documentation without building bup?

No. We don't really support the option where people don't want the tool installed but want the documentation for it because it's a little niche.

I meant installing the docs alongside using a bottle ... I do want the tool installed :) It seems other bottled formulae come with man pages.. e.g.:

leewalsh@warbler ~> brew info git
git: stable 2.7.1 (bottled), HEAD
...
/usr/local/Cellar/git/2.7.1 (1,408 files, 236.3M) *
  Poured from bottle
leewalsh@warbler ~> brew list git
...
/usr/local/Cellar/git/2.7.1/share/man/ (178 files)

If it's easy to add this to bottles, I would be interested in contributing that to bup. Otherwise I will try just manually copying the bup man pages into my own manpath.

We've run into this a few times but I can't reproduce locally and I can't recall that we've ever been able to narrow down a reproducible case in every circumstance. A full brew gist-logs bup may be helpful there.

I can't find any more logs than what I posted originally. I ran it again as brew gist-logs -v bup but the output looks the same, and gist-logs is not covered in man brew. Is there more I can do to help/investigate?

@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants