Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 2004 18:02:01 -0800 (PST)
From:      Rick Voland <rpvoland@spamcop.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/60998: solved: building linux_devtools-7.1_1 fails at rpm2cpio: not found
Message-ID:  <200401070202.i07221Sb033874@www.freebsd.org>
Resent-Message-ID: <200401070210.i072AEci058115@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         60998
>Category:       ports
>Synopsis:       solved: building linux_devtools-7.1_1 fails at rpm2cpio: not found
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 06 18:10:13 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Rick Voland
>Release:        FreeBSD 4.9-RELEASE-p1 #0:    (SMP-i586)
>Organization:
>Environment:
$  uname -a
FreeBSD brian.local.bsd 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #0: Sat Dec  6 07:35:33 CST 2003     root@brian.local.bsd:/usr/obj/usr/src/sys/BRIAN  i386
>Description:
Building linux_devtools-7.1_1 from port fails at rpm2cpio: not found.


Error messages from build follow:

===>   linux_devtools-7.1_1 depends on file:
/compat/linux/etc/redhat-release - found
cd /usr/ports/devel/linux_devtools-7/work/linux_devtools-7.1/tmp; rpm2cpio
< /usr/ports/distfiles/rpm/make-3.79.1-5.i386.rpm | cpio -id
rpm2cpio: not found
cpio: premature end of archive
*** Error code 1

Stop in /usr/ports/devel/linux_devtools-7.
*** Error code 1

Stop in /usr/ports/graphics/linux_mesa3.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade28090.0 make
** Fix the problem and try again.
** The following packages were not installed or upgraded (*:skipped /
!:failed)
        ! graphics/linux_mesa3 (linux_mesa-3.4.2_1)     (unknown build
error)

>How-To-Repeat:
The problem can be reproduced by building linux_devtools-7.1_1 using the default PATH
settings even after installing linux_base.

>Fix:
The problem can be solved by adding the directory
/usr/compat/linux/usr/bin
to the default PATH for root in      /.cshrc .

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401070202.i07221Sb033874>