[Bug 1181029] New: racket: /usr/share/racket/pkgs/.LOCKpkgs.rktd cannot open output file
http://bugzilla.opensuse.org/show_bug.cgi?id=1181029 Bug ID: 1181029 Summary: racket: /usr/share/racket/pkgs/.LOCKpkgs.rktd cannot open output file Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: screening-team-bugs@suse.de Reporter: petr@cervinka.net QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- When you run drracket (current version 7.8) on Tumbleweed and open Package Manager to see Currently Installed (click menu: File->Package Manager->Currently installed) it will end with following error. open-output-file: cannot open output file path: /usr/share/racket/pkgs/.LOCKpkgs.rktd system error: Permission denied; errno=13 context...: /usr/share/racket/collects/racket/file.rkt:429:8 /usr/share/racket/collects/racket/file.rkt:424:0: call-with-file-lock /usr/share/racket/collects/racket/contract/private/arrow-val-first.rkt:555:3 /usr/share/racket/pkgs/gui-pkg-manager-lib/pkg/gui/private/by-installed.rkt:139:12: for-loop /usr/share/racket/pkgs/gui-pkg-manager-lib/pkg/gui/private/by-installed.rkt:137:4: reset-installed-list! method in by-installed-panel% /usr/share/racket/collects/racket/private/more-scheme.rkt:148:2: call-with-break-parameterization /usr/share/racket/collects/racket/private/more-scheme.rkt:266:2: call-with-exception-handler /usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:435:6 /usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:486:32 /usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:634:3 When you manually create file by "sudo touch /usr/share/racket/pkgs/.LOCKpkgs.rktd", it will work fine. It seems to be easy to fix, but racket.changes file in OBS contains manipulation (related to this file) in the past, so my suggestion may not be correct one. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1181029 http://bugzilla.opensuse.org/show_bug.cgi?id=1181029#c1 --- Comment #1 from Dr. Werner Fink <werner@suse.com> --- Current racket 8.1 installation does not include the pre-compiled *.zo files. The final `raco setup' is simply missed -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1181029 http://bugzilla.opensuse.org/show_bug.cgi?id=1181029#c2 Petr Cervinka <pcervinka@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pcervinka@suse.com --- Comment #2 from Petr Cervinka <pcervinka@suse.com> --- I checked drracket behavior on freshly installed Tumbleweed and latest racket pkg with fix for boo#1187288. Behavior is the same, "sudo touch /usr/share/racket/pkgs/.LOCKpkgs.rktd" is still needed to get rid of error. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1181029 http://bugzilla.opensuse.org/show_bug.cgi?id=1181029#c4 --- Comment #4 from Dr. Werner Fink <werner@suse.com> --- What is the status of this bug? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1181029 http://bugzilla.opensuse.org/show_bug.cgi?id=1181029#c5 Fred Fu <moonsolo@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |moonsolo@gmail.com --- Comment #5 from Fred Fu <moonsolo@gmail.com> --- Alternatively, running `sudo raco pkg show >> /dev/null` should create the file as well. people have reported this issue to the Racket github repo as well (see https://github.com/racket/racket/issues/3851) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1181029 http://bugzilla.opensuse.org/show_bug.cgi?id=1181029#c8 Petr Cervinka <petr@cervinka.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #8 from Petr Cervinka <petr@cervinka.net> --- Seems to be fixed in https://build.opensuse.org/request/show/960273 by: * remove the command that deletes `.LOCKpkgs.rktd`, so users will not 71+ have to manually create this file as a root user in order to successfully 72+ run `raco` or `drracket`. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com