Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4716

6.2.0: build is putting files into wrong directory? /usr/man/man3 instead of /usr/share/man/man3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.0.0
    • Build
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              jamespeach James Peach
              kyleomalley Kyle O'Malley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h