Opened 12 years ago

Closed 6 weeks ago

#38509 closed defect (fixed)

vtwm @5.4.6b puts its manpage in the wrong folder

Reported by: cooljeanius (Eric Gallager) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: vtwm

Description

It puts it in ${prefix}/share/man instead of ${prefix}/share/man/man1 (i.e. it's one level too high up)

Change History (5)

comment:1 Changed 12 years ago by larryv (Lawrence Velázquez)

Cc: mdales@… removed
Owner: changed from macports-tickets@… to mdales@…
Version: 2.1.3

comment:2 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from mdales@… to macports-tickets@…

comment:3 Changed 6 weeks ago by cooljeanius (Eric Gallager)

I was just testing to see if this still happens, but now there's a build failure:

Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_vtwm/vtwm/work/vtwm-5.4.6b" && /usr/bin/make -w all DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_vtwm/vtwm/work/destroot BINDIR=/opt/local/bin LIBDIR=/opt/local/lib MANDIR=/opt/local/share/man 
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_vtwm/vtwm/work/vtwm-5.4.6b" && /usr/bin/make -w all DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_vtwm/vtwm/work/destroot BINDIR=/opt/local/bin LIBDIR=/opt/local/lib MANDIR=/opt/local/share/man 
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_vtwm/vtwm/work/vtwm-5.4.6b'
yacc -d gram.y
mv -f y.tab.c gram.c
mv -f y.tab.h gram.h
/usr/bin/cc -Os -Wall -Wpointer-arith -no-cpp-precomp       -I/opt/local/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED                             -DNO_SOUND_SUPPORT     -c -o gram.o gram.c
y.tab.c:1914:16: error: implicit declaration of function 'yylex' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      yychar = YYLEX;
               ^
y.tab.c:1270:16: note: expanded from macro 'YYLEX'
# define YYLEX yylex ()
               ^
gram.y:804:7: error: implicit declaration of function 'yyerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                                                yyerror("bad button 0");
                                                ^
y.tab.c:3111:7: error: implicit declaration of function 'yyerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      yyerror (YY_("syntax error"));
      ^
y.tab.c:3257:3: error: implicit declaration of function 'yyerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
  yyerror (YY_("memory exhausted"));
  ^
gram.y:845:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
yyerror(s) char *s;
^
gram.y:850:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
2 warnings and 4 errors generated.
make: *** [gram.o] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_vtwm/vtwm/work/vtwm-5.4.6b'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_vtwm/vtwm/work/vtwm-5.4.6b" && /usr/bin/make -w all DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_vtwm/vtwm/work/destroot BINDIR=/opt/local/bin LIBDIR=/opt/local/lib MANDIR=/opt/local/share/man 
Exit code: 2
Warning: The following existing files were hidden from the build system by trace mode:
  /opt/local/bin/yacc
  /private/var/select/sh
The following files would have been hidden from the build system by trace mode if they existed:
  /AppleInternal/XBS/.isChrooted
  /BinaryCache
  /BuildSupport/makeProject
  /opt/rocm
  /usr/gnu/include
  /usr/local/cuda-7.0
  /usr/local/cuda-7.5
  /usr/local/cuda-8.0
  /usr/local/cuda/include
Error: Failed to build vtwm: command execution failed
DEBUG: Error code: CHILDSTATUS 24637 2
DEBUG: Backtrace: command execution failed

comment:4 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

I'm working on updating the port to 5.5.0 (which still has that error, unfortunately). 5.5.0 has an autotools build system so we can ditch the weird imake build system and its quirks including the manpage directory issue.

comment:5 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

In c43541b4b20985d82a2f967c07da821339cf36dc/macports-ports (master):

vtwm: Update to 5.5.0

Closes: #38509

Note: See TracTickets for help on using tickets.