On Sep 16, 2010, at 6:15 PM, Eric MSP Veith wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Thursday 16 September 2010, Jeff Johnson <n3...@mac.com> wrote: >> If the symbols are NOT in the library, then rpmio/rpmrepo.c is being >> mis-built, likely because of #ifdef's somehow. > > The symbols don't show up. I guess I'll move it out of the build process for > now, because I crave to test my Ruby stuff to finally commit it... :-) > > Btw, it's just ./configure --with-ruby I run here, which means that the > default (implicit) --with-dbsql=none doesn't work. --with-dbsql=internal > works, however. >
That's the problem then. You are assuming that there are sane defaults and that isn't the case with Have it your own way! Its quite possible to build an utterly useless RPM. See the %system stanza in devtool.conf. Backout everything you don't want (I live at maximum features enabled for development reasons). Add a stanza for your specific configuration and check that in. >> Well, don't build rpmrepo if broken. Edit tools/Makefile.am, do same >> thing yo did with "dbsql" for "rpmrepo". That should cause rpmrepo not >> to be built. > > The CVS stuff itself is broken, not the sources in the Repo. That's what I > wanted to say. (I guess I'm to dumb for CVS. No wonder I'm able to use > git... Nomen est omen. ;-)) Anyways, my little Makefile.am patch didn't > remove rpmrepo from the entire build process, it's still there when enable > during configure. I only "fixed" the case where rpmrepo is not wanted, but > nevertheless shows up in pkgbin_PROGRAMS (because it was hardcoded), while > rpmrepo_SOURCES was missing (because of the if clause further down). > The AutoFU is broken (in the sense as permitting an overwhelming amount of choice). I build from CVS usually multiple times a day, and usually run "make check" before every check-in. There is no sense that I can interpret as The CVS stuff is broken ... except "Not working for you." Ah, here's the patch that likely (unchecked) would have stopped building rpmrepo: Index: Makefile.am =================================================================== RCS file: /v/rpm/cvs/rpm/tools/Makefile.am,v retrieving revision 2.166 diff -p -u -w -r2.166 Makefile.am --- Makefile.am 28 Aug 2010 20:39:19 -0000 2.166 +++ Makefile.am 16 Sep 2010 22:43:56 -0000 @@ -28,7 +28,7 @@ EXTRA_PROGRAMS = augtool cudftool debuge nix-env nix-hash nix-install-package nix-instantiate \ nix-log2xml nix-prefetch-url nix-pull nix-push nix-store nix-worker \ xiu-echo xiu-hash xiu-instantiate xiu-store \ - rpmkey sandbox semodule spooktool + rpmkey rpmrepo sandbox semodule spooktool RPMMISC_LDADD_COMMON = \ $(top_builddir)/misc/librpmmisc.la \ @@ -56,7 +56,7 @@ pkgbindir = @USRLIBRPM@/bin pkgbin_PROGRAMS = \ @WITH_AUGEAS_AUGTOOL@ chroot cp @WITH_CUDF_CUDFTOOL@ dbsql find mtree \ @WITH_SEMANAGE_SEMODULE@ sqlite3 wget \ - rpmcache rpmdigest rpmrepo rpmspecdump \ + rpmcache rpmdigest rpmspecdump \ rpmcmp rpmdeps sqlite3 @WITH_KEYUTILS_RPMKEY@ @WITH_LIBELF_DEBUGEDIT@ dist_man_MANS = rpmgrep.1 hth 73 de Jeff ______________________________________________________________________ RPM Package Manager http://rpm5.org Developer Communication List rpm-devel@rpm5.org