First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 54483
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ryan Earl <heretic@clanhk.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
[Nbd] Problems getting nbd-2.7.x to compile.eml email with nbd maintainer message/rfc822 Ryan Earl 2004-06-19 19:35 0000 3.40 KB Details
nbd-2.7.1.ebuild updated ebuild text/plain Ryan Earl 2004-06-19 19:37 0000 914 bytes Details
nbd-2.7.1.ebuild Working nbd-2.7.1.ebuild text/plain Ryan Earl 2004-06-19 20:11 0000 1.06 KB Details
nbd-2.7.1.ebuild slightly updated working nbd-2.7.1.ebuild text/plain Ryan Earl 2004-06-19 20:23 0000 1.06 KB Details
nbd-2.7.1.ebuild last .ebuild I hope, noticed a weird tab text/plain Ryan Earl 2004-06-19 20:26 0000 1.06 KB Details
nbd-2.7.1.ebuild nbd-2.7.1 with two more minor corrections text/plain Ryan Earl 2004-06-19 21:11 0000 1.06 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 54483 depends on: Show dependency tree
Show dependency graph
Bug 54483 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-06-19 19:34 0000
nbd-2.7.1 contains some important bugfixes.  I have started with
nbd-2.6.0.ebuild as a base to create a new nbd-2.7.1.ebuild file.  The primary
changes are that the current kernel header nbd.h must be copied over--not
current kernel header version--as discussed in an email with the author and
maintainer for nbd; email to be attached with patch.  Additionally, a change
was required to support transforming the new sgml documentation to man pages.

However, I'm having a small problem with permissions.  I'm not sure if it has
something to do with the fact I just made a new file in my portage directory, I
didn't use a CVS'd copy.  I'm looking into CVS, but any help would be
appreciated.  I can do a manual "make install" after it dies and it completed
the installation just fine.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
docbook2man -v nbd-server.1.sgml > nbd-server.1
docbook2man -v nbd-client.8.sgml > nbd-client.8
gcc  -O2 -pipe -fomit-frame-pointer   -o nbd-server  nbd-server.o
gcc  -O2 -pipe -fomit-frame-pointer   -o nbd-client  nbd-client.o
make[1]: Leaving directory `/var/tmp/portage/nbd-2.7.1/work/nbd-2.7.1'
make: Entering directory `/var/tmp/portage/nbd-2.7.1/work/nbd-2.7.1/gznbd'
gcc -s -Wall -O2 -pipe -fomit-frame-pointer -DTRACE gznbd.c -o gznbd -lz
make: Leaving directory `/var/tmp/portage/nbd-2.7.1/work/nbd-2.7.1/gznbd'

>>> Install nbd-2.7.1 into /var/tmp/portage/nbd-2.7.1/image/ category sys-apps
make[1]: Entering directory `/var/tmp/portage/nbd-2.7.1/work/nbd-2.7.1'
/bin/sh ./mkinstalldirs /var/tmp/portage/nbd-2.7.1/image//usr/bin
  /bin/install -c nbd-server
/var/tmp/portage/nbd-2.7.1/image//usr/bin/nbd-server
/bin/sh ./mkinstalldirs /var/tmp/portage/nbd-2.7.1/image//usr/sbin
mkdir -p -- /var/tmp/portage/nbd-2.7.1/image//usr/sbin
  /bin/install -c nbd-client
/var/tmp/portage/nbd-2.7.1/image//usr/sbin/nbd-client
/bin/sh ./mkinstalldirs /usr/share/man/man1
 /bin/install -c -m 644 ./nbd-server.1 /usr/share/man/man1/nbd-server.1
ACCESS DENIED  open_wr:   /usr/share/man/man1/nbd-server.1
/bin/install: cannot create regular file `/usr/share/man/man1/nbd-server.1':
Permission denied
make[1]: *** [install-man1] Error 1
make[1]: Leaving directory `/var/tmp/portage/nbd-2.7.1/work/nbd-2.7.1'
make: *** [install-am] Error 2



emerge info
Portage 2.0.50-r8 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040529-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi amd64 apache2 apm arts avi crypt dedicated divx4linux dvb encode
foomaticdb gdbm gif gpm imap imlib jpeg kde ldap libwww maildir mailwrapper
mikmod motif mpeg mysql ncurses nls nogcj oggvorbis oss pam pdflib perl png
python quicktime readline samba sasl sdl slang snmp speex spell ssl tcpd
truetype vda vhosts xml2 xv zlib"

------- Comment #1 From Ryan Earl 2004-06-19 19:35:59 0000 -------
Created an attachment (id=33606) [edit]
email with nbd maintainer

------- Comment #2 From Ryan Earl 2004-06-19 19:37:50 0000 -------
Created an attachment (id=33607) [edit]
updated ebuild

------- Comment #3 From Ryan Earl 2004-06-19 20:11:52 0000 -------
Created an attachment (id=33608) [edit]
Working nbd-2.7.1.ebuild

------- Comment #4 From Ryan Earl 2004-06-19 20:23:50 0000 -------
Created an attachment (id=33609) [edit]
slight updated working nbd-2.7.1.ebuild

I took the "-v" off of "docbook2man" that I was using for debugging.  I forgot
to remove that in the previous attachment, oops!

------- Comment #5 From Ryan Earl 2004-06-19 20:26:23 0000 -------
Created an attachment (id=33610) [edit]
last .ebuild I hope, noticed a weird tab

------- Comment #6 From Ryan Earl 2004-06-19 20:31:24 0000 -------
OK, the problem with the manpage installation was that both "make install" and
"dobin" were trying to install the same manpages twice.  I worked around this
by just using the dobin portage feature.

------- Comment #7 From Ryan Earl 2004-06-19 21:11:16 0000 -------
Created an attachment (id=33612) [edit]
nbd-2.7.1 2 more minor corrections

------- Comment #8 From SpanKY 2004-06-19 22:15:31 0000 -------
version bumped in cvs

you didnt say what kernel headers you're using so i didnt add that bit ... i'm using kernel headers from 2.6.6 and didnt get the error you did

------- Comment #9 From Ryan Earl 2004-06-19 22:41:52 0000 -------
I'm using the latest stable linux-headers package:

*  sys-kernel/linux-headers
      Latest version available: 2.4.21-r1
      Latest version installed: 2.4.21-r1
      Size of downloaded files: 27,864 kB
      Homepage:    http://www.kernel.org/ http://www.gentoo.org/
      Description: Linux 2.4.21 headers from kernel.org
      License:     GPL-2

I tried to upgrade to a new version once, and it didn't work: http://bugs.gentoo.org/show_bug.cgi?id=50036

At minimum, it should require a linux-kernel package below a certain level.  I assume the 2.6.5+ is sufficient, I'm not sure where in the 2.4.x line you need to be.

I just rsync'd and it guess it hasn't been mirror out yet for me to look at to comment further.  However, I see that linux-header-2.6.6 is now marked "stable" so perhaps that would be a good minimum level.

First Last Prev Next    No search results available      Search page      Enter new bug