[darwinbuild] Building with chroot
After some investigation I have found that the chroot build does not work (at least for my setup). When the chroot command executes it returns with 'Illegal instruction'. This the line on the console after I removed the stderr/stdout redirects. bin/darwinbuild: line 575: 985 Illegal instruction Any thoughts? Michael
Is ./usr/lib/dyld in the chroot? There was a bug where this wasn't present in the dependency list for a basic chroot build. I recall it was added explicitly for *a* plist, but possibly not all plists. Also, are you using darwinbuild from CVS, or a snapshot? Shantonu On Jun 11, 2005, at 6:11 PM, Michael Franz wrote:
After some investigation I have found that the chroot build does not work (at least for my setup). When the chroot command executes it returns with 'Illegal instruction'.
This the line on the console after I removed the stderr/stdout redirects.
bin/darwinbuild: line 575: 985 Illegal instruction
Any thoughts?
Michael _______________________________________________ darwinbuild mailing list darwinbuild@opendarwin.org http://www.opendarwin.org/mailman/listinfo/darwinbuild
On 6/11/05, Shantonu Sen <ssen@opendarwin.org> wrote:
Is ./usr/lib/dyld in the chroot? There was a bug where this wasn't present in the dependency list for a basic chroot build. I recall it was added explicitly for *a* plist, but possibly not all plists.
I am trying to add it to bash, as I found on the hackers list. But, according to the same email, it was added in CVS - this was before the 0.4 release. So I assumed it was there, but it isn't.
Also, are you using darwinbuild from CVS, or a snapshot?
I am using 0.5 tar ball. Michael
It looks like it's in CVS to me. <http://cvs.opendarwin.org/index.cgi/src/build/darwinbuild/plists/ 8A428.plist.diff?r1=1.5&r2=1.6> It also appears to be a manual dependency of Libsystem in the 8B15.plist. If you don't have these entries, I think you're using the wrong plists. Shantonu On Jun 11, 2005, at 6:58 PM, Michael Franz wrote:
On 6/11/05, Shantonu Sen <ssen@opendarwin.org> wrote:
Is ./usr/lib/dyld in the chroot? There was a bug where this wasn't present in the dependency list for a basic chroot build. I recall it was added explicitly for *a* plist, but possibly not all plists.
I am trying to add it to bash, as I found on the hackers list. But, according to the same email, it was added in CVS - this was before the 0.4 release. So I assumed it was there, but it isn't.
Also, are you using darwinbuild from CVS, or a snapshot?
I am using 0.5 tar ball.
Michael
On 6/11/05, Shantonu Sen <ssen@opendarwin.org> wrote:
It looks like it's in CVS to me.
I guess it never made it to the 0.5 release then.
<http://cvs.opendarwin.org/index.cgi/src/build/darwinbuild/plists/ 8A428.plist.diff?r1=1.5&r2=1.6>
It also appears to be a manual dependency of Libsystem in the 8B15.plist. The 8B15.plist is not in 0.5. I may have to update from cvs.
If you don't have these entries, I think you're using the wrong plists.
They maybe the wrong plists, but they are the ones in the release/snapshot. Michael
On 6/11/05, Michael Franz <mvfranz@gmail.com> wrote:
On 6/11/05, Shantonu Sen <ssen@opendarwin.org> wrote:
It looks like it's in CVS to me.
I guess it never made it to the 0.5 release then.
The change was added 3 days after the 0.5 was created. I have updated my plist to the latest in cvs, however, I am still getting an illegal instruction. bin/darwinbuild: line 574: 1312 Illegal instruction I started over using the latest from cvs (everything) and now get bin/darwinbuild: line 585: 1330 Illegal instruction Does the number mean anything? Michael
Shantonu asked, is ./usr/lib/dyld in the BuildRoot? Its absence is likely to produce the illegal instruction message. It would also be helpful to know which build plist you are attempting to build from, i.e. 8A428.plist? Additionally, is there any sign of dyld in the BuildRoot/.chroot.receipts directory? Thanks, - Kevin On Jun 11, 2005, at 8:17 PM, Michael Franz wrote:
On 6/11/05, Michael Franz <mvfranz@gmail.com> wrote:
On 6/11/05, Shantonu Sen <ssen@opendarwin.org> wrote:
It looks like it's in CVS to me.
I guess it never made it to the 0.5 release then.
The change was added 3 days after the 0.5 was created.
I have updated my plist to the latest in cvs, however, I am still getting an illegal instruction.
bin/darwinbuild: line 574: 1312 Illegal instruction
I started over using the latest from cvs (everything) and now get
bin/darwinbuild: line 585: 1330 Illegal instruction
Does the number mean anything?
Michael _______________________________________________ darwinbuild mailing list darwinbuild@opendarwin.org http://www.opendarwin.org/mailman/listinfo/darwinbuild
On 6/12/05, Kevin Van Vechten <kevin@opendarwin.org> wrote:
Shantonu asked, is ./usr/lib/dyld in the BuildRoot? Its absence is likely to produce the illegal instruction message. Sorry, I have been manually adding it since Shantonu's email. Extracting dyld-43.root.tar.gz It is also there since I started using cvs head last night.
It would also be helpful to know which build plist you are attempting to build from, i.e. 8A428.plist?
I am now using th 8A428.plist from cvs. It has the manual dyld entry in it. I was using the 8A428.plist form darwingbuild-0.5 which does not have the dyld entry.
Additionally, is there any sign of dyld in the BuildRoot/.chroot.receipts directory? dyld-43 is in this directory.
I started over using the latest from cvs (everything) and now get
Again, I am now using the latest (from last night) darwinbuild from cvs head. Michael
participants (3)
-
Kevin Van Vechten
-
Michael Franz
-
Shantonu Sen