Opened 13 years ago

Closed 4 years ago

#8527 closed defect (wontfix)

libcocoa-0.9930 indicates its sucessfully installed when it has not.

Reported by: drkirkby Owned by: tbd
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: packages: optional Keywords:
Cc: Merged in:
Authors: Reviewers: Matthias Koeppe
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

GitHub link to the corresponding issue

Description

In trying to rid libcocoa-0.9930 of the GNUims that prevents this installing on on Solaris (see #8521), I found another problem with this package. It appears that the error codes are not properly checked, so even if there are build failures, the package indicates it has been successfully installed. See below:

Compiling RegisterServerOps.o
Compiling TmpFrobby.o
Compiling RegisterServerOpsFrobby.o
Compiling directory CoCoALib/src/AlgebraicCore/TmpFactorDir/
make[4]: Entering directory `/export/home/drkirkby/sage-4.3.4.alpha1/local/lib/cocoa-0.9930.p0/src/src/AlgebraicCore/TmpFactorDir'
Makefile:4: ../../../../configuration/autoconf.mk: No such file or directory
make[4]: *** No rule to make target `../../../../configuration/autoconf.mk'.  Stop.
make[4]: Leaving directory `/export/home/drkirkby/sage-4.3.4.alpha1/local/lib/cocoa-0.9930.p0/src/src/AlgebraicCore/TmpFactorDir'
***** Compilation of CoCoALib/src/AlgebraicCore/TmpFactorDir/ FAILED *****
make[3]: *** [../../lib/libcocoa.a] Error 1
make[3]: Leaving directory `/export/home/drkirkby/sage-4.3.4.alpha1/local/lib/cocoa-0.9930.p0/src/src/AlgebraicCore'
*****[[Compilation[failed[in[CoCoA[library[source[subdirectory[AlgebraicCore/[[*****
*****  Compilation failed in CoCoA library source subdirectory AlgebraicCore/  *****
*****[[Compilation[failed[in[CoCoA[library[source[subdirectory[AlgebraicCore/[[*****
make[2]: *** [library] Error 1
make[2]: Leaving directory `/export/home/drkirkby/sage-4.3.4.alpha1/local/lib/cocoa-0.9930.p0/src/src'
make[1]: *** [library] Error 2
make[1]: Leaving directory `/export/home/drkirkby/sage-4.3.4.alpha1/local/lib/cocoa-0.9930.p0/src'
make: *** [default] Error 2
Doing the build in the following directory:
/export/home/drkirkby/sage-4.3.4.alpha1/local/lib/cocoa-0.9930.p0
./configure  --with-libgmp=$SAGE_LOCAL/lib/libgmp.so
Now running Make
make
There are known test failures that should be listed above.
They are literally 'not yet implemented' errors from the
CoCOA library.   I.e., CoCOA releases purposely don't pass
their own test suite at present.
libcocoa.a built!

----------------------------------------------------------------------

To play with libcocoa, type 'sage -sh', then cd to the directory

   /export/home/drkirkby/sage-4.3.4.alpha1/local/lib/cocoa-0.9930.p0/src/examples

and try making and running some of the examples.
When you're done, it is completely safe to delete directory:

   /export/home/drkirkby/sage-4.3.4.alpha1/local/lib/cocoa-0.9930.p0

----------------------------------------------------------------------

real    4m38.333s
user    4m13.925s
sys     0m21.973s
Successfully installed libcocoa-0.9930.p0

Change History (7)

comment:1 Changed 9 years ago by jdemeyer

Milestone: sage-5.11sage-5.12

comment:2 Changed 9 years ago by vbraun_spam

Milestone: sage-6.1sage-6.2

comment:3 Changed 9 years ago by vbraun_spam

Milestone: sage-6.2sage-6.3

comment:4 Changed 9 years ago by vbraun_spam

Milestone: sage-6.3sage-6.4

comment:5 Changed 4 years ago by slelievre

Milestone: sage-6.4sage-duplicate/invalid/wontfix
Status: newneeds_review

Propose to close this ticket as obsolete.

  • The experimental libcocoa package seems to have been removed long ago, see #14962.
  • There is a new cocoalib package, see #25707.

Please review.

comment:6 Changed 4 years ago by mkoeppe

Reviewers: Matthias Koeppe
Status: needs_reviewpositive_review

comment:7 Changed 4 years ago by chapoton

Resolution: wontfix
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.