Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170200 - net-print/omni depends on =dev-libs/glib-1*
Summary: net-print/omni depends on =dev-libs/glib-1*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-09 23:29 UTC by CFuga
Modified: 2007-04-07 16:01 UTC (History)
0 users

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 CFuga 2007-03-09 23:29:47 UTC
In my stable Gentoo system, I can't emerge net-print/omni, because it has the wrong dependency for glib. The ebuild says:

RDEPEND="dev-libs/glib"

But in my machine, with glib-2.12.7 installed and without any installed version of glib-1, emerge doesn't work:

>>> Unpacking source...
>>> Unpacking Omni-0.9.1.tar.gz to /var/tmp/portage/net-print/omni-0.9.1/work
 * Applying omni-0.9.1-errno.patch ...
  [ ok ]
 * Applying omni-0.9.1-cxx.patch ...
  [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-print/omni-0.9.1/work/Omni ...
Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
CONFIGURE_ARGS=" --enable-jobdialog --enable-cups --disable-static"
MAKE_ARGS=""
NEW_DEVICES=""
BUILD_COMPILED_DEVICE=0
BUILD_XML_DEVICE=1
BUILD_UPDF_DEVICE=0
BUILD_VENDORSUPPLIED=0
BUILD_TEST_DEVICE=0
XML_DEVICELIST=Brother~             Canon~             Epson~             HP_Las
erJet~             IBM~             KS~             Kyocera~             Okidata
~             Panasonic~             Star~
XML_DEVICES=Brother~             Canon~             Epson~             HP_LaserJ
et~             IBM~             KS~             Kyocera~             Okidata~  
           Panasonic~             Star~
BUILD_DEVICES= XMLDevice~
Linking "HP LaserJet" to "HPLaserJet"
Missing: Makefile.am
Copying: libxml/Makefile.am
Copying: libxml/Main.cpp
Copying: libxml/MyErrorHandler.hpp
Copying: libxml/MyErrorHandler.cpp
Copying: libxml/DeviceInfo.hpp
Copying: libxml/OmniDomParser.hpp
Copying: libxml/OmniDomParser.cpp
Missing: Makefile.am
Copying: libxml/Makefile.am
Copying: libxml/UPDFFontParser.hpp
Copying: libxml/UPDFFontParser.cpp
Copying: libxml/XmlFile.hpp
Copying: libxml/XmlFile.cpp
Running aclocal [aclocal (GNU automake) 1.6.3]...
Running autoheader [autoheader (GNU Autoconf) 2.61]...
Running automake [automake (GNU automake) 1.6.3]...
Running autoreconf [autoreconf (GNU Autoconf) 2.61]...
Running configure  --enable-jobdialog --enable-cups --disable-static CFLAGS="-mt
une=pentium4 -O3 -pipe -fstack-protector" ...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
Compiling for debugging: false
checking for glib-config... no
configure: error: Please install glib development package.

!!! ERROR: net-print/omni-0.9.1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 2987:   Called src_compile
  omni-0.9.1.ebuild, line 44:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if rel
evant.
!!! A complete build log is located at '/var/tmp/portage/net-print/omni-0.9.1/te
mp/build.log'.

Installing the current stable version of glib-1 (glib-1.2.10-r5) solves the problem.

Reproducible: Always

Steps to Reproduce:
1. Try to install net-print/omni in a system with no glib-1 installed

Actual Results:  
net-print/omni doesn't compile

Expected Results:  
net-print/omni emerged

# emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 09 Mar 2007 20:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=pentium4 -O3 -pipe -fstack-protector"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php4/ext-active/ /etc/php/apache2-php4/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cli-php4/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-mtune=pentium4 -O3 -pipe -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://mirror.espri.arizona.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://ftp.swin.edu.au/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/gentoo http://gentoo.osuosl.org"
LANG="es_MX"
LINGUAS="es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman /usr/portage/local/layman/armagetron"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi alsa ao apache2 avahi bash-completion beagle berkdb bitmap-fonts branding bzip2 cairo caps cdr chardet cli cracklib crypt cscope cups curl dbus dga dri dts dv dvd eds emboss encode esd exif fam fbcon ffmpeg firefox flac foomaticdb fortran gd gdbm gif glut gmp gnome gnutls gpm gs gstreamer gtk gtkhtml guile hal iconv idn ieee1394 imagemagick imap ipv6 isdnlog jack java jbig joystick jpeg jpeg2k kerberos keyring krb4 lcms ldap libcaca libg++ libgda libnotify logrotate lzo mad midi mikmod mmx mng mono motif mp3 mpeg mssql musepack mysql ncurses network nfs nls nptl nptlonly nsplugin ogg opengl oss pam pcre pdf perl php pic png postgres ppds pppd prelude pulseaudio python qt3 quicktime readline real reflection rle samba sasl sdl sendmail session slp sndfile snmp speex spell spl sse ssl startup-notification svg tcpd tetex theora tiff timidity truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vhosts vorbis win32codecs wmf x264 x86 xinerama xml xorg xpm xscreensaver xv xvid xvmc zlib" ALSA_CARDS="intel8x0 usb-audio usb-usx2y seq-dummy dummy loopback virmidi mtpav portman2x4 serial-u16550" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia nv v4l vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2007-04-07 16:01:14 UTC
thanks, fixed