Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1966 - Ogle distro ebuild broken
Summary: Ogle distro ebuild broken
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Thilo Bangert (RETIRED) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-21 03:05 UTC by W.A. Collier
Modified: 2011-10-30 22:36 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description W.A. Collier 2002-04-21 03:05:03 UTC
The following line was repeated many times, but not tagged as an error: 
 
../libtool: CC: command not found 
 
This was also a problem early in the build: 
 
make[1]: *** No rule to make target `../ogle/libmsgevents.la', needed by `libdvdcontrol.la'.  Stop. 
make[1]: *** Waiting for unfinished jobs.... 
../libtool: CC: command not found 
../libtool: CC: command not found 
 
But the fatal error was: 
 
686-pc-linux-gnu-gcc -DPACKAGE=\"ogle\" -DVERSION=\"0.8.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_BYTESWAP_H=1 
-DHAVE_XSHM=1 -DHAVE_XV=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_MADVISE=1 -DLIBAO_OSS= -DHAVE_XML=1 
-DHAVE_XF86VIDMODE=1 -DCONFIG_FILE=\"/usr/share/ogle/oglerc\" -DHAVE_MMX=1  -I. -I. -I. -I.. 
-I../include -I/usr/include -I/usr/include/libxml2    -march=i686 -O3 -pipe 
-I/usr/include/libxml2/libxml -I/usr/include/libxml2 -c `test -f a52_decoder.c || echo 
'./'`a52_decoder.c 
a52_decoder.c:  
In function `main': 
a52_decoder.c:219:  
`MM_ACCEL_MLIB' undeclared (first use in this function) 
 
a52_decoder.c:219:  
(Each undeclared identifier is reported only once 
 
a52_decoder.c:219:  
for each function it appears in.) 
 
a52_decoder.c:223:  
warning:  
assignment from incompatible pointer type 
 
a52_decoder.c:  
In function `a52_decode_data': 
a52_decoder.c:678:  
storage size of ` 
state 
' isn't known 
 
a52_decoder.c:739:  
sizeof applied to an incomplete type 
 
a52_decoder.c:739:  
sizeof applied to an incomplete type 
 
a52_decoder.c:739:  
sizeof applied to an incomplete type 
 
a52_decoder.c:739:  
sizeof applied to an incomplete type 
 
a52_decoder.c:739:  
sizeof applied to an incomplete type 
 
a52_decoder.c:739:  
sizeof applied to an incomplete type 
 
a52_decoder.c:749:  
too many arguments to function `a52_block' 
 
make[1]: *** [a52_decoder.o] Error 1 
make[1]: Leaving directory `/var/tmp/portage/ogle-0.8.2-r6/work/ogle-0.8.2/ac3' 
make: *** [all-recursive] Error 1 
 
!!! ERROR: The ebuild did not complete successfully. 
!!! Function src_compile, Line 18, Exitcode 2 
!!! (no error message) 
 
   ...done! 
>>> emerge media-video/ogle-0.8.2-r6 to / 
>>> md5 ;-) ogle-0.8.2.tar.gz 
!!! emerge aborting on  /usr/portage/media-video/ogle/ogle-0.8.2-r6.ebuild .
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2002-04-21 20:13:37 UTC
emerge dev-libs/a52dec

I'm not quite sure why the dependency isn't found, since it is inside the ebuild.
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-04-21 23:37:54 UTC
type "emerge rsync; emerge sys-devel/autoconf" and try again.  It'll work this
time.  (Older autoconf versions caused it to croak)
Comment 3 Gary Lyons 2002-04-22 19:01:48 UTC
The "fix" in Comment #2 had no effect for me I still get exactly the ame error 
the original poster reported. 
Comment 4 Ryan Phillips (RETIRED) gentoo-dev 2002-04-23 02:07:44 UTC
Have you tried running portage 1.9.2?
Comment 5 Gary Lyons 2002-04-23 06:32:38 UTC
yes that is the version of portage that I have installed 
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-24 00:30:44 UTC
what about the fix in comment #1?
Comment 7 Gary Lyons 2002-04-24 19:33:06 UTC
the comment 1 suggestion 
emerge dev-libs/a52dec
gives couldn't find match ev-libs/a52dec

the command 
emerge media-libs/a52dec 
recompiles a52dec but I  still can't get ogle to compile. I get the same error 
Comment 8 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2002-04-25 14:25:57 UTC
 i can't reproduce this - compiles fine on my machine... 
 
i do have mmx in my USE 
i do not have oss in my USE 
 
i think it's OSS is being used wrongly in this ebuild, actually... 
perhaps that is it 
Comment 9 William Johnson 2002-04-26 11:15:59 UTC
The CC command not found was resolved by re-running the ./autogen script and then re-running 
./configure before executing make. (Suggestion from a friend -- I never would have thought of it..) 
 
I was able to bypass the a52_block errors by using the header files from the 0.7.2 revision of 
liba52.  I edited the a52_decoder.c file to use local copies of a52.h, audio_out.h and mm_accel.h 
(from the 0.7.2 version) this also killed the MM_ACCEL_MLIB undeclared problem.  Now I have a problem 
with open_output function in a52_decoder.c.  It is giving an argument count error. . . 
 
For the record the ogle site [http://www.dtek.chalmers.se/groups/dvd/downloads.shtml] lists .0.72 as 
the version to download, FWIW. 
 
Hope this helps someone along I don't want to have to keep rebooting to watch DVD's! :) 
 
 
Comment 10 William Johnson 2002-04-26 12:37:51 UTC
Resolved?

Okay, took a minor break, yanked my head out of my behind, read the portage
guide, unmerge 0.7.3, then did an emerge =a52lib-0.7.2 followed by an emerge
ogle and have an apparent working binary.  I don't have a DVD reader on my
office machine so I can't test this exactly.
Comment 11 William Johnson 2002-04-26 12:40:51 UTC
Resolved?

Okay, took a minor break, yanked my head out of my behind, read the portage
guide, unmerge 0.7.3, then did an emerge =a52lib-0.7.2 followed by an emerge
ogle and have an apparent working binary.  I don't have a DVD reader on my
office machine so I can't say it's a 100% solution.  Soon as I get home from the
office I will try again though!


(PS: Sorry if this shows up twice, I tried to add bangert to the CC list and
possibly did a stoopid.)

William
Comment 12 William Johnson 2002-04-26 12:48:23 UTC
Sorry, I forgot to add that I edited /var/cache/edb/world file to "pin" the
version of a52lib to 0.7.2 i.e., I changed media-libs/a52dec to =a52dec-0.7.2

Comment 13 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2002-04-27 12:54:12 UTC
i did what comment #10 suggested... 
 
the pinning (#12) should not be necessary - i think that was 
a bug in portage that made it necessary 
 
thanks to everyone involved