public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] ebuild problem
@ 2002-08-31 19:54 mschroer
  2002-09-02  8:07 ` Paul de Vrieze
  0 siblings, 1 reply; 12+ messages in thread
From: mschroer @ 2002-08-31 19:54 UTC (permalink / raw
  To: gentoo-dev

I am new to Gentoo and having trouble with an ebuild.  I put the latest 
tarball of anjuta-0.9.99.tar.gz in the distfile directory and built a 
new ebuild file from the anjuta-0.1.9.ebuild.  When I emerge, running as 
root, I get the following error:

******** all the unpack and compile seem to work fine and the image is 
built in var///  and I get to here *******
 
make  install-man1
make[3]: Entering directory 
`/var/tmp/portage/anjuta-0.9.99/work/anjuta-0.9.99/doc'
/bin/sh ../mkinstalldirs /usr/share/man/man1
 /bin/install -c -m 644 ./anjuta.1 /usr/share/man/man1/anjuta.1
ACCESS DENIED  open_wr:   /usr/share/man/man1/anjuta.1
/bin/install: cannot create regular file `/usr/share/man/man1/anjuta.1': 
Permission denied
 /bin/install -c -m 644 ./anjuta_launcher.1 
/usr/share/man/man1/anjuta_launcher.1
ACCESS DENIED  open_wr:   /usr/share/man/man1/anjuta_launcher.1
/bin/install: cannot create regular file 
`/usr/share/man/man1/anjuta_launcher.1': Permission denied
make[3]: *** [install-man1] Error 1
make[3]: Leaving directory 
`/var/tmp/portage/anjuta-0.9.99/work/anjuta-0.9.99/doc'
make[2]: *** [install-man] Error 2
make[2]: Leaving directory 
`/var/tmp/portage/anjuta-0.9.99/work/anjuta-0.9.99/doc'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory 
`/var/tmp/portage/anjuta-0.9.99/work/anjuta-0.9.99/doc'
make: *** [install-recursive] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_install, Line 8, Exitcode 2
!!! (no error message)

--------------------------- ACCESS VIOLATION SUMMARY 
---------------------------
LOG FILE = "/tmp/sandbox-anjuta-0.9.99-23571.log"

open_wr:   /usr/share/man/man1/anjuta.1
open_wr:   /usr/share/man/man1/anjuta_launcher.1
--------------------------------------------------------------------------------
!!! emerge aborting on  /usr/portage/dev-util/anjuta/anjuta-0.9.99.ebuild .


Can anyone help me ?




^ permalink raw reply	[flat|nested] 12+ messages in thread
* [gentoo-dev] ebuild problem
@ 2003-04-27  9:09 Norberto BENSA
  2003-04-27 18:25 ` Aron Griffis
  0 siblings, 1 reply; 12+ messages in thread
From: Norberto BENSA @ 2003-04-27  9:09 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1: body text --]
[-- Type: text/plain, Size: 789 bytes --]

Hello,

I'm trying to update BasiliskII. I got the source tarball and I've copied (and 
modified) the ebuild from basiliskII-0.9.0, but when I do "emerge 
basiliskII," I get this:

nbensa@venkman nbensa $ PORTDIR_OVERLAY=/home/nbensa/portage sudo emerge 
basiliskII
Password:
Calculating dependencies ...done!
>>> emerge (1 of 1) app-emulation/basiliskII-1.0.0 to /
>>> md5 ;-) BasiliskII-jit-1.0-mdk-src.tar.bz2
/usr/sbin/ebuild.sh: line 1041: 
/home/nbensa/portage/app-emulation/basiliskII/basiliskII-1.0.0.ebuild: 
Permission denied

!!! ERROR: app-emulation/basiliskII-1.0.0 failed.
!!! Function , Line 1041, Exitcode 1
!!! error sourcing ebuild


Attached, the ebuild. Could someone please take a look and tell what's wrong?

Many thanks in advance,
Norberto

[-- Attachment #1.2: basiliskII-1.0.0.ebuild --]
[-- Type: text/plain, Size: 2653 bytes --]

# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/app-emulation/basiliskII/basiliskII-0.9.0.ebuild,v 1.11 2003/03/16 22:22:11 mholzer Exp $

IUSE="X gtk xv esd dga"

inherit flag-o-matic

### This package requires a Mac II/Classic ROM, A Mac OS Image
### Mac OS 7.5.3r2 is available freely from the Apple Homepage
### System ROMS can be retreived from a 'real' Mac, See info/man pages

DESCRIPTION="BasiliskII-1.0.0 Macintosh Emulator (Stable Release)"
HOMEPAGE="http://gwenole.beauchesne.online.fr/basilisk2/"
LICENSE="GPL-2 | LGPL-2.1"
KEYWORDS="x86 -ppc"
SLOT="0"

### We'll set $S Manually, it's version dependant, and nested strangely.
S=${WORKDIR}/BasiliskII-jit-1.0/src/Unix

### fbdev support in the stable release...  the cvs branch is broken, period!
### gtk and esd support are compile time options, we'll check the usual
### use variables here and set ./configure options accordingly

DEPEND="gtk? ( x11-libs/gtk+ )
	esd? ( media-sound/esound )"


SRC_URI="http://hometown.aol.de/wimdk/files/BasiliskII-jit-1.0-mdk-src.tar.bz2"

src_compile() {

	#fpu_x86 doesnt compile properly if -O3 or greater :(
	replace-flags -O[3-9] -O2

	local myflags

### Default ./configure options are all =yes by default. we'll check for
### and use -values and switch them accordingly

	use X || myflags="${myflags} --with-x=no"
	use esd || myflags="${myflags} --with-esd=no"
	use gtk || myflags="${myflags} --with-gtk=no"
	use dga || myflags="${myflags} --with-dga=no"
	use xv || myflags="${myflags} --enable-xf86-vidmode=no"

	./configure \
		--host=${CHOST} \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man \
		${myflags} || die "BasiliskII ./configure Failed"

	#hack to link against libstdc++ for gcc3.x compatibility
	cp Makefile Makefile.old
	sed -e 's:-o $(OBJ_DIR)/gencpu:-lstdc++ -o $(OBJ_DIR)/gencpu:' \
		Makefile.old > Makefile

	emake || die "BasiliskII Make Failed"
}

src_install () {
	make \
		prefix=${D}/usr \
		mandir=${D}/usr/share/man \
		infodir=${D}/usr/share/info \
		install || die "BasiliskII Make Install Failed"

### Networking is _disabled_ in this revision,  hopefully -r2 will
### resolve the permissions issue / linux src compilation problem
### that prevents it's inclusion

### Uncomment the following, and read the manual _carefully_ if you really
### need networking, this will create a sheep_net.o kernel module that
### provides (effectivly) an ethernet bridge between basliskII and the kernel

#	make modules

}

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [gentoo-dev] Ebuild problem
@ 2002-06-13  2:26 John P. Marr
  2002-06-13 15:55 ` Spider
  0 siblings, 1 reply; 12+ messages in thread
From: John P. Marr @ 2002-06-13  2:26 UTC (permalink / raw
  To: gentoo-dev

I am trying to install kdemultimedia, and I am getting an error message:

kde_src_compile, Line -3694 Exitcode 2

What can i do to fix this?




^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [gentoo-dev] ebuild problem
@ 2002-04-13 23:16 Jason Ritchie
  0 siblings, 0 replies; 12+ messages in thread
From: Jason Ritchie @ 2002-04-13 23:16 UTC (permalink / raw
  To: gentoo-dev

The package is trying to put the manpages directly into your /usr tree instead of ${D}/usr.  Try adding --mandir=${D}/usr/share/man to your configure or make line.

-----Original Message-----
From: Doug Shea <doug_shea@alumni.ucsd.edu>
To: gentoo-dev@gentoo.org
Date: Sat, 13 Apr 2002 15:42:20 -0700 
Subject: [gentoo-dev] ebuild problem


    Hello. I'm trying to make a new .ebuild file for a package that I 
like to use under Linux (DVD::Rip), and I'm testing it on my machine, 
and it's giving me an error that I don't understand. The dependencies 
work, and it seems to finish the compile part okay, but it fails when 
installing into the image directory.
    The error is this:

ACCESS DENIED  open_wr:   /usr/share/man/man1/splitpipe.1
Installing /usr/share/man/man1/splitpipe.1
ACCESS DENIED  utime:     /usr/share/man/man1/splitpipe.1
ACCESS DENIED  chmod:     /usr/share/man/man1/splitpipe.1

    ...and there's a summary containing basically those three lines, at 
the end; no new information there.

    What can be causing this error, and how can I fix it? I'm guessing
that the package that I'm trying to install is doing something wrong,
but I don't want to go mucking around in that until I'm sure that's the
right thing to do.
    Any help would be appreciated, especially pointers to TFM, if there
is one I don't know about, other than the HOWTO link on the Gentoo
homepage. Thanks!

Doug



^ permalink raw reply	[flat|nested] 12+ messages in thread
* [gentoo-dev] ebuild problem
@ 2002-04-13 22:42 Doug Shea
  0 siblings, 0 replies; 12+ messages in thread
From: Doug Shea @ 2002-04-13 22:42 UTC (permalink / raw
  To: gentoo-dev

    Hello. I'm trying to make a new .ebuild file for a package that I 
like to use under Linux (DVD::Rip), and I'm testing it on my machine, 
and it's giving me an error that I don't understand. The dependencies 
work, and it seems to finish the compile part okay, but it fails when 
installing into the image directory.
    The error is this:

ACCESS DENIED  open_wr:   /usr/share/man/man1/splitpipe.1
Installing /usr/share/man/man1/splitpipe.1
ACCESS DENIED  utime:     /usr/share/man/man1/splitpipe.1
ACCESS DENIED  chmod:     /usr/share/man/man1/splitpipe.1

    ...and there's a summary containing basically those three lines, at 
the end; no new information there.

    What can be causing this error, and how can I fix it? I'm guessing 
that the package that I'm trying to install is doing something wrong, 
but I don't want to go mucking around in that until I'm sure that's the 
right thing to do.
    Any help would be appreciated, especially pointers to TFM, if there 
is one I don't know about, other than the HOWTO link on the Gentoo 
homepage. Thanks!

Doug



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-04-27 23:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-31 19:54 [gentoo-dev] ebuild problem mschroer
2002-09-02  8:07 ` Paul de Vrieze
2002-09-02 18:46   ` Thomas T. Veldhouse
2002-09-02 19:07     ` Paul de Vrieze
  -- strict thread matches above, loose matches on Subject: below --
2003-04-27  9:09 Norberto BENSA
2003-04-27 18:25 ` Aron Griffis
2003-04-27 19:26   ` Norberto BENSA
2003-04-27 22:47     ` Aron Griffis
2002-06-13  2:26 [gentoo-dev] Ebuild problem John P. Marr
2002-06-13 15:55 ` Spider
2002-04-13 23:16 [gentoo-dev] ebuild problem Jason Ritchie
2002-04-13 22:42 Doug Shea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox