From nobody Tue Sep 17 05:12:09 2024 X-Original-To: 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 4X78zG0T2pz5WFkh for ; Tue, 17 Sep 2024 05:12:10 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X78zF5fp0z4QCh for ; Tue, 17 Sep 2024 05:12:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726549929; a=rsa-sha256; cv=none; b=oLxKCQ1WvRZ13crs1MiMFPXGjJw/ME1vAVkfjUHKhePFqhU6fWH9udJ/QoBq/2jut6Ka/W VdaupsZmbJSW8Mtznokz+3KA0FQSJHNAPr42l3CeYZxVp0AyW+wT7g2TgKad9vYkNDX2/S fE9OqEioUtOGyZ6Y+kPR1cSUplAxymT3X15HceGoY7Wjmkbi53DNzNT5TZHdk/r0GGtY7p uBfUlOnFwM7+YuIE5kqkxQmvFwnsOBhIemxUggMy/sTtj/kwvW+NS/W7S8U1BADx8RoEJw rxcQrrKAFWh2uzkM7U3/V9WW/+uUoow6sS7Oj5qOIl5MAM2t1H/aphz5WWNhYg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726549929; 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: in-reply-to:in-reply-to:references:references; bh=hoGNn0+K4TRzqo6zgdmOR/qiQ7dWjK8+UzEcQuP4oPg=; b=qQR2+blxW74k446OPdvLfnln+f49jr0jrXAiPKVw/wshChYHNkNNzYKFBel65e5NTdNrYx tZufO95o+YXcArLndB/hDuQjnfRHfdBrK8vE/V1XJpDF2yQRP8hH8LgiX/5bmKKfuZdDKA vaB9MM4ULK0Dq7asoyUPJC+T4qV1MVyDnkYz93C2yaZJZ+dUjnPQ+k+UK7iSG+KRevwM86 2AUntAVBDBpr752MLN3cEhdka3aUOVQWowBQJujz7FDtgfexa9JMveSqJxhvVGFdzc19lQ XIgbJ0TRKapyDXS30c9G10up5YPR4IIkuxauXbYZ11XHTwwkE9D9a6cXgFUOew== 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 4X78zF5GHLzQFR for ; Tue, 17 Sep 2024 05:12:09 +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 48H5C9RO048201 for ; Tue, 17 Sep 2024 05:12:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48H5C9Wc048200 for bugs@FreeBSD.org; Tue, 17 Sep 2024 05:12:09 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: bugs@FreeBSD.org Subject: [Bug 228069] tar(1) fails to append newer files only (-u, --update), but always appends all files (like -r). Date: Tue, 17 Sep 2024 05:12:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: titus@edc.ro X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228069 titus m changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |titus@edc.ro --- Comment #1 from titus m --- the problem comes from the fact that tar file format (ustar/default) does n= ot support fractional file timestamps and the file system does. so the files on the filesystem having most likeley a fractional mtime will always appear to= be newer than the ones in the archive. A work-around is to use pax (or fix libarchive to compare mtime_nanoseconds only when archive->format is "pax") --=20 You are receiving this mail because: You are the assignee for the bug.=