On Mon, 23 Mar 2009, Barry Jackson wrote: Hi,
> Thanks Viktor - however I can't build latest SVN with mpkg_rpm.sh. > I tried a clean build with no RPM folder and the script failed - I had to > make the RPM tree manually before it would run.(I expected it to make a new > one automatically) It makes it if you do not have local ${HOME}/.rpmmacros file. Otherwise it tries to use existing configuration and RPM build tree set by user. I can only guess that you have some old .rpmmacros and you manually removed the RPM build tree. But it's not Harbour job to fix user RPM build settings. Of course it's also possible that it fails for some other reasons with mandriva. In such case I would like to ask you about details. But 1-st try to use it with from non root account without any local ~/.rpmmacros > Now it fails in the find-provides at the end :- > Warning: unused libraries in /usr/lib/harbour/libharbour-1.1.0.so: > librt.so.1 > Warning: unused libraries in /usr/bin/hbrun: libharbour.so > libncurses.so.5 libslang.so.2 libX11.so.6 libm.so.6 librt.so.1 libdl.so.2 > Warning: unused libraries in /usr/bin/hbi18n: libharbour.so > libncurses.so.5 libslang.so.2 libX11.so.6 libm.so.6 librt.so.1 libdl.so.2 > Warning: unused libraries in /usr/bin/hbpp: librt.so.1 libdl.so.2 > Warning: unused libraries in /usr/bin/harbour: librt.so.1 libdl.so.2 > Warning: unused libraries in /usr/bin/hbmk2: libharbour.so > libncurses.so.5 libslang.so.2 libX11.so.6 libm.so.6 librt.so.1 libdl.so.2 Now harbour shared library has all external library bindings so we can remove explicit bindings. I'll do that. Anyhow the above warning messages can be ignored. > /tmp/harbour-1.1.0-root/usr/share/doc/harbour > + cp -pr doc/README.RPM /tmp/harbour-1.1.0-root/usr/share/doc/harbour > + cp -pr doc/en/ /tmp/harbour-1.1.0-root/usr/share/doc/harbour > + cp -pr doc/es/ /tmp/harbour-1.1.0-root/usr/share/doc/harbour > cp: cannot stat `doc/es/': No such file or directory this directory had been removed from SVN but RPM and DEB spec have not been updated yet. I'll make it. New build scripts creates doc directory but do not create en and es subdirectories. It should be fixed too and probably scripts created to build packages updated for modified make_gnu.* > Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 > rpmlib(CompressedFileNames) <= 3.0.4-1 > Processing files: harbour-debug-1.1.0-devmdv20090 > Checking for unpackaged file(s): /usr/lib/rpm/check-files > /tmp/harbour-1.1.0-root > RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.44761 (%doc) I'll commit fix in few minutes, please tests. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour