Last modified: 2014-08-03 19:36:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T54717, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52717 - libvips-tools, libtiff etc install
libvips-tools, libtiff etc install
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: Marc A. Pelletier
: ops
Depends on:
Blocks: 63438 63439
  Show dependency treegraph
 
Reported: 2013-08-11 04:55 UTC by Daniel Schwen
Modified: 2014-08-03 19:36 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Schwen 2013-08-11 04:55:21 UTC
Hi, please install

libvips-tools
libvips-dev
libvips15
libtiff5-dev

to allow me to build IIP image server
thx
Comment 1 Gerrit Notification Bot 2013-08-11 05:04:18 UTC
Change 78629 had a related patch set uploaded by Yuvipanda:
Add VIPS / TIFF packages to toollabs exec_environ

https://gerrit.wikimedia.org/r/78629
Comment 2 Yuvi Panda 2013-08-11 06:36:54 UTC
Note that I added libtiff4-dev, since I didn't find libtiff5-dev in the repo.
Comment 3 Gerrit Notification Bot 2013-08-12 09:46:00 UTC
Change 78629 merged by Andrew Bogott:
Add VIPS / TIFF packages to toollabs exec_environ

https://gerrit.wikimedia.org/r/78629
Comment 4 Yuvi Panda 2013-08-12 09:49:26 UTC
Installed!
Comment 5 Tim Landscheidt 2013-08-12 19:46:49 UTC
(In reply to comment #4)
> Installed!

Not yet :-):

| err: /Stage[main]/Toollabs::Exec_environ/Package[libvips-dev]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install libvips-dev' returned 100: 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.
| The following information may help to resolve the situation:

| The following packages have unmet dependencies:
|  libvips-dev : Depends: libtiff5-alt-dev but it is not installable
| E: Unable to correct problems, you have held broken packages.

And indeed:

| root@tools-dev:~# apt-get install libtiff5-alt-dev
| Reading package lists... Done
| Building dependency tree       
| Reading state information... Done
| Package libtiff5-alt-dev is not available, but is referred to by another package.
| This may mean that the package is missing, has been obsoleted, or
| is only available from another source

| E: Package 'libtiff5-alt-dev' has no installation candidate
| root@tools-dev:~#

I'm not sure what the WMF policies are for resolving packages with broken dependencies like that.
Comment 6 Marc A. Pelletier 2013-08-21 18:11:35 UTC
I've sorted out the dependencies, but I'll move some of the packages to dev_ and out of exec_ before closing this.
Comment 7 Gerrit Notification Bot 2013-08-21 18:20:38 UTC
Change 80236 had a related patch set uploaded by coren:
Tool Labs: Move dev packages to dev_environ

https://gerrit.wikimedia.org/r/80236
Comment 8 Gerrit Notification Bot 2013-08-21 18:22:12 UTC
Change 80236 merged by coren:
Tool Labs: Move dev packages to dev_environ

https://gerrit.wikimedia.org/r/80236
Comment 9 Tim Landscheidt 2013-12-16 07:40:38 UTC
I tried to test the patch on Toolsbeta, but I still get the same error as in comment #5.  On Toolsbeta, "sudo aptitude show libvips-dev" gives "Version: 7.32.3-1wmf1", while "Version: 7.26.3-1build1" on tools-login - mystery solved! :-)

So it appears that the WMF site-wide repository has a package libvips-dev with a requirement for the package libtiff5-alt-dev, but the latter is not in the repository.

What's the proper course here?  Should the libvips-dev package be fixed in the WMF repository, or is it okay in this case to pin the Ubuntu package via /etc/apt/preferences.d?
Comment 10 Gerrit Notification Bot 2013-12-19 02:04:41 UTC
Change 102609 had a related patch set uploaded by Tim Landscheidt:
Tools: Work around broken WMF package libvips-dev

https://gerrit.wikimedia.org/r/102609
Comment 11 Gerrit Notification Bot 2013-12-19 03:07:16 UTC
Change 102617 had a related patch set uploaded by Faidon Liambotis:
Fix dependency libtiff5-alt-dev -> libtiff4-dev

https://gerrit.wikimedia.org/r/102617
Comment 12 Gerrit Notification Bot 2013-12-19 07:53:44 UTC
Change 102609 abandoned by Faidon Liambotis:
Tools: Work around broken WMF package libvips-dev

Reason:
Abandon because of an alternative, better fix: https://gerrit.wikimedia.org/r/#/c/102617/

https://gerrit.wikimedia.org/r/102609
Comment 13 Gerrit Notification Bot 2014-01-27 19:21:32 UTC
Change 102617 merged by coren:
Fix dependency libtiff5-alt-dev -> libtiff4-dev

https://gerrit.wikimedia.org/r/102617
Comment 14 Tim Landscheidt 2014-01-30 18:15:39 UTC
The change to the package has been merged, now it must be built and put into the WMF repo.  On IRC, paravoid said this is usually done by the one who merged the change -> Coren :-).
Comment 15 Tim Landscheidt 2014-03-12 18:46:27 UTC
Coren, could you please finish this?  This blocks successful Puppet runs on tools-login and tools-dev.
Comment 16 Marc A. Pelletier 2014-03-12 19:19:29 UTC
After migration.  FYI, that doesn't block runs, just make them whine a little bit.  :-)
Comment 17 Tim Landscheidt 2014-03-12 19:55:21 UTC
Yep, and thus makes you have to log into each affected instance and look at puppet.log to determine if the Puppet run failed due to this or a new bug.
Comment 18 Tim Landscheidt 2014-07-11 11:50:20 UTC
Filed RT #7852.
Comment 19 Gerrit Notification Bot 2014-07-14 23:42:41 UTC
Change 146348 had a related patch set uploaded by Tim Landscheidt:
Revert "tools: remove libvips from exec_environ"

https://gerrit.wikimedia.org/r/146348
Comment 20 Gerrit Notification Bot 2014-07-24 21:37:54 UTC
Change 146348 merged by Andrew Bogott:
Revert "tools: remove libvips from exec_environ"

https://gerrit.wikimedia.org/r/146348

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links