Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350020 - =net-wireless/gnome-bluetooth-2.32.0[-nautilus] fails to install
Summary: =net-wireless/gnome-bluetooth-2.32.0[-nautilus] fails to install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks: gnome2.32
  Show dependency tree
 
Reported: 2010-12-29 08:33 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2011-01-17 18:03 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (gnome-bluetooth-2.32.0:20101228-231956.log,58.89 KB, text/plain)
2010-12-29 08:33 UTC, Diego Elio Pettenò (RETIRED)
Details
build.log as requested (build.log,31.29 KB, text/plain)
2011-01-08 20:37 UTC, Albert W. Hopkins
Details
My build.log (build.log,35.90 KB, text/plain)
2011-01-09 15:34 UTC, Jouni Rinne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-12-29 08:33:28 UTC
Portage 2.1.9.26 (default/linux/x86/10.0, gcc-4.5.2-asneeded, glibc-2.12.1-r3, 2.6.36.2+ i686)
=================================================================
System uname: Linux-2.6.36.2+-i686-Quad-Core_AMD_Opteron-tm-_Processor_2350-with-gentoo-2.0.1
Timestamp of tree: Wed, 29 Dec 2010 05:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.3 [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.4.6, 2.6.6-r1, 2.7.1, 3.1.3
dev-util/ccache:     3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/lib/tomoyo/conf /usr/share/bufrtables /usr/share/config /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /usr/share/qpsmtpd/plugins /var/bind /var/lib/hsqldb /var/lib/redmine/config /var/phxd /var/spool/torque /var/vpopmail/etc /var/yp/Makefile"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms split-log strict test test-fail-continue unknown-features-warn unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.wheel.sk/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j14"
PKGDIR="/var/spool/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/tree"
SYNC="rsync://yamato.home.flameeyes.eu/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 java5 java6 modules mudflap mysql ncurses nls nostatic nptl nptlonly openmp pam pcre pcsc-lite perl postgres pppd python qt3support readline ruby session ssl sysfs tcpd unicode vhosts x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias auth_digest cgi" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 jruby ruby19 ree18" USERLAND="GNU" VIDEO_CARDS="intel radeon nouveau vmware" XTABLES_ADDONS="quota2 psdlines 1-45
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-12-29 08:33:51 UTC
Created attachment 258308 [details]
Build log
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-12-29 09:28:00 UTC
/usr/bin/install -c -m 644  "/var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/image//usr/share/glib-2.0/schemas"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c bluetooth-sendto '/var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/image//usr/bin'
/usr/bin/install: missing destination file operand after `/var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/image//usr/share/glib-2.0/schemas'
Try `/usr/bin/install --help' for more information.
make[2]: *** [install-gsettings-schemas] Error 1


maybe the ebuild is trying to install glib schemas by itself ?
Comment 3 Markus Wernig 2011-01-01 16:30:21 UTC
Bug bites here too.

It seems to be a missing variable assignment somewhere in the ebuild/Makefiles:

...

> /usr/bin/install -c -m 644  "/var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/image//usr/share/glib-2.0/schemas"

Note that there are two blanks after "-m 644", i.e. the script intended for some value to be there, that now isn't. Most likely org.gnome.Bluetooth.nst.gschema.xml, which should get compiled according to Makefile.am, but doesn't. Maybe the assertion "if HAVE_NST" in the makefile fails for some reason.

...
> /usr/bin/install: missing destination file operand after `/var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/image//usr/share/glib-2.0/schemas'

Which is correct, given the above empty source file name.
Comment 4 Eric Grüttefien 2011-01-07 08:07:59 UTC
same here
Comment 5 Pacho Ramos gentoo-dev 2011-01-07 16:28:04 UTC
I am unable to reproduce, have you try to merge it with MAKEOPTS="-j1"? 
Comment 6 Albert W. Hopkins 2011-01-07 17:15:05 UTC
(In reply to comment #5)
> I am unable to reproduce, have you try to merge it with MAKEOPTS="-j1"? 
> 

This happens for me even with MAKEOPTS="-j1":

MAKEOPTS=-j1" emerge -1a net-wireless/gnome-bluetooth
...


test -z "/usr/share/glib-2.0/schemas" || /bin/mkdir -p "/var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/image//usr/share/glib-2.0/schemas"
/usr/bin/install -c -m 644  "/var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/image//usr/share/glib-2.0/schemas"
/usr/bin/install: missing destination file operand after `/var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/image//usr/share/glib-2.0/schemas'
Try `/usr/bin/install --help' for more information.
Comment 7 Albert W. Hopkins 2011-01-07 17:29:48 UTC
Btw I have libtool-2.4-r1 and coreutils-8.8
Comment 8 Pacho Ramos gentoo-dev 2011-01-07 20:52:13 UTC
(In reply to comment #2)
> /usr/bin/install -c -m 644 
> "/var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/image//usr/share/glib-2.0/schemas"
>   /bin/sh ../libtool   --mode=install /usr/bin/install -c bluetooth-sendto
> '/var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/image//usr/bin'
> /usr/bin/install: missing destination file operand after
> `/var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/image//usr/share/glib-2.0/schemas'
> Try `/usr/bin/install --help' for more information.
> make[2]: *** [install-gsettings-schemas] Error 1
> 
> 
> maybe the ebuild is trying to install glib schemas by itself ?
> 

This should fix it:
+  07 Jan 2011; Pacho Ramos <pacho@gentoo.org> gnome-bluetooth-2.32.0.ebuild:
+  Pass --disable-schemas-compile since we already compile them at postinst
+  phase and causes problems like bug #350020.


And that should also solve the problem these people is suffering (if not, please reopen).
Comment 9 Albert W. Hopkins 2011-01-08 12:52:16 UTC
Still does not work for me.  Same error.
Comment 10 Pacho Ramos gentoo-dev 2011-01-08 13:18:09 UTC
Attach full build.log please
Comment 11 Albert W. Hopkins 2011-01-08 20:37:14 UTC
Created attachment 259319 [details]
build.log as requested
Comment 12 Pacho Ramos gentoo-dev 2011-01-09 11:14:18 UTC
(In reply to comment #11)
> Created an attachment (id=259319) [details]
> build.log as requested
> 

That build.log doesn't show what configure options are being passed (!) :-/
Comment 13 Jouni Rinne 2011-01-09 15:27:20 UTC
Getting the same error here, too
Comment 14 Jouni Rinne 2011-01-09 15:34:20 UTC
Created attachment 259375 [details]
My build.log
Comment 15 Pacho Ramos gentoo-dev 2011-01-09 15:39:41 UTC
Does it fail for you when manually compiling it with, for example "./configure --disable-schemas-compile --prefix=~/gnome-bluetooth-test && make && make install" ?
Comment 16 Petr Polezhaev 2011-01-09 21:19:59 UTC
Bug is reproducable only with USE="-nautilus". Problem is:
@GSETTINGS_RULES@ installs '-install:' rules for schemas, while gsettings_SCHEMAS variable is defined (in sendto/Makefile.am) under ifdef HAVE_NST.

So, if there is no nautilus installed and no sendto required - it will fail. Broken build-system, I suppose.
Comment 17 Albert W. Hopkins 2011-01-09 22:17:23 UTC
(In reply to comment #16)
> Bug is reproducable only with USE="-nautilus". Problem is:
> @GSETTINGS_RULES@ installs '-install:' rules for schemas, while
> gsettings_SCHEMAS variable is defined (in sendto/Makefile.am) under ifdef
> HAVE_NST.
> 
> So, if there is no nautilus installed and no sendto required - it will fail.
> Broken build-system, I suppose.
> 

I can confirm that when I enable the nautilus USE flag, the package installs without error.
Comment 18 Albert W. Hopkins 2011-01-10 22:21:11 UTC
It seems that now I have installed gnome-bluetooth with -nautilus.  I'm not sure if this is because i first installed it with the USE flag turned on or if something has changed when I synced this morning.
Comment 19 Pacho Ramos gentoo-dev 2011-01-17 18:03:15 UTC
+*glib-2.26.1-r1 (17 Jan 2011)
+
+  17 Jan 2011; Pacho Ramos <pacho@gentoo.org> -glib-2.26.0-r1.ebuild,
+  -files/glib-2.26.0-error-pileup.patch, -files/glib-2.26.0-not-close.patch,
+  -files/glib-2.26.0-unref-null.patch, +glib-2.26.1-r1.ebuild,
+  +files/glib-2.26.1-deprecation-tests.patch,
+  +files/glib-2.26.1-gdbus-flushes.patch,
+  +files/glib-2.26.1-gsettings-read.patch,
+  +files/glib-2.26.1-gsettings-rules.patch,
+  +files/glib-2.26.1-locked-message.patch:
+  Revision bump to include upstream patches from 2.32 branch and fix
+  gsettings.m4 rules to work when there are no schemas, bug #350020. Remove old
+  testing.


And:

+  17 Jan 2011; Pacho Ramos <pacho@gentoo.org> gnome-bluetooth-2.32.0.ebuild:
+  Fix nautilus-sendto automagic support, upstream bug #639130; RDEPEND on a
+  fixed glib version to prevent installation problems like bug #350020.