Pelo que consegui depurar o Segmentation faul vem sempre depois que o
script exporta o installwatch.so.

cat /usr/sbin/checkinstall
...
export LD_PRELOAD=${INSTALLWATCH_PREFIX}/lib/installwatch.so

# Run the install command, showing the results interactively if we were asked
# to do so in the configuration section (see the SHOW_INSTALL switch above)
INSTALL_FAILED=0
if [ $SHOW_INSTALL -eq 0 ]; then
   $INSTALLWATCH -o /${TMP_DIR}/newfiles.tmp $TMP_SCRIPT &>
/${TMP_DIR}/install.log
   okfail
   INSTALL_FAILED=$?
   unset INSTALLWATCH_BACKUP_PATH
else
   echo
   echo
   echo "========================= Installation results
==========================="
   $INSTALLWATCH -o /${TMP_DIR}/newfiles.tmp $TMP_SCRIPT 2>&1
   if [ $? -eq 0 ]; then
      echo
      echo "======================== Installation succesful
=========================="
   else
      INSTALL_FAILED=1
   fi
fi  (Linha 815)
...

Estranho que eu ja tentei compilar o fonte das vers�es 1.5.2, 1.5.3,
1.6.beta1 e sempre que eu rodo "make test" no diretorio do installwatch o
se repete.



> Quoting  Leandro Coelho S�ndahl <[EMAIL PROTECTED]>
> Sent on  Thu, 11 Nov 2004 14:02:38 -0200 (BRST)
>
>> /usr/sbin/checkinstall: line 815: 18560 Segmentation fault
>> $INSTALLWATCH -o /${TMP_DIR}/newfiles.tmp $TMP_SCRIPT 2>&1
>>
>> ****  Installation failed. Aborting package creation.
>
> SEGV nao ocorre em scripts, entao seria bom dar uma olhada na linha 815
> desse script, pra ver qual � o comando que ele realmente executa e que
> toma um SEGV.
>
> --
> Ricardo Nabinger Sanchez
> GNU/Linux #140696 [http://counter.li.org]
> Slackware Linux + FreeBSD
>
>   "Keep grandma off the streets -- legalize bingo."
> --
> GUS-BR - Grupo de Usuarios Slackware - BR
> http://www.slackwarebrasil.org/
> http://www.linuxmag.com.br/mailman/listinfo/slack-users
>


-- 
GUS-BR - Grupo de Usuarios Slackware - BR
http://www.slackwarebrasil.org/
http://www.linuxmag.com.br/mailman/listinfo/slack-users

Responder a