libxul-dev not installable without major collateral damage

Bug #79063 reported by Danny Milosavljevic
12
Affects Status Importance Assigned to Milestone
nspr (Ubuntu)
Fix Released
Undecided
Unassigned
xulrunner (Ubuntu)
Fix Released
Medium
Mozilla Bugs

Bug Description

Binary package hint: libxul-dev

Hi,

I'm probably overlooking something, but:

-----------------------------------
dannym@pyramid: gnash-0.7.2/> dpkg-buildpackage -us -uc -rfakeroot
dpkg-buildpackage: source package is gnash
dpkg-buildpackage: source version is 0.7.2-1~edgy1
dpkg-buildpackage: source changed by John Dong <email address hidden>
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 0.7.2-1~edgy1
dpkg-checkbuilddeps: Unmet build dependencies: libxul-dev | mozilla-dev libkonq4-dev
dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: (Use -d flag to override.)
|(3)
dannym@pyramid: gnash-0.7.2/> sudo bash
|(0)
root@pyramid:~/work/src/gnash/gnash-0.7.2# LC_ALL=C apt-get install libxul-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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libxul-dev: Depends: libnss3-dev (= 1.8.0.5-4.2) but it is not going to be installed
              Depends: libnspr4-dev (= 1.8.0.5-4.2) but it is not going to be installed
              Depends: libmozjs-dev (= 1.8.0.5-4.2) but it is not going to be installed
|(100)
root@pyramid:~/work/src/gnash/gnash-0.7.2# LC_ALL=C apt-get install libnss3-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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libnss3-dev: Depends: libnspr4-dev (= 1.8.0.5-4.2) but it is not going to be installed
E: Broken packages
|(100)
root@pyramid:~/work/src/gnash/gnash-0.7.2# LC_ALL=C apt-get install libnss3-dev libnspr4-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libcamel1.2-8 liferea-mozilla libnss3 libdevhelp-1-0 evolution-exchange evolution libnss-dev
  firefox bug-buddy firefox-gnome-support gnome-app-install libebook1.2-5 libebook1.2-9
  evolution-plugins libnspr4 libedataserverui1.2-6 libedataserverui1.2-8 libnspr-dev
  contact-lookup-applet libedata-book1.2-2 evolution-data-server libedataserver1.2-4 yelp liferea
  mozilla-mplayer mozilla-firefox-locale-en-gb devhelp nautilus-sendto
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libnspr4-0d libnss3-0d
The following packages will be REMOVED:
  bug-buddy contact-lookup-applet devhelp evolution evolution-data-server evolution-exchange
  evolution-plugins firefox firefox-gnome-support gnome-app-install libcamel1.2-8 libdevhelp-1-0
  libebook1.2-5 libebook1.2-9 libedata-book1.2-2 libedataserver1.2-4 libedataserverui1.2-6
  libedataserverui1.2-8 libnspr-dev libnspr4 libnss-dev libnss3 liferea liferea-mozilla
  mozilla-firefox-locale-en-gb mozilla-mplayer nautilus-sendto yelp
The following NEW packages will be installed:
  libnspr4-0d libnspr4-dev libnss3-0d libnss3-dev
0 upgraded, 4 newly installed, 28 to remove and 122 not upgraded.
Need to get 1242kB of archives.
After unpacking 90.3MB disk space will be freed.
Do you want to continue [Y/n]?
-----------------------------------

I'd rather not have it deinstall firefox just so I can build gnash, at least :(

Revision history for this message
Danny Milosavljevic (danny-milo) wrote :

oh btw,

dannym@pyramid: ~/> cat /etc/apt/sources.list
## Add comments (##) in front of any line to remove it from being checked.
## Use the following sources.list at your own risk.

deb http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse

## MAJOR BUG FIX UPDATES produced after the final release
deb http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse

## UBUNTU SECURITY UPDATES
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse

## BACKPORTS REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse

## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
#deb http://packages.freecontrib.org/plf edgy free non-free
#deb-src http://packages.freecontrib.org/plf edgy free non-free

## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu
## servers. RealPlayer10, Opera and more to come.)
deb http://archive.canonical.com/ubuntu dapper-commercial main

## Listen
deb http://theli.free.fr/packages/ dapper listen
|(0)
dannym@pyramid: ~/>

David Farning (dfarning)
Changed in xulrunner:
assignee: nobody → mozillateam
importance: Undecided → Medium
David Farning (dfarning)
Changed in xulrunner:
assignee: mozillateam → mozilla-bugs
Jonh Wendell (wendell)
Changed in xulrunner:
status: Unconfirmed → Confirmed
Revision history for this message
Gert Kulyk (gkulyk) wrote :

I know this is not related to the fact that libxul-dev is not installable, but wouldn't it be easier to add firefox-dev as a build-dep for gnash? AFAIK libxul-dev is used in debian by default, but in ubuntu yelp, epiphany etc. are build with firefox-dev (because as an alternative mozilla-dev is given, I assume firefox-dev will work as well).

Revision history for this message
Peter Garrett (peter-garrett) wrote :

gnash appears to be working ( for some value of "working" ) on feisty 7.04 beta - at least it plays simple flash on my iBook G4 - PPC arch obviously

The .desktop file is useless however, since the command requires an argument to run. See Bug #84526 comments.

Revision history for this message
João Mouro (mouro) wrote :

Hi there,
I'm having the same problem concerning libxul-dev.

I've tried to install this package in order to use the gecko engine but I've the same error:

Reading package lists...
Building dependency tree...
Reading state information...
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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libxul-dev: Depends: libnss3-dev (= 1.8.0.10-3ubuntu1) but it is not going to be installed
              Depends: libnspr4-dev (= 1.8.0.10-3ubuntu1) but it is not going to be installed
              Depends: libmozjs-dev (= 1.8.0.10-3ubuntu1) but it is not going to be installed

I've just upgraded from Edgy to Feisty.

Revision history for this message
Forest Bond (forest-bond) wrote :

Couldn't firefox-dev provide libxul-dev?

Revision history for this message
Leszek Trenkner (olaf-post) wrote :

Isn't it a problem with dependencies - I see I do have libnss-dev and libnspr-dev installed, but their names just don't include 3/4 - versions match exacty installed libnspr4 and libnss3.
Maybe simple fix in dependency list (was there a typo?) would fix that problem for both libmozjs-dev and libxul-dev?

In fact, in their current state, libxul-dev and libmozjs- dev seem unusable, and compiling all those broken from sources brings us a bit too close to gentoo-like 'recompile all' approach...

Revision history for this message
diegoe (diegoe-deactivatedaccount-deactivatedaccount) wrote :

I have firefox3, xr1.9 and xr1.8 installed from apt at the same time, no chaos here. Two weeks ago it was uninstallable, but now it works.
Update this!

Daniel T Chen (crimsun)
Changed in nspr:
status: New → Fix Released
Changed in xulrunner:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.