[darwinbuild] perl_extras
Kevin Van Vechten
kevin at opendarwin.org
Mon Aug 8 12:53:20 PDT 2005
Hi Chris,
I think I know what the problem is. First, I'd like to point out
that DarwinBuild performs all build inside the BuildRoot directory
(see chroot(8)). Therefore the reason you didn't see a /private/var/
tmp/perl_extras/perl_extras-35.obj/Extras-objroot directory is
because it is actually .../BuildRoot/private/var/tmp/perl_extras/
perl_extras-35.obj/Extras-objroot.
In the build log that you provided me, it appears that the gzip
project was never loaded into the BuildRoot. This is consistent with
the error: "tar (child): gzip: Cannot exec: No such file or
directory" This appears to be an oversight in the 8A428.plist.
You can edit the database to add the gzip dependency and hopefully it
will correct this issue.
If you're using the most recent version of DarwinBuild from CVS, you
can do:
# darwinxref edit 8A428 perl
Or if you're using 0.6 or 0.6.1, you can do the following and search
for "perl = {":
# darwinxref -b 8A428 edit
At this point, you'll want to add "gzip" to the build dependencies
list for perl:
dependencies = {
build = (
gzip,
...
After saving your changes, when you perform the next build it should
automatically load gzip into the BuildRoot.
- Kevin
On Aug 8, 2005, at 11:23 AM, Chris Nandor wrote:
> At 10:50 -0700 2005.08.08, Kevin Van Vechten wrote:
>
>> Apparently your version of /bin/ln doesn't accept the -h flag. What
>> system are you running DarwinBuild on?
>>
>
> Mac OS X 10.4.2.
>
> And gah ... `sudo -s` kept my previous user environment (which
> included
> /sw, and /sw/bin/ln). I just assumed it wouldn't. I manually
> fixed my
> PATH.
>
> Now I am getting:
>
> Build log begins here:
>
> make -C Extras install
> EXTRAS=/private/var/tmp/perl_extras/perl_extras-35.root/System/
> Library/Perl/Extras
> EXTRASPERL=/private/var/tmp/perl_extras/perl_extras-35.root/System/
> Library/Perl/Extras/5.8.6
> \
>
> SLP=/private/var/tmp/perl_extras/perl_extras-35.root/System/Library/
> Perl/5.8.6
> ARCHLIB=darwin-thread-multi-2level
> OBJROOT=/private/var/tmp/perl_extras/perl_extras-35.obj/Extras-objroot
> make -C MLDBM install
> installarchlib=/System/Library/Perl/Extras/5.8.6/darwin-thread-
> multi-2level
> installprivlib=/System/Library/Perl/Extras/5.8.6
> PLARGS=INSTALLDIRS=perl
> INSTALLARCHLIB='/System/Library/Perl/Extras/5.8.6/darwin-thread-
> multi-2level'
> INSTALLPRIVLIB='/System/Library/Perl/Extras/5.8.6'
> INSTALLBIN='/System/Library/Perl/Extras/bin'
> INSTALLSCRIPT='/System/Library/Perl/Extras/bin'
> MAKEARGS=PASTHRU_INC='-pipe
> -no-cpp-precomp -arch ppc -arch i386' OTHERLDFLAGS='-pipe -no-cpp-
> precomp
> -arch ppc -arch i386'
> DESTDIR=/private/var/tmp/perl_extras/perl_extras-35.root
> mkdir -p /private/var/tmp/perl_extras/perl_extras-35.obj/Extras-
> objroot/MLDBM
> gnutar xzf MLDBM-2.01.tar.gz -C
> /private/var/tmp/perl_extras/perl_extras-35.obj/Extras-objroot/MLDBM
> tar (child): gzip: Cannot exec: No such file or directory
> tar (child): Error is not recoverable: exiting now
> gnutar: Child returned status 2
> gnutar: Error exit delayed from previous errors
> make[2]: ***
> [/private/var/tmp/perl_extras/perl_extras-35.obj/Extras-objroot/
> MLDBM/MLDBM-2.01]
> Error 2
>
> It's as though the mkdir is failing, as if I ls that directory, it
> does not
> exist, but if I make it manually, it works:
>
> # ls /private/var/tmp/perl_extras/perl_extras-35.obj/Extras-objroot
> ls: /private/var/tmp/perl_extras/perl_extras-35.obj/Extras-objroot:
> No such
> file or directory
> # mkdir -p /private/var/tmp/perl_extras/perl_extras-35.obj/Extras-
> objroot/MLDBM
> # ls /private/var/tmp/perl_extras/perl_extras-35.obj/Extras-objroot
> MLDBM
>
> Still trying,
>
> --
> Chris Nandor pudge at pobox.com http://pudge.net/
> Open Source Technology Group pudge at ostg.com http://ostg.com/
>
More information about the darwinbuild-dev
mailing list