Bug 72629

Summary: Error building mail/thunderbird with read-only ports directory
Product: Ports & Packages Reporter: Yasuhiro Kimura <yasu>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Yasuhiro Kimura freebsd_committer freebsd_triage 2004-10-13 09:40:21 UTC
	

Build of mail/thunderbird failed as following. /usr/ports is
symlinked to /am/eastasia/usr1/cvsup/ports, which is NFS mounted
and permits only read access by root. So it seems that this port
tries to create file outside WRKDIR, which is one of don'ts listed
in FreeBSD Porter's Handbook.

gmake[1]: Entering directory `/usr0/ports/am/eastasia/usr1/cvsup/ports/mail/thunderbird/work/mozilla/embedding/browser/gtk'
gmake[2]: Entering directory `/usr0/ports/am/eastasia/usr1/cvsup/ports/mail/thunderbird/work/mozilla/embedding/browser/gtk/src'
/usr0/ports/am/eastasia/usr1/cvsup/ports/mail/thunderbird/work/mozilla/config/nsinstall -t -m 644 gtkmozembed.h gtkmozembed_internal.h /usr0/ports/am/eastasia/usr1/cvsup/ports/mail/thunderbird/work/fake/lib/thunderbird/include/thunderbird-0.8/gtkembedmoz
/usr0/ports/am/eastasia/usr1/cvsup/ports/mail/thunderbird/work/mozilla/config/nsinstall -t -m 755 libgtkembedmoz.so  /usr0/ports/am/eastasia/usr1/cvsup/ports/mail/thunderbird/work/fake/lib/thunderbird/lib/thunderbird-0.8
gmake[2]: Leaving directory `/usr0/ports/am/eastasia/usr1/cvsup/ports/mail/thunderbird/work/mozilla/embedding/browser/gtk/src'
gmake[2]: Entering directory `/usr0/ports/am/eastasia/usr1/cvsup/ports/mail/thunderbird/work/mozilla/embedding/browser/gtk/tests'
/usr0/ports/am/eastasia/usr1/cvsup/ports/mail/thunderbird/work/mozilla/config/nsinstall -t -m 755 TestGtkEmbed /usr0/ports/am/eastasia/usr1/cvsup/ports/mail/thunderbird/work/fake/lib/thunderbird/lib/thunderbird-0.8
gmake[2]: Leaving directory `/usr0/ports/am/eastasia/usr1/cvsup/ports/mail/thunderbird/work/mozilla/embedding/browser/gtk/tests'
gmake[1]: Leaving directory `/usr0/ports/am/eastasia/usr1/cvsup/ports/mail/thunderbird/work/mozilla/embedding/browser/gtk'
cannot create /am/eastasia/usr1/cvsup/ports/mail/thunderbird/pkg-plist: Permission denied
*** Error code 2

Stop in /am/eastasia/usr1/cvsup/ports/mail/thunderbird.
*** Error code 1

Stop in /am/eastasia/usr1/cvsup/ports/mail/thunderbird.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade15094.0 make reinstall
egrep: /var/db/pkg/thunderbird-0.7.3_1/+CONTENTS: No such file or directory
--->  Restoring the old version
===> Building Chrome's registry...
** Fix the installation problem and try again.
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 240 packages found (-0 +1) . done]
** Listing the failed packages (*:skipped / !:failed)
        ! mail/thunderbird (thunderbird-0.7.3_1)        (install error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
sugar#

How-To-Repeat: 	

Build mail/thunderbird with read-only ports directory.
Comment 1 Sergei Kolobov freebsd_committer freebsd_triage 2004-10-13 10:46:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainers.
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2004-10-13 17:18:07 UTC
State Changed
From-To: open->closed

Fixed, thanks for reporting.