Bug 55870 - p5-Math-Pari wil not build
Summary: p5-Math-Pari wil not build
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: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-22 17:40 UTC by Kevin Oberman
Modified: 2003-08-26 06:32 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Oberman 2003-08-22 17:40:07 UTC
	The port fails to build as it tried to use GCC_INLINE without
-O. The error is:
cc -c -I/usr/ports/math/pari/work/pari-2.1.3/src/headers -I/usr/ports/math/pari/work/pari-2.1.3/src/graph -I.       -DVERSION=\"0.10\"  -DXS_VERSION=\"0.10\" -DPIC -fpic -Derr=pari_err -D__HAS_NO_ASM__ -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -DDL_DFLT_NAME=\"libpari.2.1.3\" -o mpqs.o /usr/ports/math/pari/work/pari-2.1.3/src/modules/mpqs.c
In file included from /usr/ports/math/pari/work/pari-2.1.3/src/headers/pari.h:69,
                 from /usr/ports/math/pari/work/pari-2.1.3/src/modules/mpqs.c:22:
/usr/ports/math/pari/work/pari-2.1.3/src/headers/parisys.h:52: #error "no inlining without -O. Put back -O or remove -DGCC_INLINE"

Fix: 

Unknown
How-To-Repeat: 	make
Comment 1 Mathieu Arnold freebsd_committer freebsd_triage 2003-08-22 17:58:23 UTC
+-Le 22/08/2003 09:38 -0700, Kevin Oberman écrivait :
| 
| 	The port fails to build as it tried to use GCC_INLINE without
| -O. The error is:
| cc -c -I/usr/ports/math/pari/work/pari-2.1.3/src/headers
| -I/usr/ports/math/pari/work/pari-2.1.3/src/graph -I.
| -DVERSION=\"0.10\"  -DXS_VERSION=\"0.10\" -DPIC -fpic -Derr=pari_err
| -D__HAS_NO_ASM__ -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING
| -DDL_DFLT_NAME=\"libpari.2.1.3\" -o mpqs.o
| /usr/ports/math/pari/work/pari-2.1.3/src/modules/mpqs.c In file included
| from /usr/ports/math/pari/work/pari-2.1.3/src/headers/pari.h:69,
| from /usr/ports/math/pari/work/pari-2.1.3/src/modules/mpqs.c:22:
| /usr/ports/math/pari/work/pari-2.1.3/src/headers/parisys.h:52: #error "no
| inlining without -O. Put back -O or remove -DGCC_INLINE"

I knew the -O was there for something.
It'll work if you had -O in your CFLAGS.

-- 
Mathieu Arnold
Comment 2 Mathieu Arnold freebsd_committer freebsd_triage 2003-08-24 08:16:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mat

My fault, I'll handle it
Comment 3 Mathieu Arnold freebsd_committer freebsd_triage 2003-08-26 06:31:24 UTC
State Changed
From-To: open->closed

Fix committed