pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/29425 ([Linux] package games/netmaj fails build)



The following reply was made to PR pkg/29425; it has been noted by GNATS.

From: Klaus Heinz <k.heinz%maeracht.kh-22.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/29425 ([Linux] package games/netmaj fails build)
Date: Sat, 1 Mar 2008 16:16:55 +0100

 jlam%NetBSD.org@localhost wrote:
 
 > The original PR author might not be able to test, but hopefully
 > linux-pkg-people can let me know if this fixes build problems.
 
 With an updated pkgsrc from today the build of netmaj fails:
 
   ...
   => Checking for portability problems in extracted files
   Using the following configuration:
   OS_CFLAGS=   -DHAVE_GETTIMEOFDAY -DUSE_SGTTY -DDEF_OPTARG -DNO_KEYPAD
   LIBS=                
   CURSES=              -lncursesw
   ===> Building for netmaj-2.0.7nb2
   ...
 
   cc -I. -Ilib -DNETMAJ_LIB=\"/opt/pkg/lib/netmaj\" -DHAVE_GETTIMEOFDAY 
-DUSE_SGTTY -DDEF_OPTARG -DNO_KEYPAD -D_XOPEN_SOURCE_EXTENDED=1 
-I/opt/pkg/include -I/usr/include -c cui.c
   cui.c:181: warning: built-in function `log' declared as non-function
   cui.c: In function `getchx':
   cui.c:226: error: `u_char' undeclared (first use in this function)
   cui.c:226: error: (Each undeclared identifier is reported only once
   cui.c:226: error: for each function it appears in.)
   cui.c:226: error: syntax error before "buf"
   cui.c:243: error: `buf' undeclared (first use in this function)
   cui.c:245: error: `buf2' undeclared (first use in this function)
   cui.c: At top level:
   cui.c:264: error: syntax error before "u_char"
   cui.c:264: warning: data definition has no type or storage class
   cui.c:264: error: syntax error before '{' token
   cui.c:266: error: syntax error before '*' token
 
   .... [ many more syntax errors and warnings ]
 
   *** Error code 1
 
   Stop.
   bmake: stopped in /opt/pkgsrc-current/pkgsrc/games/netmaj/work/netmaj
   *** Error code 1
 
   Stop.
   bmake: stopped in /opt/pkgsrc-current/pkgsrc/games/netmaj
   *** Error code 1
 
   Stop.
   bmake: stopped in /opt/pkgsrc-current/pkgsrc/games/netmaj
 
 
 The machine is running Debian Sarge.
 Full build log and .work.log are available at
   http://www.NetBSD.org/~heinz/netmaj-build.log
   http://www.NetBSD.org/~heinz/netmaj-work.log
 
 ciao
      Klaus
 


Home | Main Index | Thread Index | Old Index