You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/08/16 04:41:20 UTC

[jira] [Work logged] (TS-4716) 6.2.0: build is putting files into wrong directory? /usr/man/man3 instead of /usr/share/man/man3

     [ https://issues.apache.org/jira/browse/TS-4716?focusedWorklogId=26496&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-26496 ]

ASF GitHub Bot logged work on TS-4716:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Aug/16 04:41
            Start Date: 16/Aug/16 04:41
    Worklog Time Spent: 10m 
      Work Description: GitHub user jpeach opened a pull request:

    https://github.com/apache/trafficserver/pull/869

    TS-4716: Install manpages in $PREFIX/share/man.

    Update various layouts to default to installing manpages into
    $PREFIX/share/man. Some layouts already did this, but it is probably
    worth making it the default for people who just configure with
    --prefix=/PATH.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jpeach/trafficserver fix/4716

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/869.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #869
    
----
commit 681c1393737555fafa3728e04a559201856c1490
Author: James Peach <jp...@apache.org>
Date:   2016-08-16T04:38:28Z

    TS-4716: Install manpages in $PREFIX/share/man.
    
    Update various layouts to default to installing manpages into
    $PREFIX/share/man. Some layouts already did this, but it is probably
    worth making it the default for people who just configure with
    --prefix=/PATH.

----


Issue Time Tracking
-------------------

            Worklog Id:     (was: 26496)
            Time Spent: 10m
    Remaining Estimate: 0h

> 6.2.0: build is putting files into wrong directory? /usr/man/man3 instead of /usr/share/man/man3
> ------------------------------------------------------------------------------------------------
>
>                 Key: TS-4716
>                 URL: https://issues.apache.org/jira/browse/TS-4716
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>            Reporter: Kyle O'Malley
>            Assignee: James Peach
>             Fix For: 7.0.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> PROBLEM:
> Unable to build rpm with 6.2.0 release due to files being dropped in wrong location? 
> RPM build errors:
>     File not found by glob: /vagrant/rpmbuild/BUILDROOT/trafficserver-6.2.0-1.x86_64/usr/share/man/man3/*
>     File not found: /vagrant/rpmbuild/BUILDROOT/trafficserver-6.2.0-1.x86_64/usr/share/perl5/Apache/TS.pm.in
>     File not found: /vagrant/rpmbuild/BUILDROOT/trafficserver-6.2.0-1.x86_64/usr/share/perl5/Apache/TS.pm
>     File not found by glob: /vagrant/rpmbuild/BUILDROOT/trafficserver-6.2.0-1.x86_64/usr/share/perl5/Apache/TS/*
>     Bad exit status from /var/tmp/rpm-tmp.tPLFGl (%doc)
> These files are not ending up in /usr/share/man/man3, but rather /usr/man/man3/
> Doesn't matter what I manually configure prefix or change build config to
> ====
> ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-layout=Debian --libdir=/usr/lib64/trafficserver --libexecdir=/usr/lib64/trafficserver/plugins --sysconfdir=/etc/trafficserver --with-tcl=/usr/lib64 --disable-luajit --with-user=ats --with-group=ats --enable-linux-native-aio --enable-experimental-plugins --disable-silent-rules
> h.reindl@thelounge.net mentioned this on 2016-27-07 on the user group, so this could be a duplicate bug report
> == build system
> oel6.5 / linux 
> make-3.81-23.el6.x86_64
> ==
> something strange here (maybe) with INSTALL_DIRS missing?
> make -f Makefile-pl INSTALLDIRS= PREFIX=/usr DESTDIR=/vagrant/rpmbuild/BUILDROOT/trafficserver-6.2.0-1.x86_64 install
> make[4]: Entering directory `/vagrant/rpmbuild/BUILD/trafficserver-6.2.0/lib/perl'
> Installing /vagrant/rpmbuild/BUILDROOT/trafficserver-6.2.0-1.x86_64/usr/lib/perl5/Apache/TS.pm
> Installing /vagrant/rpmbuild/BUILDROOT/trafficserver-6.2.0-1.x86_64/usr/lib/perl5/Apache/TS.pm.in
> Installing /vagrant/rpmbuild/BUILDROOT/trafficserver-6.2.0-1.x86_64/usr/lib/perl5/Apache/TS/AdminClient.pm
> Installing /vagrant/rpmbuild/BUILDROOT/trafficserver-6.2.0-1.x86_64/usr/lib/perl5/Apache/TS/Config.pm
> Installing /vagrant/rpmbuild/BUILDROOT/trafficserver-6.2.0-1.x86_64/usr/lib/perl5/Apache/TS/Config/Records.pm
> Installing /vagrant/rpmbuild/BUILDROOT/trafficserver-6.2.0-1.x86_64/usr/man/man3/Apache::TS.3pm
> Installing /vagrant/rpmbuild/BUILDROOT/trafficserver-6.2.0-1.x86_64/usr/man/man3/Apache::TS::AdminClient.3pm
> Installing /vagrant/rpmbuild/BUILDROOT/trafficserver-6.2.0-1.x86_64/usr/man/man3/Apache::TS::Config::Records.3pm
> INSTALLDIRS not defined, defaulting to INSTALLDIRS=site



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)