From nobody Sat Sep 03 00:16:05 2022 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 4MKFgV39Gfz4blFL for ; Sat, 3 Sep 2022 00:16:06 +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 4MKFgV0dgCz3Gmb for ; Sat, 3 Sep 2022 00:16:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4MKFgT6jVrzyWB for ; Sat, 3 Sep 2022 00:16:05 +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 2830G5cp020351 for ; Sat, 3 Sep 2022 00:16:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2830G58R020350 for ports-bugs@FreeBSD.org; Sat, 3 Sep 2022 00:16:05 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 266185] sysutils/smartmontools update-smart-drivedb ends with sed failure Date: Sat, 03 Sep 2022 00:16:05 +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 Only Me X-Bugzilla-Who: knezour@weboutsourcing.cz X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: samm@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 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662164166; 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=C9YwRKRayd7JzccPbMfLaGxm/bhs9ruOSTAtxzuXBxg=; b=VfuUKqiHjXXtaPMSnxccdobnUWSwLsQzUmZRx73ymvCRZzwr1jod+KUAHHpcvzS85zPvYi Xq8z+KXoENicy/ul3EzlE0jZ1+6eK9Ajy+OXboNlLcJiQ5tWtpwz+7B7DFwMEIItAkE1e6 ZK083DE52rSQNdNzRHcCGKVojvy6xLh29b1iV8G2znsBM+JgmAPYYSGvJzxfR6ukp1hkxI oTPwquisUhubkd6r/3/EtRxf6SVvePONhun7l10445niqBx37dblKyNSOPSlkEHwffVSMd IUywS+zdTkLua2LrogU9jB9ZXJD+rZ8cqt1Z8qCJ1610Wq64xIELuXv1lL5fPw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662164166; a=rsa-sha256; cv=none; b=ONJU3t3kt1ymUeLzogmpNJ1Ao9W1SIZduyWpiRPB9ZfVOBNxJKGzVbUOlg+H/9YNpzo7Dk Aeq6rgea5r3BWcFUWlGnv1FeCIDCJI9ge65DSiewwKYABzA6IgwNlwH/B/xKbvm1i2Gy7y Ru5V/lVHpRkj19vG/Uuf/h9cAD7TJEWipktrNOVAjOu1H1L1LmhmtQIkofOTPtKNH6jqyq N69XnA7wDpf5kzUK+BcxnfvkjBIb9RbpIlEUw4KgPdPNfYUZSEw5fkQonLZ2KwV+r98HCo jgLDik7BodaSwSt8buz3ine4f4b6RjzXbVifv3WiPxFw2nXWAuTrDrwll24Glw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266185 Bug ID: 266185 Summary: sysutils/smartmontools update-smart-drivedb ends with sed failure Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: samm@FreeBSD.org Reporter: knezour@weboutsourcing.cz Assignee: samm@FreeBSD.org Flags: maintainer-feedback?(samm@FreeBSD.org) update-smart-drivedb --no-verify sed: 1: "/^[ {]*"VERSION: *[^"]* ...": extra characters at the end of q com= mand I guess that it is some GNU sed whatever on line 545 in get_db_version() function, quick googling returned that semicolon may be cure and really, changing x=3D$(sed -n '/^[ {]*"VERSION: *[^"]*"/{s,^[ {]*"VERSION: \([1-9][./0-9]* [^"]*\)".*$,\1,p;q}' "$1") \ to x=3D$(sed -n '/^[ {]*"VERSION: *[^"]*"/{s,^[ {]*"VERSION: \([1-9][./0-9]* [^"]*\)".*$,\1,p;q;SEMICOLON ADDED HERE}' "$1") \ resulted with /usr/local/share/smartmontools/drivedb.h 7.3/5319 updated to 7.3/5405 (NOT VERIFIED) I have no clue if this is right solution or ugly patch :) --=20 You are receiving this mail because: You are the assignee for the bug.=