ports/148475: [patch] Mk/bsd.gecko.mk: use tar(1) for copying trees

Anonymous swell.k at gmail.com
Sun Jul 18 20:50:03 UTC 2010


The following reply was made to PR ports/148475; it has been noted by GNATS.

From: Anonymous <swell.k at gmail.com>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/148475: [patch] Mk/bsd.gecko.mk: use tar(1) for copying trees
Date: Mon, 19 Jul 2010 00:43:39 +0400

 BTW, for some odd reason cpio(1) here on /head@{i386,amd64} doesn't set
 ownership and doesn't follow symlinks. So, after building as non-root
 installed files retain owner despite `-R ${LIBOWN}:${LIBGRP}'.
 
 Looking at pointyhat log[1] I don't see following symlinks followed
 
   ln -s /work/a/ports/www/firefox/work/fake/lib/firefox3/sdk/lib /work/a/ports/www/firefox/work/fake/lib/firefox3/lib
   ln -s /work/a/ports/www/firefox/work/fake/lib/firefox3 /work/a/ports/www/firefox/work/fake/lib/firefox3/bin
   ln -s /work/a/ports/www/firefox/work/fake/include/firefox3 /work/a/ports/www/firefox/work/fake/lib/firefox3/include
   ln -s /work/a/ports/www/firefox/work/fake/share/idl/firefox3 /work/a/ports/www/firefox/work/fake/lib/firefox3/idl
 
 This leads me to suspect that `-L' doesn't work there either because
 there is no such directories in package[2] but they're in PLIST. And
 using tar's `-L' makes it hang because of endless following
 FAKEDIR/lib/firefox3/bin -> FAKEDIR/lib/firefox3.
 
 [1] http://pointyhat.freebsd.org/errorlogs/i386-9-full-logs/firefox-3.6.4,1.log.bz2
 [2] ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-current/Latest/firefox.tbz


More information about the freebsd-gecko mailing list