Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 66798

Summary: orbit 2.12.0 doesn't install pkgconfig modules
Product: Gentoo Linux Reporter: Mark Duckworth <mducksub>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: major CC: george.barbarosie
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gconf-2.8.1-r1 config.log

Description Mark Duckworth 2004-10-08 12:13:31 UTC
The ebuild for Orbit 2.12.0 seems to be missing pkgconfig modules.  It only gets the main idl one.  Most users won't see this because if you emerge orbit 2.10.4 and then update to 2.12.0 the pkgconfig .pc files stay there from the previosu release, however 2.12.0 fails on a new system installation so it should be addressed.  This is on an amd64 system but I think this would affect all arch's.

Reproducible: Always
Steps to Reproduce:
1. emerge unmerge orbit
2. rm /usr/lib/pkgconfig/ORB*
3. emerge orbit-2.12.0

Actual Results:  
missing pkgconfig modules


can't post this due to my machine being inaccessible but it's amd64 with ~amd64
in accept_keywords and all of gnome 2.8 removed from package.mask.  CFLAGS are
-O2 -fomit-frame-pointer -pipe.
Comment 1 foser (RETIRED) gentoo-dev 2004-10-08 14:25:55 UTC
no they wouldn't stay because of an older version, it cleans them out. Do a 'qpkg -l orbit-2 | grep pkg'

reopen if needed
Comment 3 Martin Skou Andersen 2005-04-19 14:23:33 UTC
Created attachment 56706 [details]
gconf-2.8.1-r1 config.log
Comment 4 Martin Skou Andersen 2005-04-19 14:30:14 UTC
Im getting the following when installing gconf-8.2.1-r1:
checking for gmodule-2.0 >= 2.0.1 gobject-2.0 >= 2.0.1 ORBit-2.0 >= 2.4.0... Package ORBit-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `ORBit-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ORBit-2.0' found

configure: error: Library requirements (gmodule-2.0 >= 2.0.1 gobject-2.0 >= 2.0.1 ORBit-2.0 >= 2.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.


# qpkg -l orbit-2 | grep pkg
/usr/lib/pkgconfig
/usr/lib/pkgconfig/ORBit-idl-2.0.pc

# emerge info       
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20050125-r1,
 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 18 2005, 10:18:36)
]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1
1/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.
wh2.tu-dresden.de/pub/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibib
lio.org/gentoo/ ftp://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm avi berkdb bitmap-fonts cdr crypt cups directfb divx4linux dvd e
macs emacs-w3 emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib
 ipv6 java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg ncurses 
nls nvidia ogg oggvorbis opengl pam pdflib perl png python qt quicktime readline
 sdl spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts userlocales vi
deos vorbis x86 xml xml2 xmms xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLA
Y


I get the same trying to install libbonobo-2.8.0
Comment 5 George Barbarosie 2005-07-25 08:16:59 UTC
this needs to be reopened, as the problem is real;

my orbit version is 2.12.2, but i get the same result with 2.12.0, 2.12.1; 
equery files orbit | grep '\.pc$' shows only /usr/lib/pkgconfig/ORBit-idl-2.0.pc. 

also, when emerging orbit i get an error right before the man: and prepallstrip:
stages, which does _not_ stop the emerge from completing, but it seems to render
an incomplete orbit package. The error is:

(rm -f ../../../include/orbit/orb-core/orbit-interface.h
../../../include/orbit/orb-core/orbit-interface-stubs.c
../../../include/orbit/orb-core/orbit-interface-skels.c
../../../include/orbit/orb-core/orbit-interface-common.c
../../../include/orbit/orb-core/orbit-interface-imodule.c
../../../include/orbit/orb-core/orbit-interface-skelimpl.c || true) > /dev/null
../../../src/idl-compiler/orbit-idl-2 -I../../../src/idl/CORBA_PIDL
-I../../../src/idl/CORBA -I../../../src/idl/misc -I../../../src/idl/interop -I.
-D_PRE_3_0_COMPILER_ --noskels --nodefskels --nostubs --noidata --noheaders
--define=Object=OObject --define=TypeCode=TTypeCode --showcpperrors --deps
../../../include/orbit/orb-core/.deps/orbit-interface.idl.P
../../../include/orbit/orb-core/../../../src/orb/orb-core/orbit-interface.idl
orbit-idl-2 2.12.2 compiling
  mode, show preprocessor errors, passes: common 

../../../include/orbit/orb-core/../../../src/orb/orb-core/orbit-interface.idl:15:
Error: `TTypeCode' undeclared identifier

** (process:5057): WARNING **:
../../../include/orbit/orb-core/../../../src/orb/orb-core/orbit-interface.idl
compilation failed
make[3]: *** [../../../include/orbit/orb-core/orbit-interface.h] Error 1
make[3]: Leaving directory
`/var/tmp/portage/orbit-2.12.2/work/ORBit2-2.12.2/src/orb/orb-core'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/orbit-2.12.2/work/ORBit2-2.12.2/src/orb'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/orbit-2.12.2/work/ORBit2-2.12.2/src'
make: *** [install-recursive] Error 1


Comment 6 George Barbarosie 2005-07-25 08:43:38 UTC
ignore my previous comment;

orbit ebuild was incomplete due to clock skews; anyone encountering this
problem, try to find all files in /usr/lib with ctimes in the futue; this
command might help:

touch /tmp/now; find /usr/lib -cnewer /tmp/now -exec touch {} \;