Building synaptic 0.57.2 against lorg3 fails

Dag Wieers dag at wieers.com
Tue Apr 25 05:44:57 PDT 2006


On Mon, 24 Apr 2006, Panu Matilainen wrote:

> On Mon, 2006-04-24 at 19:03 +0200, Dag Wieers wrote:
> > Hi Panu,
> > 
> > I'm not sure where the latest version of the synaptic patch is for repomd 
> > support. (It seems to be gone) 
> > 
> > But I remember having to adapt the patch to make it work for synaptic 
> > 0.57.2, so I bet it needs changes to work with lorg3.
> 
> There are a couple of issues with it:
> 1) lorg3 (somewhere in the pre/rc versions) broke synaptic due to
> accidentally making a destructor private, you'll need this patch against
> lorg3 to have it buildable at all:
> svn diff -r131:132 http://svn.laiskiainen.org/apt-rpm/trunk/

Thanks !

 
> 2) The previous patch wasn't exactly complete, or at least things have
> changed enough since then to make it pretty broken currently. Here are
> updated patches, the other to fix some issues with gcc 4.1 (it's nowhere
> near a complete cleanup though) and another to add partial repomd
> support:
> http://apt-rpm.laiskiainen.org/patches/synaptic-0.57.2-gcc41.patch
> http://apt-rpm.laiskiainen.org/patches/synaptic-0.57.2-repomd-0.patch

I noticed the following obvious typo:

  public:
+   virtual ~PackgeCopy() {};
 };

Which makes the build fail eventually.


> The repomd patch doesn't quite still work, repository editing in
> synaptic is broken and progress meters for downloading the actual
> repository metadata (primary.xml and filelists.xml) is broken :-/
> I'll try to get those fixed soonish but synaptic knows way too much
> about apt's internals for it's own good, it might not be entirely
> trivial to get it fully working.

Everything now builds fine. synaptic however crashed the first time on my 
EL4 system. It  hows a GUI, then processes stuff (not obvious what it is) 
and then eventually segfaults. The only output is glade related and harmless.
The next run it worked fine though.

I think apt also shows some debugging output when it deletes packages from 
the cache. I see something like :

	Fetched 6020kB in 7s (818kB/s)                                                                                                      
	Reading Package Lists... Done
	Building Dependency Tree... Done
	Del libglade2-devel 0:2.4.0-5 [85.8kB]
	Del rpm-devel 0:4.3.3-13_nonptl [3399kB]
	Del freetype-devel 0:2.1.9-1.2.2.el4.rf [534kB]
	Del fontconfig-devel 0:2.2.3-7 [236kB]
	Del proxytunnel 0:1.6.0-3.el4.rf [33.5kB]
	Del gcc-c++ 0:3.4.5-2 [2491kB]
	Del atk-devel 0:1.8.0-2 [88.1kB]
	Del glib2-devel 0:2.4.7-1 [960kB]
	Del gaim-extprefs 0:0.5-2.el4.rf [95.9kB]
	Del xorg-x11-devel 0:6.8.2-1.EL.13.25 [5374kB]
	Del pango-devel 0:1.6.0-9 [177kB]
	Del libxml2-devel 0:2.6.16-6 [1840kB]
	Del gtk2-devel 0:2.4.13-18 [2154kB]
	Del fonts-monotype 0:0.1-1 [1236kB]
	Del libstdc++-devel 0:3.4.5-2 [9021kB]

Thanks for all your work !
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]



More information about the Apt-Rpm mailing list