This repository has been archived by the owner. It is now read-only.

smpeg trouble when installing pygame #22

Closed
mjmare opened this Issue Mar 13, 2013 · 14 comments

Comments

Projects
None yet
6 participants
@mjmare

mjmare commented Mar 13, 2013

Hi

brew install pygame fails with the message:

Error: smpeg is a head-only formula
Install with `brew install --HEAD smpeg

brew install --HEAD smpeg
fails with

make: *** [MPEGstream.lo] Error 1
1 error generated.
1 error generated.
make: *** [MPEG.lo] Error 1
make: *** [MPEGsystem.lo] Error 1

A workaround is found here: Homebrew/homebrew-head-only#6:
brew edit smpeg
Change
head 'svn://svn.icculus.org/smpeg/trunk' to
head 'svn://svn.icculus.org/smpeg/trunk', :revision => '398'

brew install --HEAD smpeg
will succeed after this.

@ghost ghost assigned samueljohn Mar 14, 2013

@samueljohn

This comment has been minimized.

Show comment
Hide comment
@samueljohn

samueljohn Mar 14, 2013

Contributor

Thanks for the report! I think the suggested fix is already pulled in homebrew-headonly, right?
Assuming this is solved now, therefore closing.

Contributor

samueljohn commented Mar 14, 2013

Thanks for the report! I think the suggested fix is already pulled in homebrew-headonly, right?
Assuming this is solved now, therefore closing.

@samueljohn samueljohn closed this Mar 14, 2013

@mjmare

This comment has been minimized.

Show comment
Hide comment
@mjmare

mjmare Mar 15, 2013

I'm bit of newbee, so I should use

brew install --HEAD pygame ?
And maybe for all packages?

TIA

Marcel J. Maré

On 14 mrt. 2013, at 16:15, Samuel John notifications@github.com wrote:

Thanks for the report! I think the suggested fix is already pulled in homebrew-headonly, right?
Assuming this is solved now, therefore closing.


Reply to this email directly or view it on GitHub.

mjmare commented Mar 15, 2013

I'm bit of newbee, so I should use

brew install --HEAD pygame ?
And maybe for all packages?

TIA

Marcel J. Maré

On 14 mrt. 2013, at 16:15, Samuel John notifications@github.com wrote:

Thanks for the report! I think the suggested fix is already pulled in homebrew-headonly, right?
Assuming this is solved now, therefore closing.


Reply to this email directly or view it on GitHub.

@samueljohn

This comment has been minimized.

Show comment
Hide comment
@samueljohn

samueljohn Mar 15, 2013

Contributor

No worries, @mjmare. Only smpeg needs the --HEAD option. What this option does (for formulae supporting it) is pulling the latest (possibly unstable) version of the software instead of the stable release. This sucks, because we (at homebrew) cannot assure that it works with all the other formulae as it may break everytime a new commit is made.

Therefore, software that do not provide releases got moved into the homebrew/headonly "tap". A tap is jut a repository with extra formulae. But you need to brew tap... it (see below).

I reopen because I think, it would be better to explicitly depends_on 'homebrew/headonly/smpeg, so then homebrew would print out that you should brew tap homebrew/headonly in order to get the smpeg formula (which is head-only).

So what you have to do is:

  1. brew tap homebrew/headonly
  2. brew install smpeg --HEAD
Contributor

samueljohn commented Mar 15, 2013

No worries, @mjmare. Only smpeg needs the --HEAD option. What this option does (for formulae supporting it) is pulling the latest (possibly unstable) version of the software instead of the stable release. This sucks, because we (at homebrew) cannot assure that it works with all the other formulae as it may break everytime a new commit is made.

Therefore, software that do not provide releases got moved into the homebrew/headonly "tap". A tap is jut a repository with extra formulae. But you need to brew tap... it (see below).

I reopen because I think, it would be better to explicitly depends_on 'homebrew/headonly/smpeg, so then homebrew would print out that you should brew tap homebrew/headonly in order to get the smpeg formula (which is head-only).

So what you have to do is:

  1. brew tap homebrew/headonly
  2. brew install smpeg --HEAD

@samueljohn samueljohn reopened this Mar 15, 2013

@samueljohn

This comment has been minimized.

Show comment
Hide comment
@samueljohn

samueljohn Mar 15, 2013

Contributor

Having said that, sometimes I want a certain software to be newer than what is currently in homebrew. If that formula provides a HEAD (which you can see from brew info <formula>

For example, numpy is currently 1.7.0 but homebrew also provides the latest HEAD (aka trunk, master .. you name it).

brew info numpy
numpy: stable 1.7.0, HEAD
<snip>
Contributor

samueljohn commented Mar 15, 2013

Having said that, sometimes I want a certain software to be newer than what is currently in homebrew. If that formula provides a HEAD (which you can see from brew info <formula>

For example, numpy is currently 1.7.0 but homebrew also provides the latest HEAD (aka trunk, master .. you name it).

brew info numpy
numpy: stable 1.7.0, HEAD
<snip>
@mjmare

This comment has been minimized.

Show comment
Hide comment
@mjmare

mjmare Mar 17, 2013

Thanks Samuel,

You were right of course. It works.
Let me thank you again for providing these formulas. You're saving humanity (well, me at least) a lot of grief.

If you're looking for a challenge: why not make a nice formula for kivy ;-) Pygame, SDL involved there too.

Marcel

On 15 mrt. 2013, at 13:44, Samuel John notifications@github.com wrote:

No worries, @mjmare. Only smpeg needs the --HEAD option. What this option does (for formulae supporting it) is pulling the latest (possibly unstable) version of the software instead of the stable release. This sucks, because we (at homebrew) cannot assure that it works with all the other formulae as it may break everytime a new commit is made.

Therefore, software that do not provide releases got moved into the homebrew/headonly "tap". A tap is jut a repository with extra formulae. But you need to brew tap... it (see below).

I reopen because I think, it would be better to explicitly depends_on 'homebrew/headonly/smpeg, so then homebrew would print out that you should brew tap homebrew/headonly in order to get the smpeg formula (which is head-only).

So what you have to do is:

  1. brew tap homebrew/headonly
  2. brew install smpeg --HEAD


Reply to this email directly or view it on GitHub.

mjmare commented Mar 17, 2013

Thanks Samuel,

You were right of course. It works.
Let me thank you again for providing these formulas. You're saving humanity (well, me at least) a lot of grief.

If you're looking for a challenge: why not make a nice formula for kivy ;-) Pygame, SDL involved there too.

Marcel

On 15 mrt. 2013, at 13:44, Samuel John notifications@github.com wrote:

No worries, @mjmare. Only smpeg needs the --HEAD option. What this option does (for formulae supporting it) is pulling the latest (possibly unstable) version of the software instead of the stable release. This sucks, because we (at homebrew) cannot assure that it works with all the other formulae as it may break everytime a new commit is made.

Therefore, software that do not provide releases got moved into the homebrew/headonly "tap". A tap is jut a repository with extra formulae. But you need to brew tap... it (see below).

I reopen because I think, it would be better to explicitly depends_on 'homebrew/headonly/smpeg, so then homebrew would print out that you should brew tap homebrew/headonly in order to get the smpeg formula (which is head-only).

So what you have to do is:

  1. brew tap homebrew/headonly
  2. brew install smpeg --HEAD


Reply to this email directly or view it on GitHub.

@samueljohn

This comment has been minimized.

Show comment
Hide comment
@samueljohn

samueljohn Mar 17, 2013

Contributor

@mjmare thanks!
I hope to provide further python formulae here in the future. Perhaps even moving them into official Homebrew place (say homebrew-python or something).

Yes the next days I independently wanted to make a kivy formula for myself. Kivy looks like a nice tool.
But my backlog of stuff to do and homebrew stuff to do is quite long :-(

Often when I say "in the next days" it was more like "in the next months"

Contributor

samueljohn commented Mar 17, 2013

@mjmare thanks!
I hope to provide further python formulae here in the future. Perhaps even moving them into official Homebrew place (say homebrew-python or something).

Yes the next days I independently wanted to make a kivy formula for myself. Kivy looks like a nice tool.
But my backlog of stuff to do and homebrew stuff to do is quite long :-(

Often when I say "in the next days" it was more like "in the next months"

@wonbyte

This comment has been minimized.

Show comment
Hide comment
@wonbyte

wonbyte Mar 17, 2013

sounds like a hacking opportunity in Hannover!

wonbyte commented Mar 17, 2013

sounds like a hacking opportunity in Hannover!

@mjmare

This comment has been minimized.

Show comment
Hide comment
@mjmare

mjmare Mar 17, 2013

Kivy looks like a fresh approach to GUIs, something really needed in Python. The requirements are a pain though. I'd really like to use Kivy with the brew python. Couldn't get it to work. FWIW this is a post of mine on the Kivy list detailing the problems: https://groups.google.com/d/msg/kivy-users/ylwkXl5Ba2w/Z_S6WJIvUJ0J

Marcel

On 17 mrt. 2013, at 19:07, Samuel John notifications@github.com wrote:

@mjmare thanks!
I hope to provide further python formulae here in the future. Perhaps even moving them into official Homebrew place (say homebrew-python or something).

Yes the next days I independently wanted to make a kivy formula for myself. Kivy looks like a nice tool.
But my backlog of stuff to do and homebrew stuff to do is quite long :-(

Often when I say "in the next days" it was more like "in the next months"


Reply to this email directly or view it on GitHub.

mjmare commented Mar 17, 2013

Kivy looks like a fresh approach to GUIs, something really needed in Python. The requirements are a pain though. I'd really like to use Kivy with the brew python. Couldn't get it to work. FWIW this is a post of mine on the Kivy list detailing the problems: https://groups.google.com/d/msg/kivy-users/ylwkXl5Ba2w/Z_S6WJIvUJ0J

Marcel

On 17 mrt. 2013, at 19:07, Samuel John notifications@github.com wrote:

@mjmare thanks!
I hope to provide further python formulae here in the future. Perhaps even moving them into official Homebrew place (say homebrew-python or something).

Yes the next days I independently wanted to make a kivy formula for myself. Kivy looks like a nice tool.
But my backlog of stuff to do and homebrew stuff to do is quite long :-(

Often when I say "in the next days" it was more like "in the next months"


Reply to this email directly or view it on GitHub.

@samueljohn

This comment has been minimized.

Show comment
Hide comment
@samueljohn

samueljohn Mar 17, 2013

Contributor

@wonbyte let's see what we will pick for a hacking evening this summer. I hope to get kivy up earlier. But there is always enough to do :-)

@mjmare thanks for the pointer. I'll try to read the kivy packaging instructions for OSX.
Agree that brew install kivy would be cool.

Contributor

samueljohn commented Mar 17, 2013

@wonbyte let's see what we will pick for a hacking evening this summer. I hope to get kivy up earlier. But there is always enough to do :-)

@mjmare thanks for the pointer. I'll try to read the kivy packaging instructions for OSX.
Agree that brew install kivy would be cool.

@samueljohn

This comment has been minimized.

Show comment
Hide comment
@samueljohn

samueljohn Mar 19, 2013

Contributor

Homebrew should tell you to tap homebrew/headonly in order to brew install smpeg --HEAD.

Contributor

samueljohn commented Mar 19, 2013

Homebrew should tell you to tap homebrew/headonly in order to brew install smpeg --HEAD.

@samueljohn samueljohn closed this Mar 19, 2013

@hugofabricio

This comment has been minimized.

Show comment
Hide comment
@hugofabricio

hugofabricio Sep 3, 2013

brew install smpeg --HEAD
cairo: Unsatisfied dependency: XQuartz
Homebrew does not package XQuartz. Installers may be found at:
https://xquartz.macosforge.org
pango: Unsatisfied dependency: XQuartz
Homebrew does not package XQuartz. Installers may be found at:
https://xquartz.macosforge.org
gtk+: Unsatisfied dependency: XQuartz 2.3.6
Homebrew does not package XQuartz. Installers may be found at:
https://xquartz.macosforge.org
Error: An unsatisfied requirement failed this build.

hugofabricio commented Sep 3, 2013

brew install smpeg --HEAD
cairo: Unsatisfied dependency: XQuartz
Homebrew does not package XQuartz. Installers may be found at:
https://xquartz.macosforge.org
pango: Unsatisfied dependency: XQuartz
Homebrew does not package XQuartz. Installers may be found at:
https://xquartz.macosforge.org
gtk+: Unsatisfied dependency: XQuartz 2.3.6
Homebrew does not package XQuartz. Installers may be found at:
https://xquartz.macosforge.org
Error: An unsatisfied requirement failed this build.

@samueljohn

This comment has been minimized.

Show comment
Hide comment
@samueljohn

samueljohn Sep 3, 2013

Contributor

Thanks for the report and also the workaround!

Contributor

samueljohn commented Sep 3, 2013

Thanks for the report and also the workaround!

@tetreault

This comment has been minimized.

Show comment
Hide comment
@tetreault

tetreault Nov 13, 2015

There are still issues installing smpeg for pygame.

==> Cloning svn://svn.icculus.org/smpeg/trunk Subcommand 'checkout' doesn't accept option '--force' Error: Failed to download resource "smpeg" Failure while executing: svn checkout -q --force svn://svn.icculus.org/smpeg/trunk /Library/Caches/Homebrew/smpeg--svn-HEAD

tetreault commented Nov 13, 2015

There are still issues installing smpeg for pygame.

==> Cloning svn://svn.icculus.org/smpeg/trunk Subcommand 'checkout' doesn't accept option '--force' Error: Failed to download resource "smpeg" Failure while executing: svn checkout -q --force svn://svn.icculus.org/smpeg/trunk /Library/Caches/Homebrew/smpeg--svn-HEAD

@tdsmith

This comment has been minimized.

Show comment
Hide comment
@tdsmith

tdsmith Dec 12, 2015

Contributor

Please open a new issue if you have issues with a formula.

Contributor

tdsmith commented Dec 12, 2015

Please open a new issue if you have issues with a formula.

@Homebrew Homebrew locked and limited conversation to collaborators Dec 12, 2015

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.