mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Adam Hill <sidepipeuk@gmail.com>
To: musl@lists.openwall.com
Subject: Possible issue around utime() and symlinks on at least MIPS64
Date: Thu, 06 Jul 2017 14:50:16 +0100	[thread overview]
Message-ID: <1628901.R1SNWt7Sda@zaphod> (raw)

[-- Attachment #1: Type: text/plain, Size: 951 bytes --]

Hi,

	Not carried out ANY investigation around this... unfortunately I don't have any time 
atm. Could also have been mentioned already or actually be a bug in tar itself etc. but I 
couldn't find anything with my quick search. Just thought I'd mention it in case anyone does 
feel inclined to investigate.

	I compiled OpenWrt using pretty much default build settings for an octeon chip... it 
uses musl-1.1.16. The only real change I made was to use GNU tar rather than busybox. The 
resulting tar binary can't fix the modification/access times on any extracted symbolic links, 
resulting in for example:

tar: usr/share/zoneinfo/Africa: Cannot utime: Invalid argument

	I didn't have strace available so can't even be sure tar's using utime()... just going 
by the error message alone.

	I recompiled OpenWrt changing only the C library ( to GCC ) and the resulting tar 
binary worked fine... so I can only *assume* it's something to do with musl.

[-- Attachment #2: Type: text/html, Size: 2870 bytes --]

             reply	other threads:[~2017-07-06 13:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-06 13:50 Adam Hill [this message]
2018-04-18 20:00 ` Rich Felker
2018-04-18 21:51   ` A. Wilcox
2018-04-18 22:37     ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1628901.R1SNWt7Sda@zaphod \
    --to=sidepipeuk@gmail.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).