public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* chattr makes cygport slow
@ 2023-07-06 12:19 Andrew Schulman
  2023-07-06 16:18 ` Brian Inglis
  2023-07-06 17:36 ` Andrew Schulman
  0 siblings, 2 replies; 13+ messages in thread
From: Andrew Schulman @ 2023-07-06 12:19 UTC (permalink / raw)
  To: cygwin-apps

Recently I noticed that `cygport finish` has become really slow on some of my
package source trees. After I run for example

cygport libargp.cygport finish

it waits for about 5 minutes without any message to the console, before the
first "Removing work directory" message appears.

pstree shows that during this time cygport is waiting for chattr. In
/usr/bin/cygport I see:

if [ $OSTYPE = "cygwin" ]
then
    chattr -fR +C ${workdir} >/dev/null 2>&1 || true
fi

which is trying to make the workdir case-sensitive.

Whatever the advantages of that are, it can take a long time. Would it be
possible to skip it at least in the case of "finish"? It seems silly to spend
all that time fixing up a directory tree that we then turn around and remove
with rm -rf.

Thanks,
Andrew


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-07-28 11:35 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-06 12:19 chattr makes cygport slow Andrew Schulman
2023-07-06 16:18 ` Brian Inglis
2023-07-08 12:19   ` Jon Turney
2023-07-06 17:36 ` Andrew Schulman
2023-07-08 12:16   ` Jon Turney
2023-07-08 13:23     ` Andrew Schulman
2023-07-08 14:22     ` ASSI
2023-07-16 16:15       ` Jon Turney
2023-07-16 19:32         ` ASSI
2023-07-23 15:33           ` Jon Turney
2023-07-23 19:13             ` ASSI
2023-07-24 21:07               ` Jon Turney
2023-07-28 11:35             ` Andrew Schulman

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 read-only IMAP folder(s) and NNTP newsgroup(s).