MidnightBSD Magus

comms/efax

Fax send/receive program

Flavor Version Run OSVersion Arch License Restricted Status
001114a7 500 3.0 amd64 gpl2 0 fail

License Permissions:

Events

Machine Type Time Message
m3064b info 2022-11-05 14:32:33.544603 Test Started
m3064b fail 2022-11-05 14:32:39.837698 make build returned non-zero: 1
m3064b fail 2022-11-05 14:32:39.882856 Test complete.

Log

===>  Building for efax-0.9a-001114a7
gmake[1]: Entering directory '/magus/work/usr/mports/comms/efax/work/efax-0.9a-001114a7'
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c efax.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c efaxlib.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c efaxio.c
efaxlib.c:608:22: warning: passing 'unsigned char [1025]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
      if ( readpcx ( bits, nb, f ) != 0 ) {
                     ^~~~
efaxlib.c:525:21: note: passing argument to parameter 'p' here
int readpcx ( char *p, int len, IFILE *f )
                    ^
efaxlib.c:648:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  if ( ! format && ! strncmp ( p, "P4", 2 ) ) {
                               ^
/usr/include/string.h:102:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
efaxlib.c:661:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  if ( ! format && ! strncmp ( p, "%!", 2 ) ) {
                               ^
/usr/include/string.h:102:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
efax.c:708:18: warning: assigning to 'unsigned char *' from 'char [3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  if ( ! ppm ) p = DLE_ETX ;
                 ^ ~~~~~~~
efax.c:709:28: warning: assigning to 'unsigned char *' from 'char [3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  else if ( ppm == MPS ) p = "\020," ; 
                           ^ ~~~~~~~
efax.c:710:28: warning: assigning to 'unsigned char *' from 'char [3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  else if ( ppm == EOM ) p = "\020;" ; 
                           ^ ~~~~~~~
efax.c:711:28: warning: assigning to 'unsigned char *' from 'char [3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  else if ( ppm == EOP ) p = "\020." ; 
                           ^ ~~~~~~~
efax.c:713:7: warning: assigning to 'unsigned char *' from 'char [1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    p = "" ;
      ^ ~~
efax.c:766:44: warning: multiple unsequenced modifications to 'rd_state' [-Wunsequenced]
          ( ( rd_state & rd_nexts[c] ) ? rd_state <<= 1 : rd_state ) : 
                                                  ^
efax.c:851:18: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
      tput ( mf, CAN_STR, 1 ) ;
                 ^~~~~~~
./efaxio.h:12:17: note: expanded from macro 'CAN_STR'
#define CAN_STR "\030"          /* CAN (cancel reception) string */
                ^~~~~~
./efaxos.h:57:37: note: passing argument to parameter 'p' here
int tput ( TFILE *f, unsigned char *p, int n ) ;
                                    ^
efaxlib.c:826:29: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign]
      err = err || fread4 ( &a, f ) ;
                            ^~
efaxlib.c:773:29: note: passing argument to parameter 'p' here
int fread4 ( unsigned long *p, IFILE *f )
                            ^
efaxlib.c:827:29: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign]
      err = err || fread4 ( &b, f ) ;
                            ^~
efaxlib.c:773:29: note: passing argument to parameter 'p' here
int fread4 ( unsigned long *p, IFILE *f )
                            ^
efax.c:910:15: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    tput ( f, DLE_ETX, 2 ) ; 
              ^~~~~~~
./efaxio.h:11:17: note: expanded from macro 'DLE_ETX'
#define DLE_ETX "\020\003"      /* DLE-ETX (end of data) string */
                ^~~~~~~~~~
efaxlib.c./efaxos.h:57:37: note: passing argument to parameter 'p' here
int tput ( TFILE *f, unsigned char *p, int n ) ;
                                    ^
efax.c:1012:15: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    tput ( f, DLE_ETX, 2 ) ; 
              ^~~~~~~
./efaxio.h:11:17: note: expanded from macro 'DLE_ETX'
#define DLE_ETX "\020\003"      /* DLE-ETX (end of data) string */
                ^~~~~~~~~~
./efaxos.h:57:37: note: passing argument to parameter 'p' here
int tput ( TFILE *f, unsigned char *p, int n ) ;
                                    ^
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c efaxos.c
efax.c:1147:16: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    tput ( mf, CAN_STR, 1 ) ;
               ^~~~~~~
./efaxio.h:12:17: note: expanded from macro 'CAN_STR'
#define CAN_STR "\030"          /* CAN (cancel reception) string */
                ^~~~~~
./efaxos.h:57:37: note: passing argument to parameter 'p' here
int tput ( TFILE *f, unsigned char *p, int n ) ;
                                    ^
:908:19: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ( fread4 ( &(f->next), f ) ) {
                  ^~~~~~~~~~
efaxlib.c:773:29: note: passing argument to parameter 'p' here
int fread4 ( unsigned long *p, IFILE *f )
                            ^
efaxlib.c:935:12: warning: passing 'short *' to parameter of type 'unsigned short *' converts between pointers to integer types with different sign [-Wpointer-sign]
  fread2 ( &version, f ) ;
           ^~~~~~~~
efaxlib.c:759:30: note: passing argument to parameter 'p' here
int fread2 ( unsigned short *p, IFILE *f )
                             ^
efaxlib.c:936:12: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign]
  fread4 ( &(f->next), f ) ;
           ^~~~~~~~~~
efaxlib.c:773:29: note: passing argument to parameter 'p' here
int fread4 ( unsigned long *p, IFILE *f )
                            ^
efaxlib.c:1084:12: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign]
  fread4 ( &thisp, f ) ;
           ^~~~~~
efaxlib.c:773:29: note: passing argument to parameter 'p' here
int fread4 ( unsigned long *p, IFILE *f )
                            ^
efaxlib.c:1085:12: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign]
  fread4 ( &nextp, f ) ;
           ^~~~~~
efaxlib.c:773:29: note: passing argument to parameter 'p' here
int fread4 ( unsigned long *p, IFILE *f )
                            ^
efaxio.c:251:17: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
      tput ( f, buf, strlen(buf) ) ;
                ^~~
./efaxos.h:57:37: note: passing argument to parameter 'p' here
int tput ( TFILE *f, unsigned char *p, int n ) ;
                                    ^
efaxio.c:325:17: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
      tput ( f, CAN_STR, 1 ) ;
                ^~~~~~~
./efaxio.h:12:17: note: expanded from macro 'CAN_STR'
#define CAN_STR "\030"          /* CAN (cancel reception) string */
                ^~~~~~
./efaxos.h:57:37: note: passing argument to parameter 'p' here
int tput ( TFILE *f, unsigned char *p, int n ) ;
                                    ^
efaxio.c:326:17: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
      tput ( f, DLE_ETX, 2 ) ; 
                ^~~~~~~
./efaxio.h:11:17: note: expanded from macro 'DLE_ETX'
#define DLE_ETX "\020\003"      /* DLE-ETX (end of data) string */
                ^~~~~~~~~~
./efaxos.h:57:37: note: passing argument to parameter 'p' here
int tput ( TFILE *f, unsigned char *p, int n ) ;
                                    ^
efaxio.c:329:17: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
      tput ( f, CAN_STR, 1 ) ;
                ^~~~~~~
./efaxio.h:12:17: note: expanded from macro 'CAN_STR'
#define CAN_STR "\030"          /* CAN (cancel reception) string */
                ^~~~~~
./efaxos.h:57:37: note: passing argument to parameter 'p' here
int tput ( TFILE *f, unsigned char *p, int n ) ;
                                    ^
efaxio.c:330:17: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
      tput ( f, DLE_ETX, 2 ) ; 
                ^~~~~~~
./efaxio.h:11:17: note: expanded from macro 'DLE_ETX'
#define DLE_ETX "\020\003"      /* DLE-ETX (end of data) string */
                ^~~~~~~~~~
./efaxos.h:57:37: note: passing argument to parameter 'p' here
int tput ( TFILE *f, unsigned char *p, int n ) ;
                                    ^
efaxio.c:332:17: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
      tput ( f, "+++", 3 ) ; 
                ^~~~~
./efaxos.h:57:37: note: passing argument to parameter 'p' here
int tput ( TFILE *f, unsigned char *p, int n ) ;
                                    ^
efaxlib.c:1787:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      fprintf ( f->f, PCLEND ) ;
                      ^~~~~~
efaxlib.c:1787:23: note: treat the string as an argument to avoid this
      fprintf ( f->f, PCLEND ) ;
                      ^
                      "%s", 
6 warnings generated.
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c efaxmsg.c
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c efix.c
10 warnings generated.
11 warnings generated.
cc -o efax  -fstack-protector-strong efax.o efaxlib.o efaxio.o efaxos.o efaxmsg.o
cc -o efix  -fstack-protector-strong efix.o efaxlib.o efaxmsg.o
ld: error: duplicate symbol: normalbits
>>> defined at efax.c
>>>            efax.o:(normalbits)
>>> defined at efaxlib.c
>>>            efaxlib.o:(.bss+0x820)

ld: error: duplicate symbol: reversebits
>>> defined at efax.c
>>>            efax.o:(reversebits)
>>> defined at efaxlib.c
>>>            efaxlib.o:(.bss+0xD960)

ld: error: duplicate symbol: reversebits
>>> defined at efax.c
>>>            efax.o:(reversebits)
>>> defined at efaxio.c
>>>            efaxio.o:(.bss+0x610)

ld: error: duplicate symbol: normalbits
>>> defined at efax.c
>>>            efax.o:(normalbits)
>>> defined at efaxio.c
>>>            efaxio.o:(.bss+0x710)

ld: error: duplicate symbol: normalbits
>>> defined at efax.c
>>>            efax.o:(normalbits)
>>> defined at efaxos.c
>>>            efaxos.o:(.bss+0x80)

ld: error: duplicate symbol: reversebits
>>> defined at efax.c
>>>            efax.o:(reversebits)
>>> defined at efaxos.c
>>>            efaxos.o:(.bss+0x180)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:24: efax] Error 1
gmake[1]: *** Waiting for unfinished jobs....
ld: error: duplicate symbol: normalbits
>>> defined at efix.c
>>>            efix.o:(normalbits)
>>> defined at efaxlib.c
>>>            efaxlib.o:(.bss+0x820)

ld: error: duplicate symbol: reversebits
>>> defined at efix.c
>>>            efix.o:(reversebits)
>>> defined at efaxlib.c
>>>            efaxlib.o:(.bss+0xD960)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:28: efix] Error 1
gmake[1]: Leaving directory '/magus/work/usr/mports/comms/efax/work/efax-0.9a-001114a7'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/comms/efax

Links

Depends On

Depend Of

Nothing

Categories

CVEs

  • Loading CVE information...

LLM Analysis