First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 127328
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Patrick Kursawe <phosphan@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Patrick Kursawe <phosphan@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 127328 depends on: Show dependency tree
Show dependency graph
Bug 127328 blocks: 107440 126046
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-23 09:20 0000
Libemf 1.0.3 is in portage for ~x86, and there's an old amd64 patch which needs
someone with spare time and an amd64 box. The other arches should please check
if their keywords are still ok for this version since it uses rather different
WINE headers for some stuff.

------- Comment #1 From nixnut 2006-03-26 05:59:26 0000 -------
Added ~ppc keyword.

------- Comment #2 From Markus Rothe 2006-03-29 11:00:47 0000 -------
added ~ppc64

------- Comment #3 From Patrick McLean 2006-04-12 12:15:20 0000 -------
Updated the patch for 1.0.3 and added ~amd64 to the modified ebuild.

You might want to to try to push this patch upstream.

------- Comment #4 From Jose daLuz 2006-04-12 20:26:24 0000 -------
(In reply to comment #3)
> Updated the patch for 1.0.3 and added ~amd64 to the modified ebuild.
> 
> You might want to to try to push this patch upstream.
> 
Unfortunately, the patch doesn't seem to work here:

 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../include
-march=k8 -O2 -pipe -ffriend-injection -D_REENTRANT -DPTHREADS -MT libemf.lo
-MD -MP -MF .deps/libemf.Tpo -c libemf.cpp  -fPIC -DPIC -o
.libs/libemf.o../include/libEMF/wine/winbase.h: In function 'void*
InterlockedCompareExchangePointer(void**, void*, void*)':
../include/libEMF/wine/winbase.h:1808: error: cast from 'void*' to 'LONG' loses
precision
../include/libEMF/wine/winbase.h:1808: error: cast from 'void*' to 'LONG' loses
precision
../include/libEMF/wine/winbase.h: In function 'void*
InterlockedExchangePointer(void**, void*)':
../include/libEMF/wine/winbase.h:1813: error: cast from 'void*' to 'LONG' loses
precision
make[1]: *** [libemf.lo] Error 1
make[1]: Leaving directory
`/var/tmp/portage/libemf-1.0.3/work/libEMF-1.0.3/libemf'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/libemf-1.0.3 failed.

Portage 2.1_pre7-r5 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.4-r1,
2.6.16-ck2 x86_64)
=================================================================
System uname: 2.6.16-ck2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r1, 2.16.91.0.6, 2.16.91.0.7
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -ffriend-injection"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache confcache distlocks metadata-transfer nostrip
parallel-fetch sandbox sfperms
strict"GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-main /usr/local/xgl-coffee /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X aac alsa apache2 avi bash-completion berkdb bitmap-fonts bzip2
cairo cdr cli crypt ctype cups dba dbus debug dri dvd dvdr eds emboss encode
esd expat fastbuild firefox flac foomaticdb force-cgi-redirect fortran ftp gd
gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog java jpeg
kde ldap lzw lzw-tiff mad memlimit mono mozilla mp3 mpeg ncurses nls nptl
nptlonly ogg opengl pam pcre pdflib perl pic png posix pppd python qt quicktime
readline ruby samba sdl session simplexml soap sockets spell spl sqlite ssl
tcpd theora tiff tokenizer truetype truetype-fonts type1-fonts usb vorbis xml
xml2 xpm xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse
input_devices_evdev kernel_linux userland_GNU video_cards_vga video_cards_vesa"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS

------- Comment #5 From Patrick McLean 2006-04-13 06:28:07 0000 -------
The patch works with gcc-3.4, the current non-hardmasked gcc.

If I have time, I might look at making a gcc4 patch later today.

------- Comment #6 From Jose daLuz 2006-04-13 06:54:36 0000 -------
(In reply to comment #5)
> The patch works with gcc-3.4, the current non-hardmasked gcc.
> 
> If I have time, I might look at making a gcc4 patch later today.
> 
There's no rush on this. I was just letting you know it was still broken under
gcc 4.1.

------- Comment #7 From Patrick McLean 2006-04-13 11:52:10 0000 -------
After further inspection, it appears that this only worked at all on amd64 by
chance (casting a void pointer to an int only ever works by chance on amd64).

It looks like we are going to have to drop the amd64 keyword from all versions
of the package

------- Comment #8 From Patrick Kursawe 2006-05-18 09:00:59 0000 -------
Well, why is this bug still open, then? :-)

------- Comment #9 From Gustavo Zacarias (RETIRED) 2006-06-26 15:55:51 0000 -------
~sparc is back!

First Last Prev Next    No search results available      Search page      Enter new bug