Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23318 - OpenAFS 1.3.2-r1 fails to compile
Summary: OpenAFS 1.3.2-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-23 04:14 UTC by Jeekay
Modified: 2003-08-02 13:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sandbox-deppnest-patch (sandbox-deepnest-patch.diff,1.05 KB, patch)
2003-07-17 09:22 UTC, Marko Durkovic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeekay 2003-06-23 04:14:05 UTC
When emerging openafs-1.3.2-r1, the following error occurs:

ranlib libprocmgmt.a
/var/tmp/portage/openafs-1.3.2-r1/work/openafs-1.3.2/src/pinstall/pinstall
libprocmgmt.a /var/tmp/portage/openafs-1.3.2-r1/work/openafs-1.3.2/lib/libprocmgmt.a
Bad exit code from /bin/cp: 11
Could not open output temp file
``/var/tmp/portage/openafs-1.3.2-r1/work/openafs-1.3.2/lib/libprocmgmt.a.green.localhost'':
No such file or directory
make[3]: ***
[/var/tmp/portage/openafs-1.3.2-r1/work/openafs-1.3.2/lib/libprocmgmt.a] Error 1


The final error from portage is:
!!! ERROR: net-fs/openafs-1.3.2-r1 failed.
!!! Function src_compile, Line 45, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. emerge -U openafs
2.
3.

Actual Results:  
The emerge failed.

Expected Results:  
The emerge should succeed.
Comment 1 Sascha Silbe 2003-06-30 06:09:25 UTC
Same problem here:

=== Begin ===
make[3]: Leaving directory `/tmp/portage/openafs-1.3.2-r1/work/openafs-1.3.2/src/pinstall'
cd src; cd procmgmt ; make all
make[3]: Entering directory `/tmp/portage/openafs-1.3.2-r1/work/openafs-1.3.2/src/procmgmt'
cc  -I/var/tmp/portage/openafs-1.3.2-r1/work/openafs-1.3.2/include -I../config -O2 -D_LARGEFILE64_SOURCE -c ./procmgmt_unix.c
echo 'char cml_version_number[]="@(#) OpenAFS devel built ' `date +"%Y-%m-%d"` '";' >AFS_component_version_number.c
echo 'char* AFSVersion = "openafs devel"; ' >>AFS_component_version_number.c
cc  -I/var/tmp/portage/openafs-1.3.2-r1/work/openafs-1.3.2/include -I../config -O2 -D_LARGEFILE64_SOURCE   -c -o AFS_component_version_number.o AFS_component_version_number.c
rm -f libprocmgmt.a
ar crv libprocmgmt.a procmgmt_unix.o AFS_component_version_number.o
a - procmgmt_unix.o
a - AFS_component_version_number.o
ranlib libprocmgmt.a
/var/tmp/portage/openafs-1.3.2-r1/work/openafs-1.3.2/src/pinstall/pinstall libprocmgmt.a /var/tmp/portage/openafs-1.3.2-r1/work/openafs-1.3.2/lib/libprocmgmt.a
Bad exit code from /bin/cp: 11
Could not open output temp file ``/var/tmp/portage/openafs-1.3.2-r1/work/openafs-1.3.2/lib/libprocmgmt.a.cube.sascha.silbe.org'': No such file or directory
make[3]: *** [/var/tmp/portage/openafs-1.3.2-r1/work/openafs-1.3.2/lib/libprocmgmt.a] Error 1
make[3]: Leaving directory `/tmp/portage/openafs-1.3.2-r1/work/openafs-1.3.2/src/procmgmt'
make[2]: *** [procmgmt] Error 2
make[2]: Leaving directory `/tmp/portage/openafs-1.3.2-r1/work/openafs-1.3.2'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/tmp/portage/openafs-1.3.2-r1/work/openafs-1.3.2'
make: *** [all] Error 2

!!! ERROR: net-fs/openafs-1.3.2-r1 failed.
!!! Function src_compile, Line 47, Exitcode 2
!!! (no error message)
=== End ===

So I cannot use AFS anymore since I have updated the kernel and OpenAFS uses a kernel module. :(

Comment 2 Christian Ashby 2003-07-04 03:50:03 UTC
I also see this bug. All files in /tmp/portage/.../openafs appear to have the correct permissions.
Comment 3 Marko Durkovic 2003-07-17 09:22:48 UTC
Created attachment 14625 [details, diff]
sandbox-deppnest-patch
Comment 4 Marko Durkovic 2003-07-17 09:24:28 UTC
Comment on attachment 14625 [details, diff]
sandbox-deppnest-patch

This patch resolves the sandbox and unistd.h problems with openafs-1.3.2
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-08-02 13:52:36 UTC
1.3.2 is masked in portage now anyway. please try 1.2.9