From owner-freebsd-questions Fri Jul 26 0:40:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5613437B400 for ; Fri, 26 Jul 2002 00:40:37 -0700 (PDT) Received: from aristote2.infomaniak.ch (aristote2.infomaniak.ch [212.23.248.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2B3343E31 for ; Fri, 26 Jul 2002 00:40:35 -0700 (PDT) (envelope-from bib@infomaniak.ch) Received: from infomaniak.ch (unverified [212.23.248.13]) by aristote2.infomaniak.ch (Rockliffe SMTPRA 4.5.6) with ESMTP id for ; Fri, 26 Jul 2002 09:40:01 +0200 Message-ID: <112310-22002752673844234@infomaniak.ch> X-EM-Version: 6, 0, 0, 6 X-EM-Registration: #00E0620610781F002A20 X-Priority: 3 From: "Bertrand" To: questions@freebsd.org Subject: portupgrade, building ports, world and kernel Date: Fri, 26 Jul 2002 09:38:44 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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