git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Error compiling Git in current master branch
@ 2018-03-08 15:53 Gaston Gonzalez
  2018-03-08 16:17 ` SZEDER Gábor
  0 siblings, 1 reply; 3+ messages in thread
From: Gaston Gonzalez @ 2018-03-08 15:53 UTC (permalink / raw)
  To: git

Hi,

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

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

Regards,

Gaston

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error compiling Git in current master branch
  2018-03-08 15:53 Error compiling Git in current master branch Gaston Gonzalez
@ 2018-03-08 16:17 ` SZEDER Gábor
  2018-03-08 16:26   ` Gaston Gonzalez
  0 siblings, 1 reply; 3+ messages in thread
From: SZEDER Gábor @ 2018-03-08 16:17 UTC (permalink / raw)
  To: Gaston Gonzalez; +Cc: SZEDER Gábor, git

> 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 :)

> 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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error compiling Git in current master branch
  2018-03-08 16:17 ` SZEDER Gábor
@ 2018-03-08 16:26   ` Gaston Gonzalez
  0 siblings, 0 replies; 3+ messages in thread
From: Gaston Gonzalez @ 2018-03-08 16:26 UTC (permalink / raw)
  To: SZEDER Gábor; +Cc: git

On 08/03/18 13:17, SZEDER Gábor wrote:
>> 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 :)
>
>> 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.
>

Right you are:

$ ll perl/build/
total 8
drwxr-xr-x 3 ggonzalez ggonzalez 4096 mar  8 12:52 lib
drwxr-xr-x 3 root      root      4096 feb 14 13:56 man

The procedure would be just removing perl/build/ manually?

Thanks,

gaston

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-08 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-08 15:53 Error compiling Git in current master branch Gaston Gonzalez
2018-03-08 16:17 ` SZEDER Gábor
2018-03-08 16:26   ` Gaston Gonzalez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).