[FUG-BR] Falha na construção do devel/gobject-introspection [Resolvido]

Paulo Henrique paulo.rddck em bsd.com.br
Segunda Abril 1 21:59:27 BRT 2013


2013/4/1 Paulo Henrique <paulo.rddck em bsd.com.br>

>
>
>
> Em 1 de abril de 2013 19:16, William Grzybowski <william88 em gmail.com>escreveu:
>
> 2013/4/1 Paulo Henrique <paulo.rddck em bsd.com.br>:
>> > Saudações,
>> >
>> > Estou atualizando o sistema através do portmaster e estou obtendo o
>> > respectivo erro durante a construção do devel/gobject-introspection.
>> >
>> >
>> > /usr/local/include/pth/pthread.h:537:1: warning: "pwrite" redefined
>> > In file included from /usr/local/include/python2.7/Python.h:166,
>> >                  from giscanner/giscannermodule.c:25:
>> > /usr/local/include/pth/pth.h:579:1: warning: this is the location of the
>> > previous definition
>> > gmake[2]: ** [_giscanner_la-giscannermodule.lo] Erro 1
>> > gmake[2]: Saindo do diretório
>> >
>> `/usr/ports/devel/gobject-introspection/work/gobject-introspection-1.34.2'
>> > gmake[1]: ** [all-recursive] Erro 1
>> > gmake[1]: Saindo do diretório
>> >
>> `/usr/ports/devel/gobject-introspection/work/gobject-introspection-1.34.2'
>> > gmake: ** [all] Erro 2
>> > *** [do-build] Error code 1
>>
>> Isso é só um warning. Um erro está acontecendo antes, impossível saber
>> o motivo com esse pedacinho de log.
>>
>>
>> > Em algumas consultas verifiquei que se trata de uma possivel
>> > imcompatibilidade como lang/python27 com a opção pth ativado, contudo é
>> > meio obscuro declarar que a falha seja realmente devido a isso.
>> >
>> > Alguem está passando pelo mesmo problema ?
>> >
>> > Tentei compilar o devel/gobject-introspection separado e o problema
>> > continua.
>> >
>> > Segue a saida o svn info contendo as informações do repositorio:
>> >
>> > root em MATILDA:/ # svn info /usr/ports/
>> > Caminho: usr/ports
>> > Working Copy Root Path: /usr/ports
>> > URL: svn://svn.freebsd.org/ports/head
>> > Raiz do Repositório: svn://svn.freebsd.org/ports
>> > UUID do repositório: 35697150-7ecd-e111-bb59-0022644237b5
>> > Revisão: 315656
>> > Tipo de Nó: diretório
>> > Agendado: normal
>> > Autor da Última Mudança: bdrewery
>> > Revisão da Última Mudança: 315656
>> > Data da Última Mudança: 2013-04-01 12:44:05 -0300 (Seg, 01 Abr 2013)
>> >
>> >
>> > Att. Paulo Henrique.
>> >
>> >
>> > --
>> > :=)><(=:
>> > Rip NoRm4nD.
>> > Flamers > /dev/null !!!
>> > -------------------------
>> > Histórico: http://www.fug.com.br/historico/html/freebsd/
>> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>
>>
>>
>> --
>> William Grzybowski
>> ------------------------------------------
>> Agência Livre - www.agencialivre.com.br
>> Curitiba/PR - Brasil
>> -------------------------
>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>
>
> William
>
> Segue o log completo.
>
> scannerlexer.c:2495: warning: comparison between signed and unsigned
>   CC     libgiscanner_la-scannerparser.lo
>   CCLD   libgiscanner.la
>   CC     _giscanner_la-giscannermodule.lo
> In file included from
> /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124,
>                  from /usr/local/include/glib-2.0/glib.h:108,
>                  from giscanner/sourcescanner.h:26,
>                  from giscanner/giscannermodule.c:26:
> /usr/local/include/pth/pthread.h:285: error: conflicting types for
> 'pthread_t'
> /usr/include/sys/_pthreadtypes.h:65: error: previous declaration of
> 'pthread_t' was here
> /usr/local/include/pth/pthread.h:286: error: conflicting types for
> 'pthread_attr_t'
> /usr/include/sys/_pthreadtypes.h:68: error: previous declaration of
> 'pthread_attr_t' was here
> /usr/local/include/pth/pthread.h:288: error: conflicting types for
> 'pthread_once_t'
> /usr/include/sys/_pthreadtypes.h:74: error: previous declaration of
> 'pthread_once_t' was here
> /usr/local/include/pth/pthread.h:289: error: conflicting types for
> 'pthread_mutexattr_t'
> /usr/include/sys/_pthreadtypes.h:70: error: previous declaration of
> 'pthread_mutexattr_t' was here
> /usr/local/include/pth/pthread.h:290: error: conflicting types for
> 'pthread_mutex_t'
> /usr/include/sys/_pthreadtypes.h:69: error: previous declaration of
> 'pthread_mutex_t' was here
> /usr/local/include/pth/pthread.h:291: error: conflicting types for
> 'pthread_condattr_t'
> /usr/include/sys/_pthreadtypes.h:72: error: previous declaration of
> 'pthread_condattr_t' was here
> /usr/local/include/pth/pthread.h:292: error: conflicting types for
> 'pthread_cond_t'
> /usr/include/sys/_pthreadtypes.h:71: error: previous declaration of
> 'pthread_cond_t' was here
> /usr/local/include/pth/pthread.h:293: error: conflicting types for
> 'pthread_rwlockattr_t'
> /usr/include/sys/_pthreadtypes.h:76: error: previous declaration of
> 'pthread_rwlockattr_t' was here
> /usr/local/include/pth/pthread.h:294: error: conflicting types for
> 'pthread_rwlock_t'
> /usr/include/sys/_pthreadtypes.h:75: error: previous declaration of
> 'pthread_rwlock_t' was here
> /usr/local/include/pth/pthread.h:357: error: conflicting types for
> 'pthread_kill'
> /usr/include/signal.h:71: error: previous declaration of 'pthread_kill'
> was here
> In file included from
> /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124,
>                  from /usr/local/include/glib-2.0/glib.h:108,
>                  from giscanner/sourcescanner.h:26,
>                  from giscanner/giscannermodule.c:26:
> /usr/local/include/pth/pthread.h:517:1: warning: "fork" redefined
>
> [snip]


>                  from giscanner/giscannermodule.c:25:
> /usr/local/include/pth/pth.h:579:1: warning: this is the location of the
> previous definition
> gmake[2]: ** [_giscanner_la-giscannermodule.lo] Erro 1
> gmake[2]: Saindo do diretório
> `/usr/ports/devel/gobject-introspection/work/gobject-introspection-1.34.2'
> gmake[1]: ** [all-recursive] Erro 1
> gmake[1]: Saindo do diretório
> `/usr/ports/devel/gobject-introspection/work/gobject-introspection-1.34.2'
> gmake: ** [all] Erro 2
> *** [do-build] Error code 1
>
> introspection.
>
>
> Vou ter mesmo que recompilar o python sem suporte a pth ?
>
> Att. Paulo Henrique.
>
> --
> :=)><(=:
> Rip NoRm4nD.
> Flamers > /dev/null !!!
>
A outra mensagem ficou aguardando moderação por ter excedido o tamanho
maximo permitido de postagem na lista.

Bom, contudo o problema foi solucionado reconfigurando as opções do python
e desativando a flag WITH_PTH, no caso a mesma é por padrão desativado, eu
que em algum momento no passado ativei a mesma.

Agradeço a ajuda.

Abraços e uma ótima semana.


-- 
:=)><(=:
Rip NoRm4nD.
Flamers > /dev/null !!!


Mais detalhes sobre a lista de discussão freebsd