Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#41821 - [gobject-introspection] Unnecessary package dependencies

Attached to Project: Arch Linux
Opened by Janusz Lewandowski (LEW21) - Thursday, 04 September 2014, 14:20 GMT
Last edited by Jan de Groot (JGC) - Thursday, 28 May 2015, 13:33 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

gobject-introspection depends on python2 and python2-mako, while most of its users probably don't need those packages - because it's commonly installed just to get the /usr/lib/libgirepository-1.0.so library.
This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 28 May 2015, 13:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  package has been split to fix this.
Comment by Jan de Groot (JGC) - Thursday, 04 September 2014, 20:29 GMT
I moved both into optdepends for gnome-unstable. Note that this change requires massive changes: anything using gobject-introspection during build will also need a python2 dependency. I haven't seen anything that needs python2-mako yet, seems the doc tool isn't used by any project.
Comment by Ricardo Vieira (ricardomv) - Tuesday, 28 October 2014, 11:59 GMT
this broke the build of a package i maintain in the AUR budgie-desktop-git

/bin/sh: /usr/bin/g-ir-scanner: /usr/bin/python2: bad interpreter: No such file or directory
/usr/share/gobject-introspection-1.0/Makefile.introspection:153: recipe for target 'Gvc-1.0.gir' failed
make[2]: *** [Gvc-1.0.gir] Error 126
make[2]: Leaving directory '/build/budgie-desktop-git/src/budgie-desktop-git/gvc'
Makefile:454: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/build/budgie-desktop-git/src/budgie-desktop-git'
Makefile:385: recipe for target 'all' failed
make: *** [all] Error 2

should i just add python2 to makedepends or can this be fixed in gobject-introspection

Loading...