[Lunar-bugs] [Lunar Linux 0000204]: xmovie build fails: can't find file to patch

Lunar bug reports list lunar-bugs at lunar-linux.org
Fri Mar 16 13:46:44 CET 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.lunar-linux.org/view.php?id=204 
====================================================================== 
Reported By:                neognomic
Assigned To:                dveatch
====================================================================== 
Project:                    Lunar Linux
Issue ID:                   204
Category:                   module
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Moonbase Version:           2006MMDD.NN 
Core Tools:                 Lunar 
Core Tools Version:         2006MMDD 
====================================================================== 
Date Submitted:             03-16-2007 03:29 CET
Last Modified:              03-16-2007 13:46 CET
====================================================================== 
Summary:                    xmovie build fails: can't find file to patch
Description: 
Info is below but I found that there is no xmovie source in /usr/src (so
there is no libmpeg3/Makefile to patch).

...guess xmovie-1.9.12-src.tar.bz2 never got out of /var/spool/lunar/ for
some <unknown> reason.
:?:


[INFO]
[--x--]
#>lin xmovie
...
20:45:34 (11.26 KB/s) - `/tmp/xmovie-1.9.12-src.tar.bz2' saved
[8262165/8262165]

Building xmovie version 1.9.12
can't find file to patch at input line 3
Creating /var/log/lunar/compile/xmovie-1.9.12.bz2 
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- libmpeg3/Makefile  2002-07-31 02:17:18.000000000 +0200
|+++ libmpeg3/Makefile  2002-07-31 02:17:46.000000000 +0200
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored
! Problem detected during BUILD
[--x--]

----

BUILD:
[--x--]
(
  patch -p0 < $SCRIPT_DIRECTORY/xmovie.patch  &&
  echo "PREFIX=/usr" >> global_config  &&
  default_make

) > $C_FIFO 2>&1
[--x--]

----

xmovie.patch is in the /var/.../xmovie directory:
[--x--]
--- libmpeg3/Makefile	2002-07-31 02:17:18.000000000 +0200
+++ libmpeg3/Makefile	2002-07-31 02:17:46.000000000 +0200
@@ -51,0 +52 @@
+	-I/usr/include/a52dec \
[--x--]

( Directory /usr/include/a52dec does exist and has four files in it. )

====================================================================== 

---------------------------------------------------------------------- 
 neognomic - 03-16-07 04:01  
---------------------------------------------------------------------- 
I manually extracted the download from /var/spool into /usr/src and the
build started but failed.
Here's the output( w/ a few spaces to highlight the problems reported):
[--x--]
#> lin xmovie
Checking dependencies for xmovie 
Building xmovie version 1.9.12
patching file libmpeg3/Makefile
make -f build/Makefile.xmovie

sh: -c: line 1: syntax error: unexpected end of file

make[1]: Entering directory `/usr/src/xmovie-1.9.12'

make[1]: warning: -jN forced in submake: disabling jobserver mode.

/usr/bin/make -f build/Makefile.sndfile
sh: -c: line 1: syntax error: unexpected end of file

/bin/sh: -c: line 1: syntax error: unexpected end of file

/bin/sh: libsndfile-1.0.5/x86_64/c_flags: No such file or directory


make[2]: Entering directory `/usr/src/xmovie-1.9.12'
gcc -c `cat libsndfile-1.0.5/x86_64/c_flags` 
libsndfile-1.0.5/src/GSM610/decode.c -o
libsndfile-1.0.5/x86_64/src/GSM610/decode.o
gcc -c `cat libsndfile-1.0.5/x86_64/c_flags` 
libsndfile-1.0.5/src/GSM610/add.c -o
libsndfile-1.0.5/x86_64/src/GSM610/add.o
gcc -c `cat libsndfile-1.0.5/x86_64/c_flags` 
libsndfile-1.0.5/src/GSM610/gsm_decode.c -o
libsndfile-1.0.5/x86_64/src/GSM610/gsm_decode.o
cat: libsndfile-1.0.5/x86_64/c_flags: No such file or directory
gcc -c `cat libsndfile-1.0.5/x86_64/c_flags` 
libsndfile-1.0.5/src/GSM610/gsm_encode.c -o
libsndfile-1.0.5/x86_64/src/GSM610/gsm_encode.o
cat: libsndfile-1.0.5/x86_64/c_flags: No such file or directory
cat: libsndfile-1.0.5/x86_64/c_flags: No such file or directory
gcc -c `cat libsndfile-1.0.5/x86_64/c_flags` 
libsndfile-1.0.5/src/GSM610/preprocess.c -o
libsndfile-1.0.5/x86_64/src/GSM610/preprocess.o
cat: libsndfile-1.0.5/x86_64/c_flags: No such file or directory
cat: libsndfile-1.0.5/x86_64/c_flags: No such file or directory
gcc -c `cat libsndfile-1.0.5/x86_64/c_flags` 
libsndfile-1.0.5/src/GSM610/short_term.c -o
libsndfile-1.0.5/x86_64/src/GSM610/short_term.o
cat: libsndfile-1.0.5/x86_64/c_flags: No such file or directory
Assembler messages:
FATAL: can't create libsndfile-1.0.5/x86_64/src/GSM610/add.o: No such file
or directory
make[2]: *** [libsndfile-1.0.5/x86_64/src/GSM610/add.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Assembler messages:
FATAL: can't create libsndfile-1.0.5/x86_64/src/GSM610/short_term.o: No
such file or directory
make[2]: *** [libsndfile-1.0.5/x86_64/src/GSM610/short_term.o] Error 1
Assembler messages:
FATAL: can't create libsndfile-1.0.5/x86_64/src/GSM610/decode.o: No such
file or directory
make[2]: *** [libsndfile-1.0.5/x86_64/src/GSM610/decode.o] Error 1
Assembler messages:
FATAL: can't create libsndfile-1.0.5/x86_64/src/GSM610/preprocess.o: No
such file or directory
make[2]: *** [libsndfile-1.0.5/x86_64/src/GSM610/preprocess.o] Error 1
Assembler messages:
FATAL: can't create libsndfile-1.0.5/x86_64/src/GSM610/gsm_decode.o: No
such file or directory
make[2]: *** [libsndfile-1.0.5/x86_64/src/GSM610/gsm_decode.o] Error 1
Assembler messages:
FATAL: can't create libsndfile-1.0.5/x86_64/src/GSM610/gsm_encode.o: No
such file or directory
make[2]: *** [libsndfile-1.0.5/x86_64/src/GSM610/gsm_encode.o] Error 1
make[2]: Leaving directory `/usr/src/xmovie-1.9.12'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/xmovie-1.9.12'
make: *** [all] Error 2
Creating /var/log/lunar/compile/xmovie-1.9.12.bz2 
! Problem detected during BUILD
[--x--] 

---------------------------------------------------------------------- 
 neognomic - 03-16-07 05:02  
---------------------------------------------------------------------- 
Just so you know, I did an updatedb and searched for decode:
#> loc GSM610/decode.c
/usr/src/xmovie-1.9.12/libsndfile-1.0.5/src/GSM610/decode.c
It's 22:53 CDT on Thu Mar 15.

I looked  (very briefly) at a couple of makefiles. It appears that it is
assigning a '' OBJDIR := $(shell uname --machine '' in the global_config.

But the $OBJDIR never gets made.
I.e., line 76
$(shell sh -c 'if ! test -d $(OBJDIR)\; then mkdir $(OBJDIR)\; fi' )
never happens.
 ... or something like that.

FYI:
#> uname --machine
x86_64 

---------------------------------------------------------------------- 
 Stumbles - 03-16-07 13:46  
---------------------------------------------------------------------- 
After some research and trying the latest version 1.9.13 this problem, it
still won't build. There are loads of syntax errors in global_config and
all the Makefiles. The most common problem in these files are "\;" (witout
quotes) and changing them to "\ ;" does allow the build to continue.
However, even after correcting for these it still fails to build at
various places.

This issue IMO should be reported upstream and I highly encourage you to
do so. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-16-07 03:29  neognomic      New Issue                                    
03-16-07 03:29  neognomic      Status                   new => assigned     
03-16-07 03:29  neognomic      Assigned To               => sofar           
03-16-07 03:29  neognomic      Moonbase Version          => 2006MMDD.NN     
03-16-07 03:29  neognomic      Core Tools                => Lunar           
03-16-07 03:29  neognomic      Core Tools Version        => 2006MMDD        
03-16-07 04:01  neognomic      Note Added: 0000418                          
03-16-07 05:02  neognomic      Note Added: 0000421                          
03-16-07 06:15  sofar          Assigned To              sofar =>            
03-16-07 06:15  sofar          Status                   assigned => new     
03-16-07 06:15  sofar          Category                 ISO => module       
03-16-07 13:37  Stumbles       Status                   new => assigned     
03-16-07 13:37  Stumbles       Assigned To               => dveatch         
03-16-07 13:46  Stumbles       Note Added: 0000423                          
======================================================================



More information about the Lunar-bugs mailing list