| View previous topic :: View next topic |
| Author |
Message |
gimpel Advocate


Joined: 15 Oct 2004 Posts: 2718 Location: Munich, Bavaria
|
Posted: Sun Mar 15, 2009 1:30 pm Post subject: |
|
|
Wow, you guys just made my day!
This is exactly what I was looking for today, after having horrible issues with current emul packages.
Trying your overlay atm.
First I had to bump libxcb, libX11 etc to 1.2, as I use those from x11 overlay and want the 32bit ones to match (major changes between libxcb 1.1.90 and 1.2), as well as libXext and libXrandr.
Now, crossing fingers, and go!
Comments/Issues:
- mesa failed here right away, as it doesn't find the needed 32bit xlibs. I uninstalled the old emul xlibs before testing this of course.
- same for pretty much every other x-modular package in this overlay.
E.g. libXmu, when compiling the 32bit part
| Code: | /usr/lib64/libXt.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status |
because it just depends in libXt which I do have installed, but still without lib32 useflag.
Whenever USE="lib32" is requested for a package, it's library dependencies need USE="lib32" enabled too. I smell a big EAPI2 and [lib32?] mess is needed here.
Even worse: mesa needs expat, so for -lib32 depending on expat is OK. Now with lib32 enabled, we have to depend on expat[lib32?] or older/current emul-linux-x86-baselibs.
| Code: | multilib? ( lib32? || ( dev-libs/expat[lib32?] app-emulation/emul-linux-x86-baselibs ) )
!lib32? ( dev-libs/expat ) |
Ugh.
Example patch to the mesa ebuild (use EAPI 2 and usedeps, still ignoring the expat issue):
| Code: | diff --git a/media-libs/mesa/mesa-7.3-r1.ebuild b/media-libs/mesa/mesa-7.3-r1.ebuild
index 68a4fac..f23a5c7 100644
--- a/media-libs/mesa/mesa-7.3-r1.ebuild
+++ b/media-libs/mesa/mesa-7.3-r1.ebuild
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-7.3-r1.ebuild,v 1.1 2009/03/07 13:35:22 remi Exp $
+EAPI="2"
+
GIT=$([[ ${PV} = 9999* ]] && echo "git")
EGIT_REPO_URI="git://anongit.freedesktop.org/mesa/mesa"
@@ -51,14 +53,14 @@ IUSE="${IUSE_VIDEO_CARDS}
RDEPEND="app-admin/eselect-opengl
dev-libs/expat
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXxf86vm
- x11-libs/libXi
- x11-libs/libXmu
- x11-libs/libXdamage
- >=x11-libs/libdrm-2.4.3
- x11-libs/libICE
+ x11-libs/libX11[xcb?,lib32?]
+ x11-libs/libXext[lib32?]
+ x11-libs/libXxf86vm[lib32?]
+ x11-libs/libXi[lib32?]
+ x11-libs/libXmu[lib32?]
+ x11-libs/libXdamage[lib32?]
+ >=x11-libs/libdrm-2.4.3[lib32?]
+ x11-libs/libICE[lib32?]
motif? ( x11-libs/openmotif )
doc? ( app-doc/opengl-manpages )
!<=x11-base/xorg-x11-6.9"
@@ -79,14 +81,6 @@ S="${WORKDIR}/${MY_P}"
# Think about: ggi, svga, fbcon, no-X configs
pkg_setup() {
- if use xcb; then
- if ! built_with_use x11-libs/libX11 xcb; then
- msg="You must build libX11 with xcb enabled."
- eerror ${msg}
- die ${msg}
- fi
- fi
-
if use debug; then
append-flags -g
fi |
libX11:
| Code: | diff --git a/x11-libs/libX11/libX11-1.1.5.ebuild b/x11-libs/libX11/libX11-1.1.5.ebuild
index e88dd99..c939a94 100644
--- a/x11-libs/libX11/libX11-1.1.5.ebuild
+++ b/x11-libs/libX11/libX11-1.1.5.ebuild
@@ -5,6 +5,8 @@
# Must be before x-modular eclass is inherited
#SNAPSHOT="yes"
+EAPI="2"
+
XMODULAR_MULTILIB="yes"
inherit x-modular toolchain-funcs flag-o-matic multilib-xlibs
@@ -13,11 +15,11 @@ DESCRIPTION="X.Org X11 library"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="ipv6 xcb"
RDEPEND=">=x11-libs/xtrans-1.0.1
- x11-libs/libXau
- x11-libs/libXdmcp
+ x11-libs/libXau[lib32?]
+ x11-libs/libXdmcp[lib32?]
x11-proto/kbproto
>=x11-proto/xproto-7.0.6
- xcb? ( >=x11-libs/libxcb-1.0 )"
+ xcb? ( >=x11-libs/libxcb-1.0[lib32?] )"
DEPEND="${RDEPEND}
x11-proto/xf86bigfontproto
x11-proto/bigreqsproto |
If I find a way to make this local branch here available to the public, you guys could review and merge the updates and changes I'm making here. Let's see. _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
| Back to top |
|
 |
vlooe n00b

Joined: 04 Jun 2005 Posts: 34 Location: Germany
|
Posted: Sun Mar 15, 2009 9:47 pm Post subject: |
|
|
| maybe you want to join #gentoo-multilib-overlay on irc.freenode.net |
|
| Back to top |
|
 |
gimpel Advocate


Joined: 15 Oct 2004 Posts: 2718 Location: Munich, Bavaria
|
Posted: Sun Mar 15, 2009 10:05 pm Post subject: |
|
|
| vlooe wrote: | | maybe you want to join #gentoo-multilib-overlay on irc.freenode.net |
Aaight. _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
| Back to top |
|
 |
ScytheMan l33t


Joined: 30 Nov 2005 Posts: 603 Location: Berlin
|
Posted: Sat Aug 15, 2009 11:04 pm Post subject: |
|
|
last post in march, how is this project progressing?
is it usable for stable users?
thanks in advance
 |
|
| Back to top |
|
 |
vlooe n00b

Joined: 04 Jun 2005 Posts: 34 Location: Germany
|
Posted: Sun Aug 16, 2009 12:47 pm Post subject: |
|
|
The eclass approach in the overlay is working well.
But this approach will never go into the portage tree.
Furthermore i do not know if it is possible to simply switch back.
You can use it with a stable system, but you should be aware that this overlay is experimental and it could break your system.
In a second branch we test a approch with a modified portage.
But this one is even more experimental
join #gentoo-multilib-overlay on irc.freenode.net to get further information |
|
| Back to top |
|
 |
drescherjm Advocate

Joined: 05 Jun 2004 Posts: 2729 Location: Pittsburgh, PA, USA
|
Posted: Sat Sep 05, 2009 5:13 pm Post subject: |
|
|
| Quote: | | Furthermore i do not know if it is possible to simply switch back. |
I did temporarily last week. I mean delete the overlay from layman and | Code: | | emerge -auDvN world | and all was well. _________________ John
My gentoo overlay
Instructons for overlay |
|
| Back to top |
|
 |
tbe n00b

Joined: 22 Sep 2009 Posts: 5
|
Posted: Tue Sep 22, 2009 10:25 am Post subject: Python Modules don't compile |
|
|
Hi,
i have the following problem using the overlay with paludis:
Python Modules don't compile with the lib32 use-flag:
| Code: |
* compile multilib numpy for ABIs: x86 amd64
* Using setarch “i686” /usr/bin/python2.6-x86
!!! ERROR in dev-python/numpy-1.3.0-r1::multilib:
!!! In validate_PYTHON_ABIS at line 6109
!!! dev-lang/python:s.t isn't installed
|
|
|
| Back to top |
|
 |
tbe n00b

Joined: 22 Sep 2009 Posts: 5
|
Posted: Tue Sep 22, 2009 1:58 pm Post subject: |
|
|
Problem solved: Wrong char in bashrc: looks like a ", but was no "
Another Problem:
sys-libs/pam PROVIDE='virtual/pam[?lib32]'
Because of this, pam will reinstalled every time, a package has virtual/pam[lib32] as dep.
Reason (from freenode #paludis): <ciaranm> PROVIDE can only contain simple cat/pkg names
 |
|
| Back to top |
|
 |
tbe n00b

Joined: 22 Sep 2009 Posts: 5
|
Posted: Tue Sep 22, 2009 2:04 pm Post subject: |
|
|
| Code: | # paludis -i dev-python/PyQt -p
Building target list...
Building dependency list: ... 288 steps, 59 metadata (49 multilib, 5 proaudio, 5 arcon)
These packages will be installed:
* x11-misc/util-macros [U 1.2.2 -> 1.3.0]
Reasons: x11-apps/xinit-1.0.8-r8:0::gentoo, x11-drivers/xf86-input-evdev-2.2.5:0::gentoo, 5 more
build_options: -optional_tests split strip -trace
50.46 kBytes to download
* x11-libs/libXau::multilib [U 1.0.4 -> 1.0.5]
Reasons: media-libs/freetype-2.3.9-r1:2::installed, x11-apps/xauth-1.0.3:0::installed, 2 more
-debug lib32 build_options: -optional_tests split strip -trace
244.14 kBytes to download
* x11-libs/libxcb::multilib [U 1.4 -> 1.4-r1]
Reasons: media-libs/xine-lib-1.1.16.3-r1:1::installed, media-sound/phonon-4.4_pre20090520:0::installed, 2 more
-debug -doc lib32 (-selinux) build_options: -optional_tests split strip -trace
* media-libs/fontconfig::multilib :1.0 [U 2.7.2 -> 2.7.3]
Reasons: app-admin/eselect-fontconfig-1.0:0::installed, app-text/ghostscript-gpl-8.70-r1:0::installed, 7 more
-doc lib32 build_options: -optional_tests split strip -trace
* [b]sys-libs/pam::multilib [R 1.1.0] [/b]
Reasons: *virtual/pam-1.1.0::virtuals (virtual for sys-libs/pam-1.1.0:0::multilib)
-audit cracklib -debug lib32 nls (-selinux) vim-syntax (-test) build_options: -optional_tests split strip -trace
* [b]virtual/pam::virtuals [N 1.1.0 (for sys-libs/pam:0::multilib)] [/b]
Reasons: *dev-db/postgresql-base-8.4.1:8.4::installed, *net-fs/samba-libs-3.3.7:0::installed, 2 more
* media-libs/tiff::multilib [U 3.8.2-r8 -> 3.9.1]
Reasons: app-text/ghostscript-gpl-8.70-r1:0::installed, media-libs/lcms-1.18-r1:0::installed, 3 more
-jbig jpeg lib32 -nocxx zlib build_options: -optional_tests split strip -trace
1.34 MBytes to download
* sys-fs/udev::multilib [U 145-r1 -> 146]
Reasons: sys-apps/hal-0.5.13-r2:0::installed, x11-libs/libdrm-2.4.13:0::installed
devfs-compat -extras lib32 (-selinux) build_options: -optional_tests split strip -trace
518.99 kBytes to download
* virtual/dev-manager::virtuals [U 145-r1 (for sys-fs/udev:0::installed) -> 146 (for sys-fs/udev:0::multilib)]
Reasons: sys-kernel/gentoo-sources-2.6.31:2.6.31::installed
* x11-proto/damageproto [U 1.1.0 -> 1.2.0]
Reasons: x11-libs/gtk+-2.16.6:2::multilib, x11-libs/libXdamage-1.1.1:0::installed
build_options: -optional_tests split strip -trace
51.89 kBytes to download
* x11-libs/pango::multilib [U 1.24.5 -> 1.24.5-r1]
Reasons: x11-libs/gtk+-2.16.6:2::multilib
X -debug -doc+ lib32 (-test)+ build_options: -optional_tests split strip -trace
* x11-proto/fontsproto [U 2.0.2 -> 2.1.0]
Reasons: x11-libs/libXfont-1.4.0:0::installed
build_options: -optional_tests split strip -trace
55.45 kBytes to download
* x11-apps/xinit [U 1.0.8-r7 -> 1.0.8-r8]
Reasons: x11-base/xorg-server-1.6.3.901-r2:0::installed
-consolekit+ -debug -minimal pam build_options: -optional_tests split strip -trace
* x11-drivers/xf86-input-evdev [U 2.2.4 -> 2.2.5]
Reasons: x11-base/xorg-drivers-1.6:0::installed
-debug build_options: -optional_tests split strip -trace
291.31 kBytes to download
* x11-libs/gtk+::multilib :2 [U 2.16.5-r1 -> 2.16.6]
Reasons: app-text/ghostscript-gpl-8.70-r1:0::installed, media-libs/xine-lib-1.1.16.3-r1:1::installed, 2 more
X cups -debug -doc jpeg -jpeg2k lib32 tiff vim-syntax xinerama (-test) build_options: -optional_tests split strip -trace
17.66 MBytes to download
* x11-libs/qt :3 [N 3.3.8b-r2]
Reasons: *dev-python/PyQt-3.18.1:0::gentoo
cups -debug -doc -examples (-firebird) -immqt -immqt-bc ipv6 mysql -nas -nis -odbc opengl postgres -sqlite xinerama build_options: -optional_tests split strip -trace
"The Qt toolkit is a comprehensive C++ application development framework."
* x11-libs/qscintilla [N 2.4]
Reasons: *dev-python/PyQt-3.18.1:0::gentoo, *dev-python/qscintilla-python-2.4:0::gentoo
-doc python qt4 build_options: -optional_tests split strip -trace
"A Qt port of Neil Hodgson's Scintilla C++ editor class"
2.20 MBytes to download
* x11-proto/videoproto [U 2.2.2 -> 2.3.0]
Reasons: x11-libs/libXv-1.0.4:0::installed
build_options: -optional_tests split strip -trace
53.22 kBytes to download
* net-fs/samba-server::multilib (previously ::gentoo) [U 3.3.7 -> 3.3.7-r1]
Reasons: net-fs/samba-3.3.7:0::installed
acl -ads -aio -avahi -caps -cluster cups -debug -doc -examples fam ldap -lib32+ -quota -swat -syslog -winbind zeroconf build_options: split strip -trace
* media-video/ffmpeg::multilib (previously ::gentoo) [U 0.5_p19787 -> 0.5_p19928]
Reasons: media-libs/xine-lib-1.1.16.3-r1:1::installed
3dnow 3dnowext X alsa (-altivec) -bindist -cpudetection -custom-cflags -debug -dirac -doc encode faac faad -gsm hardcoded-tables -ieee1394 ipv6 jack -jpeg2k -lib32+ mmx mmxext mp3 network -opencore-amr -oss -schroedinger sdl -speex ssse3 theora threads v4l v4l2 -vdpau vorbis x264 xvid zlib (-test) VIDEO_CARDS: nvidia build_options: -optional_tests split strip -trace
2.93 MBytes to download
* dev-python/qscintilla-python [N 2.4]
Reasons: *x11-libs/qscintilla-2.4:0::gentoo
-debug qt4 build_options: -optional_tests split strip -trace
"Python bindings for Qscintilla"
* dev-python/PyQt [N 3.18.1] <target>
-debug -doc -examples build_options: -optional_tests split strip -trace
"A set of Python bindings for Qt3"
800.24 kBytes to download
Total: 22 packages (5 new, 16 upgrades, 1 rebuild), 26.15 MBytes to download
|
|
|
| Back to top |
|
 |
tbe n00b

Joined: 22 Sep 2009 Posts: 5
|
Posted: Wed Sep 23, 2009 8:57 am Post subject: |
|
|
Some ebuilds in this overlay use PROVIDE with a useflag.
This is wrong! It may break usage of your package manager! |
|
| Back to top |
|
 |
tbe n00b

Joined: 22 Sep 2009 Posts: 5
|
Posted: Fri Sep 25, 2009 9:01 am Post subject: |
|
|
| tbe wrote: | | Some ebuilds in this overlay use PROVIDE with a useflag. |
OK, cleand up  |
|
| Back to top |
|
 |
drescherjm Advocate

Joined: 05 Jun 2004 Posts: 2729 Location: Pittsburgh, PA, USA
|
Posted: Wed Sep 30, 2009 1:25 pm Post subject: |
|
|
I am having trouble with sys-libs/readline
| Code: | configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
make -j9
x86_64-pc-linux-gnu-gcc -c -I. -I. -D_GNU_SOURCE -march=core2 -O2 -pipe -m32 rlfe.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -D_GNU_SOURCE -march=core2 -O2 -pipe -m32 pty.c
rlfe.c: In function 'get_slave_pty':
rlfe.c:210: warning: ignoring return value of 'chown', declared with attribute warn_unused_result
rlfe.c: In function 'maybe_emphasize_input':
rlfe.c:270: warning: format not a string literal and no format arguments
rlfe.c: In function 'line_handler':
rlfe.c:302: warning: ignoring return value of 'write', declared with attribute warn_unused_result
rlfe.c:339: warning: ignoring return value of 'write', declared with attribute warn_unused_result
rlfe.c:342: warning: ignoring return value of 'write', declared with attribute warn_unused_result
rlfe.c:353: warning: ignoring return value of 'write', declared with attribute warn_unused_result
rlfe.c: In function 'main':
rlfe.c:642: warning: ignoring return value of 'write', declared with attribute warn_unused_result
rlfe.c:680: warning: ignoring return value of 'write', declared with attribute warn_unused_result
rlfe.c:724: warning: ignoring return value of 'write', declared with attribute warn_unused_result
x86_64-pc-linux-gnu-gcc -Wl,-O1 -L/lib32 -L/usr/lib32 -m32 -Lreadline -o rlfe rlfe.o pty.o -lreadline -lhistory -lcurses
rlfe.o: In function `main':
rlfe.c:(.text+0xafe): undefined reference to `_rl_echoing_p'
collect2: ld returned 1 exit status
make: *** [rlfe] Error 1
*
* ERROR: sys-libs/readline-6.0_p4 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3681: Called multilib-native_src_compile
* environment, line 3132: Called multilib-native_src_generic 'src_compile'
* environment, line 3171: Called multilib-native_src_generic 'src_compile'
* environment, line 3191: Called multilib-native_src_generic_sub 'src_compile'
* environment, line 3237: Called multilib-native_src_compile_internal
* environment, line 3143: Called die
* The specific snippet of code:
* emake || die "make rlfe failed";
* The die message:
* make rlfe failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/auto/temp_data/var_tmp/portage/sys-libs/readline-6.0_p4/temp/build.log'.
* The ebuild environment file is located at '/auto/temp_data/var_tmp/portage/sys-libs/readline-6.0_p4/temp/environment'.
* This ebuild used the following eclasses from overlays:
* /auto/portage/local/layman/jmd-multilib/eclass/multilib-native.eclass
* This ebuild is from a repository named 'multilib'
*
|
The 5.2_p13 version installs however
| Code: | jmd0 package.keywords # eix sys-libs/readline
[I] sys-libs/readline
Available versions:
(4) 4.3_p5
(0) 5.0-r2 5.1_p4 5.2_p13 ~6.0 ~6.0_p3
Installed versions: 5.2_p13[multilib](09:19:09 09/30/09)(lib32)
Homepage: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
Description: Another cute console display library
|
_________________ John
My gentoo overlay
Instructons for overlay |
|
| Back to top |
|
 |
MalleRIM Guru

Joined: 23 Jul 2007 Posts: 519 Location: Australia
|
Posted: Sun Oct 11, 2009 10:01 pm Post subject: |
|
|
I can't compile python:
| Code: | Failed to find the necessary bits to build these modules:
_tkinter bsddb185 sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
Failed to build these modules:
bz2 |
setup.py
Ok, I got it, bzip2 needed to be emerged with USE=lib32. Please add app-arch/bzip2[lib32?] to the python ebuild.
x11-libs/libdrm[lib32] depends on x11-libs/cairo[lib32] - another use flag change needed _________________ Men never do evil so completely and cheerfully as when they do it from religious conviction. |
|
| Back to top |
|
 |
MalleRIM Guru

Joined: 23 Jul 2007 Posts: 519 Location: Australia
|
Posted: Mon Oct 12, 2009 9:43 pm Post subject: |
|
|
dev-python/numpy fails for me with an access violation (compiling with -lib32). Anyone else experiencing this problem? _________________ Men never do evil so completely and cheerfully as when they do it from religious conviction. |
|
| Back to top |
|
 |
forkboy Apprentice


Joined: 24 Nov 2004 Posts: 200 Location: Blackpool, UK
|
Posted: Mon Oct 12, 2009 10:07 pm Post subject: |
|
|
| Sync again, this is fixed now. |
|
| Back to top |
|
 |
MalleRIM Guru

Joined: 23 Jul 2007 Posts: 519 Location: Australia
|
Posted: Tue Oct 13, 2009 8:53 pm Post subject: |
|
|
Thanks, working now  _________________ Men never do evil so completely and cheerfully as when they do it from religious conviction. |
|
| Back to top |
|
 |
Bogo Tux's lil' helper

Joined: 04 May 2002 Posts: 98
|
Posted: Sun Oct 18, 2009 6:28 pm Post subject: |
|
|
Lately, over 50% of packages I try to compile from this overlay are failing. For example, just now media-libs/schroedinger:
| Code: | In file included from gstbasevideoutils.c:25:
gstbasevideoutils.h:87: error: conflicting types for ‘gst_adapter_masked_scan_uint32’
/usr/include/gstreamer-0.10/gst/base/gstadapter.h:98: error: previous declaration of ‘gst_adapter_masked_scan_uint32’ was here
gstbasevideoutils.c:234: error: conflicting types for ‘gst_adapter_masked_scan_uint32’
/usr/include/gstreamer-0.10/gst/base/gstadapter.h:98: error: previous declaration of ‘gst_adapter_masked_scan_uint32’ was here
make[2]: *** [libgstvideo_la-gstbasevideoutils.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ../../../gst-libs/gst/video/gstbasevideocodec.h:26,
from gstbasevideoencoder.h:24,
from gstbasevideoencoder.c:25:
../../../gst-libs/gst/video/gstbasevideoutils.h:87: error: conflicting types for ‘gst_adapter_masked_scan_uint32’
/usr/include/gstreamer-0.10/gst/base/gstadapter.h:98: error: previous declaration of ‘gst_adapter_masked_scan_uint32’ was here
make[2]: *** [libgstvideo_la-gstbasevideoencoder.lo] Error 1
In file included from gstbasevideocodec.h:26,
from gstbasevideocodec.c:25:
../../../gst-libs/gst/video/gstbasevideoutils.h:87: error: conflicting types for ‘gst_adapter_masked_scan_uint32’
/usr/include/gstreamer-0.10/gst/base/gstadapter.h:98: error: previous declaration of ‘gst_adapter_masked_scan_uint32’ was here
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -Wall -I../../.. -DGstBaseVideoCodec=SchroBaseVideoCodec -DGstBaseVideoCodecClass=SchroBaseVideoCodecClass -DGstBaseVideoEncoder=SchroBaseVideoEncoder -DGstBaseVideoEncoderClass=SchroBaseVideoEncoderClass -DGstBaseVideoDecoder=SchroBaseVideoDecoder -DGstBaseVideoDecoderClass=SchroBaseVideoDecoderClass -DGstBaseVideoParse=SchroBaseVideoParse -DGstBaseVideoParseClass=SchroBaseVideoParseClass -I../../../gst-libs -march=native -O3 -pipe -c gstvideocompat.c -o libgstvideo_la-gstvideocompat.o >/dev/null 2>&1
In file included from ../../../gst-libs/gst/video/gstbasevideocodec.h:26,
from gstbasevideoparse.h:24,
from gstbasevideoparse.c:25:
../../../gst-libs/gst/video/gstbasevideoutils.h:87: error: conflicting types for ‘gst_adapter_masked_scan_uint32’
/usr/include/gstreamer-0.10/gst/base/gstadapter.h:98: error: previous declaration of ‘gst_adapter_masked_scan_uint32’ was here
make[2]: *** [libgstvideo_la-gstbasevideocodec.lo] Error 1
make[2]: *** [libgstvideo_la-gstbasevideoparse.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/schroedinger-1.0.7/work/schroedinger-1.0.7/gst-libs/gst/video'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/schroedinger-1.0.7/work/schroedinger-1.0.7'
make: *** [all] Error 2
*
* ERROR: media-libs/schroedinger-1.0.7 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3129: Called multilib-native_src_compile
* environment, line 2705: Called multilib-native_src_generic 'src_compile'
* environment, line 2761: Called multilib-native_src_compile_internal
* environment, line 2709: Called multilib-native_check_inherited_funcs 'src_compile'
* environment, line 2572: Called base_src_compile
* environment, line 369: Called base_src_work 'make'
* environment, line 483: Called die
* The specific snippet of code:
* emake || die "died running emake, $FUNCNAME:make";
* The die message:
* died running emake, base_src_work:make
*
* 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-libs/schroedinger-1.0.7/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/schroedinger-1.0.7/temp/environment'.
* This ebuild used the following eclasses from overlays:
* /usr/local/portage/layman/multilib/eclass/multilib-native.eclass
* This ebuild is from an overlay named 'multilib': '/usr/local/portage/layman/multilib/'
*
>>> Failed to emerge media-libs/schroedinger-1.0.7, Log file:
>>> '/var/tmp/portage/media-libs/schroedinger-1.0.7/temp/build.log'
* Messages for package media-libs/schroedinger-1.0.7:
*
* ERROR: media-libs/schroedinger-1.0.7 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3129: Called multilib-native_src_compile
* environment, line 2705: Called multilib-native_src_generic 'src_compile'
* environment, line 2761: Called multilib-native_src_compile_internal
* environment, line 2709: Called multilib-native_check_inherited_funcs 'src_compile'
* environment, line 2572: Called base_src_compile
* environment, line 369: Called base_src_work 'make'
* environment, line 483: Called die
* The specific snippet of code:
* emake || die "died running emake, $FUNCNAME:make";
* The die message:
* died running emake, base_src_work:make
*
* 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-libs/schroedinger-1.0.7/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/schroedinger-1.0.7/temp/environment'.
* This ebuild used the following eclasses from overlays:
* /usr/local/portage/layman/multilib/eclass/multilib-native.eclass
* This ebuild is from an overlay named 'multilib': '/usr/local/portage/layman/multilib/'
* |
This is just an example. I'd give more but I don't feel like continuing with my emerge -u world because it keeps dying at this package this week. Last week I spent hours masking packages that wouldn't compile. _________________ "I know it's only rock and roll but I like it." |
|
| Back to top |
|
 |
drescherjm Advocate

Joined: 05 Jun 2004 Posts: 2729 Location: Pittsburgh, PA, USA
|
Posted: Sun Oct 18, 2009 6:45 pm Post subject: |
|
|
| Quote: | | I spent hours masking packages that wouldn't compile |
I do two things. I do not add lib32 as a global flag and the second is in my /etc/make.conf I have
| Code: | | EMERGE_DEFAULT_OPTS="--keep-going --jobs 6" |
So when a package fails (like sys-libs/readline-6.0_p4) it just skips that and goes on with the emerge. _________________ John
My gentoo overlay
Instructons for overlay |
|
| Back to top |
|
 |
vlooe n00b

Joined: 04 Jun 2005 Posts: 34 Location: Germany
|
Posted: Mon Oct 19, 2009 9:25 am Post subject: |
|
|
@Bogo: the error with media-libs/schroedinger-1.0.7 is a bug in the portage tree not in the overlay
And as drescherjm suggested --keep-going is a nice feature of portage
Please report your build errors. Else we can not get rid of them.
The best place to report errors and get quick help is the irc chanel: #gentoo-multilib-overlay |
|
| Back to top |
|
 |
Bogo Tux's lil' helper

Joined: 04 May 2002 Posts: 98
|
Posted: Thu Oct 22, 2009 2:11 am Post subject: |
|
|
Bad example then, but I've had lots of packages fail that are trying to compile from the multilib overlay.
I don't use lib32 as a global flag.
I've noticed that even if I do not use lib32 for a certain package, if that package exists in multilib, it will use that one over the main tree. When those packages fail, I've just rm -rf'd that entry in multilib and the compile will go fine. I specifically remember gegl a few weeks ago, but that has since been fixed.
I'll give --keep-going a shot. _________________ "I know it's only rock and roll but I like it." |
|
| Back to top |
|
 |
drescherjm Advocate

Joined: 05 Jun 2004 Posts: 2729 Location: Pittsburgh, PA, USA
|
Posted: Thu Oct 22, 2009 2:17 am Post subject: |
|
|
| Quote: | | I've noticed that even if I do not use lib32 for a certain package, if that package exists in multilib, it will use that one over the main tree. |
That is normal. Overlays override packages in portages of the same version.
| Quote: | | I've just rm -rf'd that entry in multilib and the compile will go fine. |
That I have not seen yet. I have had my share of multilib failures but all of them have been compiling the x86 package and also all have had the lib32 use flag enabled. _________________ John
My gentoo overlay
Instructons for overlay |
|
| Back to top |
|
 |
MalleRIM Guru

Joined: 23 Jul 2007 Posts: 519 Location: Australia
|
Posted: Sat Oct 24, 2009 7:43 pm Post subject: |
|
|
Please mark the following amd64 stable (sync with tree):
dev-python/dbus-python-0.83.0-r1
media-libs/libogg-1.1.4
media-libs/speex-1.2_rc1
sys-libs/libcap-2.17
www-client/mozilla-firefox-3.5.2-r3
net-libs/xulrunner-1.9.1.2-r2 _________________ Men never do evil so completely and cheerfully as when they do it from religious conviction. |
|
| Back to top |
|
 |
peltco n00b

Joined: 25 Oct 2009 Posts: 2
|
Posted: Sun Oct 25, 2009 2:21 am Post subject: libdrm |
|
|
libdrm complains with
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libdrm-2.4.15/work/libdrm-2.4.15/libd
rm/intel -I../../libdrm -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I/var/tmp/portage/x11-libs/libdrm-2.4.15/work/libdrm-2.4.15/libdrm -I/var/tmp/portage/x11-libs/libdrm-2.4.15/work/libdrm-2.4.15/libdrm/intel -I/var/tmp/portage/x11-libs/libdrm-2.4.15/work/libdrm-2.4.15/shared-core -O2 -pipe -m32 -MT mm.lo -MD -MP -MF .deps/mm.Tpo -c /var/tmp/portage/x11-libs/libdrm-2.4.15/work/libdrm-2.4.15/libdrm/intel/mm.c -fPIC -DPIC -o .libs/mm.o
mv -f .deps/mm.Tpo .deps/mm.Plo
In file included from /var/tmp/portage/x11-libs/libdrm-2.4.15/work/libdrm-2.4.15/libdrm/intel/intel_bufmgr_gem.c:56:
/var/tmp/portage/x11-libs/libdrm-2.4.15/work/libdrm-2.4.15/libdrm/intel/intel_atomic.h:58:2: error: #error libdrm-intel requires atomic operations, please define them for your CPU/compiler.
/var/tmp/portage/x11-libs/libdrm-2.4.15/work/libdrm-2.4.15/libdrm/intel/intel_bufmgr_gem.c:106: error: expected specifier-qualifier-list before 'atomic_t'
/var/tmp/portage/x11-libs/libdrm-2.4.15/work/libdrm-2.4.15/libdrm/intel/intel_bufmgr_gem.c: In function 'drm_intel_gem_dump_validation_list':
/var/tmp/portage/x11-libs/libdrm-2.4.15/work/libdrm-2.4.15/libdrm/intel/intel_bufmgr_gem.c:282: error: 'drm_intel_bo_gem' has no member named 'relocs'
..... (list of errors goes on after this)
what i read online is that -march needs to be specified for atomic operations to work.
note: turned out i forgot to set my -march flag in my CFLAGS. so much for installing 5 gentoo installations at the same time
Last edited by peltco on Tue Oct 27, 2009 12:17 am; edited 1 time in total |
|
| Back to top |
|
 |
MalleRIM Guru

Joined: 23 Jul 2007 Posts: 519 Location: Australia
|
Posted: Mon Oct 26, 2009 5:46 pm Post subject: |
|
|
with the multilib overlay, I got poor 3D performance for 32bit apps. Counter-Strike and Warcraft III are unplayable, while they used to work before. A 32bit compiled glxgears only has ~100 fps while a 64bit glxgears has more than 300 fps. I have ebuilds for the following multilib packages created myself, because they are not in the multilib overlay yet:
| Code: | [I] media-libs/mesa (7.6[2]@25.10.2009): OpenGL-like graphic library for Linux
[I] x11-libs/libX11 (1.3.2[2]@26.10.2009): X.Org X11 library
[I] x11-libs/libXext (1.1[2]@12.10.2009): X.Org Xext library
[I] x11-libs/libXi (1.3[2]@12.10.2009): X.Org Xi library
[I] x11-libs/libXxf86vm (1.1.0[2]@13.10.2009): X.Org Xxf86vm library |
I am using the xf86-video-ati from git
any suggestions for this problem? _________________ Men never do evil so completely and cheerfully as when they do it from religious conviction. |
|
| Back to top |
|
 |
Carnildo Guru

Joined: 17 Jun 2004 Posts: 550
|
Posted: Tue Oct 27, 2009 11:24 pm Post subject: |
|
|
| vlooe wrote: | | @Bogo: the error with media-libs/schroedinger-1.0.7 is a bug in the portage tree not in the overlay |
It's a bug in the overlay, not in the Portage tree: the official ebuild has an RDEPEND of "<media-libs/gstreamer-0.10.24", while the overlay ebuild has an RDEPEND of ">=media-libs/gstreamer-0.10.24". Guess which one works, and which one generates the compile error? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|