> > > Still, it seems a little b0rked that it's building 32-bit code,
> > > without being explicitly asked to...
> >
> > Until recently I thought Fedora had done a good job of supporting
> > both 32bit and 64bit development as well as at run time.
>
> Well, it may be, but why would it be even trying to build 32-bit
> unless you asked for it (via -m32 or the like)?  That's just weird...

I agree. I had not noticed that in the output of make, but something
seems to be looking in the wrong places for 64 bit libraries.

I understand that ubuntu (and presumably others) have totally different
conventions for location of 32bit and 64bit libraries.

My understanding of fedora is that all 32 bit libraries are where they
used to be, but 64 bit libraries go into new directories with suffix '64'
e.g.
    32 bit /usr/lib
    64 bit /usr/lib64

But the 'make' command is definitely causing something to look in
fedora's 32 bit libraries as the log files show.

> > I also had to install flex and byacc, and then, eventually got the
> > appended output without a complete build, though it got much further
> > than the previous attempt.
>
> Hm.  Whole lotta warnings; I'll take a look at those at some point, if
> nobody beats me to it.  A few look sorta odd.  But what's breaking you
> is:
>
> > /usr/local/src/ctwm/ctwm-july-2015/menus.c: In function 'ExecuteFunction':
> > /usr/local/src/ctwm/ctwm-july-2015/menus.c:3009:52: error: 'caddr_t' 
> > undeclared (first use in this function)
> >       if(XFindContext(dpy, DragWindow, TwmContext, (caddr_t *) &t) == 
> > XCNOENT) {
>
> which looks like an incorrectish cast anyway.  Fix committed; run a
> `bzr pull` to get the change.


I fetched your latest version, and tried 'make ctwm' Curiously
if I did that while re-directing all output to a file it behaved
like 'make all'

If I did 'make ctwm' without redirection then later scraped the output from
an xterm window it did not behave like make all.

Anyhow, I append the new output. It gets further now!

Aaron
================================================================
( cd build && make ctwm )

make[1]: Entering directory '/usr/local/src/ctwm/ctwm-150718/build'
make[2]: Entering directory '/usr/local/src/ctwm/ctwm-150718/build'
make[3]: Entering directory '/usr/local/src/ctwm/ctwm-150718/build'
make[4]: Entering directory '/usr/local/src/ctwm/ctwm-150718/build'
[  3%] Generating ewmh_atoms.h, ewmh_atoms.c
[  6%] Generating ctwm_atoms.h, ctwm_atoms.c
[  9%] [BISON][ctwm_parser] Building parser with bison 3.0.2
gram.y: warning: 10 shift/reduce conflicts [-Wconflicts-sr]
[ 12%] [FLEX][ctwm_lexer] Building scanner with flex 2.5.37
[ 16%] Generating deftwmrc.h
Scanning dependencies of target ctwm
make[4]: Leaving directory '/usr/local/src/ctwm/ctwm-150718/build'
make[4]: Entering directory '/usr/local/src/ctwm/ctwm-150718/build'
[ 19%] Building C object CMakeFiles/ctwm.dir/add_window.c.o
/usr/local/src/ctwm/ctwm-150718/add_window.c: In function 'SetHighlightPixmap':
/usr/local/src/ctwm/ctwm-150718/add_window.c:2219:38: warning: implicit 
declaration of function 'strdup' [-Wimplicit-function-declaration]
  Scr->HighlightPixmapName = (char *) strdup(filename);
                                      ^
/usr/local/src/ctwm/ctwm-150718/add_window.c:2219:2: warning: nested extern 
declaration of 'strdup' [-Wnested-externs]
  Scr->HighlightPixmapName = (char *) strdup(filename);
  ^
/usr/local/src/ctwm/ctwm-150718/add_window.c:2219:29: warning: cast to pointer 
from integer of different size [-Wint-to-pointer-cast]
  Scr->HighlightPixmapName = (char *) strdup(filename);
                             ^
[ 22%] Building C object CMakeFiles/ctwm.dir/clicktofocus.c.o
[ 25%] Building C object CMakeFiles/ctwm.dir/ctwm.c.o
[ 29%] Building C object CMakeFiles/ctwm.dir/ctwm_atoms.c.o
[ 32%] Building C object CMakeFiles/ctwm.dir/cursor.c.o
[ 35%] Building C object CMakeFiles/ctwm.dir/events.c.o
[ 38%] Building C object CMakeFiles/ctwm.dir/gc.c.o
[ 41%] Building C object CMakeFiles/ctwm.dir/gram.tab.c.o
gram.y: In function 'CheckWarpScreenArg':
gram.y:1260:18: warning: implicit declaration of function 'isascii' 
[-Wimplicit-function-declaration]
gram.y:1260:5: warning: nested extern declaration of 'isascii' 
[-Wnested-externs]
[ 45%] Building C object CMakeFiles/ctwm.dir/iconmgr.c.o
[ 48%] Building C object CMakeFiles/ctwm.dir/icons.c.o
[ 51%] Building C object CMakeFiles/ctwm.dir/lex.c.o
/usr/local/src/ctwm/ctwm-150718/build/lex.c: In function 'yy_init_buffer':
/usr/local/src/ctwm/ctwm-150718/build/lex.c:1505:48: warning: implicit 
declaration of function 'fileno' [-Wimplicit-function-declaration]
         b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
                                                ^
/usr/local/src/ctwm/ctwm-150718/build/lex.c:1505:9: warning: nested extern 
declaration of 'fileno' [-Wnested-externs]
         b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
         ^
lex.l: At top level:
/usr/local/src/ctwm/ctwm-150718/build/lex.c:1261:17: warning: 'yyunput' defined 
but not used [-Wunused-function]
     static void yyunput (int c, register char * yy_bp )
                 ^
[ 54%] Building C object CMakeFiles/ctwm.dir/list.c.o
/usr/local/src/ctwm/ctwm-150718/list.c: In function 'AddToList':
/usr/local/src/ctwm/ctwm-150718/list.c:121:24: warning: implicit declaration of 
function 'strdup' [-Wimplicit-function-declaration]
  nptr->name = (char *) strdup(name);
                        ^
/usr/local/src/ctwm/ctwm-150718/list.c:121:2: warning: nested extern 
declaration of 'strdup' [-Wnested-externs]
  nptr->name = (char *) strdup(name);
  ^
/usr/local/src/ctwm/ctwm-150718/list.c:121:15: warning: cast to pointer from 
integer of different size [-Wint-to-pointer-cast]
  nptr->name = (char *) strdup(name);
               ^
[ 58%] Building C object CMakeFiles/ctwm.dir/menus.c.o
/usr/local/src/ctwm/ctwm-150718/menus.c: In function 'Execute':
/usr/local/src/ctwm/ctwm-150718/menus.c:4194:3: warning: implicit declaration 
of function 'putenv' [-Wimplicit-function-declaration]
   putenv(buf);
   ^
/usr/local/src/ctwm/ctwm-150718/menus.c:4194:3: warning: nested extern 
declaration of 'putenv' [-Wnested-externs]
/usr/local/src/ctwm/ctwm-150718/menus.c: In function 'MosaicFade':
/usr/local/src/ctwm/ctwm-150718/menus.c:5426:25: warning: implicit declaration 
of function 'lrand48' [-Wimplicit-function-declaration]
    rectangles [j].x = ((lrand48() %  width) / srect) * srect;
                         ^
/usr/local/src/ctwm/ctwm-150718/menus.c:5426:4: warning: nested extern 
declaration of 'lrand48' [-Wnested-externs]
    rectangles [j].x = ((lrand48() %  width) / srect) * srect;
    ^
[ 61%] Building C object CMakeFiles/ctwm.dir/mwmhints.c.o
[ 64%] Building C object CMakeFiles/ctwm.dir/otp.c.o
[ 67%] Building C object CMakeFiles/ctwm.dir/parse.c.o
[ 70%] Building C object CMakeFiles/ctwm.dir/resize.c.o
[ 74%] Building C object CMakeFiles/ctwm.dir/session.c.o
/usr/local/src/ctwm/ctwm-150718/session.c: In function 'unique_filename':
/usr/local/src/ctwm/ctwm-150718/session.c:914:8: warning: implicit declaration 
of function 'mkstemp' [-Wimplicit-function-declaration]
  *fd = mkstemp(tempFile);
        ^
/usr/local/src/ctwm/ctwm-150718/session.c:914:2: warning: nested extern 
declaration of 'mkstemp' [-Wnested-externs]
  *fd = mkstemp(tempFile);
  ^
/usr/local/src/ctwm/ctwm-150718/session.c: In function 'SaveYourselfPhase2CB':
/usr/local/src/ctwm/ctwm-150718/session.c:1008:20: warning: implicit 
declaration of function 'fdopen' [-Wimplicit-function-declaration]
  if(!(configFile = fdopen(configFd, "wb"))) { /* wb = write binary */
                    ^
/usr/local/src/ctwm/ctwm-150718/session.c:1008:2: warning: nested extern 
declaration of 'fdopen' [-Wnested-externs]
  if(!(configFile = fdopen(configFd, "wb"))) { /* wb = write binary */
  ^
/usr/local/src/ctwm/ctwm-150718/session.c:1008:18: warning: assignment makes 
pointer from integer without a cast [-Wint-conversion]
  if(!(configFile = fdopen(configFd, "wb"))) { /* wb = write binary */
                  ^
[ 77%] Building C object CMakeFiles/ctwm.dir/util.c.o
/usr/local/src/ctwm/ctwm-150718/util.c:131:2: error: unknown type name 
'sigjmp_buf'
  sigjmp_buf setjmp_buffer;
  ^
/usr/local/src/ctwm/ctwm-150718/util.c: In function 'TryToAnimate':
/usr/local/src/ctwm/ctwm-150718/util.c:1024:18: error: storage size of 'tzp' 
isn't known
  struct timezone tzp;
                  ^
/usr/local/src/ctwm/ctwm-150718/util.c:1024:18: warning: unused variable 'tzp' 
[-Wunused-variable]
/usr/local/src/ctwm/ctwm-150718/util.c: In function 'LoadXwdImage':
/usr/local/src/ctwm/ctwm-150718/util.c:3632:19: warning: implicit declaration 
of function 'popen' [-Wimplicit-function-declaration]
   file = (FILE *) popen(filename + 1, "r");
                   ^
/usr/local/src/ctwm/ctwm-150718/util.c:3632:3: warning: nested extern 
declaration of 'popen' [-Wnested-externs]
   file = (FILE *) popen(filename + 1, "r");
   ^
/usr/local/src/ctwm/ctwm-150718/util.c:3632:10: warning: cast to pointer from 
integer of different size [-Wint-to-pointer-cast]
   file = (FILE *) popen(filename + 1, "r");
          ^
/usr/local/src/ctwm/ctwm-150718/util.c:3746:3: warning: implicit declaration of 
function 'pclose' [-Wimplicit-function-declaration]
   pclose(file);
   ^
/usr/local/src/ctwm/ctwm-150718/util.c:3746:3: warning: nested extern 
declaration of 'pclose' [-Wnested-externs]
/usr/local/src/ctwm/ctwm-150718/util.c: In function 'jpeg_error_exit':
/usr/local/src/ctwm/ctwm-150718/util.c:4120:2: warning: implicit declaration of 
function 'siglongjmp' [-Wimplicit-function-declaration]
  siglongjmp(errmgr->setjmp_buffer, 1);
  ^
/usr/local/src/ctwm/ctwm-150718/util.c:4120:2: warning: nested extern 
declaration of 'siglongjmp' [-Wnested-externs]
/usr/local/src/ctwm/ctwm-150718/util.c: In function 'LoadJpegImage':
/usr/local/src/ctwm/ctwm-150718/util.c:4205:5: warning: implicit declaration of 
function 'sigsetjmp' [-Wimplicit-function-declaration]
  if(sigsetjmp(jerr.setjmp_buffer, 1)) {
     ^
/usr/local/src/ctwm/ctwm-150718/util.c:4205:2: warning: nested extern 
declaration of 'sigsetjmp' [-Wnested-externs]
  if(sigsetjmp(jerr.setjmp_buffer, 1)) {
  ^
CMakeFiles/ctwm.dir/build.make:504: recipe for target 
'CMakeFiles/ctwm.dir/util.c.o' failed
make[4]: *** [CMakeFiles/ctwm.dir/util.c.o] Error 1
make[4]: Leaving directory '/usr/local/src/ctwm/ctwm-150718/build'
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/ctwm.dir/all' failed
make[3]: *** [CMakeFiles/ctwm.dir/all] Error 2
make[3]: Leaving directory '/usr/local/src/ctwm/ctwm-150718/build'
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/ctwm.dir/rule' failed
make[2]: *** [CMakeFiles/ctwm.dir/rule] Error 2
make[2]: Leaving directory '/usr/local/src/ctwm/ctwm-150718/build'
Makefile:150: recipe for target 'ctwm' failed
make[1]: *** [ctwm] Error 2
make[1]: Leaving directory '/usr/local/src/ctwm/ctwm-150718/build'
Makefile:3: recipe for target 'ctwm' failed
make: *** [ctwm] Error 2
===============================================================================

Reply via email to