From: David Southwell on
Hi
The following error occurs on portupgrade of vlc

#uname -a
FreeBSD dns1.vizion2000.net 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Thu Aug
20 12:54:34 BST 2009

david(a)dns1.vizion2000.net:/usr/obj/usr/src/sys/GENERIC amd64
cd /usr/ports/multimedia/vlc/work/fake/usr/local/share/icons && /usr/bin/find
-s * -type f -o -type l | /usr/bin/sed -e 's|^|share/icons/|' >>
/usr/ports/multimedia/vlc/work/plist && /usr/bin/find -d * -type d |
/usr/bin/sed -e 's|^|@dirrmtry share/icons/|' >>
/usr/ports/multimedia/vlc/work/plist
echo "@dirrmtry share/icons" >> /usr/ports/multimedia/vlc/work/plist
cd /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4 && /usr/bin/find -
s * -type f -o -type l | /usr/bin/sed -e 's|^|share/kde4/|' >>
/usr/ports/multimedia/vlc/work/plist && /usr/bin/find -d * -type d |
/usr/bin/sed -e 's|^|@dirrmtry share/kde4/|' >>
/usr/ports/multimedia/vlc/work/plist
cd: can't cd to /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4
*** Error code 2

Stop in /usr/ports/multimedia/vlc.
*** Error code 1

Stop in /usr/ports/multimedia/vlc.
*** Error code 1

Stop in /usr/ports/multimedia/vlc.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20100712-32475-1ouopy-0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=vlc-1.0.6_3,3 UPGRADE_PORT_VER=1.0.6_3,3 make reinstall
---> Restoring the old version
** Fix the installation problem and try again.
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1311 packages
found (-0 +1) . done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! multimedia/vlc (vlc-1.0.6_3,3) (install error)
You have new mail.
dns1#


Photographic Artist
Permanent Installations & Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography & Official Portraiture
Combined darkroom & digital creations
& Systems Adminstrator for the vizion2000.net network
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: David DEMELIER on
2010/7/12 David Southwell <david(a)vizion2000.net>:
> Hi
> The following error occurs on portupgrade of vlc
>
> #uname -a
> FreeBSD dns1.vizion2000.net 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Thu Aug
> 20 12:54:34 BST 2009
>
> david(a)dns1.vizion2000.net:/usr/obj/usr/src/sys/GENERIC  amd64
> cd /usr/ports/multimedia/vlc/work/fake/usr/local/share/icons && /usr/bin/find
> -s * -type f -o -type l |  /usr/bin/sed -e 's|^|share/icons/|' >>
> /usr/ports/multimedia/vlc/work/plist  && /usr/bin/find -d * -type d |
> /usr/bin/sed -e 's|^|@dirrmtry share/icons/|' >>
> /usr/ports/multimedia/vlc/work/plist
> echo "@dirrmtry share/icons" >> /usr/ports/multimedia/vlc/work/plist
> cd /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4 && /usr/bin/find -
> s * -type f -o -type l |  /usr/bin/sed -e 's|^|share/kde4/|' >>
> /usr/ports/multimedia/vlc/work/plist  && /usr/bin/find -d * -type d |
> /usr/bin/sed -e 's|^|@dirrmtry share/kde4/|' >>
> /usr/ports/multimedia/vlc/work/plist
> cd: can't cd to /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4
> *** Error code 2
>
> Stop in /usr/ports/multimedia/vlc.
> *** Error code 1
>
> Stop in /usr/ports/multimedia/vlc.
> *** Error code 1
>
> Stop in /usr/ports/multimedia/vlc.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade20100712-32475-1ouopy-0 env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=vlc-1.0.6_3,3 UPGRADE_PORT_VER=1.0.6_3,3 make reinstall
> --->  Restoring the old version
> ** Fix the installation problem and try again.
> [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1311 packages
> found (-0 +1) . done]
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>        ! multimedia/vlc (vlc-1.0.6_3,3)        (install error)
> You have new mail.
> dns1#
>
>
> Photographic Artist
> Permanent Installations & Design
> Creative Imagery and Advanced Digital Techniques
> High Dynamic Range Photography & Official Portraiture
> Combined darkroom & digital creations
> & Systems Adminstrator for the vizion2000.net network
> _______________________________________________
> freebsd-ports(a)freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
>

I don't understand this : cd: can't cd to
/usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4

do you use a fakeroot ?

--
Demelier David
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: David Southwell on
> 2010/7/12 David Southwell <david(a)vizion2000.net>:
> > Hi
> > The following error occurs on portupgrade of vlc
> >
> > #uname -a
> > FreeBSD dns1.vizion2000.net 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Thu
> > Aug 20 12:54:34 BST 2009
> >
> > david(a)dns1.vizion2000.net:/usr/obj/usr/src/sys/GENERIC amd64
> > cd /usr/ports/multimedia/vlc/work/fake/usr/local/share/icons &&
> > /usr/bin/find -s * -type f -o -type l | /usr/bin/sed -e
> > 's|^|share/icons/|' >> /usr/ports/multimedia/vlc/work/plist &&
> > /usr/bin/find -d * -type d | /usr/bin/sed -e 's|^|@dirrmtry
> > share/icons/|' >>
> > /usr/ports/multimedia/vlc/work/plist
> > echo "@dirrmtry share/icons" >> /usr/ports/multimedia/vlc/work/plist
> > cd /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4 &&
> > /usr/bin/find - s * -type f -o -type l | /usr/bin/sed -e
> > 's|^|share/kde4/|' >>
> > /usr/ports/multimedia/vlc/work/plist && /usr/bin/find -d * -type d |
> > /usr/bin/sed -e 's|^|@dirrmtry share/kde4/|' >>
> > /usr/ports/multimedia/vlc/work/plist
> > cd: can't cd to /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4
> > *** Error code 2
> >
> > Stop in /usr/ports/multimedia/vlc.
> > *** Error code 1
> >
> > Stop in /usr/ports/multimedia/vlc.
> > *** Error code 1
> >
> > Stop in /usr/ports/multimedia/vlc.
> > ** Command failed [exit code 1]: /usr/bin/script -qa
> > /tmp/portupgrade20100712-32475-1ouopy-0 env UPGRADE_TOOL=portupgrade
> > UPGRADE_PORT=vlc-1.0.6_3,3 UPGRADE_PORT_VER=1.0.6_3,3 make reinstall
> > ---> Restoring the old version
> > ** Fix the installation problem and try again.
> > [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1311 packages
> > found (-0 +1) . done]
> > ** Listing the failed packages (-:ignored / *:skipped / !:failed)
> > ! multimedia/vlc (vlc-1.0.6_3,3) (install error)
> > You have new mail.
> > dns1#
> >
> >
> > Photographic Artist
> > Permanent Installations & Design
> > Creative Imagery and Advanced Digital Techniques
> > High Dynamic Range Photography & Official Portraiture
> > Combined darkroom & digital creations
> > & Systems Adminstrator for the vizion2000.net network
> > _______________________________________________
> > freebsd-ports(a)freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
>
> I don't understand this : cd: can't cd to
> /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4


>
> do you use a fakeroot ?
No

The directory
/usr/ports/multimedia/vlc/work/fake/usr/local/share/

exists but

/usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4

does not

David
Photographic Artist
Permanent Installations & Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography & Official Portraiture
Combined darkroom & digital creations
& Systems Adminstrator for the vizion2000.net network
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Wesley Shields on
On Mon, Jul 12, 2010 at 10:42:46PM +0200, David DEMELIER wrote:
> 2010/7/12 David Southwell <david(a)vizion2000.net>:
> > Hi
> > The following error occurs on portupgrade of vlc
> >
> > #uname -a
> > FreeBSD dns1.vizion2000.net 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Thu Aug
> > 20 12:54:34 BST 2009
> >
> > david(a)dns1.vizion2000.net:/usr/obj/usr/src/sys/GENERIC ??amd64
> > cd /usr/ports/multimedia/vlc/work/fake/usr/local/share/icons && /usr/bin/find
> > -s * -type f -o -type l | ??/usr/bin/sed -e 's|^|share/icons/|' >>
> > /usr/ports/multimedia/vlc/work/plist ??&& /usr/bin/find -d * -type d |
> > /usr/bin/sed -e 's|^|@dirrmtry share/icons/|' >>
> > /usr/ports/multimedia/vlc/work/plist
> > echo "@dirrmtry share/icons" >> /usr/ports/multimedia/vlc/work/plist
> > cd /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4 && /usr/bin/find -
> > s * -type f -o -type l | ??/usr/bin/sed -e 's|^|share/kde4/|' >>
> > /usr/ports/multimedia/vlc/work/plist ??&& /usr/bin/find -d * -type d |
> > /usr/bin/sed -e 's|^|@dirrmtry share/kde4/|' >>
> > /usr/ports/multimedia/vlc/work/plist
> > cd: can't cd to /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4
> > *** Error code 2
> >
> > Stop in /usr/ports/multimedia/vlc.
> > *** Error code 1
> >
> > Stop in /usr/ports/multimedia/vlc.
> > *** Error code 1
> >
> > Stop in /usr/ports/multimedia/vlc.
> > ** Command failed [exit code 1]: /usr/bin/script -qa
> > /tmp/portupgrade20100712-32475-1ouopy-0 env UPGRADE_TOOL=portupgrade
> > UPGRADE_PORT=vlc-1.0.6_3,3 UPGRADE_PORT_VER=1.0.6_3,3 make reinstall
> > ---> ??Restoring the old version
> > ** Fix the installation problem and try again.
> > [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1311 packages
> > found (-0 +1) . done]
> > ** Listing the failed packages (-:ignored / *:skipped / !:failed)
> > ?? ?? ?? ??! multimedia/vlc (vlc-1.0.6_3,3) ?? ?? ?? ??(install error)
> > You have new mail.
> > dns1#
> >
> >
> > Photographic Artist
> > Permanent Installations & Design
> > Creative Imagery and Advanced Digital Techniques
> > High Dynamic Range Photography & Official Portraiture
> > Combined darkroom & digital creations
> > & Systems Adminstrator for the vizion2000.net network
> > _______________________________________________
> > freebsd-ports(a)freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
> >
>
> I don't understand this : cd: can't cd to
> /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4
>
> do you use a fakeroot ?

No. The port does as part of it's normal build process. It uses it to
dynamically build the plist.

I'd suggest that David provide the options he used to build and any
existing packages installed on his system. When I made the update to
this port with the maintainer I was unable to provoke this behavior.

Lastly, it is always a good idea to include the maintainer on these
kinds of mails. The maintainer is going to be one of the best sources of
information on a port. I've included Joseph on this email.

-- WXS
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: "Joseph S. Atkinson" on
On 07/12/2010 20:24, Wesley Shields wrote:
> On Mon, Jul 12, 2010 at 10:42:46PM +0200, David DEMELIER wrote:
>> 2010/7/12 David Southwell<david(a)vizion2000.net>:
>>> cd: can't cd to /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4

....

>> I don't understand this : cd: can't cd to
>> /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4
>>

Whatever options were use, the kde4 directory isn't being created. This needs to
be checked for. Try this patch.