Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name collision with brew: platypus #2440

Closed
goxberry opened this issue Jan 16, 2014 · 9 comments
Closed

Name collision with brew: platypus #2440

goxberry opened this issue Jan 16, 2014 · 9 comments

Comments

@goxberry
Copy link
Contributor

Just did a brew update, and saw

Warning: Could not tap phinze/cask/platypus over Homebrew/homebrew/platypus

Perhaps renaming the cask here would be best? I'm going to do a little research and see if I can come up with a quick fix.

goxberry added a commit to goxberry/homebrew-cask that referenced this issue Jan 16, 2014
Rename resolves file name collision noted in Issue Homebrew#2440. Also renamed
cask class for consistency with cask naming guidelines.
@rolandwalker
Copy link
Contributor

I can confirm the warning at update time, but then had no problems installing or uninstalling platypus via brew cask.

@vitorgalvao
Copy link
Member

What is the output you get with brew doctor? I do not get this error, and I have a feeling you might stop seeing it after you run this magical one-liner. It worked before, and I’m confident it’ll work now.

We have a bunch of casks in common with homebrew, and none of them pose a problem, so this one should not be any different. Renaming it is, then, not an acceptable solution.

@goxberry
Copy link
Contributor Author

@rolandwalker If that's the case, I'll just close it. I was a bit overeager here.

@goxberry
Copy link
Contributor Author

@vitorgalvao Thank you for your help! I'll try the script. I agree with you that renaming is not an acceptable solution. The intent of the PR was a quick kludge intended to demonstrate both one possible solution and a willingness to contribute in the hopes of finding a better solution. Your solution is much better.

We have a bunch of casks in common with homebrew, and none of them pose a problem, so this one should not be any different.

When I see italics like that, I read it as some sort of sneer or sarcasm, and don't appreciate it. That said, I see you've used it on other posts, so I also get the impression that such a connotation is not what you're trying to get across. What are you getting at with the italics for "casks" and "homebrew"? Did I use terminology incorrectly? Is there something I could do better? I like this project, and if there's something I could do to be of more help, let me know.

Here is the output from brew doctor; I'm not sure what is going on with all of the errors, since I brew update and brew upgrade on a regular basis:

~ goxberry$ brew doctor
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
    /usr/local/lib/libmacfuse_i32.2.dylib
    /usr/local/lib/libmacfuse_i64.2.dylib
    /usr/local/lib/libosxfuse_i32.2.dylib
    /usr/local/lib/libosxfuse_i64.2.dylib

Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .la files:
    /usr/local/lib/libosxfuse_i32.la
    /usr/local/lib/libosxfuse_i64.la

Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
    /usr/local/lib/pkgconfig/osxfuse.pc

Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:

    imagemagick
Error: Failed to import: acorn
No available formula for acorn
Error: Failed to import: adapter
No available formula for adapter
Error: Failed to import: airfoil
No available formula for airfoil
Error: Failed to import: android-file-transfer
No available formula for android-file-transfer
Error: Failed to import: android-studio
No available formula for android-studio
Error: Failed to import: anki
No available formula for anki
Error: Failed to import: appfresh
No available formula for appfresh
Error: Failed to import: arduino
No available formula for arduino
Error: Failed to import: atext
No available formula for atext
Error: Failed to import: audacity
No available formula for audacity
Error: Failed to import: base
No available formula for base
Error: Failed to import: beamer
No available formula for beamer
Error: Failed to import: bill
No available formula for bill
Error: Failed to import: bitcoin-qt
No available formula for bitcoin-qt
Error: Failed to import: blender
No available formula for blender
Error: Failed to import: bonjour-browser
No available formula for bonjour-browser
Error: Failed to import: bowtie
No available formula for bowtie
Error: Failed to import: boxer
No available formula for boxer
Error: Failed to import: calibre
No available formula for calibre
Error: Failed to import: carbon-copy-cloner
No available formula for carbon-copy-cloner
Error: Failed to import: charles
No available formula for charles
Error: Failed to import: chatology
No available formula for chatology
Error: Failed to import: chronicle
No available formula for chronicle
Error: Failed to import: clamxav
No available formula for clamxav
Error: Failed to import: cleanup
No available formula for cleanup
Error: Failed to import: clementine
No available formula for clementine
Error: Failed to import: cloak
No available formula for cloak
Error: Failed to import: cloudapp
No available formula for cloudapp
Error: Failed to import: codebug
No available formula for codebug
Error: Failed to import: cog
No available formula for cog
Error: Failed to import: colors
No available formula for colors
Error: Failed to import: controlplane
No available formula for controlplane
Error: Failed to import: copy
No available formula for copy
Error: Failed to import: dataurlmaker
No available formula for dataurlmaker
Error: Failed to import: dbeaver
No available formula for dbeaver
Error: Failed to import: delibar
No available formula for delibar
Error: Failed to import: delicious-library
No available formula for delicious-library
Error: Failed to import: deluge
No available formula for deluge
Error: Failed to import: diffmerge
No available formula for diffmerge
Error: Failed to import: dosbox
No available formula for dosbox
Error: Failed to import: doubletwist
No available formula for doubletwist
Error: Failed to import: download
No available formula for download
Error: Failed to import: doxie
No available formula for doxie
Error: Failed to import: dropzone
No available formula for dropzone
Error: Failed to import: ecoute
No available formula for ecoute
Error: Failed to import: espresso
No available formula for espresso
Error: Failed to import: fake
No available formula for fake
Error: Failed to import: feeds
No available formula for feeds
Error: Failed to import: fiji
No available formula for fiji
Error: Failed to import: filezilla
No available formula for filezilla
Error: Failed to import: flow
No available formula for flow
Error: Failed to import: frizzix
No available formula for frizzix
Error: Failed to import: geektool
No available formula for geektool
Error: Failed to import: gemini
No available formula for gemini
Error: Failed to import: ghostlab
No available formula for ghostlab
Error: Failed to import: gitbox
No available formula for gitbox
Error: Failed to import: google-drive
No available formula for google-drive
Error: Failed to import: growlnotify
No available formula for growlnotify
Error: Failed to import: hopper-disassembler
No available formula for hopper-disassembler
Error: Failed to import: hopper-disassembler-gdb
No available formula for hopper-disassembler-gdb
Error: Failed to import: icompta
No available formula for icompta
Error: Failed to import: induction
No available formula for induction
Error: Failed to import: instacast
No available formula for instacast
Error: Failed to import: insync
No available formula for insync
Error: Failed to import: integrity
No available formula for integrity
Error: Failed to import: iograph
No available formula for iograph
Error: Failed to import: jewelrybox
No available formula for jewelrybox
Error: Failed to import: jubler
No available formula for jubler
Error: Failed to import: julia
No available formula for julia
Error: Failed to import: key-codes
No available formula for key-codes
Error: Failed to import: keyremap4macbook
No available formula for keyremap4macbook
Error: Failed to import: kismac
No available formula for kismac
Error: Failed to import: kiwi
No available formula for kiwi
Error: Failed to import: lastfm
No available formula for lastfm
Error: Failed to import: less-app
No available formula for less-app
Error: Failed to import: light-table
No available formula for light-table
Error: Failed to import: livereload
No available formula for livereload
Error: Failed to import: lyn
No available formula for lyn
Error: Failed to import: lyx
No available formula for lyx
Error: Failed to import: macfusion
No available formula for macfusion
Error: Failed to import: macupdate-desktop
No available formula for macupdate-desktop
Error: Failed to import: minecraft
No available formula for minecraft
Error: Failed to import: mocksmtp
No available formula for mocksmtp
Error: Failed to import: multibit
No available formula for multibit
Error: Failed to import: mysql-workbench
No available formula for mysql-workbench
Error: Failed to import: nethack-cocoa
No available formula for nethack-cocoa
Error: Failed to import: node-webkit
No available formula for node-webkit
Error: Failed to import: nomacs
No available formula for nomacs
Error: Failed to import: nzb-vortex
No available formula for nzb-vortex
Error: Failed to import: onyx
No available formula for onyx
Error: Failed to import: openscad
No available formula for openscad
Error: Failed to import: opera
No available formula for opera
Error: Failed to import: opera-mail
No available formula for opera-mail
Error: Failed to import: opera-next
No available formula for opera-next
Error: Failed to import: origin
No available formula for origin
Error: Failed to import: owncloud
No available formula for owncloud
Error: Failed to import: pacifist
No available formula for pacifist
Error: Failed to import: pagico
No available formula for pagico
Error: Failed to import: papers
No available formula for papers
Error: Failed to import: pencil
No available formula for pencil
Error: Failed to import: pg-commander
No available formula for pg-commander
Error: Failed to import: pgadmin3
No available formula for pgadmin3
Error: Failed to import: phpstorm
No available formula for phpstorm
Error: Failed to import: picasa
No available formula for picasa
Error: Failed to import: picturesque
No available formula for picturesque
Error: Failed to import: pins
No available formula for pins
Error: Failed to import: poedit
No available formula for poedit
Error: Failed to import: pokerstars
No available formula for pokerstars
Error: Failed to import: porthole
No available formula for porthole
Error: Failed to import: postbox
No available formula for postbox
Error: Failed to import: prepros
No available formula for prepros
Error: Failed to import: processing
No available formula for processing
Error: Failed to import: ps3-media-server
No available formula for ps3-media-server
Error: Failed to import: reggy
No available formula for reggy
Error: Failed to import: renamer
No available formula for renamer
Error: Failed to import: rest-client
No available formula for rest-client
Error: Failed to import: reveal
No available formula for reveal
Error: Failed to import: rss
No available formula for rss
Error: Failed to import: rstudio
No available formula for rstudio
Error: Failed to import: rtx
No available formula for rtx
Error: Failed to import: sabnzbd
No available formula for sabnzbd
Error: Failed to import: satellite-eyes
No available formula for satellite-eyes
Error: Failed to import: screenflick
No available formula for screenflick
Error: Failed to import: screenhero
No available formula for screenhero
Error: Failed to import: scribus
No available formula for scribus
Error: Failed to import: serial-cloner
No available formula for serial-cloner
Error: Failed to import: shimo
No available formula for shimo
Error: Failed to import: shoes
No available formula for shoes
Error: Failed to import: shuttle
No available formula for shuttle
Error: Failed to import: simulator-folders
No available formula for simulator-folders
Error: Failed to import: slowy
No available formula for slowy
Error: Failed to import: smaller
No available formula for smaller
Error: Failed to import: sonos
No available formula for sonos
Error: Failed to import: soulver
No available formula for soulver
Error: Failed to import: spark-inspector
No available formula for spark-inspector
Error: Failed to import: sparkleshare
No available formula for sparkleshare
Error: Failed to import: subethaedit
No available formula for subethaedit
Error: Failed to import: subler
No available formula for subler
Error: Failed to import: subsmarine
No available formula for subsmarine
Error: Failed to import: subtitles
No available formula for subtitles
Error: Failed to import: sweet-home3d
No available formula for sweet-home3d
Error: Failed to import: synergy
No available formula for synergy
Error: Failed to import: tagr
No available formula for tagr
Error: Failed to import: testflight
No available formula for testflight
Error: Failed to import: textexpander
No available formula for textexpander
Error: Failed to import: the-hit-list
No available formula for the-hit-list
Error: Failed to import: tikz-editor
No available formula for tikz-editor
Error: Failed to import: toau
No available formula for toau
Error: Failed to import: tomahawk
No available formula for tomahawk
Error: Failed to import: totalspaces
No available formula for totalspaces
Error: Failed to import: tower
No available formula for tower
Error: Failed to import: trim-enabler
No available formula for trim-enabler
Error: Failed to import: tunnelblick
No available formula for tunnelblick
Error: Failed to import: tuxguitar
No available formula for tuxguitar
Error: Failed to import: uncrustifyx
No available formula for uncrustifyx
Error: Failed to import: unison-usenet
No available formula for unison-usenet
Error: Failed to import: unrarx
No available formula for unrarx
Error: Failed to import: usb-overdrive
No available formula for usb-overdrive
Error: Failed to import: versions
No available formula for versions
Error: Failed to import: vinoteka
No available formula for vinoteka
Error: Failed to import: viscosity
No available formula for viscosity
Error: Failed to import: vitamin-r
No available formula for vitamin-r
Error: Failed to import: vlc-remote
No available formula for vlc-remote
Error: Failed to import: vlc-streamer
No available formula for vlc-streamer
Error: Failed to import: vox
No available formula for vox
Error: Failed to import: webstorm
No available formula for webstorm
Error: Failed to import: wineskin
No available formula for wineskin
Error: Failed to import: with-installable
No available formula for with-installable
Error: Failed to import: xmind
No available formula for xmind
Error: Failed to import: zap-proxy
No available formula for zap-proxy
Error: Failed to import: zepheer
No available formula for zepheer
Error: Failed to import: zotero
No available formula for zotero

Warning: Some keg-only formula are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link <formula>` will cause other formulae to detect them during
the `./configure` step. This may cause problems when compiling those
other formulae.

Binaries provided by keg-only formulae may override system binaries
with other strange results.

You may wish to `brew unlink` these brews:

    llvm

@rolandwalker
Copy link
Contributor

@goxberry, you might have Casks in /usr/local/Cellar? I think an old version of brew-cask used to do that.

I would like to make the new doctor command be able to diagnose your issue (our own doctor, not Homebrew's). If you have the time at any point, connect with me on IRC.

@vitorgalvao
Copy link
Member

@goxberry Apologies for that, I actually never thought it could be interpreted that way. As you’ve noticed, I use italics in those words every time, since they are discrete and pertain to something directly to do with project information. Words like “homebrew”, “cask”, “class”, “function”, and the like, are not exclusive to programming and can be used in both senses when writing about the subject (some more commonly than others, but I try to be consistent), so I try to differentiate them.

Writing them in code tags makes them look so different that your eyes stop when seeing them, making for a worse (and possibly confusing, when there are a lot) reading experience, so I found italics to be a nice in-between. In sum, my goal with them is to make it easy to distinguish between “now I’m referring to the noun we use in everyday speech” (the function of a piece of code) and “now I’m talking about something that deals specifically with the project” (a code function).

Calling it a “magical” one-liner probably made my reply sound snarky, too, but I’ve been a part of this project for a long time, and in the beginning (until the issue was fixed), the problem that caused the error that one-liner fixes occurred every time a new cask was added (as you can imagine, it was quite often), and users were required to do that. So to me it’s a funny memory mentioning it once more, as that line is really the correct answer to a lot of issues, to a point that it feels like it can actually solve every user problem in homebrew-cask, as if by magic.

Again, apologies for the confusion.

To end, there was nothing wrong with your solution or the way you handled the issue. I try to be cordial in every reply, but there are so many issues and pull requests coming in all the time that formalities are cut to a minimum. When you spend this much time writing on issues, there’s a difficult balance to strike between brevity and warmness. I (and I’m pretty confident I could have written “we”) appreciate your contribution and interest in the project, and hope to see more. Again, there was nothing wrong with the way you thought about this, and it is valuable that you started a discussion on possible fixes, it’s just that in this case, an alternative and already in place convention was already known.

@goxberry
Copy link
Contributor Author

@vitorgalvao No worries! It was a misunderstanding on my part. Lots of shell scripts look like magic to me anyway, even if (especially if?) I understand what they do.

With the volume of issues you guys get, the need to be succinct is understandable, and I appreciate the time that you and the other maintainers put into the project. It helps me (and I'm sure other people as well) a lot with managing the software on my machine, and I look forward to seeing this project grow! (And hopefully, submitting more PRs!)

@goxberry
Copy link
Contributor Author

@rolandwalker Will you be on IRC this weekend? (Also, I've never been on IRC, so I will need to figure out how to do that.)

@rolandwalker
Copy link
Contributor

weekend yes, or find my email address inside source code at my profile page, IRC coordinates are in CONTRIBUTING.md.

@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
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