Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256640 - app-emulation/fuse-0.10.0.2 won't compile
Summary: app-emulation/fuse-0.10.0.2 won't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-28 14:50 UTC by Maciej J. Woloszyk
Modified: 2009-01-29 14:12 UTC (History)
2 users (show)

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


Attachments
Added glib dependency, and removed --without-glib option (fuse-0.10.0.2.ebuild-glib-dependency.patch,605 bytes, patch)
2009-01-28 23:50 UTC, José Manuel Ferrer Ortiz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej J. Woloszyk 2009-01-28 14:50:17 UTC
I'm trying to emerge new fuse version (0.10.0.2) and it won't compile - it seems the problem is that is uses something called "GSList" extensively which is not installed by dependencies. When I try to emerge it I get the following error:

make[2]: Entering directory `/var/tmp/portage/app-emulation/fuse-0.10.0.2/work/fuse-0.10.0.2/compat/unix'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..  -I./../.. -I/usr/include  -O3 -march=prescott -fomit-frame-pointer -pipe -Wall -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o file.c
In file included from file.c:36:
../../ui/ui.h:123: error: expected ')' before '*' token
make[2]: *** [file.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-emulation/fuse-0.10.0.2/work/fuse-0.10.0.2/compat/unix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-emulation/fuse-0.10.0.2/work/fuse-0.10.0.2'
make: *** [all] Error 2

Line 123 of ui.h is

int ui_get_rollback_point( GSList *points );

And I couldn't find any include that would declare GSList.


Reproducible: Always




emerge --info results:

Portage 2.2_rc23 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28-gentoo i686)
=================================================================
System uname: Linux-2.6.28-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-glibc2.0
Timestamp of tree: Wed, 28 Jan 2009 14:00:17 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=prescott -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=prescott -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="pl en"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa avahi avi berkdb bluetooth bzip2 cjk cli cracklib crypt cups dbus dirac dri dv dvdread extras fbcon ffmpeg fontconfig gdbm gif gimp glitz gstreamer hal htmlhandbook iconv ieee1394 immqt-bc isdnlog jpeg kde madwifi matroska midi mmx mp3 mudflap ncurses nls nptlonly nsplugin opengl openmp pam pcre perl png postgres povray pppd python qt qt3 qt3support qt4 quicktime readline reflection samba scanner sdk sdl session shroedinger smp spell spl sse sse2 ssl ssse3 svg sysfs tcpd theora tiff truetype unicode usb visualization vorbis x86 xcomposite xine xml xorg xpm xscreensaver xv xvid zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2009-01-28 16:16:34 UTC
Most probably it's glib.

Strange, that you don't have it.

This may be a dependency bug.
Comment 2 José Manuel Ferrer Ortiz 2009-01-28 23:47:27 UTC
Got it. Fuse cannot build without glib library, so using --without-glib in configure script (as the current version of the ebuild is doing) is fatal, unless we compile with gtk interface (--without-glib is ignored by configure in that case).

I've just made a patch to fix the ebuild, I'll attach it here.

Maybe we should file a bug upstream too.
Comment 3 José Manuel Ferrer Ortiz 2009-01-28 23:50:58 UTC
Created attachment 180041 [details, diff]
Added glib dependency, and removed --without-glib option

Fuse cannot build without glib, so made it a dependency in the ebuild and removed the option --without-glib when calling the configure script.

Jeremy, please, apply this patch to solve this bug.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-29 02:55:00 UTC
added -r1 with this fix, that. Please contact upstream if needed.
Comment 5 José Manuel Ferrer Ortiz 2009-01-29 13:24:18 UTC
Hi, I just a filed a bug report about this problem upstream: http://sourceforge.net/tracker/index.php?func=detail&aid=2545438&group_id=91293&atid=596648
Comment 6 José Manuel Ferrer Ortiz 2009-01-29 13:47:06 UTC
Philip Kendall, fuse's original author, answered from upstream. The fix to the problem (the attached patch) is right, but my understanding of the cause was wrong. I'll explain it just in case someone needs this information.

What happens is fuse failed to build without glib because we already built libspectrum *with* glib support. To do the right thing, you have to build both fuse and libspectrum either with glib or without it. With the attached patch (applied in the tree by now), we build both of them with glib support.