run sh executable fails
I have a new Tumbleweed box with a build environment that acts peculiar to me. cd to build directory execute build.sh succeeds but, time build.sh fails ??? execute time sh build.sh succeeds on another box: cd to build directory execute time build.sh succeeds what is the difference? my aged memory is failing me here :( tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
On 19.06.2022 18:47, Patrick Shanahan wrote:
I have a new Tumbleweed box with a build environment that acts peculiar to me.
cd to build directory execute build.sh succeeds but, time build.sh fails ???
show output of strace time build.sh
execute time sh build.sh succeeds
on another box: cd to build directory execute time build.sh succeeds
what is the difference? my aged memory is failing me here :(
tks,
* Andrei Borzenkov <arvidjaar@gmail.com> [06-19-22 14:02]:
On 19.06.2022 18:47, Patrick Shanahan wrote:
I have a new Tumbleweed box with a build environment that acts peculiar to me.
cd to build directory execute build.sh succeeds but, time build.sh fails ???
show output of
strace time build.sh
http://wahoo.no-ip.org/~paka/strace.txt -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
* Patrick Shanahan <paka@opensuse.org> [06-19-22 14:32]:
* Andrei Borzenkov <arvidjaar@gmail.com> [06-19-22 14:02]:
On 19.06.2022 18:47, Patrick Shanahan wrote:
I have a new Tumbleweed box with a build environment that acts peculiar to me.
cd to build directory execute build.sh succeeds but, time build.sh fails ???
show output of
strace time build.sh
ps: full command was: time /data/software/build/darktable/build.sh --enable-opencl --install RelWithDebInfo --prefix /data/software/build/darktable_repos/ > text.build.log -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
On 19.06.2022 21:32, Patrick Shanahan wrote:
* Patrick Shanahan <paka@opensuse.org> [06-19-22 14:32]:
* Andrei Borzenkov <arvidjaar@gmail.com> [06-19-22 14:02]:
On 19.06.2022 18:47, Patrick Shanahan wrote:
I have a new Tumbleweed box with a build environment that acts peculiar to me.
cd to build directory execute build.sh succeeds but, time build.sh fails ???
show output of
strace time build.sh
Sorry, it should have been strace -f time build.sh
ps: full command was: time /data/software/build/darktable/build.sh --enable-opencl --install RelWithDebInfo --prefix /data/software/build/darktable_repos/ > text.build.log
* Andrei Borzenkov <arvidjaar@gmail.com> [06-19-22 14:42]:
On 19.06.2022 21:32, Patrick Shanahan wrote:
* Patrick Shanahan <paka@opensuse.org> [06-19-22 14:32]:
* Andrei Borzenkov <arvidjaar@gmail.com> [06-19-22 14:02]:
On 19.06.2022 18:47, Patrick Shanahan wrote:
I have a new Tumbleweed box with a build environment that acts peculiar to me.
cd to build directory execute build.sh succeeds but, time build.sh fails ???
show output of
strace time build.sh
Sorry, it should have been
strace -f time build.sh
ps: full command was: time /data/software/build/darktable/build.sh --enable-opencl --install RelWithDebInfo --prefix /data/software/build/darktable_repos/ > text.build.log
http://wahoo.no-ip.org/~paka/strace.txt still indicates Permission denied but it is set executable and owned by me and ran by me. tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
On 2022-06-19 21:29, Patrick Shanahan wrote:
* Andrei Borzenkov <> [06-19-22 14:42]:
...
ps: full command was: time /data/software/build/darktable/build.sh --enable-opencl --install RelWithDebInfo --prefix /data/software/build/darktable_repos/ > text.build.log
http://wahoo.no-ip.org/~paka/strace.txt
still indicates Permission denied but it is set executable and owned by me and ran by me.
Check that the partition is not mounted "noexec": mount | grep exec -- Cheers / Saludos, Carlos E. R. (from Elesar, using openSUSE Leap 15.3)
* Carlos E. R. <robin.listas@telefonica.net> [06-19-22 17:48]:
On 2022-06-19 21:29, Patrick Shanahan wrote:
* Andrei Borzenkov <> [06-19-22 14:42]:
..
ps: full command was: time /data/software/build/darktable/build.sh --enable-opencl --install RelWithDebInfo --prefix /data/software/build/darktable_repos/ > text.build.log
http://wahoo.no-ip.org/~paka/strace.txt
still indicates Permission denied but it is set executable and owned by me and ran by me.
Check that the partition is not mounted "noexec":
mount | grep exec
ah, a winner. and I have no idea why it was mounted noexec, changed to exec and script is running as expected. is "noexec" standard on xfs partitions? -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
On 2022-06-20 00:17, Patrick Shanahan wrote:
* Carlos E. R. <> [06-19-22 17:48]:
On 2022-06-19 21:29, Patrick Shanahan wrote:
* Andrei Borzenkov <> [06-19-22 14:42]:
..
ps: full command was: time /data/software/build/darktable/build.sh --enable-opencl --install RelWithDebInfo --prefix /data/software/build/darktable_repos/ > text.build.log
http://wahoo.no-ip.org/~paka/strace.txt
still indicates Permission denied but it is set executable and owned by me and ran by me.
Check that the partition is not mounted "noexec":
mount | grep exec
ah, a winner. and I have no idea why it was mounted noexec, changed to exec and script is running as expected.
is "noexec" standard on xfs partitions?
It is sort of standard on openSUSE for "data" partition, and I saw the word "data" in your trace output ;-) -- Cheers / Saludos, Carlos E. R. (from Elesar, using openSUSE Leap 15.3)
* Carlos E. R. <robin.listas@telefonica.net> [06-19-22 18:24]:
On 2022-06-20 00:17, Patrick Shanahan wrote:
* Carlos E. R. <> [06-19-22 17:48]:
On 2022-06-19 21:29, Patrick Shanahan wrote:
* Andrei Borzenkov <> [06-19-22 14:42]:
..
ps: full command was: time /data/software/build/darktable/build.sh --enable-opencl --install RelWithDebInfo --prefix /data/software/build/darktable_repos/ > text.build.log
http://wahoo.no-ip.org/~paka/strace.txt
still indicates Permission denied but it is set executable and owned by me and ran by me.
Check that the partition is not mounted "noexec":
mount | grep exec
ah, a winner. and I have no idea why it was mounted noexec, changed to exec and script is running as expected.
is "noexec" standard on xfs partitions?
It is sort of standard on openSUSE for "data" partition, and I saw the word "data" in your trace output ;-)
yes, lable and mount point name, no partition, entire disk is used. I have similar on another box but the disk has one partition which is labled "data" and the mount point is also "data". I guess the difference is one instance has no partition. live and learn. tks -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
Paka, et al -- ...and then Patrick Shanahan said... % % ps: full command was: % time /data/software/build/darktable/build.sh --enable-opencl --install % RelWithDebInfo --prefix /data/software/build/darktable_repos/ > % text.build.log What does F=`which time` ls -ld $F while [ "$F" != '' ] ; do F=`echo $F | sed -e 's@/[^/]*$@@'` ; L="$L $F" ; done ls -ld $L ls -l /data/software/build/darktable/build.sh ls -ld /data/software/build/darktable /data/software/build /data/software /data / give you? :-D -- David T-G See http://justpickone.org/davidtg/email/ See http://justpickone.org/davidtg/tofu.txt
participants (4)
-
Andrei Borzenkov
-
Carlos E. R.
-
David T-G
-
Patrick Shanahan