View previous topic :: View next topic |
Author |
Message |
ch64 Guru
Joined: 09 Jun 2010 Posts: 412
|
Posted: Sun Oct 20, 2013 1:18 am Post subject: sys-fs/udev-204 g-ir-scanner compile error [solved] |
|
|
When i try to emerge -avuDN system it pulls sys-fs/udev-204 into.
But it doesn't install.
Code: | /usr/bin/install -c -m 644 keymaps/maxdata-pro_7000 keymaps/medion-fid2060 keymaps/medionnb-a555 keymaps/micro-star keymaps/module-asus-w3j keymaps/module-ibm keymaps/module-lenovo keymaps/module-sony keymaps/module-sony-old keymaps/module-sony-vgn keymaps/module-sony-vpc keymaps/olpc-xo keymaps/onkyo keymaps/oqo-model2 keymaps/samsung-other keymaps/samsung-series-9 keymaps/samsung-sq1us keymaps/samsung-sx20s keymaps/toshiba-satellite_a100 keymaps/toshiba-satellite_a110 keymaps/toshiba-satellite_m30x keymaps/zepto-znote '/var/tmp/portage/sys-fs/udev-204/image//lib/udev/keymaps'
/bin/mkdir -p '/var/tmp/portage/sys-fs/udev-204/image//lib/udev/keymaps/force-release'
/usr/bin/install -c -m 644 keymaps-force-release/dell-touchpad keymaps-force-release/dell-xps keymaps-force-release/hp-other keymaps-force-release/samsung-other keymaps-force-release/samsung-series-9 keymaps-force-release/common-volume-keys '/var/tmp/portage/sys-fs/udev-204/image//lib/udev/keymaps/force-release'
/bin/mkdir -p rules/ && /bin/sed -e 's|@rootlibexecdir\@|/lib/systemd|g' -e 's|@rootbindir\@|/bin|g' -e 's|@bindir\@|/bin|g' -e 's|@SYSTEMCTL\@|/bin/systemctl|g' -e 's|@SYSTEMD_NOTIFY\@|/bin/systemd-notify|g' -e 's|@pkgsysconfdir\@|/etc/systemd|g' -e 's|@SYSTEM_CONFIG_UNIT_PATH\@|/etc/systemd/system|g' -e 's|@USER_CONFIG_UNIT_PATH\@|/etc/systemd/user|g' -e 's|@pkgdatadir\@|/usr/share/systemd|g' -e 's|@systemunitdir\@|/lib/systemd/system|g' -e 's|@userunitdir\@|/usr/lib/systemd/user|g' -e 's|@systempresetdir\@|/lib/systemd/system-preset|g' -e 's|@userpresetdir\@|/usr/lib/systemd/user-preset|g' -e 's|@udevhwdbdir\@|/lib/udev/hwdb.d|g' -e 's|@udevrulesdir\@|/lib/udev/rules.d|g' -e 's|@catalogdir\@|/usr/lib/systemd/catalog|g' -e 's|@tmpfilesdir\@|/usr/lib/tmpfiles.d|g' -e 's|@sysctldir\@|/usr/lib/sysctl.d|g' -e 's|@PACKAGE_VERSION\@|204|g' -e 's|@PACKAGE_NAME\@|systemd|g' -e 's|@PACKAGE_URL\@|http://www.freedesktop.org/wiki/Software/systemd|g' -e 's|@RANDOM_SEED\@|/var/lib/lib/random-seed|g' -e 's|@prefix\@|/usr|g' -e 's|@exec_prefix\@|/usr|g' -e 's|@libdir\@|/usr/lib64|g' -e 's|@includedir\@|/usr/include|g' -e 's|@VERSION\@|204|g' -e 's|@rootprefix\@||g' -e 's|@udevlibexecdir\@|/lib/udev|g' -e 's|@SUSHELL\@|/bin/sh|g' -e 's|@DEBUGTTY\@|/dev/tty9|g' -e 's|@KILL\@|/bin/kill|g' -e 's|@QUOTAON\@|/usr/sbin/quotaon|g' -e 's|@QUOTACHECK\@|/usr/sbin/quotacheck|g' -e 's|@SYSTEM_SYSVINIT_PATH\@|/etc/init.d|g' -e 's|@VARLOGDIR\@|/var/lib/log|g' -e 's|@RC_LOCAL_SCRIPT_PATH_START\@|/etc/rc.local|g' -e 's|@RC_LOCAL_SCRIPT_PATH_STOP\@|/usr/sbin/halt.local|g' -e 's|@PYTHON\@||g' -e 's|@PYTHON_BINARY\@|/usr/bin/python|g' < rules/99-systemd.rules.in > rules/99-systemd.rules
/bin/mkdir -p '/var/tmp/portage/sys-fs/udev-204/image//lib/udev/rules.d'
/usr/bin/install -c -m 644 rules/99-systemd.rules rules/42-usb-hid-pm.rules rules/50-udev-default.rules rules/60-persistent-storage-tape.rules rules/60-persistent-serial.rules rules/60-persistent-input.rules rules/60-persistent-alsa.rules rules/60-persistent-storage.rules rules/64-btrfs.rules rules/75-net-description.rules rules/75-tty-description.rules rules/78-sound-card.rules rules/80-net-name-slot.rules rules/95-udev-late.rules rules/50-firmware.rules rules/80-drivers.rules rules/60-cdrom_id.rules rules/60-persistent-v4l.rules rules/61-accelerometer.rules src/udev/keymap/95-keymap.rules src/udev/keymap/95-keyboard-force-release.rules rules/75-probe_mtd.rules '/var/tmp/portage/sys-fs/udev-204/image//lib/udev/rules.d'
/usr/bin/g-ir-scanner --c-include=gudev/gudev.h --namespace=GUdev --nsversion=1.0 --libtool="/bin/sh ./libtool" --include=GObject-2.0 --library=libgudev-1.0.la --pkg-export=gudev-1.0 --warn-all --cflags-begin -D_GUDEV_COMPILATION -D_GUDEV_WORK_AROUND_DEV_T_BUG -I./src -I./src -I./src/gdev -I./src/gdev --cflags-end src/gudev/gudev.h src/gudev/gudevtypes.h src/gudev/gudevenums.h src/gudev/gudevenumtypes.h src/gudev/gudevclient.h src/gudev/gudevdevice.h src/gudev/gudevenumerator.h src/gudev/gudevclient.c src/gudev/gudevdevice.c src/gudev/gudevenumerator.c libgudev-1.0.la --output src/gudev/GUdev-1.0.gir
Usage: g-ir-scanner [options] sources
g-ir-scanner: error: no such option: --cflags-begin
make: *** [src/gudev/GUdev-1.0.gir] Fehler 2
* ERROR: sys-fs/udev-204::gentoo failed (install phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-fs/udev-204::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-fs/udev-204::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-fs/udev-204/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/udev-204/temp/environment'.
* Working directory: '/var/tmp/portage/sys-fs/udev-204/work/systemd-204'
* S: '/var/tmp/portage/sys-fs/udev-204/work/systemd-204'
>>> Failed to emerge sys-fs/udev-204, Log file:
>>> '/var/tmp/portage/sys-fs/udev-204/temp/build.log'
* Messages for package sys-fs/udev-204:
* CONFIG_IDE: should not be set. But it is.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* ERROR: sys-fs/udev-204::gentoo failed (install phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-fs/udev-204::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-fs/udev-204::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-fs/udev-204/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/udev-204/temp/environment'.
* Working directory: '/var/tmp/portage/sys-fs/udev-204/work/systemd-204'
* S: '/var/tmp/portage/sys-fs/udev-204/work/systemd-204'
|
Last edited by ch64 on Sun Oct 20, 2013 6:09 pm; edited 1 time in total |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Sun Oct 20, 2013 10:08 am Post subject: |
|
|
It says "g-ir-scanner: error: no such option: --cflags-begin" that would imply you have too old version of dev-libs/gobject-introspection installed. I have the --cflags-begin flag here with gobject-introspection version 1.36.0.
What version are you using?
Code: |
ssuominen@null ~ $ qfile -b -v g-ir-scanner
dev-libs/gobject-introspection-1.36.0-r1 (/usr/bin/g-ir-scanner)
ssuominen@null ~ $ g-ir-scanner --help |grep cflags-begin
--cflags-begin Start preprocessor/compiler flags
|
Do note that nothing in sys-fs/udev (or sys-apps/systemd) is calling the --cflags-begin flag itself, so there is no missing dependency in the udev's ebuild itself.
Which would imply you have some wrongly mixed version combinations of gobject-introspection, gobject-introspection-common, possibly glib installed. Make sure they are all from stable, or all from ~arch. |
|
Back to top |
|
|
ch64 Guru
Joined: 09 Jun 2010 Posts: 412
|
Posted: Sun Oct 20, 2013 3:57 pm Post subject: |
|
|
Code: | # eix -s gobject-introspection
[U] dev-libs/gobject-introspection
Available versions: 1.32.1 (~)1.34.2-r1 (~)1.36.0 (~)1.36.0-r1 {{cairo doc doctool python_single_target_python2_7 python_targets_python2_7 test}}
Installed versions: 1.34.2-r1(18:16:59 26.03.2013)(python_single_target_python2_7 python_targets_python2_7 -doctool -test)
Homepage: http://live.gnome.org/GObjectIntrospection/
Description: Introspection infrastructure for generating gobject library bindings for various languages
[I] dev-libs/gobject-introspection-common
Available versions: 1.32.1 (~)1.34.2 (~)1.36.0
Installed versions: 1.36.0(13:40:20 16.10.2013)
Homepage: http://live.gnome.org/GObjectIntrospection/
Description: Build infrastructure for GObject Introspection
# qfile -b -v g-ir-scanner
dev-libs/gobject-introspection-1.34.2-r1 (/usr/bin/g-ir-scanner)
# g-ir-scanner --help |grep cflags-begin
# |
I'll update that. *hmm* *wait* |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Sun Oct 20, 2013 4:13 pm Post subject: |
|
|
Looks like they mismatch. One is 1.34.2, and another is 1.36.0. Both should be 1.36.0. |
|
Back to top |
|
|
ch64 Guru
Joined: 09 Jun 2010 Posts: 412
|
Posted: Sun Oct 20, 2013 5:45 pm Post subject: |
|
|
now, after updating it worked fine and compiled udev/the system.
pretty thanks to you.
it seems like before my 'holiday' .. i updated gobject-introspection-common manualy and i forgot to do this with gobject-introspection.
the only strange thing is, that i thought they depend on each other. |
|
Back to top |
|
|
ch64 Guru
Joined: 09 Jun 2010 Posts: 412
|
Posted: Sun Oct 20, 2013 6:15 pm Post subject: |
|
|
maybe i can ask you another question now i have with emerge -avuDN world?
Code: | [blocks B ] <dev-lang/vala-0.20.0 ("<dev-lang/vala-0.20.0" is blocking dev-libs/gobject-introspection-1.36.0-r1) |
it's the only block at the end and i don't really know these packets. :> |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Mon Oct 21, 2013 10:37 am Post subject: |
|
|
ch64 wrote: | maybe i can ask you another question now i have with emerge -avuDN world?
Code: | [blocks B ] <dev-lang/vala-0.20.0 ("<dev-lang/vala-0.20.0" is blocking dev-libs/gobject-introspection-1.36.0-r1) |
it's the only block at the end and i don't really know these packets. :> |
If you have dev-lang/gobject-introspection in package.keywords, then you also need to keyword dev-lang/vala.
Then you need to uninstall older versions:
Code: |
# 'emerge -C '<dev-lang/vala-0.20'
|
If something is trying to pull in older dev-lang/vala back, then you need to upgrade those packages from ~arch too, so they use the newer version. Some packages may also not work with new vala, those will need to be uninstalled. |
|
Back to top |
|
|
ch64 Guru
Joined: 09 Jun 2010 Posts: 412
|
Posted: Tue Oct 22, 2013 12:38 am Post subject: |
|
|
thanks for your work. it's all okay now. |
|
Back to top |
|
|
Letharion Veteran
Joined: 13 Jun 2005 Posts: 1344 Location: Sweden
|
Posted: Fri Dec 06, 2013 8:13 am Post subject: |
|
|
Hit the same issue on upgrade of systemd.
Manually upgrading gobject-introspection (and thus glib), helped.
Thanks. |
|
Back to top |
|
|
|