Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93797 - transcode-1.0.2 fails to compile on ppc64
Summary: transcode-1.0.2 fails to compile on ppc64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 All
: High normal (vote)
Assignee: Markus Rothe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-24 05:07 UTC by Markus Rothe (RETIRED)
Modified: 2006-01-31 06:03 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
transcode-1.0.0_beta3-output.txt (transcode-1.0.0_beta3-output.txt,2.65 KB, text/plain)
2005-05-24 05:07 UTC, Markus Rothe (RETIRED)
Details
RTjpegN.h (RTjpegN.h,2.39 KB, text/plain)
2005-05-24 05:08 UTC, Markus Rothe (RETIRED)
Details
types.h (types.h,1.75 KB, text/plain)
2005-05-24 05:08 UTC, Markus Rothe (RETIRED)
Details
transcode-patches-1.0.1.tbz2 (transcode-patches-1.0.1.tbz2,3.75 KB, patch)
2005-11-05 06:49 UTC, Joachim Deguara
Details | Diff
transcode-1.0.1.ebuild (transcode-1.0.1.ebuild,3.88 KB, text/plain)
2005-11-05 06:51 UTC, Joachim Deguara
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rothe (RETIRED) gentoo-dev 2005-05-24 05:07:29 UTC
Hi,

transcode-1.0.0_beta3 fails to compile on ppc64. output follows. transcode redoes a typeset, which is also present in the kernel headers.

Markus
Comment 1 Markus Rothe (RETIRED) gentoo-dev 2005-05-24 05:07:59 UTC
Created attachment 59696 [details]
transcode-1.0.0_beta3-output.txt

the output
Comment 2 Markus Rothe (RETIRED) gentoo-dev 2005-05-24 05:08:17 UTC
Created attachment 59697 [details]
RTjpegN.h
Comment 3 Markus Rothe (RETIRED) gentoo-dev 2005-05-24 05:08:42 UTC
Created attachment 59698 [details]
types.h
Comment 4 Markus Rothe (RETIRED) gentoo-dev 2005-05-24 07:56:19 UTC
plasmaroo takes bug. thx!
Comment 5 Joachim Deguara 2005-11-05 06:47:52 UTC
I have fixed this bug on my ppc64 box.  The conflict was that RTjpegN.h redefines some typedefs that the 
linux kernel set in asm/types.h  But actually we should not use these types but preferably those from 
standard C that come with glibc, namely sys/types.h  I have fixed all affected files (three .c files and the 
said header file) and created a patch and edited the ebuild.  Please test on all platforms as this patch 
should work for all and I have set its arch to all.
Comment 6 Joachim Deguara 2005-11-05 06:49:00 UTC
Created attachment 72176 [details, diff]
transcode-patches-1.0.1.tbz2
Comment 7 Joachim Deguara 2005-11-05 06:51:16 UTC
Created attachment 72179 [details]
transcode-1.0.1.ebuild

includes patch to fix asm/types.h conflict
Comment 8 Tim Yamin (RETIRED) gentoo-dev 2005-11-05 13:23:03 UTC
Just try editing RTjpegN.h and change:

#ifndef _I386_TYPES_H

to

#ifndef __u64

... which seems like a much simpler solution.
Comment 9 Markus Rothe (RETIRED) gentoo-dev 2006-01-27 14:32:17 UTC
I've added transcode-1.0.2-r2 to portage, which contains the correct patch.

Arches: This adds support for ppc64, but changes code used on all arches. So I dropped your keywords. Please test and readd your keyword.
Comment 10 Jason Wever (RETIRED) gentoo-dev 2006-01-28 09:09:53 UTC
~sparc'd
Comment 11 Disenchanted (RETIRED) gentoo-dev 2006-01-29 16:39:01 UTC
keyworded ~amd64 ~ppc
Comment 12 Joshua Jackson (RETIRED) gentoo-dev 2006-01-30 14:56:38 UTC
~x86 added
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-01-31 05:55:09 UTC
Markus, next time please CC media-video@gentoo.org at least, at least we'll know what's going on...
Comment 14 Markus Rothe (RETIRED) gentoo-dev 2006-01-31 06:03:09 UTC
I'm sorry. Now that you remember me: I wanted to look up, why I couldn't add video@gentoo.org to CC (as in *herd*@gentoo.org). Now I know it should have been media-video@g.o.

Marking as FIXED. All arches readded their keyword.