[Slackbuilds-users] gdal SlackBuild fails

Duncan Roe duncan_roe at acslink.net.au
Sat Mar 4 15:51:55 UTC 2017


On Sat, Mar 04, 2017 at 03:11:36PM +0100, Matteo Bernardini wrote:
> 2017-03-04 15:02 GMT+01:00 Duncan Roe <duncan_roe at acslink.net.au>:
> > On Sat, Mar 04, 2017 at 12:15:29PM +0100, Matteo Bernardini wrote:
> >> 2017-03-04 12:06 GMT+01:00 Duncan Roe <duncan_roe at acslink.net.au>:
> >> > On Sat, Mar 04, 2017 at 09:48:36PM +1100, Duncan Roe wrote:
> >> >> Paste is http://pastebin.com/v4gXJbDr
> >> >>
> >> > And, I did not override -j1. This pocessor does have 2 cores though.
> >>
> >> Duncan, sorry, before anyone else asks: the paste above looks done
> >> from your unprivilege used environment.
> >> it could be there are no differences but maybe it's better if you post
> >> the one you got from running the SlackBuild (you can take it directly
> >> from the /tm/SBo/gdal-* directory) from the root environment (in which
> >> you get by running "su -l" from your user shell).
> >>
> >> Matteo
> >
> > Hi Matteo,
> >
> > I ran the build from a logged-in-as-root environment, as evidenced by:
> >
> >> 22:00:11# echo $0
> >> -bash
> >
> > I just do su but then immediately start a fresh xterm (with a pink background,
> > so I know it's root); then exit from the su.
> >
> > What looks unprivileged in the paste?
>
> in the paste you have these lines
>
> PATH: /home/dunc/bin64
> PATH: /home/dunc/bin
> PATH: /home/dunc/command_line_tools/bin
> PATH: /usr/local/sbin
> PATH: /usr/sbin
> PATH: /sbin
> PATH: /usr/local/bin
> PATH: /usr/bin
> PATH: /bin
> PATH: /usr/games
> PATH: /usr/lib/java/bin
> PATH: /usr/lib64/kde4/libexec
> PATH: /usr/lib64/qt/bin
> PATH: /usr/share/texmf/bin
>
> these mean that you have executed just "su" and not "su -" (or "su
> -l") so your root environment, not having being launched as a true
> login shell, was polluted by user variables (see point 3 of the howto
> https://slackbuilds.org/howto/).
> you shouldn't run SBo's build scripts executing just "su".
>
> Matteo

No, they don't mean that at all:
> 00:47:13# ls -l ~/.bashrc
> lrwxrwxrwx 1 root root 18 May  5  2014 /root/.bashrc -> /home/dunc/.bashrc

Cheers ... Duncan.


More information about the SlackBuilds-users mailing list