Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 09:38:44 +0200
From:      "Bertrand" <bib@infomaniak.ch>
To:        questions@freebsd.org
Subject:   portupgrade, building ports, world and kernel
Message-ID:  <112310-22002752673844234@infomaniak.ch>

next in thread | raw e-mail | index | archive | help
Dear all,
What i wandt is building packages during the night.
Unfortunatly, I coudn't set crontab for a portupgrade job.
After cron having run '/usr/local/sbin/portupgrade -Np
sysutils/detach'
under root, when i look to /var/tmp/portupgrade.result, 
it's sayes "+" for that package and
/var/tmp/portupgrade-sysutils::detach doesn't exist at all.
When i look at 'PACKAGES'/All, there is no 'detach' package.

If I run the same command manualy, it's react normaly, i.e:
building the package, installing it and then, packaging it as
expected,
with portupgrade logs reflecting the whole process corectly.

I apologize about beeing really confused. Here some (stupid?) newbe
questions about portupgrade and kernel/world building :

1. Any tips about building binary packages from ports under 
   a user account insteed of the root account ?
2. How do I setup environement and crontab for building automaticaly
   binary packages from ports with portupgrade ?

Furthermore, let's say I'm running a 4.6-release-p3. I rebuild
world first for each OS patch received (cvsup). 

3. Are 'buildworld' objects needed for kernel builds made on the
   same patch level (ie: whenn rebuilding p3 kernel for tuning);
3.1 if not, I could empty /usr/obj before rebuilding kernel, right ?
3.2 if yes, do I need to rebuild world after each kernel config
change,
    or is it sufficient to left 'world' objects (i.e: /usr/obj)
    untouched after first p3's full build   ?
4. Is rebuilding of used ports needed for each new OS patch (i.e:
   going from p2 to p3, p3 to p4...
4.1 if yes, do I need to rebuild all packages or is it sufficient to
    rebuild only those packages that use shared libs affected by the
    new os patch ?

Many thanks in advance for your help
Kindest regards
Bertrand



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?112310-22002752673844234>