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

Paulo Henrique paulo.rddck em bsd.com.br
Segunda Abril 1 19:19:46 BRT 2013


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
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:557:1: warning: this is the location of the
previous definition
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:518:1: warning: "sleep" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:562:1: warning: this is the location of the
previous definition
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:519:1: warning: "nanosleep" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:560:1: warning: this is the location of the
previous definition
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:520:1: warning: "usleep" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:561:1: warning: this is the location of the
previous definition
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:521:1: warning: "system" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:559:1: warning: this is the location of the
previous definition
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:522:1: warning: "sigwait" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:564:1: warning: this is the location of the
previous definition
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:523:1: warning: "waitpid" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:558:1: warning: this is the location of the
previous definition
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:524:1: warning: "connect" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:568:1: warning: this is the location of the
previous definition
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:525:1: warning: "accept" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:569:1: warning: this is the location of the
previous definition
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:526:1: warning: "select" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:565:1: warning: this is the location of the
previous definition
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:527:1: warning: "poll" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:567:1: warning: this is the location of the
previous definition
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:528:1: warning: "read" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:570:1: warning: this is the location of the
previous definition
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:529:1: warning: "write" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:571:1: warning: this is the location of the
previous definition
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:530:1: warning: "readv" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:572:1: warning: this is the location of the
previous definition
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:531:1: warning: "writev" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:573:1: warning: this is the location of the
previous definition
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:532:1: warning: "recv" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:574:1: warning: this is the location of the
previous definition
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:533:1: warning: "send" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:575:1: warning: this is the location of the
previous definition
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:534:1: warning: "recvfrom" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:576:1: warning: this is the location of the
previous definition
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:535:1: warning: "sendto" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:577:1: warning: this is the location of the
previous definition
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:536:1: warning: "pread" redefined
In file included from /usr/local/include/python2.7/Python.h:166,
                 from giscanner/giscannermodule.c:25:
/usr/local/include/pth/pth.h:578:1: warning: this is the location of the
previous definition
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: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

Stop in /usr/ports/devel/gobject-introspection.


Vou ter mesmo que recompilar o python sem suporte a pth ?

Att. Paulo Henrique.

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


Mais detalhes sobre a lista de discussão freebsd