Kyle O'Malley created TS-4716:
---------------------------------

             Summary: 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


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.rei...@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)

Reply via email to