Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299308 - media-video/em8300-libraries don't require gtk+
Summary: media-video/em8300-libraries don't require gtk+
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-02 09:38 UTC by VadymT
Modified: 2010-02-26 16:08 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description VadymT 2010-01-02 09:38:46 UTC
According to bug #10339

I've tried to compile em8300-libraries-0.17.4 without GTK+. It doesn't.

# emerge --ask -v =media-video/em8300-libraries-0.17.4

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-video/em8300-libraries-0.17.4  USE="-gtk" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-video/em8300-libraries-0.17.4

 * em8300-0.17.4.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                       [ ok ]

>>> Unpacking source...
>>> Unpacking em8300-0.17.4.tar.gz to /var/tmp/portage/media-video/em8300-libraries-0.17.4/work
 * Running eautoreconf in '/var/tmp/portage/media-video/em8300-libraries-0.17.4/work/em8300-0.17.4' ...
 * Running aclocal -I autotools ...                                                                                                                                           [ ok ]
 * Running autoconf ...                                                                                                                                                       [ !! ]

 * Failed Running autoconf !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/media-video/em8300-libraries-0.17.4/temp/autoconf.out

 *
 * ERROR: media-video/em8300-libraries-0.17.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 3034:  Called eautoreconf
 *             environment, line  951:  Called eautoconf
 *             environment, line  893:  Called autotools_run_tool 'autoconf'
 *             environment, line  434:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *  The die message:
 *   Failed Running autoconf !
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-video/em8300-libraries-0.17.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/em8300-libraries-0.17.4/temp/environment'.
 *

>>> Failed to emerge media-video/em8300-libraries-0.17.4, Log file:

>>>  '/var/tmp/portage/media-video/em8300-libraries-0.17.4/temp/build.log'

 * Messages for package media-video/em8300-libraries-0.17.4:

 * Failed Running autoconf !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/media-video/em8300-libraries-0.17.4/temp/autoconf.out
 *
 * ERROR: media-video/em8300-libraries-0.17.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 3034:  Called eautoreconf
 *             environment, line  951:  Called eautoconf
 *             environment, line  893:  Called autotools_run_tool 'autoconf'
 *             environment, line  434:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *  The die message:
 *   Failed Running autoconf !
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-video/em8300-libraries-0.17.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/em8300-libraries-0.17.4/temp/environment'.

# cat /var/tmp/portage/media-video/em8300-libraries-0.17.4/temp/autoconf.out
***** autoconf *****
***** PWD: /var/tmp/portage/media-video/em8300-libraries-0.17.4/work/em8300-0.17.4
***** autoconf

configure.ac:43: error: possibly undefined macro: AM_PATH_GTK_2_0
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:44: error: possibly undefined macro: AC_MSG_RESULT

But it must to be compiled and installed without GTK+. Here is the result of compiling and installation of em8300-0.17.4 by hands:

# ./configure  --disable-gtktest --prefix=/usr --sysconfdir=/etc --datadir=/usr/share
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yeschecking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
*** GTK not found ***
checking for alsa configuration directory... /usr/share/alsa
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/linux/Makefile
config.status: creating overlay/Makefile
config.status: creating dhc/Makefile
config.status: creating em8300setup/Makefile
config.status: creating scripts/Makefile
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing depfiles commands

# make all
Making all in include
make[1]: Entering directory `/usr/src/em8300-0.17.4/include'
make  all-recursive
make[2]: Entering directory `/usr/src/em8300-0.17.4/include'
Making all in linux
make[3]: Entering directory `/usr/src/em8300-0.17.4/include/linux'
make[3]: Цель `all' не требует выполнения команд.
make[3]: Leaving directory `/usr/src/em8300-0.17.4/include/linux'
make[3]: Entering directory `/usr/src/em8300-0.17.4/include'
make[3]: Leaving directory `/usr/src/em8300-0.17.4/include'
make[2]: Leaving directory `/usr/src/em8300-0.17.4/include'
make[1]: Leaving directory `/usr/src/em8300-0.17.4/include'
Making all in scripts
make[1]: Entering directory `/usr/src/em8300-0.17.4/scripts'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/em8300-0.17.4/scripts'
Making all in em8300setup
make[1]: Entering directory `/usr/src/em8300-0.17.4/em8300setup'
gcc -DHAVE_CONFIG_H -I. -I../include -I../include   -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -g -O2 -MT em8300setup.o -MD -MP -MF .deps/em8300setup.Tpo -c -o em8300setup.o em8300setup.c
mv -f .deps/em8300setup.Tpo .deps/em8300setup.Po
gcc -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -g -O2   -o em8300setup em8300setup.o
make[1]: Leaving directory `/usr/src/em8300-0.17.4/em8300setup'
make[1]: Entering directory `/usr/src/em8300-0.17.4'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/usr/src/em8300-0.17.4'

# make install
Making install in include
make[1]: Entering directory `/usr/src/em8300-0.17.4/include'
Making install in linux
make[2]: Entering directory `/usr/src/em8300-0.17.4/include/linux'
make[3]: Entering directory `/usr/src/em8300-0.17.4/include/linux'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/include/linux" || /bin/mkdir -p "/usr/include/linux"
 /usr/bin/install -c -m 644 'em8300.h' '/usr/include/linux/em8300.h'
make[3]: Leaving directory `/usr/src/em8300-0.17.4/include/linux'
make[2]: Leaving directory `/usr/src/em8300-0.17.4/include/linux'
make[2]: Entering directory `/usr/src/em8300-0.17.4/include'
make[3]: Entering directory `/usr/src/em8300-0.17.4/include'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Leaving directory `/usr/src/em8300-0.17.4/include'
make[2]: Leaving directory `/usr/src/em8300-0.17.4/include'
make[1]: Leaving directory `/usr/src/em8300-0.17.4/include'
Making install in scripts
make[1]: Entering directory `/usr/src/em8300-0.17.4/scripts'
make[2]: Entering directory `/usr/src/em8300-0.17.4/scripts'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/em8300" || /bin/mkdir -p "/usr/share/em8300"
 /usr/bin/install -c -m 644 'em8300.pm' '/usr/share/em8300/em8300.pm'
test -z "/usr/share/em8300" || /bin/mkdir -p "/usr/share/em8300"
 /usr/bin/install -c 'console.pl' '/usr/share/em8300/console.pl'
 /usr/bin/install -c 'i2ctest.pl' '/usr/share/em8300/i2ctest.pl'
 /usr/bin/install -c 'microcode_extract.pl' '/usr/share/em8300/microcode_extract.pl'
 /usr/bin/install -c 'microcode_info.pl' '/usr/share/em8300/microcode_info.pl'
 /usr/bin/install -c 'msexpand.pl' '/usr/share/em8300/msexpand.pl'
 /usr/bin/install -c 'parsei2c.pl' '/usr/share/em8300/parsei2c.pl'
 /usr/bin/install -c 'replay.pl' '/usr/share/em8300/replay.pl'
 /usr/bin/install -c 'softiceparse.pl' '/usr/share/em8300/softiceparse.pl'
 /usr/bin/install -c 'symboliclog.pl' '/usr/share/em8300/symboliclog.pl'
make[2]: Leaving directory `/usr/src/em8300-0.17.4/scripts'
make[1]: Leaving directory `/usr/src/em8300-0.17.4/scripts'
Making install in em8300setup
make[1]: Entering directory `/usr/src/em8300-0.17.4/em8300setup'
make[2]: Entering directory `/usr/src/em8300-0.17.4/em8300setup'
test -z "/usr/bin" || /bin/mkdir -p "/usr/bin"
  /usr/bin/install -c 'em8300setup' '/usr/bin/em8300setup'
test -z "/usr/share/man/man1" || /bin/mkdir -p "/usr/share/man/man1"
 /usr/bin/install -c -m 644 './em8300setup.1' '/usr/share/man/man1/em8300setup.1'
make[2]: Leaving directory `/usr/src/em8300-0.17.4/em8300setup'
make[1]: Leaving directory `/usr/src/em8300-0.17.4/em8300setup'
make[1]: Entering directory `/usr/src/em8300-0.17.4'
make[2]: Entering directory `/usr/src/em8300-0.17.4'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/lib/firmware" || /bin/mkdir -p "/lib/firmware"
test ! -f ./modules/em8300.uc || /usr/bin/install -c -m 644 ./modules/em8300.uc "/lib/firmware/em8300.bin"
test -z "/usr/share/alsa" || /bin/mkdir -p "/usr/share/alsa/cards"
test -z "/usr/share/alsa" || /usr/bin/install -c -m 644 ./modules/EM8300.conf "/usr/share/alsa/cards/EM8300.conf"
make[2]: Leaving directory `/usr/src/em8300-0.17.4'
make[1]: Leaving directory `/usr/src/em8300-0.17.4'


Reproducible: Always

Steps to Reproduce:
1. Install vdr by emergy vdr
2. Install em8300-modules
3. Install em8300-libraries

Actual Results:  
I got an error of compilation of em8300-libraries-0.17.4
Comment 1 VadymT 2010-01-02 09:41:18 UTC
Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.32 i686)
=================================================================
System uname: Linux-2.6.32-i686-with-gentoo-1.12.13
Timestamp of tree: Tue, 29 Dec 2009 10:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.mneisen.org/gentoo ftp://files.gentoo.org "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri gdbm gpm iconv jpeg modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd truetype unicode 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-02-26 16:08:04 UTC
Fixed in 0.18.0.