Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 215562

Summary: Mozart won't compile.
Product: Gentoo Linux Reporter: Xavian-Anderson Macpherson <Shingoshi>
Component: [OLD] DevelopmentAssignee: Keri Harris <keri>
Status: VERIFIED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Xavian-Anderson Macpherson 2008-03-31 12:26:02 UTC
Mozart won't compile as a dependency for mozart-stdlib.

Reproducible: Always

Steps to Reproduce:
1. autounmerge =dev-lang/mozart-stdlib-1.3.2-r1
2. emerge -a mozart-stdlib
3. 

Actual Results:  
Compilation crashes.
See "Additional Information" below.

Expected Results:  
Package should have compiled.

In file included from value.cc:1198:
codearea.hh: In static member function 'static AdressOpcode CodeArea::opcodeToAdress(Opcode)':
codearea.hh:200: error: cast from 'void*' to 'unsigned int' loses precision
codearea.hh: In static member function 'static Opcode CodeArea::adressToOpcode(AdressOpcode)':
codearea.hh:212: error: cast from 'void*' to 'unsigned int' loses precision
codearea.hh: In static member function 'static ByteCode* CodeArea::writeWord(void*, ByteCode*)':
codearea.hh:254: error: cast from 'void*' to 'unsigned int' loses precision
codearea.hh: In static member function 'static ByteCode* CodeArea::writeXRegIndex(int, ByteCode*)':
codearea.hh:305: error: cast from 'TaggedRef*' to 'ByteCode' loses precision
codearea.hh: In static member function 'static void CodeArea::writeWordAllocated(void*, ByteCode*)':
codearea.hh:383: error: cast from 'void*' to 'unsigned int' loses precision
codearea.hh: In member function 'Abstraction* InlineCache::lookup(ObjectClass*, TaggedRef, SRecordArity)':
codearea.hh:503: error: cast from 'ObjectClass*' to 'unsigned int' loses precision
codearea.hh:507: error: cast from 'Abstraction*' to 'unsigned int' loses precision
codearea.hh:508: error: cast from 'ObjectClass*' to 'unsigned int' loses precision
value.cc: In function 'OZ_Term OZ_makeForeignPointer(void*)':
value.cc:1227: error: cast from 'ConstTerm*' to 'int' loses precision
value.cc: In function 'OZ_Term oz_list(OZ_Term, ...)':
value.cc:1262: error: cast from 'LTuple*' to 'int' loses precision
value.cc:1268: error: cast from 'LTuple*' to 'int' loses precision
value.cc: In function 'OZ_Term oz_string(const char*, int, OZ_Term)':
value.cc:1413: error: cast from 'LTuple*' to 'int' loses precision
value.cc:1416: error: cast from 'LTuple*' to 'int' loses precision
value.cc: In function 'OZ_Term __OMR_dynamic(int, OZ_Term, Arity*, int*, OZ_Term*)':
value.cc:1445: error: cast from 'SRecord*' to 'int' loses precision
In file included from susp_queue.hh:31,
                 from thr_pool.hh:35,
                 from am.hh:34,
                 from builtins.hh:33,
                 from iso-ctype.cc:24:
suspendable.hh: In member function 'void Suspendable::cacMark(Suspendable*)':
suspendable.hh:115: error: cast from 'Suspendable*' to 'int' loses precision
In file included from thr_stack.hh:41,
                 from thr_class.hh:40,
                 from susplist.hh:38,
                 from susp_queue.hh:32,
                 from thr_pool.hh:35,
                 from am.hh:34,
                 from builtins.hh:33,
                 from iso-ctype.cc:24:
refsarray.hh: In member function 'void RefsArray::cacMark(RefsArray*)':
refsarray.hh:60: error: cast from 'RefsArray*' to 'int' loses precision
In file included from builtins.hh:33,
                 from iso-ctype.cc:24:
am.hh: In function 'ChachedOORegs setObject(ChachedOORegs, Object*)':
am.hh:272: error: cast from 'Object*' to 'unsigned int' loses precision
am.hh: In member function 'OZ_Return AM::addSuspendVarListInline(TaggedRef*)':
am.hh:508: error: cast from 'TaggedRef*' to 'TaggedRef' loses precision
gmake[2]: *** [value.o] Error 1
am.hh: In function 'TaggedRef oz_newVariable()':
am.hh:690: error: cast from 'TaggedRef*' to 'TaggedRef' loses precision
gmake[2]: *** [iso-ctype.o] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/dev-lang/mozart-1.3.2-r1/work/mozart-1.3.2.20060615/platform/emulator'
gmake[1]: *** [bootstrap] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/dev-lang/mozart-1.3.2-r1/work/mozart-1.3.2.20060615/platform'
make: *** [bootstrap] Error 1
 *
 * ERROR: dev-lang/mozart-1.3.2-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2391:  Called die
 * The specific snippet of code:
 *       emake bootstrap || die "emake bootstrap failed"
 *  The die message:
 *   emake bootstrap failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-lang/mozart-1.3.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/mozart-1.3.2-r1/temp/environment'.
Comment 1 Keri Harris gentoo-dev 2008-04-01 05:44:02 UTC
Thanks for the bug report. Please supply the output from 'emerge --info'

Keri
Comment 2 Xavian-Anderson Macpherson 2008-04-01 21:28:54 UTC
Here's my emerge --info.

http://bugs.gentoo.org/attachment.cgi?id=147983
Comment 3 Keri Harris gentoo-dev 2008-04-02 05:32:08 UTC
I notice your on amd64; which method are you using to emerge dev-land/mozart?
Comment 4 Xavian-Anderson Macpherson 2008-04-03 11:22:36 UTC
(In reply to comment #3)
> I notice your on amd64; which method are you using to emerge dev-land/mozart?
> 

Please explain what you mean here. I thought that should be clear from this:
Steps to Reproduce:
1. autounmerge =dev-lang/mozart-stdlib-1.3.2-r1
2. emerge -a mozart-stdlib

The build.log has already been deleted. Sorry I didn't catch it in time. I could try it again if you need me to (which you probably do).

Shingoshi
Comment 5 Keri Harris gentoo-dev 2008-04-03 21:34:04 UTC
I'll try to clarify what I mean:

- your emerge --info shows you have ACCEPT_KEYWORDS="amd64 ~amd64"
- dev-lang/mozart is not keyworded amd64 or ~amd64

I'm not sure how you're getting around mozart being keyword masked.
e.g. on an amd64 box with ACCEPT_KEYWORDS="amd64 ~amd64":

# emerge -a =mozart-1.3.2-r1

These are the packages that would be merged, in order:

Calculating dependencies |
!!! All ebuilds that could satisfy "=dev-lang/mozart-1.3.2-r1" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-lang/mozart-1.3.2-r1 (masked by: missing keyword)
Comment 6 Keri Harris gentoo-dev 2008-05-09 07:21:00 UTC
Please feel free to reopen when you provide the aboverequested information.
Comment 7 Xavian-Anderson Macpherson 2008-05-09 08:13:09 UTC
(In reply to comment #6)
> Please feel free to reopen when you provide the aboverequested information.
> 

Once more. There is this little but useful program in portage called "autounmask".  It will unmask programs that are currently masked, and do so properly. I use this program frequently, since many of the programs I need for amd64, are masked. I don't know how to make it any more clear than that.

I no longer have the build.log for that program, and would need to recompile it to get one. If you need the build.log, and the program isn't dependent on X11, I'll recompile it. Everything that depends on X11 right now, isn't compiling, due to a decision by that group to revert to an older version of printproto, which is now blocking everything else from building against X. So, if I can build it (without X), I will. If not, I can't. Since I don't have a build.log, I'll wait until I hear from you if I should still reopen this.

Shingoshi
Comment 8 Keri Harris gentoo-dev 2008-05-09 09:36:38 UTC
dev-lang/mozart is masked on amd64 for a reason - it is a strictly 32 bit application; hopefully a future release will provide better cross-platform support.