From nobody Sat May 13 18:59:35 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QJZgX3QPYz4Bg5P for ; Sat, 13 May 2023 18:59:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QJZgX0QP6z3ld4 for ; Sat, 13 May 2023 18:59:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684004376; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Dzi99YFxpFGB0DoPnI+pkWEtYAGQPWMK++SzevTYB0Q=; b=MUQfkYyzK35mXRe1hB4o04TkQnqZvM4t52rOrcxCvUNb96QBef/bQrzm9X7wYjdxyCFeIY UMd2045Z78CW0TLdVkTdT7XMl36T9IvGD/g87vksoASPDStPRZOACYXrfjfnvrxqdYcFlo 56q7lYR9L3orT5YDwi3HF+NJoEXboQJh70I7tlgxy3XtYP3VHVR+yKz7nEDfw8wAEdSwWp tY4KmmeDL2nq+bTlso+qL2h4JbkNK5pYuhWP0YwYNbbKqYH0rMS0M+k709X1cr9c4zZsGB hu4veq/qOhqDgE0dW/SLxvchYtijavO7onsclPs3iwzQ4Tq4SzGuGJF1Tq2QnQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684004376; a=rsa-sha256; cv=none; b=EBU3hBCU1M0J0+oNOFIezYVPLX7PRd9B/83hgBxbf/UPwddE0/WJVXiYDV58v/JisoFRI0 LBYDsD9w/P1aPKiTyEvrji9XUPZ2KzZd5HopvavN8P7yLwWvkP4ckPYkXw3Rr5sOiGlczi oXaZMMsYujt52hc+I0CtStX9pFte7Bq17NC7vgRuPLyyBbEc7pXcYyVx+5pFBl76frNsDM JCwv6gjfQ9Af7lhwr8yjWnVYDdmUX/tcP00dsiW9EfYAxW8V2i/FYVbsf+KOFZHMsRNysF tRbJlTY8Sm7v6qAoLHEA3zT+jVokXafgh7UUT791mFc9Y5JRepapScRZ5Xqorg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QJZgW6VC5zSp9 for ; Sat, 13 May 2023 18:59:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34DIxZ0L079910 for ; Sat, 13 May 2023 18:59:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34DIxZE5079909 for ports-bugs@FreeBSD.org; Sat, 13 May 2023 18:59:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271392] misc/pinfo: build fails on 13.2 Date: Sat, 13 May 2023 18:59:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: alexey@ocaml.nl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: otis@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271392 Bug ID: 271392 Summary: misc/pinfo: build fails on 13.2 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: otis@FreeBSD.org Reporter: alexey@ocaml.nl Flags: maintainer-feedback?(otis@FreeBSD.org) Assignee: otis@FreeBSD.org Created attachment 242145 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D242145&action= =3Dedit Patch for fixing the compilation problem I did gitup ports && cd /usr/ports/misc/pinfo && make rmconfig clean install and then pressed Enter to accept default options. I am using the 'latest' branch for ports. The port failed to build: ... --- pinfo-video.o --- video.c:112:41: error: format specifies type 'int' but the argument has type 'unsigned long' [-Werror,-Wformat] printw(_("Viewing line %d/%d, %d%%"), pos + maxy - 2, lines,((pos + maxy - 2) * 100) / lines); ~~ ^~~~~~~~~~~~~~ %lu video.c:112:57: error: format specifies type 'int' but the argument has type 'unsigned long' [-Werror,-Wformat] printw(_("Viewing line %d/%d, %d%%"), pos + maxy - 2, lines,((pos + maxy - 2) * 100) / lines); ~~ ^~~~~ %lu video.c:112:63: error: format specifies type 'int' but the argument has type 'unsigned long' [-Werror,-Wformat] printw(_("Viewing line %d/%d, %d%%"), pos + maxy - 2, lines,((pos + maxy - 2) * 100) / lines); ~~=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu video.c:114:42: error: format specifies type 'int' but the argument has type 'unsigned long' [-Werror,-Wformat] printw(_("Viewing line %d/%d, 100%%"), lines, lines); ~~ ^~~~~ %lu video.c:114:49: error: format specifies type 'int' but the argument has type 'unsigned long' [-Werror,-Wformat] printw(_("Viewing line %d/%d, 100%%"), lines, lines); ~~ ^~~~~ %lu 5 errors generated. *** [pinfo-video.o] Error code 1 make[4]: stopped in /usr/ports/misc/pinfo/work/pinfo-0.6.13/src 1 error make[4]: stopped in /usr/ports/misc/pinfo/work/pinfo-0.6.13/src make[3]: stopped in /usr/ports/misc/pinfo/work/pinfo-0.6.13 make[2]: stopped in /usr/ports/misc/pinfo/work/pinfo-0.6.13 =3D=3D=3D> Compilation failed unexpectedly. ... I attach the patch which fixes the compilation. --=20 You are receiving this mail because: You are the assignee for the bug.=