archivers/arj fails to build

2014-11-17 Thread Dr. Peter Voigt
I am in the process of rebuilding all ports.

I am using for this:

# portmaster --no-confirm --no-term-title -D -G archivers/arj

Unfortunately, archivers/arj fails to build:

cc -DSFL=4 -c -Ifreebsd10.1 -I./freebsd10.1/POSIX/rs -I. -O2 -pipe
-fPIC -fstack-protector -fno-strict-aliasing -DLOCALE=LANG_POSIX
-DLOCALE_DESC=\POSIX\ -DPKGLIBDIR=\/usr/local/lib/arj\ -D_UNIX
-O2 -pipe  -fPIC -fstack-protector -fno-strict-aliasing
-ofreebsd10.1/POSIX/rs/arj/integr.o integr.c cc -DSFL=4 -c
-Ifreebsd10.1 -I./freebsd10.1/POSIX/rs -I. -O2 -pipe  -fPIC
-fstack-protector -fno-strict-aliasing -DLOCALE=LANG_POSIX
-DLOCALE_DESC=\POSIX\ -DPKGLIBDIR=\/usr/local/lib/arj\ -D_UNIX
-O2 -pipe  -fPIC -fstack-protector -fno-strict-aliasing
-ofreebsd10.1/POSIX/rs/arj/file_reg.o file_reg.c file_reg.c:57:10:
warning: passing 'unsigned char *' to parameter of type 'char *'
converts between pointers to integer types with different sign
[-Wpointer-sign] alltrim(regdata+REG_KEY1_SHIFT);
^~ ./arj_proc.h:58:20: note: passing argument to
parameter 'cmd' here void alltrim(char *cmd); ^ 1 warning generated. cc
-DSFL=4 -c -Ifreebsd10.1 -I./freebsd10.1/POSIX/rs -I. -O2 -pipe  -fPIC
-fstack-protector -fno-strict-aliasing -DLOCALE=LANG_POSIX
-DLOCALE_DESC=\POSIX\ -DPKGLIBDIR=\/usr/local/lib/arj\ -D_UNIX
-O2 -pipe  -fPIC -fstack-protector -fno-strict-aliasing
-ofreebsd10.1/POSIX/rs/arj/decode.o decode.c decode.c:73:19: warning:
passing 'unsigned char *' to parameter of type 'char *' converts
between pointers to integer types with different sign [-Wpointer-sign]
garble_decode(byte_buf, 1); ^ ./garble.h:15:26: note: passing
argument to parameter 'data' here void garble_decode(char *data, int
len); ^ decode.c:124:24: error: use of undeclared identifier
'M_BADTABLE_G' msg_cprintf(H_ERR, M_BADTABLE_G); ^ decode.c:131:24:
error: use of undeclared identifier 'M_BADTABLE' msg_cprintf(H_ERR,
M_BADTABLE); ^ decode.c:173:27: error: use of undeclared identifier
'M_BADTABLE_G' msg_cprintf(H_ERR, M_BADTABLE_G); ^
decode.c:180:27: error: use of undeclared identifier 'M_BADTABLE'
   msg_cprintf(H_ERR, M_BADTABLE);
  ^
decode.c:395:10: error: use of undeclared identifier 'M_OUT_OF_MEMORY'
   error(M_OUT_OF_MEMORY);
 ^
decode.c:397:10: error: use of undeclared identifier 'M_OUT_OF_MEMORY'
   error(M_OUT_OF_MEMORY);
 ^
decode.c:445:25: warning: passing 'unsigned char *' to parameter of type
  'char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
 if(extraction_stub(dec_text, DICSIZ, action))
^~~~
./arj_file.h:29:27: note: passing argument to parameter 'block' here
int extraction_stub(char *block, int block_len, int action);
  ^
decode.c:470:27: warning: passing 'unsigned char *' to parameter of type
  'char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
   if(extraction_stub(dec_text, DICSIZ, action))
  ^~~~
./arj_file.h:29:27: note: passing argument to parameter 'block' here
int extraction_stub(char *block, int block_len, int action);
  ^
decode.c:483:19: warning: passing 'unsigned char *' to parameter of type
  'char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
  extraction_stub(dec_text, r, action);
  ^~~~
./arj_file.h:29:27: note: passing argument to parameter 'block' here
int extraction_stub(char *block, int block_len, int action);
  ^
decode.c:565:24: warning: passing 'unsigned char *' to parameter of type
  'char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
if(extraction_stub(ntext, FDICSIZ, action))
   ^
./arj_file.h:29:27: note: passing argument to parameter 'block' here
int extraction_stub(char *block, int block_len, int action);
  ^
decode.c:582:25: warning: passing 'unsigned char *' to parameter of type
  'char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
 if(extraction_stub(ntext, FDICSIZ, action))
^
./arj_file.h:29:27: note: passing argument to parameter 'block' here
int extraction_stub(char *block, int block_len, int action);
  ^
decode.c:591:19: warning: passing 'unsigned char *' to parameter of type
  'char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
  extraction_stub(ntext, r, action);
  ^
./arj_file.h:29:27: note: passing argument to parameter 'block' here
int extraction_stub(char *block, int block_len, int action);
  ^
7 warnings and 6 errors generated.
GNUmakefile:132: recipe for target 'freebsd10.1/POSIX/rs/arj/decode.o'
failed gmake[2]: *** [freebsd10.1/POSIX/rs/arj/decode.o] Error 1
gmake[2]: Leaving directory '/usr/ports

Re: archivers/arj fails to build

2014-11-17 Thread Dr. Peter Voigt
Sorry, command for rebuilding all ports was:

# portmaster --no-confirm --no-term-title -D -G -a -f

Regards,
Peter
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: archivers/arj fails to build

2014-11-17 Thread Kurt Jaeger
Hi!

 Unfortunately, archivers/arj fails to build:

I just tested it on my reference install (10.1, amd64). It just builds.

But: I used 

/usr/local/sbin/portupgrade -aprRf -M BATCH=yes

to rebuild everything before that (which worked, to a certain level).

-- 
p...@opsec.eu+49 171 3101372 6 years to go !
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: archivers/arj fails to build

2014-11-17 Thread andrew clarke
On Mon 2014-11-17 20:00:01 UTC+0100, Kurt Jaeger (li...@opsec.eu) wrote:

  Unfortunately, archivers/arj fails to build:
 
 I just tested it on my reference install (10.1, amd64). It just builds.

ARJ builds OK here on 10.1.

My first thought is the OP has something unusual in /etc/make.conf.

My second thought is whether you actually need ARJ. ClamAV evidently
has it as a dependency, but I think it probably shouldn't given that
ARJ archives are rarely seen in the wild these days.

In any case you can exclude arj from the rebuild with:

portmaster [options] -x arj

Regards
Andrew
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: archivers/arj fails to build

2014-11-17 Thread Dr. Peter Voigt
On Mon, 17 Nov 2014 20:00:01 +0100
Kurt Jaeger li...@opsec.eu wrote:

 Hi!
 
  Unfortunately, archivers/arj fails to build:
 
 I just tested it on my reference install (10.1, amd64). It just
 builds.
 
 But: I used 
 
 /usr/local/sbin/portupgrade -aprRf -M BATCH=yes
 
 to rebuild everything before that (which worked, to a certain level).
 

Thanks for quick feedback. I did two further tests:

1.) 10.1, amd64, VirtualBox VM: portmaster fails
2.) 10.1, amd64, real hardware: Both portmaster and make build fail

System 1.) is upgraded via freebsd-update and 2.) is upgraded via make
buildworld.

Regards,
Peter
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: archivers/arj fails to build

2014-11-17 Thread Dr. Peter Voigt
On Tue, 18 Nov 2014 06:16:02 +1100
andrew clarke m...@ozzmosis.com wrote:

 On Mon 2014-11-17 20:00:01 UTC+0100, Kurt Jaeger (li...@opsec.eu)
 wrote:
 
   Unfortunately, archivers/arj fails to build:
  
  I just tested it on my reference install (10.1, amd64). It just
  builds.
 
 ARJ builds OK here on 10.1.
 
 My first thought is the OP has something unusual in /etc/make.conf.
 
 My second thought is whether you actually need ARJ. ClamAV evidently
 has it as a dependency, but I think it probably shouldn't given that
 ARJ archives are rarely seen in the wild these days.
 
 In any case you can exclude arj from the rebuild with:
 
 portmaster [options] -x arj
 
 Regards
 Andrew

Yeah, you're right. ClamAV is the only reverse dependency. And I could
deselect this configuration option of ClamAV. I cannot remember
anymore, if it was once pre-selected or if I explicitly selected it.

Nevertheless, I am just proceeding with -x arj, thank you very much.

Regards,
Peter
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org