Re: ImageMagick fails to build when upgrading.

2011-10-14 Thread Eric McCorkle
On 10/13/11 10:46, Andriy Gapon wrote:
 on 12/10/2011 14:55 Zhihao Yuan said the following:
 I checked out the latest version in ports, but this test still fails for
 gcc46. I'll try clang latter.
 I am also running into the same problem with gcc45 and optimization level = 
 2.
 With base gcc or optimization level = 1 all tests pass OK.
 I don't know how to explain this, I won't even try, because I think that this 
 is
 irrelevant.

 I've tracked down origins of this issue to the following:
 https://bugzilla.novell.com/show_bug.cgi?id=673303
 http://www.imagemagick.org/discourse-server/viewtopic.php?f=3t=19436
 Apparently they fixed something strerror_r-ish for glib environment, but 
 broken it
 for posix environment.


I've seen the same behavior with a clang build.



signature.asc
Description: OpenPGP digital signature


Re: ImageMagick fails to build when upgrading.

2011-10-14 Thread Eric McCorkle
On 10/14/11 17:25, Eric McCorkle wrote:
 I've seen the same behavior with a clang build. 

Actually, no.  I looked into it more, and what I found is suspicious.

I had the tests failing in Magick++/attributes.sh.  What's suspicious is
it would claim to have a random, and often nonsensible number of
failures (-21563, or something).  I opened up attributes.cpp, expecting
to find an uninitialized variable, however, there is an int failures =
0 at the top of the main function.  After a while, I moved the
declaration outside of the main function, and the test worked.  This
tells me it's getting corrupted somehow, perhaps by a buffer overflow of
some kind.

Has anyone else seen this?



signature.asc
Description: OpenPGP digital signature


Re: ImageMagick fails to build when upgrading.

2011-10-13 Thread Andriy Gapon
on 12/10/2011 14:55 Zhihao Yuan said the following:
 I checked out the latest version in ports, but this test still fails for
 gcc46. I'll try clang latter.

I am also running into the same problem with gcc45 and optimization level = 2.
With base gcc or optimization level = 1 all tests pass OK.
I don't know how to explain this, I won't even try, because I think that this is
irrelevant.

I've tracked down origins of this issue to the following:
https://bugzilla.novell.com/show_bug.cgi?id=673303
http://www.imagemagick.org/discourse-server/viewtopic.php?f=3t=19436
Apparently they fixed something strerror_r-ish for glib environment, but broken 
it
for posix environment.

-- 
Andriy Gapon
___
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


Re: ImageMagick fails to build when upgrading.

2011-10-12 Thread Paul Macdonald

On 11/10/2011 11:58, Leslie Jensen wrote:



/usr/ports/graphics/ImageMagick/work/ImageMagick-6.7.2-10/test-suite.log



Segmentation fault (core dumped)


in case you hadn't spotted 6.7.3.0 is in ports tree and builds ok for me.

Paul.

--
-
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-
t: 0131 5548070
m: 07534206249
e: p...@ifdnrg.com
w: http://www.ifdnrg.com
-
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
-


___
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


Re: ImageMagick fails to build when upgrading.

2011-10-12 Thread Zhihao Yuan
On Wed, Oct 12, 2011 at 4:47 AM, Paul Macdonald p...@ifdnrg.com wrote:

 On 11/10/2011 11:58, Leslie Jensen wrote:



 /usr/ports/graphics/**ImageMagick/work/ImageMagick-**
 6.7.2-10/test-suite.log


  Segmentation fault (core dumped)


 in case you hadn't spotted 6.7.3.0 is in ports tree and builds ok for me.

 Paul.

 --
 -
 Paul Macdonald
 IFDNRG Ltd
 Web and video hosting
 -
 t: 0131 5548070
 m: 07534206249
 e: p...@ifdnrg.com
 w: http://www.ifdnrg.com
 -
 IFDNRG
 40 Maritime Street
 Edinburgh
 EH6 6SA
 -



 __**_
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-portshttp://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to 
 freebsd-ports-unsubscribe@**freebsd.orgfreebsd-ports-unsubscr...@freebsd.org
 


I checked out the latest version in ports, but this test still fails for
gcc46. I'll try clang latter.

-- 
Zhihao Yuan, nickname lichray
The best way to predict the future is to invent it.
___
4BSD -- http://4bsd.biz/
___
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


Re: ImageMagick fails to build when upgrading.

2011-10-12 Thread Leslie Jensen



2011-10-12 11:47, Paul Macdonald skrev:

On 11/10/2011 11:58, Leslie Jensen wrote:



/usr/ports/graphics/ImageMagick/work/ImageMagick-6.7.2-10/test-suite.log



Segmentation fault (core dumped)


in case you hadn't spotted 6.7.3.0 is in ports tree and builds ok for me.

Paul.



I saw it this morning.

Build as it should now :-)

/Leslie
___
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


ImageMagick fails to build when upgrading.

2011-10-11 Thread Leslie Jensen



/usr/ports/graphics/ImageMagick/work/ImageMagick-6.7.2-10/test-suite.log




=
   ImageMagick 6.7.2: ./test-suite.log
=

1 of 48 tests failed.

.. contents:: :depth: 2


FAIL: Magick++/tests/attributes.sh (exit: 139)
==

Segmentation fault (core dumped)



*** Error code 1

Stop in /usr/ports/graphics/ImageMagick/work/ImageMagick-6.7.2-10.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick/work/ImageMagick-6.7.2-10.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick/work/ImageMagick-6.7.2-10.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick/work/ImageMagick-6.7.2-10.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick.

=== make failed for graphics/ImageMagick
=== Aborting update

=== Update for graphics/ImageMagick failed
=== Aborting update



/Leslie

___
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