From owner-freebsd-ports@FreeBSD.ORG Mon Nov 17 18:47:31 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 84A7A828 for ; Mon, 17 Nov 2014 18:47:31 +0000 (UTC) Received: from smtp-auth.serv.Uni-Osnabrueck.DE (vm135.rz.uni-osnabrueck.de [131.173.16.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0CA8E284 for ; Mon, 17 Nov 2014 18:47:30 +0000 (UTC) Received: from spock.drpetervoigt.private (p5DC4C464.dip0.t-ipconnect.de [93.196.196.100]) (authenticated bits=0) by smtp-auth.serv.Uni-Osnabrueck.DE (8.13.8/8.13.8) with ESMTP id sAHIlQnn023061 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 17 Nov 2014 19:47:26 +0100 Received: from kirk.drpetervoigt.private (kirk.drpetervoigt.private [192.168.1.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pvoigt) by spock.drpetervoigt.private (Postfix) with ESMTPSA id F40C31D15B25 for ; Mon, 17 Nov 2014 19:47:25 +0100 (CET) Date: Mon, 17 Nov 2014 19:47:19 +0100 From: "Dr. Peter Voigt" To: freebsd-ports@freebsd.org Subject: archivers/arj fails to build Message-ID: <20141117194719.2588c191@kirk.drpetervoigt.private> Organization: =?UTF-8?B?VW5pdmVyc2l0w6R0IE9zbmFicsO8Y2s=?= X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.23; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.11.17.182721 (Univ. Osnabrueck) X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report= HTML_00_01 0.05, HTML_00_10 0.05, BODY_SIZE_6000_6999 0, BODY_SIZE_7000_LESS 0, FROM_NAME_PHRASE 0, RDNS_POOLED 0, RDNS_SUSP 0, RDNS_SUSP_SPECIFIC 0, __ANY_URI 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __RDNS_POOLED_10 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_MAILTO 0, __URI_NO_PATH 0, __URI_NO_WWW 0 X-PMX-Spam-Level: IIIIIIII X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2014 18:47:31 -0000 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/archivers/arj/work/arj-3.10.22' GNUmakefile:169: recipe for target 'all' failed gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory '/usr/ports/archivers/arj/work/arj-3.10.22' *** Error code 1 Stop. make: stopped in /usr/ports/archivers/arj ===>>> make build failed for archivers/arj ===>>> Aborting update ===>>> You can restart from the point of failure with this command line: portmaster archivers/arj My questions are: 1.) Can this easily be solved? I have no idea. 2.) Can I skip this particular port with the above portmaster command? 3.) At this step I am not able to proceed with the build process. What do you recommend to proceed with rebuilding all ports? Some details about my system: # uname -a FreeBSD spock 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274587: Sun Nov 16 22:38:43 CET 2014 root@spock:/usr/obj/usr/src/sys/GENERIC amd64 # pkg version |grep arj arj-3.10.22_4 So arj is still installed and up to date. Regards, Peter