Bug 83990 - [NEW PORT] math/asymptote: A powerful script-based vector graphics language
Summary: [NEW PORT] math/asymptote: A powerful script-based vector graphics language
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-24 10:50 UTC by Nicola Vitale
Modified: 2005-07-29 16:30 UTC (History)
1 user (show)

See Also:


Attachments
asymptote-0.83.shar (8.20 KB, text/plain)
2005-07-24 10:50 UTC, Nicola Vitale
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicola Vitale 2005-07-24 10:50:16 UTC
Asymptote is a powerful script-based vector graphics language that
provides a natural coordinate-based framework for technical drawing.
Labels and equations are typeset with LaTeX, for high-quality
PostScript output.

A major advantage of Asymptote over other graphics packages is that
it is a programming language, as opposed to just a graphics program:
it can therefore exploit the best features of script (command-driven)
and graphical user interface (GUI) methods. 

Author:	Andy Hammerlindl, John Bowman, and Tom Prince
WWW:	http://asymptote.sourceforge.net/

- Nicola Vitale
nivit@email.it

Generated with FreeBSD Port Tools 0.63
Tested on FreeBSD-4.11-STABLE and FreeBSD-5.4-RELEASE-p4
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-28 20:33:59 UTC
State Changed
From-To: open->feedback

Does not compile on 4/i386: 
http://hood.oook.cz/tb/errors/4-i386/asymptote-0.83.log 

Does not compile on 5/amd64: 
http://hood.oook.cz/tb/errors/5-amd64/asymptote-0.83.log 

It does compile on 5/i386. Do you think you can fix these problems, 
or should I limit the port to i386 and 5.X? 


Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-28 20:33:59 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Track
Comment 3 Nicola Vitale 2005-07-29 09:28:43 UTC
> [Pav Lucistnik, 2005-07-28T19:34:54+00:::00]
> State-Changed-From-To: open->feedback
> [...]
> Does not compile on 4/i386:
> http://hood.oook.cz/tb/errors/4-i386/asymptote-0.83.log

You are right: on FreeBSD-4.X it compiles only with g++3.3.6 (lang/gcc33),
not with 3.4 or better.

> Does not compile on 5/amd64:
> http://hood.oook.cz/tb/errors/5-amd64/asymptote-0.83.log

It's my fault. I didn't check that devel/boehm-gc is marked BROKEN
on this arch.
So, actually, you ought to limit the port to i386 machines.

Thank you.

Ciao.
--
Nicola Vitale
nivit@email.it
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-29 09:58:25 UTC
Nicola Vitale pí¹e v pá 29. 07. 2005 v 10:28 +0200:
> > [Pav Lucistnik, 2005-07-28T19:34:54+00:::00]
> > State-Changed-From-To: open->feedback
> > [...]
> > Does not compile on 4/i386:
> > http://hood.oook.cz/tb/errors/4-i386/asymptote-0.83.log
> 
> You are right: on FreeBSD-4.X it compiles only with g++3.3.6 (lang/gcc33),
> not with 3.4 or better.


Not true, it fails in the same place with lang/gcc33 too:

http://hood.oook.cz/tb/errors/4-i386/asymptote-0.83.log

> > Does not compile on 5/amd64:
> > http://hood.oook.cz/tb/errors/5-amd64/asymptote-0.83.log
> 
> It's my fault. I didn't check that devel/boehm-gc is marked BROKEN
> on this arch.
> So, actually, you ought to limit the port to i386 machines.


Okay, will do.

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>
Comment 5 Nicola Vitale 2005-07-29 13:52:33 UTC
> [Pav Lucistnik, 2005-07-29T10:58:25+02:00]
> [...] it fails in the same place with lang/gcc33 too:
> 
> http://hood.oook.cz/tb/errors/4-i386/asymptote-0.83.log

It's strange on my system it builds. Here is its log:

http://nivi.interfree.it/tmp/asymptote-0.83.maintainer.build.log

I dunno, maybe I forgot a USE_BISON=yes, because in my log there is

	[...]
	checking for bison... bison -y
	[...]

whereas in yours

	[...]
	checking for bison... no
	checking for byacc... byacc
	[...]

Ciao.
--
Nicola Vitale
nivit@email.it
Comment 6 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-29 14:26:58 UTC
Nicola Vitale pí¹e v pá 29. 07. 2005 v 14:52 +0200:
> > [Pav Lucistnik, 2005-07-29T10:58:25+02:00]
> > [...] it fails in the same place with lang/gcc33 too:
> > 
> > http://hood.oook.cz/tb/errors/4-i386/asymptote-0.83.log
> 
> It's strange on my system it builds. Here is its log:
> 
> http://nivi.interfree.it/tmp/asymptote-0.83.maintainer.build.log
> 
> I dunno, maybe I forgot a USE_BISON=yes, because in my log there is
> 
> 	[...]
> 	checking for bison... bison -y
> 	[...]
> 
> whereas in yours
> 
> 	[...]
> 	checking for bison... no
> 	checking for byacc... byacc
> 	[...]


Bison does not make a difference. With bison, I get exactly same log as
you, up to the failure point.

How does files/patch* looks like? 
-rw-r--r--  1 pav  pav  338 Jul 28 15:11 patch-Makefile.in
-rw-r--r--  1 pav  pav  498 Jul 28 15:11 patch-doc-Makefile



-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>
Comment 7 Nicola Vitale 2005-07-29 16:07:11 UTC
> [Pav Lucistnik, 2005-07-29T15:26:58+02:00]
> [...]
> Bison does not make a difference. With bison, I get exactly same log as
> you, up to the failure point.
> 
> How does files/patch* looks like? 

I checked, they are the same files on both systems.
But, I noted that on FreeBSD-5.4 the executable `asy' is linked against
/lib/libreadline.so.5

./asy:
	libreadline.so.5 => /lib/libreadline.so.5 (0x28165000)
	libncurses.so.5 => /lib/libncurses.so.5 (0x28191000)
	libfftw3.so.3 => /usr/local/lib/libfftw3.so.3 (0x281d0000)
	libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x28248000)
	libm.so.3 => /lib/libm.so.3 (0x2831a000)
	libc.so.5 => /lib/libc.so.5 (0x28335000)

whereas on FreeBSD-4.11 against devel/readline:

./asy:
	libreadline.so.5 => /usr/local/lib/libreadline.so.5 (0x28185000)
	libncurses.so.5 => /usr/lib/libncurses.so.5 (0x281ad000)
	libfftw3.so.3 => /usr/local/lib/libfftw3.so.3 (0x281ee000)
	libm.so.2 => /usr/lib/libm.so.2 (0x28265000)
	libc.so.4 => /usr/lib/libc.so.4 (0x28280000)

Perhaps we have to add to the Makefile

.include <bsd.port.pre.mk>

.if (${OSVERSION} < 500000)
LIB_DEPENDS+=	readline.5:${PORTSDIR}/devel/readline
.endif

...

Ciao.
--
Nicola Vitale
nivit@email.it
Comment 8 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-29 16:23:50 UTC
Nicola Vitale pí¹e v pá 29. 07. 2005 v 17:07 +0200:
> > [Pav Lucistnik, 2005-07-29T15:26:58+02:00]
> > [...]
> > Bison does not make a difference. With bison, I get exactly same log as
> > you, up to the failure point.
> > 
> > How does files/patch* looks like? 
> 
> I checked, they are the same files on both systems.
> But, I noted that on FreeBSD-5.4 the executable `asy' is linked against
> /lib/libreadline.so.5
> 
> ./asy:
> 	libreadline.so.5 => /lib/libreadline.so.5 (0x28165000)
> 	libncurses.so.5 => /lib/libncurses.so.5 (0x28191000)
> 	libfftw3.so.3 => /usr/local/lib/libfftw3.so.3 (0x281d0000)
> 	libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x28248000)
> 	libm.so.3 => /lib/libm.so.3 (0x2831a000)
> 	libc.so.5 => /lib/libc.so.5 (0x28335000)
> 
> whereas on FreeBSD-4.11 against devel/readline:
> 
> ./asy:
> 	libreadline.so.5 => /usr/local/lib/libreadline.so.5 (0x28185000)
> 	libncurses.so.5 => /usr/lib/libncurses.so.5 (0x281ad000)
> 	libfftw3.so.3 => /usr/local/lib/libfftw3.so.3 (0x281ee000)
> 	libm.so.2 => /usr/lib/libm.so.2 (0x28265000)
> 	libc.so.4 => /usr/lib/libc.so.4 (0x28280000)
> 
> Perhaps we have to add to the Makefile
> 
> .include <bsd.port.pre.mk>
> 
> .if (${OSVERSION} < 500000)
> LIB_DEPENDS+=	readline.5:${PORTSDIR}/devel/readline
> .endif


Yay, that did it!

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>
Comment 9 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-29 16:27:36 UTC
State Changed
From-To: feedback->closed

New port added, thank you!