bugGNU nano - Bugs: bug #24688, error with manpages in "make...

 
 

bug #24688: error with manpages in "make install"

Submitted by:  Simon <simonbcn>
Submitted on:  Wed 29 Oct 2008 12:49:37 PM UTC  
 
Severity: 3 - NormalStatus: Invalid
Assigned to: Chris Allegretta <astyanax>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 29 Oct 2008 06:08:41 PM UTC, comment #5:

ok, thanks.

Simon <simonbcn>
Wed 29 Oct 2008 05:54:01 PM UTC, comment #4:

Not in this case unfortunately. /usr/local/share/man/man5 should never be a file, it should always be a directory. It sounds like vsftpd's install process does not try to make the directory before copying the man page into place, which means it replaces what should be a directory with a file. That file wont be found by the man program as far as I'm aware so vsftpd's installer is broken.

If you want to keep that man page, thats fine. Just do the following (it looks like it's the config file which is in section 5):

mv /usr/local/share/man/man5 /tmp/vsftpd.conf.5 (or /tmp/vsftpd.conf.5.gz if the data is gzipped)
mkdir /usr/local/share/man/man5
mv /tmp/vsftpd.conf.5* /usr/local/share/man/man5/

Then nano will happily install

Chris Allegretta <astyanax>
Project AdministratorIn charge of this item.
Wed 29 Oct 2008 05:45:39 PM UTC, comment #3:

ls -ld /usr/local/share/man/man5
-rw-r--r-- 1 root root 33273 2008-10-27 16:55 /usr/local/share/man/man5

It is the manpages of another program that installed previously: vsftpd.
I can not run: "mv /usr/local/share/man/man5 /usr/local/share/man/man5.old", because then I would lose those pages, no?

Your installer should first check if a file or folder already exists with that name, no?

(sorry for my bad english!)

Simon <simonbcn>
Wed 29 Oct 2008 04:52:42 PM UTC, comment #2:

Hmm. I dont think I've ever seen an issue with make install before and the 2.1.4 Makefiles were not touched much IIRC. Can you show the output of the following:

ls -ld /usr/local/share/man/man5

I wonder if something is was copied there so now it's a plan file and not a directort, so the mkdir is failing...

If that's the case, I would:
mv /usr/local/share/man/man5 /usr/local/share/man/man5.old

and retry make install.

Chris Allegretta <astyanax>
Project AdministratorIn charge of this item.
Wed 29 Oct 2008 12:55:19 PM UTC, comment #1:

I forgot to write:
The problem is that in the "make install", it tries to install the manpages on some existing ones, it gives this error and aborts the installation.

Simon <simonbcn>
Wed 29 Oct 2008 12:49:37 PM UTC, original submission:

SO: Ubuntu Hardy 64 bits
version: nano 2.1.4
-----------------------------------------------------------
#: ./configure --disable-speller --enable-color --enable-nanorc --enable-utf8

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking for strerror in -lcposix... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking whether to enable UTF-8 support... yes
checking whether to use slang... no
checking for getdelim... yes
checking for getline... yes
checking for isblank... yes
checking for strcasecmp... yes
checking for strcasestr... yes
checking for strncasecmp... yes
checking for strnlen... yes
checking for vsnprintf... yes
checking for iswalnum... yes
checking for iswblank... yes
checking for iswpunct... yes
checking for iswspace... yes
checking for nl_langinfo... yes
checking for mblen... yes
checking for mbstowcs... yes
checking for mbtowc... yes
checking for wctomb... yes
checking for wcwidth... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for getopt_long... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for get_wch in -lncursesw... yes
Using ncursesw as the curses library
checking for use_default_colors in -lncursesw... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/nanorc.sample
config.status: creating doc/man/Makefile
config.status: creating doc/man/fr/Makefile
config.status: creating doc/syntax/Makefile
config.status: creating doc/texinfo/Makefile
config.status: creating m4/Makefile
config.status: creating po/Makefile.in
config.status: WARNING: po/Makefile.in.in seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: creating nano.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
-----------------------------------------------------------
#: make

make all-recursive
make[1]: se ingresa al directorio `/home/simon/sources/nano-2.1.4'
Making all in doc
make[2]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/doc'
Making all in man
make[3]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/doc/man'
make all-recursive
make[4]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/doc/man'
Making all in fr
make[5]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/doc/man/fr'
make all-am
make[6]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/doc/man/fr'
make[6]: No se hace nada para `all-am'.
make[6]: se sale del directorio `/home/simon/sources/nano-2.1.4/doc/man/fr'
make[5]: se sale del directorio `/home/simon/sources/nano-2.1.4/doc/man/fr'
make[5]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/doc/man'
make[5]: No se hace nada para `all-am'.
make[5]: se sale del directorio `/home/simon/sources/nano-2.1.4/doc/man'
make[4]: se sale del directorio `/home/simon/sources/nano-2.1.4/doc/man'
make[3]: se sale del directorio `/home/simon/sources/nano-2.1.4/doc/man'
Making all in syntax
make[3]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/doc/syntax'
make[3]: No se hace nada para `all'.
make[3]: se sale del directorio `/home/simon/sources/nano-2.1.4/doc/syntax'
Making all in texinfo
make[3]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/doc/texinfo'
makeinfo --no-split --html < nano.texi > nano.html
make all-am
make[4]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/doc/texinfo'
make[4]: No se hace nada para `all-am'.
make[4]: se sale del directorio `/home/simon/sources/nano-2.1.4/doc/texinfo'
make[3]: se sale del directorio `/home/simon/sources/nano-2.1.4/doc/texinfo'
make[3]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/doc'
make[3]: No se hace nada para `all-am'.
make[3]: se sale del directorio `/home/simon/sources/nano-2.1.4/doc'
make[2]: se sale del directorio `/home/simon/sources/nano-2.1.4/doc'
Making all in m4
make[2]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/m4'
make[2]: No se hace nada para `all'.
make[2]: se sale del directorio `/home/simon/sources/nano-2.1.4/m4'
Making all in po
make[2]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/po'
make[2]: No se hace nada para `all'.
make[2]: se sale del directorio `/home/simon/sources/nano-2.1.4/po'
Making all in src
make[2]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/include/ncursesw -g -O2 -MT browser.o -MD -MP -MF .deps/browser.Tpo -c -o browser.o browser.c
mv -f .deps/browser.Tpo .deps/browser.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/include/ncursesw -g -O2 -MT chars.o -MD -MP -MF .deps/chars.Tpo -c -o chars.o chars.c
mv -f .deps/chars.Tpo .deps/chars.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/include/ncursesw -g -O2 -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c
mv -f .deps/color.Tpo .deps/color.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/include/ncursesw -g -O2 -MT cut.o -MD -MP -MF .deps/cut.Tpo -c -o cut.o cut.c
mv -f .deps/cut.Tpo .deps/cut.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/include/ncursesw -g -O2 -MT files.o -MD -MP -MF .deps/files.Tpo -c -o files.o files.c
mv -f .deps/files.Tpo .deps/files.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/include/ncursesw -g -O2 -MT global.o -MD -MP -MF .deps/global.Tpo -c -o global.o global.c
mv -f .deps/global.Tpo .deps/global.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/include/ncursesw -g -O2 -MT help.o -MD -MP -MF .deps/help.Tpo -c -o help.o help.c
mv -f .deps/help.Tpo .deps/help.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/include/ncursesw -g -O2 -MT move.o -MD -MP -MF .deps/move.Tpo -c -o move.o move.c
mv -f .deps/move.Tpo .deps/move.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/include/ncursesw -g -O2 -MT nano.o -MD -MP -MF .deps/nano.Tpo -c -o nano.o nano.c
mv -f .deps/nano.Tpo .deps/nano.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/include/ncursesw -g -O2 -MT prompt.o -MD -MP -MF .deps/prompt.Tpo -c -o prompt.o prompt.c
mv -f .deps/prompt.Tpo .deps/prompt.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/include/ncursesw -g -O2 -MT rcfile.o -MD -MP -MF .deps/rcfile.Tpo -c -o rcfile.o rcfile.c
mv -f .deps/rcfile.Tpo .deps/rcfile.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/include/ncursesw -g -O2 -MT search.o -MD -MP -MF .deps/search.Tpo -c -o search.o search.c
mv -f .deps/search.Tpo .deps/search.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/include/ncursesw -g -O2 -MT text.o -MD -MP -MF .deps/text.Tpo -c -o text.o text.c
mv -f .deps/text.Tpo .deps/text.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/include/ncursesw -g -O2 -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c
mv -f .deps/utils.Tpo .deps/utils.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/include/ncursesw -g -O2 -MT winio.o -MD -MP -MF .deps/winio.Tpo -c -o winio.o winio.c
mv -f .deps/winio.Tpo .deps/winio.Po
gcc -g -O2 -o nano browser.o chars.o color.o cut.o files.o global.o help.o move.o nano.o prompt.o rcfile.o search.o text.o utils.o winio.o -lncursesw
make[2]: se sale del directorio `/home/simon/sources/nano-2.1.4/src'
make[2]: se ingresa al directorio `/home/simon/sources/nano-2.1.4'
make[2]: se sale del directorio `/home/simon/sources/nano-2.1.4'
make[1]: se sale del directorio `/home/simon/sources/nano-2.1.4'
-----------------------------------------------------------
#: sudo make install

Making install in doc
make[1]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/doc'
Making install in man
make[2]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/doc/man'
make install-recursive
make[3]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/doc/man'
Making install in fr
make[4]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/doc/man/fr'
make install-am
make[5]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/doc/man/fr'
make[6]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/doc/man/fr'
make[6]: No se hace nada para `install-exec-am'.
test -z "/usr/local/share/man/fr/man1" || /bin/mkdir -p "/usr/local/share/man/fr/man1"
/usr/bin/install -c -m 644 './nano.1' '/usr/local/share/man/fr/man1/nano.1'
/usr/bin/install -c -m 644 './rnano.1' '/usr/local/share/man/fr/man1/rnano.1'
test -z "/usr/local/share/man/fr/man5" || /bin/mkdir -p "/usr/local/share/man/fr/man5"
/usr/bin/install -c -m 644 './nanorc.5' '/usr/local/share/man/fr/man5/nanorc.5'
make[6]: se sale del directorio `/home/simon/sources/nano-2.1.4/doc/man/fr'
make[5]: se sale del directorio `/home/simon/sources/nano-2.1.4/doc/man/fr'
make[4]: se sale del directorio `/home/simon/sources/nano-2.1.4/doc/man/fr'
make[4]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/doc/man'
make[5]: se ingresa al directorio `/home/simon/sources/nano-2.1.4/doc/man'
make[5]: No se hace nada para `install-exec-am'.
test -z "/usr/local/share/man/man1" || /bin/mkdir -p "/usr/local/share/man/man1"
/usr/bin/install -c -m 644 './nano.1' '/usr/local/share/man/man1/nano.1'
/usr/bin/install -c -m 644 './rnano.1' '/usr/local/share/man/man1/rnano.1'
test -z "/usr/local/share/man/man5" || /bin/mkdir -p "/usr/local/share/man/man5"
/bin/mkdir: no se puede crear el directorio «/usr/local/share/man/man5»: El fichero ya existe
make[5]: *** [install-man5] Error 1
make[5]: se sale del directorio `/home/simon/sources/nano-2.1.4/doc/man'
make[4]: *** [install-am] Error 2
make[4]: se sale del directorio `/home/simon/sources/nano-2.1.4/doc/man'
make[3]: *** [install-recursive] Error 1
make[3]: se sale del directorio `/home/simon/sources/nano-2.1.4/doc/man'
make[2]: *** [install] Error 2
make[2]: se sale del directorio `/home/simon/sources/nano-2.1.4/doc/man'
make[1]: *** [install-recursive] Error 1
make[1]: se sale del directorio `/home/simon/sources/nano-2.1.4/doc'
make: *** [install-recursive] Error 1
-----------------------------------------------------------

Simon <simonbcn>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #16748:  config.log added by simonbcn (29KiB - application/octet-stream)
file #16749:  config.status added by simonbcn (39KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by astyanax (Posted a comment)
  • -unavailable- added by simonbcn (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 03 Nov 2008 03:44:25 AM UTCastyanaxOpen/ClosedOpen=>Closed
    Mon 03 Nov 2008 03:44:24 AM UTCastyanaxStatusNeed Info=>Invalid
    Wed 29 Oct 2008 04:52:42 PM UTCastyanaxStatusNone=>Need Info
      Assigned toNone=>astyanax
    Wed 29 Oct 2008 12:49:37 PM UTCsimonbcnAttached File-=>Added config.log, #16748
      Attached File-=>Added config.status, #16749

    Back to the top


    Powered by Savane 3.1-cleanup1