Web lists-archives.com

Re: odd behavior(bug?) during run of setup




Jon Turney wrote:
On 27/04/2018 03:31, L A Walsh wrote:
When running setup -- a few time have gotten an error saying that it
couldn't create /llvm-objdump.exe.stackdump

Thanks for reporting this.

Giving the actual error you see, rather than "an error" would be helpful.
----
	Usually do, but it doesn't copy/paste.  It was a standard
error where it says it is in use or some other error occurred.

	I looked for the file and it wasn't there, so "some other error
occurred". Told me to try stopping all cygwin processes, but that didn't help either -- so the normal things one might do, didn't work,
which is why went to tracing it.



Attaching the setup log file would also be helpful.

	Looking at the log, for that package, the errors said:

2018/04/27 07:54:11 Failed to make the path for cygfile:///llvm-objdump.exe.stackdump
2018/04/27 07:57:20 Failed to make the path for cygfile:///llvm-objdump.exe.stackdump.new
2018/04/27 07:57:20 Unable to install file cygfile:///llvm-objdump.exe.stackdump.new

Which is what I pretty much said from info in the trace.  It's trying
to make the first element in the path 'C:', which fails.  There
were no other explicit errors in the log, BUT, I'd consider
this a *bit* of inefficiency, at least:

2018/04/27 07:57:20 Changing gid back to original
2018/04/27 07:57:20 running: C:\\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
2018/04/27 07:57:52 running: C:\\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
2018/04/27 07:57:54 running: C:\\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_adwaita-icon-theme.sh"
2018/04/27 07:57:54 running: C:\\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_desktop-file-utils.sh"
2018/04/27 07:57:55 running: C:\\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_fontconfig_cache_1.sh"
2018/04/27 07:58:04 running: C:\\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_glib2.0.sh"
2018/04/27 07:58:04 running: C:\\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_gnome-themes-standard.sh"
2018/04/27 07:58:04 running: C:\\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_gnome-themes.sh"
2018/04/27 07:58:04 running: C:\\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_hicolor-icon-theme.sh"
2018/04/27 07:58:04 running: C:\\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_man-db.sh"
2018/04/27 07:58:05 running: C:\\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_oxygen-icons.sh"
2018/04/27 07:58:05 running: C:\\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_shared-mime-info.sh"
2018/04/27 07:58:06 running: C:\\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_units_cur.sh"
2018/04/27 07:58:08 Changing gid to Administrators
2018/04/27 08:01:27 note: Installation incomplete.  Check C:\\var\log\setup.log.full for details
2018/04/27 08:01:27 Ending cygwin install

1) why is it running postinstall scripts for unrelated packages.
The only pkg that was tried for install was compiler-rt-5.0.1-1 which
comes up every time (guess it never gets marked as complete).

But if that's they only package, why are all those updates being
installed? Isn't there a way of not running them unless a package requires those post-scripts?


Told it to ignore -- and setup went on an finish w/no further probs.

So maybe there was a stackdump during setup and it
tried to create the dir that is topmost?

This looks like a packaging hiccup with clang:

https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fcompiler-rt%2Fcompiler-rt-5.0.1-1&grep=llvm-objdump.exe.stackdump

I think you can safely ignore this error, for the moment.
====
yeah... sorta got that, though apparently that type of error
seems to mark the package as "not being installed"...so
it gets reinstalled each time (not a big deal, but just
thought I'd mention it).


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple