[M3devel] errors building cvsup wih cm3

John Polstra jdp at polstra.com
Mon Jun 4 17:45:06 CEST 2007


Hmm, actually you may be closer to the right answers than I was.  I 
don't see how the lack of the patch could explain some of those errors.

John


Tony Hosking wrote:
> Looks like John has the answers...
> 
> On Jun 4, 2007, at 11:11 AM, John Polstra wrote:
> 
>> There is a patch for CVSup that you have to apply before you can build 
>> it with cm3.  Look on the cm3 downloads page, and you'll find it.
>>
>> John
>>
>> Ronny Forberger wrote:
>>> Hi there,
>>> since I've been able to build the cm3 compiler successfully on Debian 
>>> Linux 'etch' x86, I'm faced up to some other build problem:
>>> When trying to build cvsup-snap-16.1h from sources using cm3 my build 
>>> process stops by the following error:
>>>> make[2]: Entering directory `/home/rforb/work/cvsup-snap-16.1h/suptcp'
>>>> cm3
>>>> --- building in LINUXLIBC6 ---
>>>>
>>>>
>>>> Fatal Error: duplicate unit: 
>>>> /usr/local/cm3/pkg/tcp/src/POSIX/SockOpt.i3 ../src/POSIX/SockOpt.i3
>>>>
>>>> make[2]: *** [all] Error 1
>>>> make[2]: Leaving directory `/home/rforb/work/cvsup-snap-16.1h/suptcp'
>>>> ===> suplib
>>>> make[2]: Entering directory `/home/rforb/work/cvsup-snap-16.1h/suplib'
>>>> cm3
>>>> --- building in LINUXLIBC6 ---
>>>>
>>>> new source -> compiling TokScan.i3
>>>> "../src/TokScan.i3", line 36: unable to find interface (IP)
>>>> 1 error encountered
>>>> new source -> compiling FileAttr.i3
>>>> "../src/FileAttr.i3", line 33: imported interface contains errors 
>>>> (TokScan)
>>>> 1 error encountered
>>>> new source -> compiling FileAttrRep.i3
>>>> "../src/FileAttrRep.i3", line 33: imported interface contains errors 
>>>> (FileAttr)
>>>> 1 error encountered
>>>> new source -> compiling FileAttrOS.m3
>>>> "../src/POSIX/FileAttrOS.m3", line 31: imported interface contains 
>>>> errors (FileAttr)
>>>> "../src/POSIX/FileAttrOS.m3", line 31: imported interface contains 
>>>> errors (FileAttrRep)
>>>> 2 errors encountered
>>>> new source -> compiling SupFileRec.i3
>>>> "../src/SupFileRec.i3", line 36: imported interface contains errors 
>>>> (FileAttr)
>>>> "../src/SupFileRec.i3", line 37: imported interface contains errors 
>>>> (TokScan)
>>>> 2 errors encountered
>>>> new source -> compiling SupMisc.i3
>>>> "../src/SupMisc.i3", line 37: unable to find interface (IP)
>>>> "../src/SupMisc.i3", line 37: imported interface contains errors 
>>>> (SupFileRec)
>>>> "../src/SupMisc.i3", line 39: unable to find interface (SupTCP)
>>>> 3 errors encountered
>>>> new source -> compiling PathComp.m3
>>>> "../src/PathComp.m3", line 33: imported interface contains errors 
>>>> (SupMisc)
>>>> 1 error encountered
>>>> new source -> compiling ChannelMux.i3
>>>> "../src/ChannelMux.i3", line 33: unable to find interface (IP)
>>>> "../src/ChannelMux.i3", line 34: unable to find interface (SupConnFD)
>>>> 2 errors encountered
>>>> new source -> compiling ChannelMux.m3
>>>> "../src/ChannelMux.m3", line 32: imported interface contains errors 
>>>> (ChannelMux)
>>>> "../src/ChannelMux.m3", line 35: unable to find interface (IP)
>>>> "../src/ChannelMux.m3", line 35: unable to find interface (TCP)
>>>> "../src/ChannelMux.m3", line 36: unable to find interface (SupConnFD)
>>>> 4 errors encountered
>>>> new source -> compiling AuthMD5.i3
>>>> "../src/AuthMD5.i3", line 33: unable to find interface (IP)
>>>> 1 error encountered
>>>> new source -> compiling AuthMD5.m3
>>>> "../src/AuthMD5.m3", line 31: imported interface contains errors 
>>>> (AuthMD5)
>>>> "../src/AuthMD5.m3", line 33: unable to find interface (IP)
>>>> 2 errors encountered
>>>> new source -> compiling TokScan.m3
>>>> "../src/TokScan.m3", line 31: imported interface contains errors 
>>>> (TokScan)
>>>> "../src/TokScan.m3", line 34: unable to find interface (IP)
>>>> "../src/TokScan.m3", line 34: imported interface contains errors 
>>>> (SupMisc)
>>>> 3 errors encountered
>>>> new source -> compiling DevT.i3
>>>> "../src/DevT.i3", line 38: imported interface contains errors (TokScan)
>>>> 1 error encountered
>>>> new source -> compiling UnixMisc.i3
>>>> "../src/UnixMisc.i3", line 35: unable to find interface (IP)
>>>> 1 error encountered
>>>> new source -> compiling FileAttr.m3
>>>> "../src/FileAttr.m3", line 31: imported interface contains errors 
>>>> (FileAttr)
>>>> "../src/FileAttr.m3", line 31: imported interface contains errors 
>>>> (FileAttrRep)
>>>> "../src/FileAttr.m3", line 34: imported interface contains errors 
>>>> (DevT)
>>>> "../src/FileAttr.m3", line 35: imported interface contains errors 
>>>> (SupMisc)
>>>> "../src/FileAttr.m3", line 36: imported interface contains errors 
>>>> (TokScan)
>>>> "../src/FileAttr.m3", line 36: imported interface contains errors 
>>>> (UnixMisc)
>>>> 6 errors encountered
>>>> new source -> compiling FileID.i3
>>>> "../src/FileID.i3", line 33: imported interface contains errors 
>>>> (FileAttr)
>>>> 1 error encountered
>>>> new source -> compiling FileID.m3
>>>> "../src/FileID.m3", line 31: imported interface contains errors 
>>>> (FileID)
>>>> "../src/FileID.m3", line 34: imported interface contains errors (DevT)
>>>> "../src/FileID.m3", line 34: imported interface contains errors 
>>>> (FileAttr)
>>>> "../src/FileID.m3", line 34: imported interface contains errors 
>>>> (FileAttrRep)
>>>> 4 errors encountered
>>>> new source -> compiling CVProto.i3
>>>> "../src/CVProto.i3", line 33: imported interface contains errors 
>>>> (FileAttr)
>>>> "../src/CVProto.i3", line 33: imported interface contains errors 
>>>> (TokScan)
>>>> 2 errors encountered
>>>> new source -> compiling CVProto.m3
>>>> "../src/CVProto.m3", line 35: imported interface contains errors 
>>>> (CVProto)
>>>> "../src/CVProto.m3", line 38: imported interface contains errors 
>>>> (SupMisc)
>>>> "../src/CVProto.m3", line 38: imported interface contains errors 
>>>> (TokScan)
>>>> 3 errors encountered
>>>> new source -> compiling ErrMsg.m3
>>>> "../src/ErrMsg.m3", line 34: unable to find interface (IP)
>>>> "../src/ErrMsg.m3", line 34: imported interface contains errors 
>>>> (TokScan)
>>>> "../src/ErrMsg.m3", line 36: unable to find interface (SupTCP)
>>>> 3 errors encountered
>>>> new source -> compiling DirEntry.i3
>>>> "../src/DirEntry.i3", line 37: imported interface contains errors 
>>>> (FileAttr)
>>>> 1 error encountered
>>>> new source -> compiling DirEntry.m3
>>>> "../src/DirEntry.m3", line 31: imported interface contains errors 
>>>> (DirEntry)
>>>> 1 error encountered
>>>> new source -> compiling DirEntryList.i3
>>>> "../LINUXLIBC6/DirEntryList.i3 => 
>>>> /usr/local/cm3/pkg/libm3/src/list/List.ig", line 29: imported 
>>>> interface contains errors (DirEntry)
>>>> 1 error encountered
>>>> new source -> compiling DirEntryList.m3
>>>> "../LINUXLIBC6/DirEntryList.m3", line 3: imported interface contains 
>>>> errors (DirEntryList)
>>>> "../LINUXLIBC6/DirEntryList.m3 => 
>>>> /usr/local/cm3/pkg/libm3/src/list/List.mg", line 11: imported 
>>>> interface contains errors (DirEntry)
>>>> 2 errors encountered
>>>> new source -> compiling DirEntryListSort.i3
>>>> "../LINUXLIBC6/DirEntryListSort.i3 => 
>>>> /usr/local/cm3/pkg/libm3/src/list/ListSort.ig", line 28: imported 
>>>> interface contains errors (DirEntry)
>>>> "../LINUXLIBC6/DirEntryListSort.i3 => 
>>>> /usr/local/cm3/pkg/libm3/src/list/ListSort.ig", line 28: imported 
>>>> interface contains errors (DirEntryList)
>>>> 2 errors encountered
>>>> new source -> compiling DirEntryListSort.m3
>>>> "../LINUXLIBC6/DirEntryListSort.m3", line 3: imported interface 
>>>> contains errors (DirEntryListSort)
>>>> "../LINUXLIBC6/DirEntryListSort.m3 => 
>>>> /usr/local/cm3/pkg/libm3/src/list/ListSort.mg", line 10: imported 
>>>> interface contains errors (DirEntry)
>>>> 2 errors encountered
>>>> new source -> compiling RCSDate.m3
>>>> "../src/RCSDate.m3", line 34: imported interface contains errors 
>>>> (TokScan)
>>>> 1 error encountered
>>>> new source -> compiling RCSFile.i3
>>>> "../src/RCSFile.i3", line 37: imported interface contains errors 
>>>> (FileAttr)
>>>> 1 error encountered
>>>> new source -> compiling RCSDeltaClass.i3
>>>> "../src/RCSDeltaClass.i3", line 37: imported interface contains 
>>>> errors (RCSFile)
>>>> 1 error encountered
>>>> new source -> compiling RCSDelta.m3
>>>> "../src/RCSDelta.m3", line 31: imported interface contains errors 
>>>> (RCSDeltaClass)
>>>> "../src/RCSDelta.m3", line 34: imported interface contains errors 
>>>> (RCSFile)
>>>> "../src/RCSDelta.m3", line 35: imported interface contains errors 
>>>> (TokScan)
>>>> 3 errors encountered
>>>> new source -> compiling RCSKeyword.m3
>>>> "../src/RCSKeyword.m3", line 34: imported interface contains errors 
>>>> (RCSDeltaClass)
>>>> "../src/RCSKeyword.m3", line 35: imported interface contains errors 
>>>> (SupMisc)
>>>> 2 errors encountered
>>>> new source -> compiling RCSFile.m3
>>>> "../src/RCSFile.m3", line 31: imported interface contains errors 
>>>> (RCSFile)
>>>> "../src/RCSFile.m3", line 34: imported interface contains errors 
>>>> (FileAttr)
>>>> "../src/RCSFile.m3", line 36: imported interface contains errors 
>>>> (RCSDeltaClass)
>>>> "../src/RCSFile.m3", line 39: imported interface contains errors 
>>>> (TokScan)
>>>> "../src/RCSFile.m3", line 39: imported interface contains errors 
>>>> (UnixMisc)
>>>> 5 errors encountered
>>>> new source -> compiling SupFileRec.m3
>>>> "../src/SupFileRec.m3", line 31: imported interface contains errors 
>>>> (SupFileRec)
>>>> "../src/SupFileRec.m3", line 34: imported interface contains errors 
>>>> (FileAttr)
>>>> "../src/SupFileRec.m3", line 35: imported interface contains errors 
>>>> (TokScan)
>>>> 3 errors encountered
>>>> new source -> compiling SupMisc.m3
>>>> "../src/SupMisc.m3", line 31: imported interface contains errors 
>>>> (SupMisc)
>>>> "../src/SupMisc.m3", line 34: imported interface contains errors 
>>>> (FileAttr)
>>>> "../src/SupMisc.m3", line 34: unable to find interface (IP)
>>>> "../src/SupMisc.m3", line 35: imported interface contains errors 
>>>> (SupFileRec)
>>>> "../src/SupMisc.m3", line 36: imported interface contains errors 
>>>> (TokScan)
>>>> "../src/SupMisc.m3", line 37: unable to find interface (SupTCP)
>>>> 6 errors encountered
>>>> new source -> compiling FileStatus.i3
>>>> "../src/FileStatus.i3", line 33: imported interface contains errors 
>>>> (FileAttr)
>>>> 1 error encountered
>>>> new source -> compiling FileStatusRaw.i3
>>>> "../src/FileStatusRaw.i3", line 33: imported interface contains 
>>>> errors (FileStatus)
>>>> 1 error encountered
>>>> new source -> compiling FileStatus.m3
>>>> "../src/FileStatus.m3", line 31: imported interface contains errors 
>>>> (FileStatus)
>>>> "../src/FileStatus.m3", line 31: imported interface contains errors 
>>>> (FileStatusRaw)
>>>> "../src/FileStatus.m3", line 34: imported interface contains errors 
>>>> (FileAttr)
>>>> "../src/FileStatus.m3", line 34: imported interface contains errors 
>>>> (SupMisc)
>>>> "../src/FileStatus.m3", line 34: imported interface contains errors 
>>>> (TokScan)
>>>> 5 errors encountered
>>>> new source -> compiling StatusFile.i3
>>>> "../src/StatusFile.i3", line 33: imported interface contains errors 
>>>> (FileStatus)
>>>> "../src/StatusFile.i3", line 33: imported interface contains errors 
>>>> (SupFileRec)
>>>> 2 errors encountered
>>>> new source -> compiling StatusFile.m3
>>>> "../src/StatusFile.m3", line 31: imported interface contains errors 
>>>> (StatusFile)
>>>> "../src/StatusFile.m3", line 34: imported interface contains errors 
>>>> (FileAttr)
>>>> "../src/StatusFile.m3", line 34: imported interface contains errors 
>>>> (FileStatus)
>>>> "../src/StatusFile.m3", line 34: imported interface contains errors 
>>>> (FileStatusRaw)
>>>> "../src/StatusFile.m3", line 35: imported interface contains errors 
>>>> (SupFileRec)
>>>> "../src/StatusFile.m3", line 35: imported interface contains errors 
>>>> (SupMisc)
>>>> 6 errors encountered
>>>> new source -> compiling CVTree.i3
>>>> "../src/CVTree.i3", line 37: imported interface contains errors 
>>>> (FileAttr)
>>>> 1 error encountered
>>>> new source -> compiling CVTree.m3
>>>> "../src/CVTree.m3", line 31: imported interface contains errors 
>>>> (CVTree)
>>>> "../src/CVTree.m3", line 34: imported interface contains errors 
>>>> (DirEntry)
>>>> "../src/CVTree.m3", line 34: imported interface contains errors 
>>>> (DirEntryList)
>>>> "../src/CVTree.m3", line 34: imported interface contains errors 
>>>> (DirEntryListSort)
>>>> "../src/CVTree.m3", line 34: imported interface contains errors 
>>>> (FileAttr)
>>>> "../src/CVTree.m3", line 35: imported interface contains errors 
>>>> (SupMisc)
>>>> 6 errors encountered
>>>> new source -> compiling GzipRd.i3
>>>> "../src/GzipRd.i3", line 36: unable to find interface (StreamRd)
>>>> 1 error encountered
>>>> new source -> compiling GzipRd.m3
>>>> "../src/GzipRd.m3", line 31: imported interface contains errors 
>>>> (GzipRd)
>>>> "../src/GzipRd.m3", line 34: unable to find interface (StreamRdClass)
>>>> 2 errors encountered
>>>> new source -> compiling GzipWr.i3
>>>> "../src/GzipWr.i3", line 36: unable to find interface (StreamWr)
>>>> 1 error encountered
>>>> new source -> compiling GzipWr.m3
>>>> "../src/GzipWr.m3", line 31: imported interface contains errors 
>>>> (GzipWr)
>>>> "../src/GzipWr.m3", line 34: unable to find interface (StreamWrClass)
>>>> 2 errors encountered
>>>> new source -> compiling RsyncFile.i3
>>>> "../src/RsyncFile.i3", line 33: imported interface contains errors 
>>>> (FileAttr)
>>>> 1 error encountered
>>>> new source -> compiling RsyncFile.m3
>>>> "../src/RsyncFile.m3", line 31: imported interface contains errors 
>>>> (RsyncFile)
>>>> "../src/RsyncFile.m3", line 34: imported interface contains errors 
>>>> (FileAttr)
>>>> "../src/RsyncFile.m3", line 35: imported interface contains errors 
>>>> (UnixMisc)
>>>> 3 errors encountered
>>>> new source -> compiling SigHandler.m3
>>>> "../src/SigHandler.m3", line 48: imported interface contains errors 
>>>> (UnixMisc)
>>>> "../src/SigHandler.m3", line 50: unable to find interface (SupErrno)
>>>> 2 errors encountered
>>>> new source -> compiling UnixMisc.m3
>>>> "../src/UnixMisc.m3", line 31: imported interface contains errors 
>>>> (UnixMisc)
>>>> "../src/UnixMisc.m3", line 34: unable to find interface (IP)
>>>> 2 errors encountered
>>>> new source -> compiling Attic.i3
>>>> "../src/Attic.i3", line 37: imported interface contains errors 
>>>> (FileAttr)
>>>> "../src/Attic.i3", line 37: imported interface contains errors 
>>>> (RCSFile)
>>>> 2 errors encountered
>>>> new source -> compiling Attic.m3
>>>> "../src/Attic.m3", line 31: imported interface contains errors (Attic)
>>>> "../src/Attic.m3", line 34: imported interface contains errors 
>>>> (FileAttr)
>>>> "../src/Attic.m3", line 34: imported interface contains errors 
>>>> (RCSFile)
>>>> "../src/Attic.m3", line 35: imported interface contains errors 
>>>> (SupMisc)
>>>> "../src/Attic.m3", line 35: imported interface contains errors 
>>>> (UnixMisc)
>>>> 5 errors encountered
>>>> new source -> compiling DevTLinux.i3
>>>> "../src/dev_t_linux/DevTLinux.i3", line 38: imported interface 
>>>> contains errors (DevT)
>>>> 1 error encountered
>>>> new source -> compiling DevT.m3
>>>> "../src/dev_t_linux/DevT.m3", line 31: imported interface contains 
>>>> errors (DevT)
>>>> "../src/dev_t_linux/DevT.m3", line 34: imported interface contains 
>>>> errors (DevTLinux)
>>>> "../src/dev_t_linux/DevT.m3", line 34: imported interface contains 
>>>> errors (TokScan)
>>>> 3 errors encountered
>>>> new source -> compiling SupMiscText.m3
>>>> "../src/text_cm3/SupMiscText.m3", line 35: imported interface 
>>>> contains errors (SupMisc)
>>>> 1 error encountered
>>>> compilation failed => not building library "libsuplib.a"
>>>> Fatal Error: package build failed
>>>> make[2]: *** [all] Error 1
>>>> make[2]: Leaving directory `/home/rforb/work/cvsup-snap-16.1h/suplib'
>>>> ===> server
>>>> make[2]: Entering directory `/home/rforb/work/cvsup-snap-16.1h/server'
>>>> cm3
>>>> --- building in LINUXLIBC6 ---
>>>>
>>>> package "suptcp" is already overridden to 
>>>> /home/rforb/work/cvsup-snap-16.1h/server/src/../.., ignoring new 
>>>> override to /home/rforb/work/cvsup-snap-16.1h/suplib/src/../..
>>>>
>>>>
>>>> Fatal Error: missing source file: FileAttr.i3
>>>>
>>>> make[2]: *** [all] Error 1
>>>> make[2]: Leaving directory `/home/rforb/work/cvsup-snap-16.1h/server'
>>>> ===> client
>>>> make[2]: Entering directory `/home/rforb/work/cvsup-snap-16.1h/client'
>>>> cm3
>>>> --- building in LINUXLIBC6 ---
>>>>
>>>> package "suptcp" is already overridden to 
>>>> /home/rforb/work/cvsup-snap-16.1h/client/src/../.., ignoring new 
>>>> override to /home/rforb/work/cvsup-snap-16.1h/suplib/src/../..
>>>>
>>>>
>>>> Fatal Error: missing source file: SupFileRec.i3
>>>>
>>>> make[2]: *** [all] Error 1
>>>> make[2]: Leaving directory `/home/rforb/work/cvsup-snap-16.1h/client'
>>>> ===> cvpasswd
>>>> make[2]: Entering directory 
>>>> `/home/rforb/work/cvsup-snap-16.1h/cvpasswd'
>>>> cm3
>>>> --- building in LINUXLIBC6 ---
>>>>
>>>>
>>>> Fatal Error: missing source file: AuthMD5.i3
>>>>
>>>> make[2]: *** [all] Error 1
>>>> make[2]: Leaving directory `/home/rforb/work/cvsup-snap-16.1h/cvpasswd'
>>>> make[1]: *** [subdirs] Error 2
>>>> make[1]: Leaving directory `/home/rforb/work/cvsup-snap-16.1h'
>>>> make: *** [all] Error 2
>>> Looks like aside some other errors, it doesn't find all the .i3 
>>> files, though I can see all of them existing. Do I possibly have to 
>>> tell the cm3 compiler where to find them?
>>> What do all the "imported interface contains errors (...)" messages 
>>> have to mean and how to fix this ?
>>> Regards,
>>> Ronny
> 



More information about the M3devel mailing list