You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Nuno Fernandes (JIRA)" <ji...@apache.org> on 2009/12/13 23:43:18 UTC

[jira] Created: (TS-83) DESTDIR not taken in account in make install

DESTDIR not taken in account in make install
--------------------------------------------

                 Key: TS-83
                 URL: https://issues.apache.org/jira/browse/TS-83
             Project: Traffic Server
          Issue Type: Bug
          Components: Build
         Environment: Mandriva Linux 2010 (x86), Centos 5.0 (x86 and x86_64)
            Reporter: Nuno Fernandes
            Priority: Minor


When trying to make install with DESTDIR parameter, it's not taken in account for the creating of the log dir.

Installing with unprivileged user:

/usr/bin/make install DESTDIR=/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686

I get the following error:

............
libtool: install: /usr/bin/install -c sac /home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin/sac
libtool: install: /usr/bin/install -c cust_log_fmt_cnvrt /home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin/cust_log_fmt_cnvrt
test -z "/usr/bin" || /bin/mkdir -p "/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin"
 /usr/bin/install -c example_alarm_bin.sh example_prep.sh '/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin'
/usr/bin/install -c -d -o nobody -g nobody /var/trafficserver /var/log/trafficserver
/usr/bin/install: cannot change owner and permissions of `/var/trafficserver': No such file or directory
/usr/bin/install: cannot change owner and permissions of `/var/log/trafficserver': No such file or directory
make[3]: *** [install-exec-local] Error 1
make[3]: Leaving directory `/home/npf/work/TrafficServer/BUILD/trafficserver-889823/proxy'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/npf/work/TrafficServer/BUILD/trafficserver-889823/proxy'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/npf/work/TrafficServer/BUILD/trafficserver-889823/proxy'
make: *** [install-recursive] Error 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TS-83) DESTDIR not taken in account in make install

Posted by "George Paul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Paul resolved TS-83.
---------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

This patch 'TS-83_patch1.diff' has been committed to the traffic server 'trunk' and 'dev' branches. Tested on ubuntu804 and fedora11.
-George


> DESTDIR not taken in account in make install
> --------------------------------------------
>
>                 Key: TS-83
>                 URL: https://issues.apache.org/jira/browse/TS-83
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: Mandriva Linux 2010 (x86), Centos 5.0 (x86 and x86_64)
>            Reporter: Nuno Fernandes
>            Assignee: George Paul
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: 0003-TS-83_patch1.diff.patch
>
>
> When trying to make install with DESTDIR parameter, it's not taken in account for the creating of the log dir.
> Installing with unprivileged user:
> /usr/bin/make install DESTDIR=/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686
> I get the following error:
> ............
> libtool: install: /usr/bin/install -c sac /home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin/sac
> libtool: install: /usr/bin/install -c cust_log_fmt_cnvrt /home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin/cust_log_fmt_cnvrt
> test -z "/usr/bin" || /bin/mkdir -p "/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin"
>  /usr/bin/install -c example_alarm_bin.sh example_prep.sh '/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin'
> /usr/bin/install -c -d -o nobody -g nobody /var/trafficserver /var/log/trafficserver
> /usr/bin/install: cannot change owner and permissions of `/var/trafficserver': No such file or directory
> /usr/bin/install: cannot change owner and permissions of `/var/log/trafficserver': No such file or directory
> make[3]: *** [install-exec-local] Error 1
> make[3]: Leaving directory `/home/npf/work/TrafficServer/BUILD/trafficserver-889823/proxy'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory `/home/npf/work/TrafficServer/BUILD/trafficserver-889823/proxy'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/npf/work/TrafficServer/BUILD/trafficserver-889823/proxy'
> make: *** [install-recursive] Error 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TS-83) DESTDIR not taken in account in make install

Posted by "George Paul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Paul updated TS-83:
--------------------------

    Attachment: 0003-TS-83_patch1.diff.patch

This patch '0003-TS-83_patch1.diff.patch' requires patches for TS-15 and TS-20 to be applied first.

patch -p1 -i 0003-TS-83_patch1.diff.patch

This fixes installing using  the DESTDIR directive only. 

Please review and let me know if there are any issues.

cheers,

-George

> DESTDIR not taken in account in make install
> --------------------------------------------
>
>                 Key: TS-83
>                 URL: https://issues.apache.org/jira/browse/TS-83
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: Mandriva Linux 2010 (x86), Centos 5.0 (x86 and x86_64)
>            Reporter: Nuno Fernandes
>            Priority: Minor
>         Attachments: 0003-TS-83_patch1.diff.patch
>
>
> When trying to make install with DESTDIR parameter, it's not taken in account for the creating of the log dir.
> Installing with unprivileged user:
> /usr/bin/make install DESTDIR=/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686
> I get the following error:
> ............
> libtool: install: /usr/bin/install -c sac /home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin/sac
> libtool: install: /usr/bin/install -c cust_log_fmt_cnvrt /home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin/cust_log_fmt_cnvrt
> test -z "/usr/bin" || /bin/mkdir -p "/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin"
>  /usr/bin/install -c example_alarm_bin.sh example_prep.sh '/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin'
> /usr/bin/install -c -d -o nobody -g nobody /var/trafficserver /var/log/trafficserver
> /usr/bin/install: cannot change owner and permissions of `/var/trafficserver': No such file or directory
> /usr/bin/install: cannot change owner and permissions of `/var/log/trafficserver': No such file or directory
> make[3]: *** [install-exec-local] Error 1
> make[3]: Leaving directory `/home/npf/work/TrafficServer/BUILD/trafficserver-889823/proxy'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory `/home/npf/work/TrafficServer/BUILD/trafficserver-889823/proxy'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/npf/work/TrafficServer/BUILD/trafficserver-889823/proxy'
> make: *** [install-recursive] Error 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TS-83) DESTDIR not taken in account in make install

Posted by "Nuno Fernandes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nuno Fernandes resolved TS-83.
------------------------------

    Resolution: Fixed

I can confirm that the issue is resolved using those patches.

Best regards,
Nuno Fernandes

> DESTDIR not taken in account in make install
> --------------------------------------------
>
>                 Key: TS-83
>                 URL: https://issues.apache.org/jira/browse/TS-83
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: Mandriva Linux 2010 (x86), Centos 5.0 (x86 and x86_64)
>            Reporter: Nuno Fernandes
>            Priority: Minor
>         Attachments: 0003-TS-83_patch1.diff.patch
>
>
> When trying to make install with DESTDIR parameter, it's not taken in account for the creating of the log dir.
> Installing with unprivileged user:
> /usr/bin/make install DESTDIR=/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686
> I get the following error:
> ............
> libtool: install: /usr/bin/install -c sac /home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin/sac
> libtool: install: /usr/bin/install -c cust_log_fmt_cnvrt /home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin/cust_log_fmt_cnvrt
> test -z "/usr/bin" || /bin/mkdir -p "/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin"
>  /usr/bin/install -c example_alarm_bin.sh example_prep.sh '/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin'
> /usr/bin/install -c -d -o nobody -g nobody /var/trafficserver /var/log/trafficserver
> /usr/bin/install: cannot change owner and permissions of `/var/trafficserver': No such file or directory
> /usr/bin/install: cannot change owner and permissions of `/var/log/trafficserver': No such file or directory
> make[3]: *** [install-exec-local] Error 1
> make[3]: Leaving directory `/home/npf/work/TrafficServer/BUILD/trafficserver-889823/proxy'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory `/home/npf/work/TrafficServer/BUILD/trafficserver-889823/proxy'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/npf/work/TrafficServer/BUILD/trafficserver-889823/proxy'
> make: *** [install-recursive] Error 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (TS-83) DESTDIR not taken in account in make install

Posted by "George Paul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Paul reopened TS-83:
---------------------------

      Assignee: George Paul

This patch 'TS-83_patch1.diff' has been committed to traffic server 'dev' branch only.
-George

> DESTDIR not taken in account in make install
> --------------------------------------------
>
>                 Key: TS-83
>                 URL: https://issues.apache.org/jira/browse/TS-83
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: Mandriva Linux 2010 (x86), Centos 5.0 (x86 and x86_64)
>            Reporter: Nuno Fernandes
>            Assignee: George Paul
>            Priority: Minor
>         Attachments: 0003-TS-83_patch1.diff.patch
>
>
> When trying to make install with DESTDIR parameter, it's not taken in account for the creating of the log dir.
> Installing with unprivileged user:
> /usr/bin/make install DESTDIR=/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686
> I get the following error:
> ............
> libtool: install: /usr/bin/install -c sac /home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin/sac
> libtool: install: /usr/bin/install -c cust_log_fmt_cnvrt /home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin/cust_log_fmt_cnvrt
> test -z "/usr/bin" || /bin/mkdir -p "/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin"
>  /usr/bin/install -c example_alarm_bin.sh example_prep.sh '/home/npf/work/TrafficServer/BUILDROOT/trafficserver-889823-1.i686/usr/bin'
> /usr/bin/install -c -d -o nobody -g nobody /var/trafficserver /var/log/trafficserver
> /usr/bin/install: cannot change owner and permissions of `/var/trafficserver': No such file or directory
> /usr/bin/install: cannot change owner and permissions of `/var/log/trafficserver': No such file or directory
> make[3]: *** [install-exec-local] Error 1
> make[3]: Leaving directory `/home/npf/work/TrafficServer/BUILD/trafficserver-889823/proxy'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory `/home/npf/work/TrafficServer/BUILD/trafficserver-889823/proxy'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/npf/work/TrafficServer/BUILD/trafficserver-889823/proxy'
> make: *** [install-recursive] Error 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.