[LAU] linuxsampler refuses to build a debian package

fred f.rech at yahoo.fr
Fri Jul 15 14:39:31 UTC 2011



Le 15/07/2011 16:26, Robin Gareus a écrit :
> On 07/15/2011 04:04 PM, fred wrote:
>    
>>
>> Le 15/07/2011 12:38, Robin Gareus a écrit :
>>      
>>> On 07/15/2011 11:25 AM, fred wrote:
>>>
>>>        
>>>> Hi list,
>>>>
>>>> when dpkg-buildpackage -rfakeroot -b on the 2205 svn revision, system
>>>> says :
>>>>
>>>>
>>>> libtool: link: ranlib .libs/liblinuxsampler.a
>>>> libtool: link: rm -fr .libs/liblinuxsampler.lax
>>>> .libs/liblinuxsampler.lax
>>>> libtool: link: ( cd ".libs"&&   rm -f "liblinuxsampler.la"&&   ln -s
>>>> "../liblinuxsampler.la" "liblinuxsampler.la" )
>>>> i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..      -Wreturn-type
>>>> -ffast-math -march=i486 -g -O2 -pthread -MT linuxsampler.o -MD -MP -MF
>>>> .deps/linuxsampler.Tpo -c -o linuxsampler.o linuxsampler.cpp
>>>> mv -f .deps/linuxsampler.Tpo .deps/linuxsampler.Po
>>>> /bin/bash ../libtool --tag=CXX   --mode=link i486-linux-gnu-g++
>>>> -Wreturn-type -ffast-math -march=i486 -g -O2 -pthread   -o linuxsampler
>>>> linuxsampler.o liblinuxsampler.la -luuid
>>>> libtool: link: i486-linux-gnu-g++ -Wreturn-type -ffast-math -march=i486
>>>> -g -O2 -pthread -o .libs/linuxsampler linuxsampler.o
>>>> ./.libs/liblinuxsampler.so -luuid -pthread -Wl,-rpath
>>>> -Wl,/usr/lib/linuxsampler
>>>> ./.libs/liblinuxsampler.so: undefined reference to
>>>> `LinuxSampler::restart(LinuxSampler::yyparse_param_t*, int&)'
>>>> ./.libs/liblinuxsampler.so: undefined reference to `yyparse(void*)'
>>>> collect2: ld returned 1 exit status
>>>> make[4]: *** [linuxsampler] Erreur 1
>>>> make[4]: quittant le répertoire «
>>>> /home/f/Downloads/svn_linuxsampler/linuxsampler/src »
>>>> make[3]: *** [all-recursive] Erreur 1
>>>> make[3]: quittant le répertoire «
>>>> /home/f/Downloads/svn_linuxsampler/linuxsampler/src »
>>>> make[2]: *** [all-recursive] Erreur 1
>>>> make[2]: quittant le répertoire «
>>>> /home/f/Downloads/svn_linuxsampler/linuxsampler »
>>>> make[1]: *** [all] Erreur 2
>>>> make[1]: quittant le répertoire «
>>>> /home/f/Downloads/svn_linuxsampler/linuxsampler »
>>>> make: *** [build-stamp] Erreur 2
>>>> dpkg-buildpackage: erreur: debian/rules build a produit une erreur de
>>>> sortie de type 2
>>>>
>>>> Any help appreciated,
>>>> Fred
>>>>
>>>>          
>>> yyparse is a yacc or bison function - some "compiler-compiler/parser
>>> generator" thingy usually invoked at compile time to create code.
>>>
>>> Either you don't have yacc or bison installed (and the .deb packages
>>> misses a dependency on it)
>>>        
>> yacc is installed, did bison need to be too ?
>>      
> bison and yacc are different implementations of the same
> parser-generator. Either should work.
>
>    
>>> OR you don't have a clean code checkout (and
>>> the parser-code is not [re-] generated correctly).
>>>
>>>        
>> Aïe...
>>      
>>> Try `sudo apt-get install bison` and re-compile;
>>> Also try again with a clean checkout
>>> or clean up your source-folder
>>> with sth. along the lines of  'rm `svn status | grep ?` ').
>>>
>>>        
>> Sorry, don't know this. May you explain that command please ?
>>      
> It will delete all files that are not tracked by SVN.
>
>    svn status | grep ?
>
>       Take all lines from 'svn status' that contain a question-mark.
>
>    rm `svn status | grep ?`
>       quick/dirty hack to remove said files.
>
>
> Subversion does - alas - not have a feature like 'git clean' that would
> give you a pristine source-tree. That's why others have suggested a new
> checkout.
>
> ciao,
> robin
>    
Thanks for explain Robin,

Hélas ! Add bisonc++ don't really help. Only the type of error changes ! 
Now it's :

$ dpkg-buildpackage -rfakeroot -b > loglsdpkgb
  dpkg-source --before-build linuxsampler
  fakeroot debian/rules clean
configure.in:42: installing `./config.guess'
configure.in:42: installing `./config.sub'
configure.in:1313: installing `./install-sh'
configure.in:1313: installing `./missing'
src/Makefile.am: installing `./depcomp'
"lscp.y", line 117: junk after `%%' in definition section
"lscp.y", line 117: no input grammar
*** glibc detected *** /usr/bin/bison: double free or corruption 
(!prev): 0x083764b8 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6(+0x6b281)[0x401e3281]
/lib/i686/cmov/libc.so.6(+0x6cad8)[0x401e4ad8]
/lib/i686/cmov/libc.so.6(cfree+0x6d)[0x401e7bbd]
/lib/i686/cmov/libc.so.6(fclose+0x14a)[0x401d373a]
/usr/bin/bison[0x804f0db]
/usr/bin/bison[0x8056681]
/usr/bin/bison[0x805676b]
/usr/bin/bison[0x80506fe]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x4018ec76]
/usr/bin/bison(__gxx_personality_v0+0x55)[0x8048de1]
======= Memory map: ========
08048000-0805b000 r-xp 00000000 08:1c 411505     /usr/bin/bison
0805b000-0805c000 rw-p 00012000 08:1c 411505     /usr/bin/bison
08376000-08397000 rw-p 00000000 00:00 0          [heap]
40000000-4001b000 r-xp 00000000 08:1c 147404     /lib/ld-2.11.2.so
4001b000-4001c000 r--p 0001a000 08:1c 147404     /lib/ld-2.11.2.so
4001c000-4001d000 rw-p 0001b000 08:1c 147404     /lib/ld-2.11.2.so
4001d000-4001e000 r-xp 00000000 00:00 0          [vdso]
4001e000-40020000 rw-p 00000000 00:00 0
40020000-40027000 r-xp 00000000 08:1c 423938     
/usr/lib/libfakeroot/libfakeroot-sysv.so
40027000-40028000 rw-p 00006000 08:1c 423938     
/usr/lib/libfakeroot/libfakeroot-sysv.so
40028000-4002d000 rw-p 00000000 00:00 0
4002e000-4002f000 rw-p 00000000 00:00 0
4003e000-40127000 r-xp 00000000 08:1c 140781     
/usr/lib/libstdc++.so.6.0.13
40127000-4012b000 r--p 000e9000 08:1c 140781     
/usr/lib/libstdc++.so.6.0.13
4012b000-4012c000 rw-p 000ed000 08:1c 140781     
/usr/lib/libstdc++.so.6.0.13
4012c000-40134000 rw-p 00000000 00:00 0
40134000-40158000 r-xp 00000000 08:1c 172676     
/lib/i686/cmov/libm-2.11.2.so
40158000-40159000 r--p 00023000 08:1c 172676     
/lib/i686/cmov/libm-2.11.2.so
40159000-4015a000 rw-p 00024000 08:1c 172676     
/lib/i686/cmov/libm-2.11.2.so
4015a000-40177000 r-xp 00000000 08:1c 146595     /lib/libgcc_s.so.1
40177000-40178000 rw-p 0001c000 08:1c 146595     /lib/libgcc_s.so.1
40178000-402b8000 r-xp 00000000 08:1c 172692     
/lib/i686/cmov/libc-2.11.2.so
402b8000-402ba000 r--p 0013f000 08:1c 172692     
/lib/i686/cmov/libc-2.11.2.so
402ba000-402bb000 rw-p 00141000 08:1c 172692     
/lib/i686/cmov/libc-2.11.2.so
402bb000-402be000 rw-p 00000000 00:00 0
402be000-402c0000 r-xp 00000000 08:1c 172684     
/lib/i686/cmov/libdl-2.11.2.so
402c0000-402c1000 r--p 00001000 08:1c 172684     
/lib/i686/cmov/libdl-2.11.2.so
402c1000-402c2000 rw-p 00002000 08:1c 172684     
/lib/i686/cmov/libdl-2.11.2.so
402c2000-402c4000 rw-p 00000000 00:00 0
40300000-40321000 rw-p 00000000 00:00 0
40321000-40400000 ---p 00000000 00:00 0
bf935000-bf94a000 rw-p 00000000 00:00 0          [stack]
Aborted
"lscp.y", line 117: junk after `%%' in definition section
"lscp.y", line 117: no input grammar
*** glibc detected *** /usr/bin/bison: double free or corruption 
(!prev): 0x095554b8 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6(+0x6b281)[0x401e3281]
/lib/i686/cmov/libc.so.6(+0x6cad8)[0x401e4ad8]
/lib/i686/cmov/libc.so.6(cfree+0x6d)[0x401e7bbd]
/lib/i686/cmov/libc.so.6(fclose+0x14a)[0x401d373a]
/usr/bin/bison[0x804f0db]
/usr/bin/bison[0x8056681]
/usr/bin/bison[0x805676b]
/usr/bin/bison[0x80506fe]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x4018ec76]
/usr/bin/bison(__gxx_personality_v0+0x55)[0x8048de1]
======= Memory map: ========
08048000-0805b000 r-xp 00000000 08:1c 411505     /usr/bin/bison
0805b000-0805c000 rw-p 00012000 08:1c 411505     /usr/bin/bison
09555000-09576000 rw-p 00000000 00:00 0          [heap]
40000000-4001b000 r-xp 00000000 08:1c 147404     /lib/ld-2.11.2.so
4001b000-4001c000 r--p 0001a000 08:1c 147404     /lib/ld-2.11.2.so
4001c000-4001d000 rw-p 0001b000 08:1c 147404     /lib/ld-2.11.2.so
4001d000-4001e000 r-xp 00000000 00:00 0          [vdso]
4001e000-40020000 rw-p 00000000 00:00 0
40020000-40027000 r-xp 00000000 08:1c 423938     
/usr/lib/libfakeroot/libfakeroot-sysv.so
40027000-40028000 rw-p 00006000 08:1c 423938     
/usr/lib/libfakeroot/libfakeroot-sysv.so
40028000-4002c000 rw-p 00000000 00:00 0
4003e000-40127000 r-xp 00000000 08:1c 140781     
/usr/lib/libstdc++.so.6.0.13
40127000-4012b000 r--p 000e9000 08:1c 140781     
/usr/lib/libstdc++.so.6.0.13
4012b000-4012c000 rw-p 000ed000 08:1c 140781     
/usr/lib/libstdc++.so.6.0.13
4012c000-40134000 rw-p 00000000 00:00 0
40134000-40158000 r-xp 00000000 08:1c 172676     
/lib/i686/cmov/libm-2.11.2.so
40158000-40159000 r--p 00023000 08:1c 172676     
/lib/i686/cmov/libm-2.11.2.so
40159000-4015a000 rw-p 00024000 08:1c 172676     
/lib/i686/cmov/libm-2.11.2.so
4015a000-40177000 r-xp 00000000 08:1c 146595     /lib/libgcc_s.so.1
40177000-40178000 rw-p 0001c000 08:1c 146595     /lib/libgcc_s.so.1
40178000-402b8000 r-xp 00000000 08:1c 172692     
/lib/i686/cmov/libc-2.11.2.so
402b8000-402ba000 r--p 0013f000 08:1c 172692     
/lib/i686/cmov/libc-2.11.2.so
402ba000-402bb000 rw-p 00141000 08:1c 172692     
/lib/i686/cmov/libc-2.11.2.so
402bb000-402be000 rw-p 00000000 00:00 0
402be000-402c0000 r-xp 00000000 08:1c 172684     
/lib/i686/cmov/libdl-2.11.2.so
402c0000-402c1000 r--p 00001000 08:1c 172684     
/lib/i686/cmov/libdl-2.11.2.so
402c1000-402c2000 rw-p 00002000 08:1c 172684     
/lib/i686/cmov/libdl-2.11.2.so
402c2000-402c4000 rw-p 00000000 00:00 0
40300000-40321000 rw-p 00000000 00:00 0
40321000-40400000 ---p 00000000 00:00 0
bfcfc000-bfd11000 rw-p 00000000 00:00 0          [stack]
Aborted
mv: impossible d'évaluer « y.tab.h »: Aucun fichier ou dossier de ce type
mv: impossible d'évaluer « y.tab.c »: Aucun fichier ou dossier de ce type
dh_clean: Compatibility levels before 5 are deprecated.
  debian/rules build
"lscp.y", line 117: junk after `%%' in definition section
"lscp.y", line 117: no input grammar
*** glibc detected *** /usr/bin/bison: double free or corruption 
(!prev): 0x09fcc4b8 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6(+0x6b281)[0x401db281]
/lib/i686/cmov/libc.so.6(+0x6cad8)[0x401dcad8]
/lib/i686/cmov/libc.so.6(cfree+0x6d)[0x401dfbbd]
/lib/i686/cmov/libc.so.6(fclose+0x14a)[0x401cb73a]
/usr/bin/bison[0x804f0db]
/usr/bin/bison[0x8056681]
/usr/bin/bison[0x805676b]
/usr/bin/bison[0x80506fe]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x40186c76]
/usr/bin/bison(__gxx_personality_v0+0x55)[0x8048de1]
======= Memory map: ========
08048000-0805b000 r-xp 00000000 08:1c 411505     /usr/bin/bison
0805b000-0805c000 rw-p 00012000 08:1c 411505     /usr/bin/bison
09fcc000-09fed000 rw-p 00000000 00:00 0          [heap]
40000000-4001b000 r-xp 00000000 08:1c 147404     /lib/ld-2.11.2.so
4001b000-4001c000 r--p 0001a000 08:1c 147404     /lib/ld-2.11.2.so
4001c000-4001d000 rw-p 0001b000 08:1c 147404     /lib/ld-2.11.2.so
4001d000-4001e000 r-xp 00000000 00:00 0          [vdso]
4001e000-40025000 rw-p 00000000 00:00 0
40026000-40027000 rw-p 00000000 00:00 0
40036000-4011f000 r-xp 00000000 08:1c 140781     
/usr/lib/libstdc++.so.6.0.13
4011f000-40123000 r--p 000e9000 08:1c 140781     
/usr/lib/libstdc++.so.6.0.13
40123000-40124000 rw-p 000ed000 08:1c 140781     
/usr/lib/libstdc++.so.6.0.13
40124000-4012b000 rw-p 00000000 00:00 0
4012b000-4014f000 r-xp 00000000 08:1c 172676     
/lib/i686/cmov/libm-2.11.2.so
4014f000-40150000 r--p 00023000 08:1c 172676     
/lib/i686/cmov/libm-2.11.2.so
40150000-40151000 rw-p 00024000 08:1c 172676     
/lib/i686/cmov/libm-2.11.2.so
40151000-40152000 rw-p 00000000 00:00 0
40152000-4016f000 r-xp 00000000 08:1c 146595     /lib/libgcc_s.so.1
4016f000-40170000 rw-p 0001c000 08:1c 146595     /lib/libgcc_s.so.1
40170000-402b0000 r-xp 00000000 08:1c 172692     
/lib/i686/cmov/libc-2.11.2.so
402b0000-402b2000 r--p 0013f000 08:1c 172692     
/lib/i686/cmov/libc-2.11.2.so
402b2000-402b3000 rw-p 00141000 08:1c 172692     
/lib/i686/cmov/libc-2.11.2.so
402b3000-402b7000 rw-p 00000000 00:00 0
40300000-40321000 rw-p 00000000 00:00 0
40321000-40400000 ---p 00000000 00:00 0
bf9ef000-bfa04000 rw-p 00000000 00:00 0          [stack]
Aborted
"lscp.y", line 117: junk after `%%' in definition section
"lscp.y", line 117: no input grammar
*** glibc detected *** /usr/bin/bison: double free or corruption 
(!prev): 0x093b34b8 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6(+0x6b281)[0x401db281]
/lib/i686/cmov/libc.so.6(+0x6cad8)[0x401dcad8]
/lib/i686/cmov/libc.so.6(cfree+0x6d)[0x401dfbbd]
/lib/i686/cmov/libc.so.6(fclose+0x14a)[0x401cb73a]
/usr/bin/bison[0x804f0db]
/usr/bin/bison[0x8056681]
/usr/bin/bison[0x805676b]
/usr/bin/bison[0x80506fe]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x40186c76]
/usr/bin/bison(__gxx_personality_v0+0x55)[0x8048de1]
======= Memory map: ========
08048000-0805b000 r-xp 00000000 08:1c 411505     /usr/bin/bison
0805b000-0805c000 rw-p 00012000 08:1c 411505     /usr/bin/bison
093b3000-093d4000 rw-p 00000000 00:00 0          [heap]
40000000-4001b000 r-xp 00000000 08:1c 147404     /lib/ld-2.11.2.so
4001b000-4001c000 r--p 0001a000 08:1c 147404     /lib/ld-2.11.2.so
4001c000-4001d000 rw-p 0001b000 08:1c 147404     /lib/ld-2.11.2.so
4001d000-4001e000 r-xp 00000000 00:00 0          [vdso]
4001e000-40024000 rw-p 00000000 00:00 0
40036000-4011f000 r-xp 00000000 08:1c 140781     
/usr/lib/libstdc++.so.6.0.13
4011f000-40123000 r--p 000e9000 08:1c 140781     
/usr/lib/libstdc++.so.6.0.13
40123000-40124000 rw-p 000ed000 08:1c 140781     
/usr/lib/libstdc++.so.6.0.13
40124000-4012b000 rw-p 00000000 00:00 0
4012b000-4014f000 r-xp 00000000 08:1c 172676     
/lib/i686/cmov/libm-2.11.2.so
4014f000-40150000 r--p 00023000 08:1c 172676     
/lib/i686/cmov/libm-2.11.2.so
40150000-40151000 rw-p 00024000 08:1c 172676     
/lib/i686/cmov/libm-2.11.2.so
40151000-40152000 rw-p 00000000 00:00 0
40152000-4016f000 r-xp 00000000 08:1c 146595     /lib/libgcc_s.so.1
4016f000-40170000 rw-p 0001c000 08:1c 146595     /lib/libgcc_s.so.1
40170000-402b0000 r-xp 00000000 08:1c 172692     
/lib/i686/cmov/libc-2.11.2.so
402b0000-402b2000 r--p 0013f000 08:1c 172692     
/lib/i686/cmov/libc-2.11.2.so
402b2000-402b3000 rw-p 00141000 08:1c 172692     
/lib/i686/cmov/libc-2.11.2.so
402b3000-402b7000 rw-p 00000000 00:00 0
40300000-40321000 rw-p 00000000 00:00 0
40321000-40400000 ---p 00000000 00:00 0
bff8a000-bff9f000 rw-p 00000000 00:00 0          [stack]
Aborted
mv: impossible d'évaluer « y.tab.h »: Aucun fichier ou dossier de ce type
mv: impossible d'évaluer « y.tab.c »: Aucun fichier ou dossier de ce type
i486-linux-gnu-g++: lscpparser.cpp: Aucun fichier ou dossier de ce type
i486-linux-gnu-g++: no input files
make[4]: *** [lscpparser.lo] Erreur 1
make[3]: *** [all-recursive] Erreur 1
make[2]: *** [all-recursive] Erreur 1
make[1]: *** [all] Erreur 2
make: *** [build-stamp] Erreur 2
dpkg-buildpackage: erreur: debian/rules build a produit une erreur de 
sortie de type 2



More information about the Linux-audio-user mailing list