Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388813 - x11-misc/lightdm-1.0.5 automake fails because of missing dependency (introspection USE flag?)
Summary: x11-misc/lightdm-1.0.5 automake fails because of missing dependency (introspe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-28 23:05 UTC by Robert
Modified: 2011-11-05 21:12 UTC (History)
1 user (show)

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


Attachments
autoconf log file (automake.out,219 bytes, text/plain)
2011-10-28 23:06 UTC, Robert
Details
build log file (build.log,2.57 KB, text/plain)
2011-10-28 23:07 UTC, Robert
Details
build log for 1.0.5 (build.log,2.54 KB, text/plain)
2011-11-01 22:39 UTC, Robert
Details
autoconf log for 1.0.5 (autoconf.out,107 bytes, text/plain)
2011-11-01 22:51 UTC, Robert
Details
automake.out for 1.0.5 (automake.out,216 bytes, text/plain)
2011-11-01 23:17 UTC, Robert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2011-10-28 23:05:36 UTC
Automake stops complaining:
HAVE_INTROSPECTION does not appear in AM_CONDITIONAL

Reproducible: Always

Steps to Reproduce:
1. emerge lightdm
2.
3.
Actual Results:  
stops during automake

Expected Results:  
compiled and installed package

Seems to me as if a check that the USE flag "introspection" was used to build some dependencies is missing.


emerge --info
Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.12.2-r0, 3.1.0-gentoo x86_64)
=================================================================
System uname: Linux-3.1.0-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.0.3
Timestamp of tree: Fri, 28 Oct 2011 20:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=amdfam10"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 -march=amdfam10"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.ing.umu.se/linux/gentoo/ ftp://ftp.df.lth.se/pub/gentoo/ ftp://de-mirror.org/distro/gentoo/ ftp://mirror.mdfnet.se/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://trumpetti.atm.tut.fi/gentoo/ ftp://mirror.leaseweb.com/gentoo/ ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en no"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
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="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.se.gentoo.org/gentoo-portage"
USE="3dnow 7zip X a52 aac acl acpi alsa amd64 apng audiofile berkdb bzip2 cairo cdda cddb cdio cdr cleartype cli consolekit cracklib crypt cups cxx dbus device-mapper dga dirac dri dts dvd dvdr encode exif ffmpeg flac fontconfig fortran gdbm gdu gnutls gpm gtk hddtemp i18n iconv icq id3tag imap ipv6 jpeg jpeg2k kpathsea lame latex libass libnotify libsamplerate lm_sensors lzo mad matroska mjpeg mmx modules mp3 mpeg mudflap multilib musepack ncurses nls normalize nptl nptlonly ogg opengl openmp pam pcre png policykit pppd python qt3support readline sdl session sound speex sse sse2 sse3 ssl svg sysfs tcpd theora threads thunar tiff truetype udev unicode v4l v4l2 virtualbox vlc vorbis wav x264 xine xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" 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" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en no" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx vesa radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Robert 2011-10-28 23:06:46 UTC
Created attachment 291111 [details]
autoconf log file
Comment 2 Robert 2011-10-28 23:07:08 UTC
Created attachment 291113 [details]
build log file
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2011-11-01 07:59:49 UTC
There is no 1.1.0-r1 ebuild anymore. Please try the one we have on portage at the moment. Thanks
Comment 4 Robert 2011-11-01 22:39:27 UTC
Created attachment 291487 [details]
build log for 1.0.5
Comment 5 Robert 2011-11-01 22:43:15 UTC
# emerge --info =x11-misc/lightdm-1.0.5
Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.12.2-r0, 3.1.0-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.0-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.0.3
Timestamp of tree: Tue, 01 Nov 2011 21:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=amdfam10"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 -march=amdfam10"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.ing.umu.se/linux/gentoo/ ftp://ftp.df.lth.se/pub/gentoo/ ftp://de-mirror.org/distro/gentoo/ ftp://mirror.mdfnet.se/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://trumpetti.atm.tut.fi/gentoo/ ftp://mirror.leaseweb.com/gentoo/ ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en no"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
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="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.se.gentoo.org/gentoo-portage"
USE="3dnow 7zip X a52 aac acl acpi alsa amd64 apng audiofile berkdb bzip2 cairo cdda cddb cdio cdr cleartype cli consolekit cracklib crypt cups cxx dbus device-mapper dga dirac dri dts dvd dvdr encode exif ffmpeg flac fontconfig fortran gdbm gdu gnutls gpm gtk hddtemp i18n iconv icq id3tag imap ipv6 jpeg jpeg2k kpathsea lame latex libass libnotify libsamplerate lm_sensors lzo mad matroska mjpeg mmx modules mp3 mpeg mudflap multilib musepack ncurses nls normalize nptl nptlonly ogg opengl openmp pam pcre png policykit pppd python qt3support readline sdl session sound speex sse sse2 sse3 ssl svg sysfs tcpd theora threads thunar tiff truetype udev unicode v4l v4l2 virtualbox vlc vorbis wav x264 xine xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" 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" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en no" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx vesa radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# emerge -pqv =x11-misc/lightdm-1.0.5
[ebuild  N    ] x11-misc/lightdm-1.0.5  USE="gtk -branding -introspection -qt4"
Comment 6 Robert 2011-11-01 22:47:03 UTC
I now tried again with 1.0.5 and it behaves exactly the same as the former 1.1.0-r1.
I don't know if the USE flag introspection was also considered by 1.1.0-r1 but at least the 1.0.5 uses it but it seems to not have removed the check for it from the package build files.
Comment 7 Robert 2011-11-01 22:51:59 UTC
Created attachment 291489 [details]
autoconf log for 1.0.5
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2011-11-01 23:00:59 UTC
Please attach your automake.out not the autoconf.out
Comment 9 Robert 2011-11-01 23:17:17 UTC
Created attachment 291493 [details]
automake.out for 1.0.5
Comment 10 Robert 2011-11-01 23:18:35 UTC
Hmm, I'm not familiar with ebuilds and autoconf but I think I found something
in the ebuild:

        econf --localstatedir=/var \
                --disable-static \
                $(use_enable introspection) \
                $(use_enable qt4 liblightdm-qt) \
                $(use_enable qt4 qt-greeter) \
                $(use_enable gtk gtk-greeter) \
                --with-user-session=${default} \
                --with-greeter-session=${greeter} \
                --with-greeter-user=${user} \
                --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html


$(use_enable introspection)
should be something like
$(use_enable introspection liblightdm-gobject)
or am I wrong?

At least that is how I interpret this "$(use_enable)": It checks a USE flag and
then adds a parameter to the configure command. I see in lightdm's configure.ac
checks for liblightdm-gobject, liblightdm-qt, qt-greeter and gtk-greeter but
liblightdm-gobject doesn't show up in the econf line.
Comment 11 Markos Chandras (RETIRED) gentoo-dev 2011-11-02 08:22:57 UTC
econf has nothing to do with this. ebuild fails on the eautoreconf command. I can't reproduce it so it may take a while before I fix this
Comment 12 Robert 2011-11-02 23:55:36 UTC
If you need more info or someone to test, I'm happy to do that.
And since I'm currently not willing to change my systems USE flags I can easily reproduce it.
Comment 13 Markos Chandras (RETIRED) gentoo-dev 2011-11-04 20:34:14 UTC
Please try 1.0.6. Can I please have config.log and your config.status?
Comment 14 Dmitry Suloev 2011-11-05 13:45:14 UTC
(In reply to comment #13)
> Please try 1.0.6. Can I please have config.log and your config.status?

I try emerge lightdm-1.0.6-r1 and get this error:

checking for gobject-introspection... yes
./configure: line 15509: syntax error near unexpected token `maximum'
./configure: line 15509: `GNOME_COMPILE_WARNINGS(maximum)'
Comment 15 Markos Chandras (RETIRED) gentoo-dev 2011-11-05 13:46:46 UTC
(In reply to comment #14)
> (In reply to comment #13)
> > Please try 1.0.6. Can I please have config.log and your config.status?
> 
> I try emerge lightdm-1.0.6-r1 and get this error:
> 
> checking for gobject-introspection... yes
> ./configure: line 15509: syntax error near unexpected token `maximum'
> ./configure: line 15509: `GNOME_COMPILE_WARNINGS(maximum)'

How is this related to this bug? Please ope a new bug
Comment 16 Dmitry Suloev 2011-11-05 14:01:30 UTC
(In reply to comment #15)
> How is this related to this bug? Please ope a new bug

Done. https://bugs.gentoo.org/show_bug.cgi?id=389627
Comment 17 Robert 2011-11-05 17:26:16 UTC
Just tried it and it behaved exactly the same, just the version numbers in the files changed.

But there is no config.log or config.status that I can provide:

 x11-misc # find lightdm-1.0.6-r1 -name config*
lightdm-1.0.6-r1/work/lightdm-1.0.6/configure
lightdm-1.0.6-r1/work/lightdm-1.0.6/config.sub
lightdm-1.0.6-r1/work/lightdm-1.0.6/config.guess
lightdm-1.0.6-r1/work/lightdm-1.0.6/src/configuration.h
lightdm-1.0.6-r1/work/lightdm-1.0.6/src/configuration.c
lightdm-1.0.6-r1/work/lightdm-1.0.6/configure.ac
lightdm-1.0.6-r1/work/lightdm-1.0.6/config.h.in
Comment 18 Dmitry Suloev 2011-11-05 17:50:30 UTC
In my case all work fine. Can't reproduce.
Comment 19 Markos Chandras (RETIRED) gentoo-dev 2011-11-05 19:15:10 UTC
Samuli any ideas?
Comment 20 Samuli Suominen (RETIRED) gentoo-dev 2011-11-05 19:38:17 UTC
Fixed in portage
Comment 21 Robert 2011-11-05 21:12:49 UTC
The fix looks like a workaround to me but it works so who am I to complain. ;-)

Thanks.