Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153888 - net-analyzer/jffnms-0.8.3 ebuild has invalid dodir in src_install
Summary: net-analyzer/jffnms-0.8.3 ebuild has invalid dodir in src_install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
: 155055 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-02 19:01 UTC by Phattanon Duangdara
Modified: 2006-11-13 15:12 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phattanon Duangdara 2006-11-02 19:01:37 UTC
emerge net-analyzer/ffnms-0.8.3 error
because dodir is specified in absolute path not relative to ${D}

--- jffnms-0.8.3.ebuild.orig    2006-11-03 09:55:08.000000000 +0700
+++ jffnms-0.8.3.ebuild 2006-11-02 17:45:26.000000000 +0700
@@ -57,7 +57,8 @@
 src_install(){
        MY_DESTDIR="${D}opt/jffnms"

-       dodir "${MY_DESTDIR}"
+       dodir "/opt/jffnms"
+
        cp -r * "${MY_DESTDIR}" || die
        chown -R jffnms:apache "${MY_DESTDIR}" || die
        chmod -R ug+rw "${MY_DESTDIR}" || die


---
emerge --info

Portage 2.1.1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.5
Last Sync: Wed, 01 Nov 2006 22:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.6.3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mfpmath=sse -O3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -mfpmath=sse -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://61.19.242.159/pub/mirrors/gentoo http://gentoo.osuosl.org"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://202.142.215.9/gentoo-portage"
USE="x86 acpi berkdb bitmap-fonts bzip2 cli cracklib crypt cups dlloader dri elibc_glibc expat fortran gd gdbm gpm iconv imap input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ lighttpd mmx mysql ncurses nls nptl nptlonly pam pcre perl perlsuid ppds pppd python readline reflection session snmp spl sse sse2 sse3 ssl tcpd threads truetype-fonts type1-fonts udev unicode userland_GNU vhosts video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xml xml2 xorg xsl zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-13 11:24:41 UTC
*** Bug 155055 has been marked as a duplicate of this bug. ***
Comment 2 Markus Ullmann (RETIRED) gentoo-dev 2006-11-13 15:12:39 UTC
Fixed in CVS, thanks for pointing that out