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

Re: Error compiling Git in current master branch

From
SZEDER Gábor <szeder.dev@gmail.com>
Date
Mar 8, 2018, 16:17 UTC
Message-ID
<20180308161742.26596-1-szeder.dev@gmail.com>
In-Reply-To
<ce6250a8-c1e2-433d-7d5f-399115aa9f55@gmail.com>
Show 18 quoted lines
> Just to let you know, I get the following error compiling Git in master
> branch:
> 
> $ make prefix=/usr NO_GETTEXT=YesPlease all doc info
> ...
>      GEN git-remote-testgit
>      GEN perl/build/man/man3/Git.3pm
> Can't write-open perl/build/man/man3/Git.3pm: Permission denied at 
> /usr/bin/pod2man line 70.
> Makefile:2317: fallo en las instrucciones para el objetivo 
> 'perl/build/man/man3/Git.3pm'
> make: *** [perl/build/man/man3/Git.3pm] Error 13
> 
> This didn't happen in v2.16.2. Doing a git-bisect I've got the following
> culprit:
> 
> $ git bisect start HEAD v2.16.2 --
> 2530afd3519a34b66e72cc29e7751d650cedc6dd is the first bad commit
That's not the culprit, that's the fix :)
Show 6 quoted lines
> make clean fails too:
> 
> rm -f -r perl/build/
> rm: no se puede borrar 'perl/build/man/man3/Git.3pm': Permiso denegado
> Makefile:2734: fallo en las instrucciones para el objetivo 'clean'
> make: *** [clean] Error 1

Have a look at the permissions of 'perl/build' and its contents, they are likely owned by root for reasons described in 2530afd's log message.

Previous: Gaston GonzalezNext: Gaston Gonzalez
Message 2 of 3 in “Error compiling Git in current master branch”
  1. Gaston GonzalezMar 8, 2018
  2. SZEDER GáborMar 8, 2018
  3. Gaston GonzalezMar 8, 2018

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.