Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#7817 closed defect (fixed)

opencdk ignoring SAGE64 except on OS X

Reported by: drkirkby Owned by: drkirkby
Priority: major Milestone: sage-4.3.1
Component: porting Keywords:
Cc: Merged in: sage-4.3.1.alpha0
Authors: David Kirkby Reviewers: Jaap Spies
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

Like many packages, opencdk has code which adds -m64 on OS X if SAGE64 is set to yes. It is being ignored on other platforms, with the result the build fails - see below.

/home/drkirkby/sage-4.3/local/lib/libgcrypt.so /export/home/drkirkby/sage-4.3/local/lib/libgpg-error.so -lz -lc 
ld: fatal: file /export/home/drkirkby/sage-4.3/local/lib/libgcrypt.so: wrong ELF class: ELFCLASS64
ld: fatal: file processing errors. No output written to .libs/libopencdk.so.10.0.6
collect2: ld returned 1 exit status
make[4]: *** [libopencdk.la] Error 1
make[4]: Leaving directory `/export/home/drkirkby/sage-4.3/spkg/build/opencdk-0.6.6.p2/src/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/export/home/drkirkby/sage-4.3/spkg/build/opencdk-0.6.6.p2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/export/home/drkirkby/sage-4.3/spkg/build/opencdk-0.6.6.p2/src'
Failed to build OpenCDK

Change History (4)

comment:1 Changed 12 years ago by drkirkby

  • Authors set to David Kirkby
  • Status changed from new to needs_review
  • Summary changed from opencdk ignoring SAGE64 except on OS X to [with spkg] opencdk ignoring SAGE64 except on OS X

I've updated spkg-install so SAGE64 is used on any platform.

Changes have been checked in.

http://boxen.math.washington.edu/home/kirkby/portability/opencdk-0.6.6.p3/

comment:2 Changed 12 years ago by jsp

  • Reviewers set to Jaap Spies
  • Status changed from needs_review to positive_review

Looks good to me. Tested it on Open Solaris and Fedora 11 and 12.

So positive review.

Jaap

comment:3 Changed 12 years ago by mhansen

  • Merged in set to sage-4.3.1.alpha0
  • Resolution set to fixed
  • Status changed from positive_review to closed

comment:4 Changed 12 years ago by mvngu

  • Summary changed from [with spkg] opencdk ignoring SAGE64 except on OS X to opencdk ignoring SAGE64 except on OS X
Note: See TracTickets for help on using tickets.