Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17234 - emerging file-3.41 creates incorrect --dat and --prefix directories in root directory
Summary: emerging file-3.41 creates incorrect --dat and --prefix directories in root d...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-10 12:08 UTC by Veiko Kukk
Modified: 2003-05-04 14:56 UTC (History)
0 users

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


Attachments
output of "emerge file" (emerge_file.log,15.35 KB, text/plain)
2003-03-10 18:29 UTC, Veiko Kukk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Veiko Kukk 2003-03-10 12:08:20 UTC
emerge file-3.41 creates following wrong directories and installs files too in
those directories:
>>> Merging sys-apps/file-3.41 to /
--- /usr/
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/file-3.41/
>>> /usr/share/doc/file-3.41/README.gz
>>> /usr/share/doc/file-3.41/LEGAL.NOTICE.gz
>>> /usr/share/doc/file-3.41/MAINT.gz
--- /usr/share/man/
--- /usr/share/man/man1/
>>> /usr/share/man/man1/file.1.gz
--- /usr/share/man/man4/
>>> /usr/share/man/man4/magic.4.gz
--- /usr/share/man/man5/
>>> /--dat/
>>> /--dat/usr/
>>> /--dat/usr/share/
>>> /--dat/usr/share/misc/
>>> /--dat/usr/share/misc/magic.mime
>>> /--dat/usr/share/misc/magic.mime.mgc
>>> /--dat/usr/share/misc/magic
>>> /--dat/usr/share/misc/magic.mgc
>>> /--prefix/
>>> /--prefix/usr/
>>> /--prefix/usr/bin/
>>> /--prefix/usr/bin/file

>>> Regenerating /etc/ld.so.cache...
>>> sys-apps/file-3.41 merged.



Reproducible: Always
Steps to Reproduce:
1.emerge file
Actual Results:  
creates directories in the wrong place.

Expected Results:  
should just copy files into directories without --prefix and --dat in the
beginning of path.

Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 AMD Duron(tm) processor
GENTOO_MIRRORS="ftp://ftp.gentoo.linux.no/pub/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde libg++ mikmod mmx mpeg
ncurses nls pdflib png quicktime truetype xml2 xmms xv zlib gdbm berkdb slang
readline guile X sdl gpm tcpd pam libwww ssl python imlib oggvorbis gtk qt motif
opengl gnome -alsa -arts -svga -spell apache2 cdr esd flash imap java lcms ldap
mbox mozilla mysql perl ruby samba sasl sse tcltk tiff"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -frerun-cse-after-loop
-frerun-loop-opt -fexpensive-optimizations"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -frerun-cse-after-loop
-frerun-loop-opt -fexpensive-optimizations -Wno-deprecated"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-03-10 17:16:02 UTC
which version of autoconf and automake do you use ?
ebuild is good and installs it here in the right place

do you see any warning or error messages during emerge ?
Comment 2 Veiko Kukk 2003-03-10 18:29:22 UTC
Created attachment 9230 [details]
output of "emerge file"

I use following versions:
autoconf 2.54
automake 1.63
Comment 3 Veiko Kukk 2003-03-11 16:27:42 UTC
I tried to configure and compile it manually and found that configure creates invalid makefile.


SHELL = /bin/sh

srcdir = .
top_srcdir = .
prefix = --prefix/usr
exec_prefix = ${prefix}

bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/file
pkglibdir = $(libdir)/file
pkgincludedir = $(includedir)/file

top_builddir = .
Comment 4 Daniel Ahlberg (RETIRED) gentoo-dev 2003-05-04 14:56:43 UTC
Closing since latest stable release is 4.02. Please re-open if you still have problems with this in newer ebuilds.