| Summary: | transcode-1.0.2 fails to compile on ppc64 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Markus Rothe (RETIRED) <corsair> |
| Component: | Current packages | Assignee: | Markus Rothe (RETIRED) <corsair> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | media-video, morfic, plasmaroo, ppc64 |
| Priority: | High | ||
| Version: | 2005.0 | ||
| Hardware: | PPC64 | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
transcode-1.0.0_beta3-output.txt
RTjpegN.h types.h transcode-patches-1.0.1.tbz2 transcode-1.0.1.ebuild |
||
|
Description
Markus Rothe (RETIRED)
2005-05-24 05:07:29 UTC
Created attachment 59696 [details]
transcode-1.0.0_beta3-output.txt
the output
Created attachment 59697 [details]
RTjpegN.h
Created attachment 59698 [details]
types.h
plasmaroo takes bug. thx! 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. Created attachment 72176 [details, diff]
transcode-patches-1.0.1.tbz2
Created attachment 72179 [details]
transcode-1.0.1.ebuild
includes patch to fix asm/types.h conflict
Just try editing RTjpegN.h and change: #ifndef _I386_TYPES_H to #ifndef __u64 ... which seems like a much simpler solution. 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. ~sparc'd keyworded ~amd64 ~ppc ~x86 added Markus, next time please CC media-video@gentoo.org at least, at least we'll know what's going on... 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. |