Fixed! (RPM v4.6, Fedora 10)
I have updated novi to reflect changes in the RPM v4.6 API, which is included in Fedora 10. Please download the new release from the downloads page.
This latest novi release is version 2.0.1. I bumped the major rev from 1 to 2 to reflect a significant change in the code base: this version of novi will only compile on the newer RPM 4.6 (Fedora 10).
I will keep the 1.x tree around for the older RPM API (Fedora 9 and earlier, CentOS 5 and earlier).
Fedora 10 build errors
Fedora 10 has arrived! That’s good news and bad news.
The good news is that Fedora has reached a double-digit version number.
The bad news is it that novi doesn’t compile:
./src/RPM.cc: In constructor 'RPM::RPM(const std::string&)':
./src/RPM.cc:120: error: 'rpmlogMessage' was not declared in this scope
./src/RPM.cc:141: error: 'headerGetEntry' was not declared in this scope
./src/RPM.cc:194: error: 'fdClose' was not declared in this scope
make: *** [build/obj/RPM.lo] Error 1
Specifically: novi doesn’t compile because I didn’t closely watch the F10 release schedule, install it, and test the code.
(Based on the error messages, I’d say it’s either due to a change in the GCC version or the new, revamped RPM API included in the OS.)
I’m looking into this now and hope to have a novi update in the coming days.
novi 1.1.9 release — fixes build problems under GCC 4.3 and Fedora 9
Hot off the presses, the new novi 1.1.9 is available for download.
Thanks to some eagle-eyed novi fans I have identified and resolved some #include<> problems related to the header file cleanup in GCC 4.3, which ships with Fedora 9.
If you try to build previous novi versions with GCC 4.3 the compiler will complain:
./src/RPM.cc: In member function 'void RPM::setArch(const std::string&)':
./src/RPM.cc:242: error: 'strcmp' was not declared in this scope
I also took this opportunity to remove some unused BuildRequires: entries from the spec file.
(There are no functionality changes in this version.)
Thanks to everyone who sent the GCC link and patches. I wasn’t able to use the patches but they pointed me in the right direction.
Cheers.
novi 1.1.8 release
The latest novi 1.1.8 release is available for download.
This release includes a couple of internal code adjustments, plus a handy --version commandline switch so you can determine what version of novi you’re running.
novi release 1.1.7 — Expat version fix
If you try to build novi against later revs of Expat 1.95.x, the compiler throws the following error:
./src/RepodataRPMSource.cc:81: error: ‘XML_STATUS_OK’ was not declared
The new novi 1.1.7 release addresses that bug. Compile away!