Re: [Cooker] can't build scrollkeeper .src.rpm

2002-04-29 Thread Todd Lyons

Bryan B Whitehead wrote on Fri, Apr 26, 2002 at 09:12:10PM -0700 :
 I still don't understand what exactly is broken... scrollkeeper? If so
 is it the *old* scrollkeeper that's already installed? Or is it the new
 scrollkeeper? If it's the new scrollkepper shouldn't the build be self
 contained enough to not be concerned with what errors are in my
 /var/log/scrollkeeper.log ?

It should not attempt to write to /var/log/scrollkeeper.log during the
build process.  Period.  I don't know if it's the old scrollkeeper
that's complaining (again, why would you use the old scrollkeeper during
a build process) or the new one (it's being invoked wrong or not
accounting for build path differences from a regular source compile).

Blue skies...   Todd
-- 
  Todd Lyons -- MandrakeSoft, Inc.   http://www.mandrakesoft.com/
UNIX was not designed to stop you from doing stupid things, because 
  that would also stop you from doing clever things. -- Doug Gwyn
   Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-13mdk



msg63467/pgp0.pgp
Description: PGP signature


Re: [Cooker] can't build scrollkeeper .src.rpm

2002-04-26 Thread R.I.P. Deaddog

On Fri, 26 Apr 2002, Stefan van der Eijk wrote:

 Any idea's?
 
 Build fine here..
 
 Try look better at errors during compilation (errors you posted are not
 causing any problem..
 
 Doesn't build on my system either.
 
http://eijk.homelinux.org/build/cooker/i586/problem/scrollkeeper-0.3.7-1mdk.src.rpm.txt
 Probably some BuildRequires missing...

Hi Stefan,

This problem is very likely not BR related.

%doc error is non-fatal; but the excerpt below is suspicious.
It seems to indicate a failure to search for scrollkeeper-*
executables in $PATH, hence unable to rebuild scrollkeeper
database.

However, it's worthy to note that, Bryan's problem sounds to
be different from yours -- scrollkeeper-rebuilddb runs fine,
and the reason of error is unknown. I have encountered such
a failure myself (and mysterically second build succeeds).

Anyway, we may wait for fcrozat to build 0.3.8. This is an
important release, since all Gnome 2 OMF files are heading
for scrollkeeper 0.3.8 compliance :)

Abel


# Build/rebuild the catalog
rm -rf /home/cooker/tmp/scrollkeeper-0.3.7-1mdk-buildroot/var/lib/scrollkeeper
/bin/sh ./mkinstalldirs 
/home/cooker/tmp/scrollkeeper-0.3.7-1mdk-buildroot/var/lib/scrollkeeper
mkdir /home/cooker/tmp/scrollkeeper-0.3.7-1mdk-buildroot/var
mkdir /home/cooker/tmp/scrollkeeper-0.3.7-1mdk-buildroot/var/lib
mkdir /home/cooker/tmp/scrollkeeper-0.3.7-1mdk-buildroot/var/lib/scrollkeeper
/bin/sh ./mkinstalldirs /home/cooker/tmp/scrollkeeper-0.3.7-1mdk-buildroot/var/log
mkdir /home/cooker/tmp/scrollkeeper-0.3.7-1mdk-buildroot/var/log
echo `date +\%b %d %X\` Installing ScrollKeeper `scrollkeeper-config --version`... 
 /home/cooker/tmp/scrollkeeper-0.3.7-1mdk-buildroot/var/log/scrollkeeper.log
/bin/sh: scrollkeeper-config: command not found
/home/cooker/tmp/scrollkeeper-0.3.7-1mdk-buildroot/usr/bin/scrollkeeper-rebuilddb -q 
-p /home/cooker/tmp/scrollkeeper-0.3.7-1mdk-buildroot/var/lib/scrollkeeper
/home/cooker/tmp/scrollkeeper-0.3.7-1mdk-buildroot/usr/bin/scrollkeeper-rebuilddb: 
scrollkeeper-config: command not found
/home/cooker/tmp/scrollkeeper-0.3.7-1mdk-buildroot/usr/bin/scrollkeeper-rebuilddb: 
/var/log/scrollkeeper.log: Permission denied
/home/cooker/tmp/scrollkeeper-0.3.7-1mdk-buildroot/usr/bin/scrollkeeper-rebuilddb: 
scrollkeeper-update: command not found
/home/cooker/tmp/scrollkeeper-0.3.7-1mdk-buildroot/usr/bin/scrollkeeper-rebuilddb: 
/var/log/scrollkeeper.log: Permission denied
make[3]: Leaving directory `/home/cooker/RPM/BUILD/scrollkeeper-0.3.7'
[...]

RPM build errors:
File not found: 
/home/cooker/tmp/scrollkeeper-0.3.7-1mdk-buildroot/var/lib/scrollkeeper
Bad exit status from /home/cooker/tmp/rpm-tmp.59095 (%doc)

=


-- 
Abel Cheung
GPG Key: (0xC67186FF) http://deaddog.org/gpg.asc






Re: [Cooker] can't build scrollkeeper .src.rpm

2002-04-26 Thread Todd Lyons

R.I.P. Deaddog wrote on Sat, Apr 27, 2002 at 02:24:02AM +0800 :
 On Fri, 26 Apr 2002, Stefan van der Eijk wrote:
 
  Any idea's?
  
  Build fine here..
  
  Try look better at errors during compilation (errors you posted are not
  causing any problem..
  
  Doesn't build on my system either.
  
http://eijk.homelinux.org/build/cooker/i586/problem/scrollkeeper-0.3.7-1mdk.src.rpm.txt
  Probably some BuildRequires missing...
 
 Hi Stefan,
 
 This problem is very likely not BR related.
 
 %doc error is non-fatal; but the excerpt below is suspicious.
 It seems to indicate a failure to search for scrollkeeper-*
 executables in $PATH, hence unable to rebuild scrollkeeper
 database.

The attempted access to /var/log/scrollkeeper.log results in permission
denied errors when building as a regular user.  I decided to see what
bad magic occurred building as root, and the contents of
/var/log/scrollkeeper.log was:
error while parsing /usr/share/gnome/help/evolution/no/index.html
error while parsing /usr/share/gnome/help/glade/it/faq/faq.sgml
error while parsing /usr/share/gnome/help/glade/it/turbo-start/turbo-start.sgml
error while parsing /usr/share/gnome/help/glade/it/user-guide/user-guide.sgml
error while parsing /usr/share/gnome/help/gcalc/eu/gcalc.sgml
error while parsing /usr/share/gnome/help/gcharmap/eu/gcharmap.sgml

and so on.  So the reason that the doc package is failing to build is
*.sgml is not found.  It's not found because this series of errors is
not putting the files in the correct place (guess, I haven't looked at
it).  Fix the parse error and you fix the rpm build.

Blue skies...   Todd
-- 
  Todd Lyons -- MandrakeSoft, Inc.   http://www.mandrakesoft.com/
UNIX was not designed to stop you from doing stupid things, because 
  that would also stop you from doing clever things. -- Doug Gwyn
   Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-12mdk



msg63296/pgp0.pgp
Description: PGP signature


Re: [Cooker] can't build scrollkeeper .src.rpm

2002-04-26 Thread Bryan B Whitehead

I still don't understand what exactly is broken... scrollkeeper? If so
is it the *old* scrollkeeper that's already installed? Or is it the new
scrollkeeper? If it's the new scrollkepper shouldn't the build be self
contained enough to not be concerned with what errors are in my
/var/log/scrollkeeper.log ?

For the record I have a ton of errors when i run scrollkeeper-rebuilddb
in /var/log/scrollkeeper.log. I figure it's from scrollkeeper being
outdated, but I can't rebuild a new scrollkeeper!

On Fri, 2002-04-26 at 20:40, Todd Lyons wrote:
 R.I.P. Deaddog wrote on Sat, Apr 27, 2002 at 02:24:02AM +0800 :
  On Fri, 26 Apr 2002, Stefan van der Eijk wrote:
  
   Any idea's?
   
   Build fine here..
   
   Try look better at errors during compilation (errors you posted are not
   causing any problem..
   
   Doesn't build on my system either.
   
http://eijk.homelinux.org/build/cooker/i586/problem/scrollkeeper-0.3.7-1mdk.src.rpm.txt
   Probably some BuildRequires missing...
  
  Hi Stefan,
  
  This problem is very likely not BR related.
  
  %doc error is non-fatal; but the excerpt below is suspicious.
  It seems to indicate a failure to search for scrollkeeper-*
  executables in $PATH, hence unable to rebuild scrollkeeper
  database.
 
 The attempted access to /var/log/scrollkeeper.log results in permission
 denied errors when building as a regular user.  I decided to see what
 bad magic occurred building as root, and the contents of
 /var/log/scrollkeeper.log was:
 error while parsing /usr/share/gnome/help/evolution/no/index.html
 error while parsing /usr/share/gnome/help/glade/it/faq/faq.sgml
 error while parsing /usr/share/gnome/help/glade/it/turbo-start/turbo-start.sgml
 error while parsing /usr/share/gnome/help/glade/it/user-guide/user-guide.sgml
 error while parsing /usr/share/gnome/help/gcalc/eu/gcalc.sgml
 error while parsing /usr/share/gnome/help/gcharmap/eu/gcharmap.sgml
 
 and so on.  So the reason that the doc package is failing to build is
 *.sgml is not found.  It's not found because this series of errors is
 not putting the files in the correct place (guess, I haven't looked at
 it).  Fix the parse error and you fix the rpm build.
 
 Blue skies... Todd
 -- 
   Todd Lyons -- MandrakeSoft, Inc.   http://www.mandrakesoft.com/
 UNIX was not designed to stop you from doing stupid things, because 
   that would also stop you from doing clever things. -- Doug Gwyn
Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-12mdk
-- 




Re: [Cooker] can't build scrollkeeper .src.rpm

2002-04-25 Thread Frederic Crozat

On Thu, 25 Apr 2002 04:37:30 +0200, Bryan B Whitehead wrote:

 Of all the .src.rpm's I've built from cooker scrollkeeper is one I just
 can't seem to get to work. This is where the errors start: rpm --rebuild
 ~driver/newest/scrollkeeper-0.3.7-1mdk.src.rpm
 
 later:
 creating scrollkeeper.spec
 creating config.h
 mv: cannot stat `po/POTFILES': No such file or directory
 ./config.status: po/POTFILES.tmp: No such file or directory creating
 po/POTFILES
 creating po/Makefile
 
 
 Scrollkeeper database directory: /var/lib/scrollkeeper
 
 
 + make
 cd .  automake --gnu --include-deps Makefile cd . \
CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
 creating Makefile
 cd .  autoheader
 cd . \
CONFIG_FILES= CONFIG_HEADERS=config.h \
  /bin/sh ./config.status
 creating config.h
 ./config.status: /intltool-extract.in: No such file or directory mv:
 cannot stat `intltool-extract.out': No such file or directory
 ./config.status: /intltool-merge.in: No such file or directory mv:
 cannot stat `intltool-merge.out': No such file or directory
 ./config.status: /intltool-update.in: No such file or directory mv:
 cannot stat `intltool-update.out': No such file or directory make
 all-recursive
 
 and at the end of the build process:
 RPM build errors:
 File not found:
 /var/tmp/scrollkeeper-0.3.7-1mdk-buildroot/var/lib/scrollkeeper
 Bad exit status from /var/tmp/rpm-tmp.18162 (0oc)
 
 scrolling back up the missing files are:
 
 Processing files: scrollkeeper-0.3.7-1mdk error: File not found:
 /var/tmp/scrollkeeper-0.3.7-1mdk-buildroot/var/lib/scrollkeeper
 Executing(0oc): /bin/sh -e /var/tmp/rpm-tmp.18162 + umask 022 + cd
 /usr/src/RPM/BUILD
 + cd scrollkeeper-0.3.7
 +
 DOCDIR=/var/tmp/scrollkeeper-0.3.7-1mdk-buildroot/usr/share/doc/scrollkeeper-0.3.7
 + export DOCDIR
 + rm -rf
 /var/tmp/scrollkeeper-0.3.7-1mdk-buildroot/usr/share/doc/scrollkeeper-0.3.7
 + /bin/mkdir -p
 /var/tmp/scrollkeeper-0.3.7-1mdk-buildroot/usr/share/doc/scrollkeeper-0.3.7
 + cp -pr COPYING COPYING-DOCS AUTHORS README ChangeLog NEWS INSTALL
 /var/tmp/scrollkeeper-0.3.7-1mdk-buildroot/usr/share/doc/scrollkeeper-0.3.7
 + cp -pr -P 'doc/scrollkeeper_manual/C/*.sgml'
 /var/tmp/scrollkeeper-0.3.7-1mdk-buildroot/usr/share/doc/scrollkeeper-0.3.7
 cp: cannot stat `doc/scrollkeeper_manual/C/*.sgml': No such file or
 directory
 error: Bad exit status from /var/tmp/rpm-tmp.18162 (0oc)
 
 
 Any idea's?

Build fine here..

Try look better at errors during compilation (errors you posted are not
causing any problem..

-- 
Frédéric Crozat
MandrakeSoft




Re: [Cooker] can't build scrollkeeper .src.rpm

2002-04-25 Thread Bryan B Whitehead

Ok, well here is the entire build log. I thought I had included all the
important errors in my first email. I guess not.

Please see attachment. :)

On Thu, 25 Apr 2002, Frederic Crozat wrote:

 Build fine here..
 
 Try look better at errors during compilation (errors you posted are not
 causing any problem..


The errors I originally posted were the only errors I had...

--
Bryan Whitehead
SysAdmin - JPL - Interferometry Systems and Technology
Phone: 818 354 2903
[EMAIL PROTECTED]


Installing /home/driver/newest/scrollkeeper-0.3.7-1mdk.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.56573
+ umask 022
+ cd /usr/src/RPM/BUILD
+ rm -rf /var/tmp/scrollkeeper-0.3.7-1mdk-buildroot
+ cd /usr/src/RPM/BUILD
+ rm -rf scrollkeeper-0.3.7
+ /usr/bin/bzip2 -dc /usr/src/RPM/SOURCES/scrollkeeper-0.3.7.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd scrollkeeper-0.3.7
+ echo 'Patch #0 (scrollkeeper-0.3.6-configpath.patch.bz2):'
Patch #0 (scrollkeeper-0.3.6-configpath.patch.bz2):
+ /usr/bin/bzip2 -d
+ patch -p1 -b --suffix .configpath -s
+ echo 'Patch #1 (scrollkeeper-0.3.7-rebuilddb.patch.bz2):'
Patch #1 (scrollkeeper-0.3.7-rebuilddb.patch.bz2):
+ /usr/bin/bzip2 -d
+ patch -p1 -b --suffix .rebuilddb -s
+ intltoolize --force
no need for patching file 'Makefile.in.in'
+ aclocal
+ autoconf
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2205
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd scrollkeeper-0.3.7
+ CONFIGURE_TOP=.
+ CFLAGS=-O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math 
+-fno-strength-reduce
+ export CFLAGS
+ CXXFLAGS=-O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math 
+-fno-strength-reduce
+ export CXXFLAGS
+ FFLAGS=-O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math 
+-fno-strength-reduce
+ export FFLAGS
+ '[' -f configure.in ']'
+ libtoolize --copy --force
You should update your `aclocal.m4' by running aclocal.
+ ./configure i586-mandrake-linux-gnu --prefix=/usr --exec-prefix=/usr 
+--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share 
+--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib 
+--localstatedir=/var/lib --sharedstatedir=/usr/com --mandir=/usr/share/man 
+--infodir=/usr/share/info --localstatedir=/var
creating cache ./config.cache
checking for gawk... gawk
checking for gcc... gcc
checking whether the C compiler (gcc -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro 
-march=i586 -ffast-math -fno-strength-reduce ) works... yes
checking whether the C compiler (gcc -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro 
-march=i586 -ffast-math -fno-strength-reduce ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... yes
checking for ANSI C header files... yes
checking for strerror in -lcposix... no
checking host system type... i586-mandrake-linux-gnu
checking target system type... i586-mandrake-linux-gnu
checking build system type... i586-mandrake-linux-gnu
checking whether build environment is sane... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for working const... yes
checking for inline... inline
checking for size_t... yes
checking for working alloca.h... yes
checking for