public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Patrick Zehnder <patrick_zehnder@gmx.net>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] Portage and OpenAFS
Date: Thu, 12 Jun 2003 17:34:36 +0200	[thread overview]
Message-ID: <200306121734.36197.patrick_zehnder@gmx.net> (raw)

Hi,

I'm able to install OpenAFS on Gentoo Linux, but they are some not fixed 
problems.

1) I use gcc 3.2.2 and I have allways to fix the ebuild manually, if I want to 
install OpenAFS. I has to add the following commands to the function 
src_unpack in the file /usr/portage/net-fs/openafs/openafs-1.3.2(-r1).ebuild:

cd ${S}/src/pam
cp Makefile.in Makefile.in.old
sed 's|-I/usr/include/sys||' Makefile.in.old > Makefile.in
cd ${S}/src/ptserver
cp pt_util.c pt_util.c.old
sed -e 's|#include <sys/file.h>|#include <sys/file.h>\n#include <errno.h>|g' 
pt_util.c.old > pt_util.c
cd ${S}/src/sys
cp rmtsyss.c rmtsyss.c.old
sed -e 's|#include <signal.h>|#include <signal.h>\n#include <errno.h>|g' 
rmtsyss.c.old > rmtsyss.c

This add some missing headers. Is there a way to integrate this changings in 
the officiel ebuild? Or, will any of this changins create some problems on 
other platforms than x86 or other versions of gcc?

2) If I apply the changins, which I described under 1), then I'm able to 
emerge openafs with portage-2.0.47-r10. 
But there is no way with portage-2.0.48-r1. The program pinstall created by 
openafs use the program /bin/cp and cp isn't able to copy a simple file in 
the new portage environnment in the context of pinstall. It's very hard for 
me to find the reason for this error, because it's working from source and 
with the older version of portage. I doesn't know what has changed between 
the different portage versions, and doen't found any exact information about 
the sandbox concept used by portage.  Can somebody help me?

Sorry about my english. Thanks for answers!

Patrick


--
gentoo-dev@gentoo.org mailing list


             reply	other threads:[~2003-06-12 15:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-12 15:34 Patrick Zehnder [this message]
2003-06-12 15:47 ` [gentoo-dev] Portage and OpenAFS Patrick Kursawe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200306121734.36197.patrick_zehnder@gmx.net \
    --to=patrick_zehnder@gmx.net \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox