From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 14 14:02:29 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9F7D46E9 for ; Tue, 14 Oct 2014 14:02:29 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8179E135 for ; Tue, 14 Oct 2014 14:02:29 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9EE2T8M071997 for ; Tue, 14 Oct 2014 14:02:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 194352] New: [maintainer update] japanese/mh: Fix check-plist error (and some fix) Date: Tue, 14 Oct 2014 14:02:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: CQG00620@nifty.ne.jp X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 14:02:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194352 Bug ID: 194352 Summary: [maintainer update] japanese/mh: Fix check-plist error (and some fix) Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: CQG00620@nifty.ne.jp Created attachment 148297 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=148297&action=edit A patch for japanese/mh 1) Install Japanese man pages 2) Remove ATTVIBUG check from the configure script 3) Don't setuid/setgid to binaries 3-1) Disable RPOP support 3-2) Don't setgid to rcvtty 4) Fix rcvtty segfault on FreeBSD/amd64 5) Use BSD_INSTALL_LIB instead of 'cp' for libmh.so.3 6) Remove a @dirrm entry from pkg-plist 7) Bump PORTREVISION 1) Install Japanese man pages (Update: Makefile) The MH's configure script checks whether the MANPREFIX/man/ja directory exists. If the directory does not exist (e.g. fresh install), the Japanese man pages are not installed. It causes a check-plist error, and was already reported by the FreeBSD package build server. For example: [package - 91i386-quarterly][japanese/mh] Failed for ja-mh-6.8.4.j3.05_1 in package https://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-20141006/thread.html#207419 To force the installation, add a "--enable-jmandir=${MANPREFIX}/man/ja" argument to the CONFIGURE_ARGS variable. 2) Remove ATTVIBUG check from the configure script (Update: patch-configure) The MH's configure script checks whether vi has ATTVIBUG. READ-ME says: | ATTVIBUG | This option causes MH to return to the "What now?" | prompt if your initial editor is vi and it exits with | non-zero status. Use on Sun OS 4.1 and other systems | where the /usr/ucb/vi editor was changed to exit with | its status equal to the number of pseudo-"errors" | encountered during the edit. This causes a problem | for programs that test the exit status of their editor | and abort if the status is non-zero. (This includes | MH and programs like /usr/etc/vipw). On FreeBSD, the check routine remains a vi's recovery file in the /var/tmp/vi.recover directory like this: | ====>> Checking for filesystem violations... done | ====>> Error: Filesystem touched during build: | var/tmp/vi.recover/vi.pOt2Hl extra (poudriere only reports this error with the "bulk" command with "-t" option or the "testport" command.) The FreeBSD ports collection doesn't support such a classic environment. So I remove the check routine. 3) Don't setuid/setgid to binaries 3-1) Disable RPOP support (update: Makefile) It reduce the setuid/setgid binaries (3 -> 1) 3-2) Don't setgid to rcvtty (the last one) (New: patch-conf__makefiles__uip) It seems to work without setgid. 4) Fix rcvtty segfault on FreeBSD/amd64 (Update: patch-uip:rcvtty.c) aquarius-vm:~ {6} gdb /usr/local/lib/mh/rcvtty rcvtty.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Core was generated by `rcvtty'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/libmh.so.3...done. Loaded symbols for /usr/local/lib/libmh.so.3 Reading symbols from /lib/libncurses.so.8...done. Loaded symbols for /lib/libncurses.so.8 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0000000800d99737 in strlen () from /lib/libc.so.7 (gdb) where #0 0x0000000800d99737 in strlen () from /lib/libc.so.7 #1 0x000000080082e4fe in getcpy ( str=0x1070100
) at getcpy.c:17 #2 0x000000080082ea66 in fmt_compile ( fstring=0x1070100
, fmt=0x614dd8) at fmtcompile.c:241 #3 0x0000000000403f23 in scan (inb=0x800fd3020, innum=0, outnum=0, nfs=0x1070100
, width=80, curflg=0, unseen=0, hdrflg=0, folder=0x800000000
, size=0, noisy=0) at scansbr.c:113 #4 0x0000000000403c05 in header_fd () at rcvtty.c:335 #5 0x0000000000403790 in main (argc=1, argv=0x7fffffffd7a0) at rcvtty.c:207 (gdb) 5) Use BSD_INSTALL_LIB instead of 'cp' for libmh.so.3 (New: patch-conf__makefiles__sbr) 6) Remove a @dirrm entry from pkg-plist 7) Bump PORTREVISION -- You are receiving this mail because: You are the assignee for the bug.