From owner-freebsd-ports-bugs@freebsd.org Fri Nov 25 23:55:19 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7EBEDC55532 for ; Fri, 25 Nov 2016 23:55:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E264F7B for ; Fri, 25 Nov 2016 23:55:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAPNtGtr012621 for ; Fri, 25 Nov 2016 23:55:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 214381] ports make install doesn't handle symbolic links correctly Date: Fri, 25 Nov 2016 23:55:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tech-lists@zyxst.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bapt@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2016 23:55:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214381 tech-lists@zyxst.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tech-lists@zyxst.net --- Comment #11 from tech-lists@zyxst.net --- (In reply to Tijl Coosemans from comment #10) This does not appear to be the same bug. I applied your patch and now I get: john@pumpkin:~ % rm -rf dir2 john@pumpkin:~ % mkdir dir2 john@pumpkin:~ % ln -s dir2 dir john@pumpkin:~ % touch dir/file john@pumpkin:~ % ln dir/file dir/file2 john@pumpkin:~ % tar cf dir.tar dir/file dir/file2 john@pumpkin:~ % rm dir/* john@pumpkin:~ % tar xf dir.tar -P john@pumpkin:~ % ls -l dir/ total 1 -rw-r--r-- 2 john john 0 25 Nov 23:42 file -rw-r--r-- 2 john john 0 25 Nov 23:42 file2 john@pumpkin:~ %=20 [works as expected] This is on 11.0-STABLE #0 r308922 & ports r427130 however I still have problems with installing (some, not all) ports such as portupgrade: root@pumpkin:/root# which portupgrade /usr/local/sbin/portupgrade root@pumpkin:/root# pkg delete portupgrade Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packag= es in the universe): Installed packages to be REMOVED: portupgrade-2.4.14,2 Number of packages to be removed: 1 Proceed with deinstalling packages? [y/N]: y [1/1] Deinstalling portupgrade-2.4.14,2... [1/1] Deleting files for portupgrade-2.4.14,2: 100% root@pumpkin:/root# which portupgrade portupgrade: Command not found. root@pumpkin:/root# cd /usr/ports/ports-mgmt/portupgrade root@pumpkin:/usr/ports/ports-mgmt/portupgrade# make =3D=3D=3D> License BSD3CLAUSE accepted by the user [...] bin/mkdir -p /storage/usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/share/zsh/si= te-functions install -o root -g wheel -m 444 _pkgtools /storage/usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/share/zsh/si= te-functions/ /bin/mkdir -p /storage/usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/share/doc/pk= gtools install -c -o root -g wheel -m 444 NEWS.md README.md /storage/usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/share/doc/pk= gtools /bin/mkdir -p /storage/usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/lib/compat/p= kg =3D=3D=3D=3D> Compressing man pages (compress-man) =3D=3D=3D> Installing ldconfig configuration file root@pumpkin:/usr/ports/ports-mgmt/portupgrade# make install =3D=3D=3D> Installing for portupgrade-2.4.14,2 =3D=3D=3D> portupgrade-2.4.14,2 depends on file: /usr/local/bin/ruby22 - = found =3D=3D=3D> portupgrade-2.4.14,2 depends on file: /usr/local/lib/ruby/site_ruby/2.2/amd64-freebsd11/bdb.so - found =3D=3D=3D> Checking if portupgrade already installed =3D=3D=3D> Registering installation for portupgrade-2.4.14,2 Installing portupgrade-2.4.14,2... root@pumpkin:/usr/ports/ports-mgmt/portupgrade#=20 root@pumpkin:/usr/ports/ports-mgmt/portupgrade# which portupgrade portupgrade: Command not found. Instead, I have to install it like this: make clean package deinstall && pkg add work/pkg/* && make clean Installing portupgrade-2.4.14,2... Extracting portupgrade-2.4.14,2: 100% =3D=3D=3D> Cleaning for portupgrade-2.4.14,2 root@pumpkin:/usr/ports/ports-mgmt/portupgrade# which portupgrade=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 /usr/local/sbin/portupgrade root@pumpkin:/usr/ports/ports-mgmt/portupgrade# --=20 You are receiving this mail because: You are on the CC list for the bug.=