Unga wrote on 02.11.2011 16:02:
----- Original Message -----

From: Ruslan Mahmatkhanov<cvs-...@yandex.ru>
To: Unga<unga...@yahoo.com>
Cc: "freebsd-ports-b...@freebsd.org"<freebsd-ports-b...@freebsd.org>
Sent: Wednesday, November 2, 2011 10:58 AM
Subject: Re: /usr/ports/textproc/py-libxml2 broken

Unga wrote on 02.11.2011 09:42:
  Hi all

  The /usr/ports/textproc/py-libxml2 is broken.

  config.status: creating config.h
  config.status: executing depfiles commands
  config.status: executing libtool commands
  rm: libtoolT: No such file or directory
  gmake[1]: Leaving directory
`/usr/ports/textproc/py-libxml2/work/libxml2-2.7.8'
  gmake[1]: Entering directory
`/usr/ports/textproc/py-libxml2/work/libxml2-2.7.8'
  gmake[1]: Leaving directory
`/usr/ports/textproc/py-libxml2/work/libxml2-2.7.8'
  *** Error code 1

  Stop in /usr/ports/textproc/py-libxml2.


  Best regards
  Unga

I had this problem before too, but after commiting of Makefile revision
1.172 of textproc/libxml2 it now builds fine to me. Do you have decent
ports tree?

PS. "rm: libtoolT: No such file or directory" is still there, but all
builds fine.


Hi Ruslan

Thanks for the reply.

My Makefile version for /usr/ports/textproc/libxml2:
$FreeBSD: ports/textproc/libxml2/Makefile,v 1.172 2011/11/01 11:08:35 kwm Exp $

My Makefile version for /usr/ports/textproc/py-libxml2:
$FreeBSD: ports/textproc/py-libxml2/Makefile,v 1.11 2011/08/11 19:19:59 kwm Exp 
$

Pls note, /usr/ports/textproc/libxml2 builds fine for me.

The build fails for /usr/ports/textproc/py-libxml2.

Pls also note, I'm building on FreeBSD 9.0 RC1 on i386.

Indication for the error could be following:
checking whether we are cross compiling...
checking whether we are cross compiling... configure: error: in 
`/usr/ports/textproc/py-libxml2/work/libxml2-2.7.8':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... gmake[1]: *** 
[config.status] Error 1
gmake[1]: Leaving directory `/usr/ports/textproc/py-libxml2/work/libxml2-2.7.8'
gmake: *** [Makefile.in] Error 1
gmake: *** Waiting for unfinished jobs....
sed: conftest.c: No such file or directory

Pls let me know if anymore info needed to be provided.

Regards
Unga

Hi, Unga.

I changed ports-bugs@ with ports@ in cc:, because it's correct list to send such things and hopefully someone can help there.

Version of texproc/libxml2/Makefile is important because py-libxml2 is an actually slave port of libxml2, so it using parts of it.

This error "cannot run C compiled programs", as far i understand, may indicate some problem with gcc/autotools. conftest.c is mentioned in m4/libtool.m4, so may be this port needs similar fix as textproc/libxml2 itself, i dunno.

Still i have no problem to build both ports on 10.0.

--
Regards,
Ruslan

Tinderboxing kills... the drives.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to