gkreidl
Posts: 6092
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

lots of dev files missing in collabora repository

Tue Dec 24, 2013 10:00 am

To day I added collabora to my source.list and wanted to update / upgrade afterwards. A lot of stuff was held back. I assume, a dist-upgrade would have solved that. But I wanted to be careful and checked with synaptic.

If I would have upgraded, software development would be impossible on my system!

I would get a lot of newer libraries, like
version 2.1.4-0rpi1rpi1 libwebkitgtk-3.0-0 instead of version 1.8.1-3.4+rpi1

Great, I thought, but now comes the REAL PROBLEM:

There are no matching dev files in the collabora repository. In my case that means that the following packages would have been be removed:

Code: Select all

libatk1.0-dev
libavahi-glib-dev
libcairo2-dev
libcv-dev
libcvaux-dev
libgconf2-dev
libgdk-pixbuf2.0-dev
libglib2.0-dev
libglibmm-2.4-dev
libgnomevfs2-dev
libgstreamer1.0-dev
libgtk-3-dev
libgtk2.0-dev
libhighgui-dev
libnotify-dev
libopencv-contrib-dev
libopencv-dev
libopencv-gpu-dev
libopencv-highgui-dev
libopencv-legacy-dev
libopencv-objdetect-dev
libpango1.0-dev
libpostproc-dev
libpulse-dev
librsvg2-dev
libsdl-image1.2-dev
libsdl-sound1.2-dev
libsdl1.2-dev
libsoup2.4-dev
libwebkit-dev
libwebkitgtk-3.0-dev
libwebkitgtk-dev
And that means, that not a single GTK+-2.0 or GTK+-3.0 application could be compiled on my system any more, for example, or any software that depends on any of these packages. And updating to these packages, might break a lot of existing software, too.

It would be nice to have all these new packages for the RPi (only available on Debian Jessie otherwise), but PLEASE NOT WITHOUT THE DEV FILES!

If the Raspberry Pi is meant for learning programming, making this almost impossible just for adding a faster browser (I really would have liked to test that!) is a bad idea. I haven't tested it, but I'm sure installing the web browser would have meant installing the new webkit libraries and loosing the matching dev-files.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

plugwash
Forum Moderator
Forum Moderator
Posts: 3454
Joined: Wed Dec 28, 2011 11:45 pm

Re: lots of dev files missing in collabora repository

Tue Dec 24, 2013 3:54 pm

hmm, the dev packages do appear to be there to me.

Can you tell me what is in your /etc/apt/sources.list and any files in /etc/apt/sources.list.d

can you tell me what happens if you try

apt-get install libwebkitgtk-3.0-0 libwebkitgtk-3.0-dev

gkreidl
Posts: 6092
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: lots of dev files missing in collabora repository

Tue Dec 24, 2013 4:11 pm

plugwash wrote:hmm, the dev packages do appear to be there to me.

Can you tell me what is in your /etc/apt/sources.list and any files in /etc/apt/sources.list.d

can you tell me what happens if you try

apt-get install libwebkitgtk-3.0-0 libwebkitgtk-3.0-dev
in my sources.list I have:
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
deb http://vontaene.de/raspbian-updates/ . main
# deb http://raspberrypi.collabora.com wheezy rpi
# deb http://raspberrypi.collabora.com wheezy web

(collabora commented out again for the time being)

in /etc/apt/sources.list.d:
raspi.list raspi.list.save wolfram.list

installing webkit from collabora now isn't possible, as i'm just finishing Minimal Kiosk Browser 1.3 for publication. I cannot risk to loose the regular Raspbian webkitgtk and gtk+ libraries right now.

But if I'm through with that, I would like to adapt Minimal Kiosk Browser to the new accelerated webkit libs. Might result in a version 2.0 some day. But I'll need all the dev files then, of course.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

pwinwood
Posts: 76
Joined: Mon Jul 02, 2012 2:21 am
Location: Oxford, England

Re: lots of dev files missing in collabora repository

Tue Dec 24, 2013 6:08 pm

Yes, I have found the same - currently compiling libglib2.0-dev on my Pi.

plugwash
Forum Moderator
Forum Moderator
Posts: 3454
Joined: Wed Dec 28, 2011 11:45 pm

Re: lots of dev files missing in collabora repository

Tue Dec 24, 2013 11:40 pm

gkreidl wrote: in /etc/apt/sources.list.d:
raspi.list raspi.list.save wolfram.list
Can you tell me the content of those files?

plugwash
Forum Moderator
Forum Moderator
Posts: 3454
Joined: Wed Dec 28, 2011 11:45 pm

Re: lots of dev files missing in collabora repository

Tue Dec 24, 2013 11:46 pm

Sorry I screwed up my sources.list in the test chroot, I can now confirm that there is a problem with dev packages.

plugwash
Forum Moderator
Forum Moderator
Posts: 3454
Joined: Wed Dec 28, 2011 11:45 pm

Re: lots of dev files missing in collabora repository

Wed Dec 25, 2013 12:05 am

Ok got to the bottom of the problem.

pberrypi0 libwayland-client0 libwayland-cursor0 libwayland-server0a libgtk2.0-dev libglib2.0-dev libgdk-pixbuf2.0-dev libpango1.0-dev libatk1.0-dev libcairo2-dev libpcre3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libglib2.0-dev : Depends: libpcre3-dev (>= 1:8.31) but 1:8.30-5 is to be installed
E: Unable to correct problems, you have held broken packages.
root@linaro-ubuntu-desktop:/#
root@linaro-ubuntu-desktop:/# apt-cache policy libglib2.0-dev
libglib2.0-dev:
Installed: (none)
Candidate: 2.37.5-1rpi1rpi1
Version table:
2.37.5-1rpi1rpi1 0
500 http://raspberrypi.collabora.com/ wheezy/web armhf Packages
2.33.12+really2.32.4-5 0
500 http://archive.raspbian.org/raspbian/ wheezy/main armhf Packages
root@linaro-ubuntu-desktop:/#
root@linaro-ubuntu-desktop:/# apt-cache policy libpcre3-dev
libpcre3-dev:
Installed: (none)
Candidate: 1:8.30-5
Version table:
1:8.30-5 0
500 http://archive.raspbian.org/raspbian/ wheezy/main armhf Packages
root@linaro-ubuntu-desktop:/#

Grabbing the source for their glib package I see it also has a build-dependency on libpcre3-dev. So it seems that the most likely explanation is that they had an updated pcre package in thier build environment but did not ship it in their repo for some reason.

plugwash
Forum Moderator
Forum Moderator
Posts: 3454
Joined: Wed Dec 28, 2011 11:45 pm

Re: lots of dev files missing in collabora repository

Wed Dec 25, 2013 12:23 am

Workaround:

Code: Select all

wget https://archive.raspbian.org/raspbian/pool/main/p/pcre3/libpcre3-dev_8.31-2_armhf.deb
wget https://archive.raspbian.org/raspbian/pool/main/p/pcre3/libpcre3_8.31-2_armhf.deb
wget https://archive.raspbian.org/raspbian/pool/main/p/pcre3/libpcre3-dbg_8.31-2_armhf.deb
wget https://archive.raspbian.org/raspbian/pool/main/p/pcre3/libpcrecpp0_8.31-2_armhf.deb
sudo dpkg -i libpcre*8.31-2_armhf.deb

gkreidl
Posts: 6092
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: lots of dev files missing in collabora repository

Wed Dec 25, 2013 9:09 am

Are you aware that Midori (at least, but I suppose much more applications) will not work any more after upgrading to all the libs from collabora?

see here (and the following posts):
http://www.raspberrypi.org/phpBB3/viewt ... 50#p474178

People should at least be warned, that adding the collabora repo might break other installed applications. And copying smylinks around before upgrading cannot be a recommended solution (how many more have to be copied?).
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Return to “Raspbian”