Bug 20271 - kdoc-2.0-3.src.rpm for rh7 doesn't produce i386.rpm on rh6.2
Summary: kdoc-2.0-3.src.rpm for rh7 doesn't produce i386.rpm on rh6.2
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: kdoc (Show other bugs)
(Show other bugs)
Version: 1.0
Hardware: i386 Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Aaron Brown
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-11-03 08:26 UTC by ted
Modified: 2007-04-18 16:29 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-11-03 08:26:07 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description ted 2000-11-03 08:26:05 UTC
Hello!

I am trying to build kdoc2, and it does not work. Using rpm --rebuild
kdoc-2.0-3.src.rpm, I got the following:

[root@lorient rh7]# rpm --rebuild kdoc-2.0-3.src.rpm 
Installing kdoc-2.0-3.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.66596
+ umask 022
+ cd /usr/src/redhat/BUILD
+ rm -rf /var/tmp/kdoc-buildroot
+ cd /usr/src/redhat/BUILD
+ rm -rf kdoc-2.0
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/kdoc-2.0.tar.bz2
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd kdoc-2.0
++ /usr/bin/id -u
+ [ 0 = 0 ]
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ [ 0 = 0 ]
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ make -f Makefile.cvs
make: Nothing to be done for `all'.
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9597
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd kdoc-2.0
+ export KDEDIR=/usr
+ KDEDIR=/usr
+ . /etc/profile.d/qt.sh
++ [ -z /usr/lib/qt-2.2.1 ]
++ export QTDIR
+ [ -x /usr/bin/getconf ]
++ getconf _NPROCESSORS_ONLN
+ CPUS=1
+ test x1 = x -o x1 = x0
+ CXXFLAGS=-O2 -m486 -fno-strength-reduce -I/usr/include/kde
+ CFLAGS=-O2 -m486 -fno-strength-reduce
+ export CFLAGS
+ CXXFLAGS=-O2 -m486 -fno-strength-reduce -I/usr/include/kde
+ export CXXFLAGS
+ FFLAGS=-O2 -m486 -fno-strength-reduce
+ export FFLAGS
+ [ -f configure.in ]
+ libtoolize --copy --force
Remember to add `AM_PROG_LIBTOOL' to `configure.in'.
You should add the contents of `/usr/share/aclocal/libtool.m4' to
`aclocal.m4'.
+ ./configure i386-redhat-linux --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/man --infodir=/usr/info
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking for perl 5 or greater... /usr/bin/perl
checking kdoc version... 2.0a40
checking for htmldir... ${prefix}/share/doc/kdoc
updating cache ./config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
+ make -j 1 CXXFLAGS=-O2 -m486 -fno-strength-reduce -DNO_DEBUG -DNDEBUG
cp ./src/kdoc kdoc.local
perl -npi -e 's%^#\!.*$%#!'/usr/bin/perl' -I'/usr/share/kdoc'%g;'
kdoc.local
perl -npi -e 's#\$Version\\\$#'"2.0a40"'#g;' kdoc.local
cp ./src/qt2kdoc qt2kdoc.local
perl -npi -e 's%^#\!.*$%#!'/usr/bin/perl' -I'/usr/share/kdoc'%g;'
qt2kdoc.local
cp ./src/makekdedoc makekdedoc.local
perl -npi -e 's%^#\!.*$%#!'/usr/bin/perl' -I'/usr/share/kdoc'%g;'
makekdedoc.local
(cd doc; make)
make[1]: Entering directory `/usr/src/redhat/BUILD/kdoc-2.0/doc'
pod2man --center "KDOC Documentation System" --release "2.0a40" \
        ./kdoc.pod > kdoc.1.local && mv kdoc.1.local kdoc.1
pod2man --center "KDOC Documentation System" --release "2.0a40" \
        ../src/makekdedoc > makekdedoc.1.local \
        && mv makekdedoc.1.local makekdedoc.1
pod2man --center "KDOC Documentation System" --release "2.0a40" \
        ../src/qt2kdoc > qt2kdoc.1.local \
        && mv qt2kdoc.1.local qt2kdoc.1
make[1]: Leaving directory `/usr/src/redhat/BUILD/kdoc-2.0/doc'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.11329
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd kdoc-2.0
+ make DESTDIR=/var/tmp/kdoc-buildroot install
(cd doc; make)
make[1]: Entering directory `/usr/src/redhat/BUILD/kdoc-2.0/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/redhat/BUILD/kdoc-2.0/doc'
/usr/bin/install -c -d /var/tmp/kdoc-buildroot/usr/bin
/usr/bin/install -c -m 755 kdoc.local
/var/tmp/kdoc-buildroot/usr/bin/kdoc
/usr/bin/install -c -m 755 qt2kdoc.local
/var/tmp/kdoc-buildroot/usr/bin/qt2kdoc
/usr/bin/install -c -m 755 makekdedoc.local
/var/tmp/kdoc-buildroot/usr/bin/makekdedoc
/usr/bin/install -c -d /var/tmp/kdoc-buildroot/usr/share/kdoc
for file in kdocUtil.pm kdocAstUtil.pm kdocParseDoc.pm kdocCxxHTML.pm
kdocLib.pm Ast.pm kdocIDLhtml.pm kdocHTMLutil.pm kdoctexi.pm
kdocCxxLaTeX.pm kdocDocHelper.pm kdocCxxDocbook.pm Iter.pm kdocParser.pm
kdocMan.pm kdocDocIter.pm ; do \
        /usr/bin/install -c -m 644 ./src/$file
/var/tmp/kdoc-buildroot/usr/share/kdoc; \
done
(cd doc; make install)
make[1]: Entering directory `/usr/src/redhat/BUILD/kdoc-2.0/doc'
/usr/bin/install -c -d /var/tmp/kdoc-buildroot/usr/man/man1
for file in kdoc.1 makekdedoc.1 qt2kdoc.1; do \
        /usr/bin/install -c -m 644 $file
/var/tmp/kdoc-buildroot/usr/man/man1;
\
done
/usr/bin/install -c -d /var/tmp/kdoc-buildroot/usr/share/doc/kdoc
/usr/bin/install -c -m 644 ./index.docbook ../README
/var/tmp/kdoc-buildroot/usr/share/doc/kdoc
for file in ./index.docbook ../README; do \
        /usr/bin/install -c -m 644 $file
/var/tmp/kdoc-buildroot/usr/share/doc/kdoc; \
done
make[1]: Leaving directory `/usr/src/redhat/BUILD/kdoc-2.0/doc'
+ cp -a /var/tmp/kdoc-buildroot/usr/doc/kdoc docs
cp: /var/tmp/kdoc-buildroot/usr/doc/kdoc: No such file or directory
Bad exit status from /var/tmp/rpm-tmp.11329 (%install)


Thanks in advance for any help.

Best regards

                Daniel Tourde

Comment 1 Bernhard Rosenkraenzer 2000-11-03 09:03:22 UTC
It isn't supposed to.
Either get 2.0-5, or replace the reference to %{_docdir} in the spec file with /usr/share/doc.


Comment 2 ted 2000-11-03 09:19:32 UTC
Where do I find, kdoc-2.0-5? On the RedHat webserver (rawhide), it is still
2.0-3

Daniel

Comment 3 Bernhard Rosenkraenzer 2000-11-03 09:46:34 UTC
It will be in rawhide the next time it's updated - it has been in our tree (which is used to build rawhide every couple of days) for about a week.

In the mean time, you can get 2.0-4 (which should be sufficient) from ftp://ftp.linux-easy.com/pub/kde (along with other KDE 2.0 updates).

I'll update linux-easy.com later today or tomorrow with improved RH7 KDE 2.0 packages (including kdoc-2.0-5).

Comment 4 ted 2000-11-03 10:10:44 UTC
Ok, thanks.

Bye the way. How do I get rid of KDE1 on my RH6.2 box? If I try to remove the
packages with rpm -e it complains about other packages requiring KDE1. If I try
to upgrade the packages that I can build (they are rather linked to each others,
I cannot upgrade everything at once), it complains cause there are some
conflicts (missing libraries, things that have moved from one package to an
other...)

Thanks in advance for any answer.

Best regards

Daniel


Note You need to log in before you can comment on or make changes to this bug.