Summary: | openmotif-2.1.30-r5 (and -r4) doesn't install libs, only man pages !! | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | JoWilly <jowilly> |
Component: | New packages | Assignee: | Heinrich Wendel (RETIRED) <lanius> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
A screen log of the openmotif emerge
Output of "equery files openmotif" patch for openmotif-2.1.30-r5.ebuild |
Description
JoWilly
2004-05-19 20:08:10 UTC
Ok, I saw in the build output that there were many errors: it doesn't find -lXm I now installed openmotif and openmotif-devel rpms and kdebase now build fine. Please check this openmotif ebuild as it is broken. Thanks. please post a complete log of the merge process Created attachment 32045 [details]
A screen log of the openmotif emerge
A viewer that understands terminal escape sequences will be needed to view this
attachment. 'less' works fine for me.
I have attached a screen log of my attempt to remerge openmotif. The following errors are the first ones, and they appear to cause the entire build to fail ("all not remade because of previous errors, etc). Scale.c: In function `GetValueString': Scale.c:2762: warning: assignment makes pointer from integer without a cast Scale.c:2763: error: dereferencing pointer to incomplete type Scale.c:2769: error: dereferencing pointer to incomplete type make[3]: *** [Scale.o] Error 1 Also, this bug is the same as 51600. My `emerge info`: yoda root # emerge info Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) MP 2400+ Gentoo Base System version 1.4.14 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-mp -funroll-loops -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-mp -funroll-loops -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype video_cards_radeon x86 xml2 xmms xv zlib" For some reason -DX_LOCALE is set in the makefile - this causes /usr/include/X11/XLocale.h NOT to include locale.h and thus we lose struct lconv etc... I hacked a fix by #undef X_LOCALE in Scale.c right before XLocale.h is #include'd. Works for me(tm). Did some more debugging... it appears that config/cf/linux.cf adds the -DX_LOCALE as it doesn't realise we have libc>major version 6 installed - I patched the ebuild as below to set this in site.def - may break other archs? I really have no idea... echo >>$cfg "#undef LinuxCLibMajorVersion" echo >>$cfg "#define LinuxCLibMajorVersion 6" I merged the new ebuild with the gcc34 patch witch was just commited to portage. It builds fine now and everything seems to get installed correctly (the flash player works in konqueror (kdebase was build with rpms of openmotif and openmotif-devel)). But, somehow, after uninstalling the rpms and building openmotif I still cannot build kdebase: checking for Motif... libraries (none), headers in default path At least the headers are now there, but it cannot find the libs (but they seem to be installed...) I can confirm JoWilly's experience. I have been having the same issues with kdebase and openmotif (see bug #52290). The latest version of the openmotif ebuild seemed to install the openmotif headers, but subsequently emerging kdebase also gives me the "checking for Motif... libraries (none), headers in default path" error and the lack of a plugin configuration option in Konqueror. Created attachment 32361 [details]
Output of "equery files openmotif"
Just to confirm, this is the output of "equery files openmotif". Can someone
check this and make sure all of the openmotif files are being installed?
Created attachment 32366 [details, diff]
patch for openmotif-2.1.30-r5.ebuild
I found that Malcom's patch to the ebuild fixed all the problems I was
experiencing. I attached a diff of his changes.
The ebuild in portage was updated again. Now we have: kdebase: checking for Motif... libraries (none), headers (none) Someone is freakin' arround with this ebuild... something new with this problem? Anything to test? The portage ebuild was just updated again today and it now works ! kdebase: checking for Motif... libraries in default path, headers in default path Thanks ! forgot to close this one... |