Web lists-archives.com

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




On 2018-04-27 09:17, L A Walsh wrote:
> 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

Looks like Cygwin root == drive root /proc/cygdrive/c/, which is against
recommendations, and setup and packages don't deal with that too well.

> 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?

Permanent postinstall scripts [0z]p_*.{da,}sh stay around and run every time.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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