You are not logged in.

#1 2003-02-05 18:19:48

sasdav
Member
Registered: 2002-11-18
Posts: 66

makeworld

I'm playing around with makeworld and I'm not having much luck with it.  The command I'm using is
makeworld -ic /usr base

It looks like the make is working ok, although it's hard to say for sure.  But when it comes down to the make install I see some errors.

find: pkg//lib: No such file or directory
find: pkg/usr/lib: No such file or directory

and lots of others.  Then
mv: invalid option -- c
Try 'mv --help' for more information.

Am I doing something wrong or is the script?

Thanks

Offline

#2 2003-02-06 01:32:48

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: makeworld

the script doesn't support getopt-style options.  Try makeworld -c -i /usr base

Offline

#3 2003-02-06 01:42:59

rasat
Forum Fellow
From: Finland
Registered: 2002-12-27
Posts: 2,295
Website

Re: makeworld

What does makeworld do?


Markku

Offline

#4 2003-02-06 02:21:52

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: makeworld

makeworld can be used to rebuild an entire package group, or the entire build tree.

Offline

#5 2003-02-06 12:16:00

sasdav
Member
Registered: 2002-11-18
Posts: 66

Re: makeworld

Yes, I've tried -c -i and --clean --install as well, the results are the same.  The problem, after further digging, appears to be with the strip portion of makepkg, not makeworld.  Everything is still compiling and installing properly, but the errors are occuring when makepkg attempts to call strip, before building the archive.

Offline

#6 2003-02-06 13:17:48

orelien
Forum Fellow
From: France
Registered: 2002-12-05
Posts: 220
Website

Re: makeworld

For me, it is a normal behavior.
The last step of makepkg, before creating the tar.gz file, is to strip files from the package:

msg "==> Stripping debugging symbols from libraries..."
find pkg/{,usr,usr/local}/lib -type f -exec /usr/bin/strip --strip-debug '{}' ';' 2>&1
msg "==> Stripping symbols from binaries..."
find pkg/{,usr,usr/local}/{bin,sbin} -type f -exec /usr/bin/strip '{}' ';' 2>&1

It seems the package you try to build does not contains /lib and /usr/lib directories.
So this is perhaps why "find" returns such messages:

find: pkg//lib: No such file or directory 
find: pkg/usr/lib: No such file or directory

In this case, these are just warnings, and you should just don't care about them.

I also get lots of these warnings each time i build a package...

Maybe a next release of makepkg could test if directories are existing before trying to strip files in it?

Offline

#7 2003-02-06 13:50:37

sasdav
Member
Registered: 2002-11-18
Posts: 66

Re: makeworld

Yes, that makes sense.  Thanks

Offline

Board footer

Powered by FluxBB