git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH resend] perl/Makefile.PL: teach makefiles about possible old Error.pm files

From
CFChris Frey <cdfrey@foursquare.net>
Date
May 22, 2008, 16:43 UTC
Message-ID
<20080522164300.GA19765@foursquare.net>
In-Reply-To
<alpine.DEB.1.00.0805221245240.30431@racer>
On Thu, May 22, 2008 at 12:46:12PM +0100, Johannes Schindelin wrote:
> I do not see how it is _Git_ that breaks itself by repeated installs.  It 
> detects that there is an Error.pm.  Fine.  You _remove_ it while 
> installing Git.  Not fine.  Not Git's error.

I guess I take the view that anything _installed_ by git is a part of git. If git installs Error.pm, it can't expect the user to keep it around if he uninstalls that version of git.

The user can do the following, and not have any warning that he'll be bitten, and won't know what he did wrong. In fact, when I first saw this error, I thought it was a bug that was fixed in a point release.

	(slightly abbreviated for clarity, version numbers arbitrary)
	tar xjf git-1.5.4.3.tar.bz2
	cd git...  && ./configure --prefix=/usr/local/stow/git-1.5.4.3
	make && make install
	stow git-1.5.4.3
	tar xjf git-1.5.4.4.tar.bz2
	cd git... && ./configure --prefix=/usr/local/stow/git-1.5.4.4
	make	# git is built assuming git-1.5.4.3 will always exist
	make install
	stow -D git-1.5.4.3
	stow git-1.5.4.4

The user now has a broken git, and has no idea why. I don't consider the above to be unusual or user error.

- Chris
Previous: Johannes SchindelinNext: Junio C Hamano
Message 7 of 11 in “perl/Makefile.PL: teach makefiles about possible old Error.pm files”
  1. perl/Makefile.PL: teach makefiles about possible old Error.pm filesChris Frey, May 17, 2008
  2. Chris FreyMay 17, 2008
  3. perl/Makefile.PL: teach makefiles about possible old Error.pm filesChris Frey, May 21, 2008
  4. Junio C HamanoMay 21, 2008
  5. Chris FreyMay 21, 2008
  6. Johannes SchindelinMay 22, 2008
  7. Chris FreyMay 22, 2008
  8. Junio C HamanoMay 22, 2008
  9. Chris FreyMay 22, 2008
  10. INSTALL: explain Error.pm dependencyChris Frey, May 23, 2008
  11. Sverre RabbelierMay 22, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.