Bug 1035637

Summary: multitail-6.0 is available
Product: [Fedora] Fedora Reporter: Upstream Release Monitoring <upstream-release-monitoring>
Component: multitailAssignee: Kashyap Chamarthy <kchamart>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fdinitto, kchamart, puiterwijk, rosset.filipe, susi.lehtola
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: multitail-6.0-1.fc21 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-03 02:18:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Modified SPEC to adjust reflect pkgdocdir
none
Makefile patch to remove versioned doc dir
none
Correct Makefile patch -- remove duplicate work in Makefile, as RPM already does the 'cp' of files when %doc is used.
none
Correct SPEC file with Unversioned doc dir adjustments none

Description Upstream Release Monitoring 2013-11-28 08:56:38 UTC
Latest upstream release: 6.0
Current version/release in Fedora Rawhide: 5.2.12-1.fc19
URL: http://www.vanheusden.com/multitail/download.php

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 1 Kashyap Chamarthy 2013-12-15 20:16:07 UTC
Created attachment 837025 [details]
Modified SPEC to adjust reflect pkgdocdir

Here's the referenced change: http://fedoraproject.org/wiki/Changes/UnversionedDocdirs

Comment 2 Kashyap Chamarthy 2013-12-15 20:20:48 UTC
After uploading the tarball to the lookaside cache

  $ fedpkg upload ~/rpmbuild/SOURCES/multitail-6.0.tgz


And, modifying the SPEC file (as per the attachment), and running a mock build results in this:
=======
  $ fedpkg mockbuild
##############################################################################
### file 2 of 2: build.log
##############################################################################
Mock Version: 1.1.33
ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/multitail.spec'], False, '/var/lib/mock/fedora-rawhide-x86_64/root/', None, 0, True, False, 501, 103, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'}, logger=<mockbuild.trace_decorator.getLog object at 0x2a7d110>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/multitail.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'}
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/multitail-6.0-1.fc21.src.rpm
Child return code was: 0
LEAVE do --> 

ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/multitail.spec'], False, '/var/lib/mock/fedora-rawhide-x86_64/root/', None, 0, True, False, 501, 103, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'}, logger=<mockbuild.trace_decorator.getLog object at 0x2a7d110>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/multitail.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'}
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qKfv4g
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf multitail-6.0
+ /usr/bin/gzip -dc /builddir/build/SOURCES/multitail-6.0.tgz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd multitail-6.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Moc9cC
+ umask 022
+ cd /builddir/build/BUILD
+ cd multitail-6.0
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic'
+ make -j4
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o utils.o utils.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o mt.o mt.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o error.o error.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o my_pty.o my_pty.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o term.o term.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o scrollback.o scrollback.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o help.o help.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o mem.o mem.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o cv.o cv.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o selbox.o selbox.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o stripstring.o stripstring.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o color.o color.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o misc.o misc.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o ui.o ui.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o exec.o exec.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o diff.o diff.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o config.o config.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o cmdline.o cmdline.c
mt.c: In function 'do_color_print':
mt.c:698:4: warning: implicit declaration of function 'waddnwstr' [-Wimplicit-function-declaration]
    waddnwstr(win -> win, &wcur, 1);
    ^
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o globals.o globals.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -funsigned-char -D`uname` -O2 -Wall -DVERSION=\"6.0\" -g -D_FORTIFY_SOURCE=2  -DCONFIG_FILE=\"//etc/multitail.conf\" -DUTF8_SUPPORT   -c -o history.o history.c
gcc -Wall -W utils.o mt.o error.o my_pty.o term.o scrollback.o help.o mem.o cv.o selbox.o stripstring.o color.o misc.o ui.o exec.o diff.o config.o cmdline.o globals.o history.o -lpanelw -lncursesw -lutil -lm -g -D_FORTIFY_SOURCE=2  -rdynamic -o multitail
+ for f in Changes readme.txt
+ iconv -f ISO88592 -t UTF8
+ touch -r Changes Changes.utf8
+ mv Changes.utf8 Changes
+ for f in Changes readme.txt
+ iconv -f ISO88592 -t UTF8
+ touch -r readme.txt readme.txt.utf8
+ mv readme.txt.utf8 readme.txt
+ chmod 644 colors-example.pl colors-example.sh
+ chmod 644 convert-geoip.pl convert-simple.pl
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oemVM2
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64
++ dirname /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64
+ cd multitail-6.0
+ rm -rf /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64
+ mkdir -p /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64//usr/share/doc/multitail
+ install -d -m0755 /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/bin /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/man/man1/ /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/etc /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail
+ make DESTDIR=/builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64 DOCDIR=/builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail install
cp multitail /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/bin
cp multitail.1 /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/man/man1/multitail.1
mkdir -p /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail-6.0
cp *.txt INSTALL manual*.html /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail-6.0
#
### COPIED multitail.conf.new, YOU NEED TO REPLACE THE multitail.conf
### YOURSELF WITH THE NEW FILE
#
cp multitail.conf /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/etc/multitail.conf.new
mkdir -p /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/etc/multitail/
cp convert-* colors-* /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/etc/multitail/
rm -f /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/man/man1/multitail.1.gz
gzip -9 /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/man/man1/multitail.1
#
# There's a mailinglist!
# Send an e-mail to minimalist with in the subject
# 'subscribe multitail' to subscribe.
#
# you might want to run 'make thanks' now :-)
# http://www.vanheusden.com/wishlist.php
#
# How do YOU use multitail? Please send me an e-mail so that I can
# update the examples page.
+ mv /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/etc/multitail.conf.new /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/etc/multitail.conf
+ rm /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/etc/multitail/colors-example.pl /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/etc/multitail/colors-example.sh
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/multitail-6.0
extracting debug info from /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/bin/multitail
dwz: Too few files for multifile optimization
/usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
838 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: multitail-6.0-1.fc21.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Ycg37t
+ umask 022
+ cd /builddir/build/BUILD
+ cd multitail-6.0
+ DOCDIR=/builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail
+ cp -pr manual-nl.html manual.html /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail
+ cp -pr Changes /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail
+ cp -pr license.txt /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail
+ cp -pr readme.txt /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail
+ cp -pr colors-example.pl colors-example.sh /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail
+ exit 0
Provides: config(multitail) = 6.0-1.fc21 multitail = 6.0-1.fc21 multitail(x86-64) = 6.0-1.fc21
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libncursesw.so.5()(64bit) libpanelw.so.5()(64bit) libtinfo.so.5()(64bit) libutil.so.1()(64bit) libutil.so.1(GLIBC_2.2.5)(64bit) rtld(GNU_HASH)
Processing files: multitail-debuginfo-6.0-1.fc21.x86_64
Provides: multitail-debuginfo = 6.0-1.fc21 multitail-debuginfo(x86-64) = 6.0-1.fc21
Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64
error: Installed (but unpackaged) file(s) found:
   /usr/share/doc/multitail-6.0/INSTALL
   /usr/share/doc/multitail-6.0/license.txt
   /usr/share/doc/multitail-6.0/manual-nl.html
   /usr/share/doc/multitail-6.0/manual.html
   /usr/share/doc/multitail-6.0/readme.txt
   /usr/share/doc/multitail-6.0/thanks.txt
    Installed (but unpackaged) file(s) found:
   /usr/share/doc/multitail-6.0/INSTALL
   /usr/share/doc/multitail-6.0/license.txt
   /usr/share/doc/multitail-6.0/manual-nl.html
   /usr/share/doc/multitail-6.0/manual.html
   /usr/share/doc/multitail-6.0/readme.txt
   /usr/share/doc/multitail-6.0/thanks.txt
RPM build errors:
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/multitail.spec']
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 70, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 361, in do
    raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/multitail.spec']
LEAVE do --> EXCEPTION RAISED
=======

Comment 3 Kashyap Chamarthy 2013-12-15 20:24:25 UTC
From Makefile:

  $ grep doc Makefile 
  	mkdir -p $(DESTDIR)/usr/share/doc/multitail-$(VERSION)
	cp *.txt INSTALL manual*.html $(DESTDIR)/usr/share/doc/multitail-$(VERSION)
	rm -rf $(DESTDIR)/usr/share/doc/multitail-$(VERSION)

Comment 4 Patrick Uiterwijk 2013-12-15 20:28:31 UTC
You should patch the Makefile and replace "/usr/share/doc/multitail-$(VERSION)" with %(DOCDIR).

Comment 5 Kashyap Chamarthy 2013-12-15 22:09:29 UTC
Created attachment 837061 [details]
Makefile patch to remove versioned doc dir

=====
$ less results_multitail/6.0/1.fc21/build.log
.
.
.
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (Unversioned-doc-dir.patch):'
Patch #0 (Unversioned-doc-dir.patch):
+ /usr/bin/cat /builddir/build/SOURCES/Unversioned-doc-dir.patch
+ /usr/bin/patch -p0 --fuzz=0
patching file Makefile
+ exit 0
.
.
.
RPM build errors:
error: Installed (but unpackaged) file(s) found:
   /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail/INSTALL
   /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail/license.txt
   /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail/manual-nl.html
   /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail/manual.html
   /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail/readme.txt
   /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail/thanks.txt
    Installed (but unpackaged) file(s) found:
   /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail/INSTALL
   /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail/license.txt
   /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail/manual-nl.html
   /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail/manual.html
   /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail/readme.txt
   /builddir/build/BUILDROOT/multitail-6.0-1.fc21.x86_64/usr/share/doc/multitail/thanks.txt
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/multitail.spec']
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 70, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 361, in do
    raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/multitail.spec']
LEAVE do --> EXCEPTION RAISED
=====

(1) Complete build.log -- http://kashyapc.fedorapeople.org/temp/build.log

(2) Modified SPEC to reflect the Makefile patch -- http://kashyapc.fedorapeople.org/temp/multitail.spec


Maybe Multitail upstream should start using autotools. . .

Comment 6 Kashyap Chamarthy 2013-12-16 08:17:59 UTC
Susi, do you have any hints here?

Comment 7 Kashyap Chamarthy 2013-12-16 09:26:40 UTC
Created attachment 837161 [details]
Correct Makefile patch -- remove duplicate work in Makefile, as RPM already does the 'cp' of files when %doc is used.

Thanks to pnemade for spotting this.

Comment 8 Kashyap Chamarthy 2013-12-16 09:29:10 UTC
Created attachment 837162 [details]
Correct SPEC file with Unversioned doc dir adjustments

Comment 9 Kashyap Chamarthy 2013-12-16 10:06:04 UTC
Successful scratch build:

kashyap@master$ koji build --scratch f21 multitail-6.0-1.fc21.src.rpm
Uploading srpm: multitail-6.0-1.fc21.src.rpm
[====================================] 100% 00:00:01 169.23 KiB  85.10 KiB/sec
Created task: 6298963
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=6298963
Watching tasks (this may be safely interrupted)...
6298963 build (f21, multitail-6.0-1.fc21.src.rpm): open (buildvm-03.phx2.fedoraproject.org)
  6298966 buildArch (multitail-6.0-1.fc21.src.rpm, armv7hl): open (arm02-builder03.arm.fedoraproject.org)
  6298969 buildArch (multitail-6.0-1.fc21.src.rpm, i686): open (buildvm-01.phx2.fedoraproject.org)
  6298968 buildArch (multitail-6.0-1.fc21.src.rpm, x86_64): open (buildvm-12.phx2.fedoraproject.org)
  6298968 buildArch (multitail-6.0-1.fc21.src.rpm, x86_64): open (buildvm-12.phx2.fedoraproject.org) -> closed
  0 free  3 open  1 done  0 failed
  6298969 buildArch (multitail-6.0-1.fc21.src.rpm, i686): open (buildvm-01.phx2.fedoraproject.org) -> closed
  0 free  2 open  2 done  0 failed
  6298966 buildArch (multitail-6.0-1.fc21.src.rpm, armv7hl): open (arm02-builder03.arm.fedoraproject.org) -> closed
  0 free  1 open  3 done  0 failed
6298963 build (f21, multitail-6.0-1.fc21.src.rpm): open (buildvm-03.phx2.fedoraproject.org) -> closed
  0 free  0 open  4 done  0 failed

6298963 build (f21, multitail-6.0-1.fc21.src.rpm) completed successfully

Comment 10 Kashyap Chamarthy 2013-12-16 12:04:47 UTC
(Erroneously flipped to NEW.)

Fixed in rawhide - multitail-6.0-1.fc21

http://koji.fedoraproject.org/koji/taskinfo?taskID=6299246

Comment 11 Patrick Uiterwijk 2014-01-17 14:36:19 UTC
Just wondering: doesn't this actually close this bug as NEWRELEASE?

Comment 12 Susi Lehtola 2014-01-17 15:02:49 UTC
This bug should have been mentioned in the update shipped to F20, which would have also closed this bug.