Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100593 - graphviz failed to emerge. missing mkinstalldirs (patch)
Summary: graphviz failed to emerge. missing mkinstalldirs (patch)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2005-07-28 07:51 UTC by Peter Volkov (RETIRED)
Modified: 2005-08-01 14:51 UTC (History)
0 users

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


Attachments
Same patch but attached. (graphviz-1.16.ebuild.patch,576 bytes, patch)
2005-07-28 07:54 UTC, Peter Volkov (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Volkov (RETIRED) gentoo-dev 2005-07-28 07:51:54 UTC
Hello.    
    
I had a problem but solved it. I was not able to emerge graphviz-1.1.16. The    
problem I had was the following:    
gentoo graphviz # emerge --oneshot graphviz    
Calculating dependencies ...done!    
[snip]    
>>> Unpacking graphviz-1.16.tar.gz to /var/tmp/portage/graphviz-1.16/work    
 * Applying graphviz-1.16-build.patch ...                                                                                
[ ok ]    
 * Using GNU config files from /usr/share/libtool    
 *   Updating gd/config/config.sub                                                                                       
[ ok ]    
 *   Updating config/config.sub                                                                                          
[ ok ]    
 *   Updating gd/config/config.guess                                                                                     
[ ok ]    
 *   Updating config/config.guess                                                                                        
[ ok ]    
 * Running aclocal/automake/autoconf    
Putting files in AC_CONFIG_AUX_DIR, `config'.    
configure.ac: required file `config/mkinstalldirs' not found    
    
!!! ERROR: media-gfx/graphviz-1.16 failed.    
!!! Function src_unpack, Line 44, Exitcode 1    
!!! Failed      to aclocal/libtoolize/automake/autoconf    
!!! If you need support, post the topmost build error, NOT this status    
message.    
    
   
The solution I found is to add -a flag to automake inside ebuild:  
--- /root/graphviz-1.16.ebuild  2005-07-29 01:43:41.000000000 +0400  
+++ graphviz-1.16.ebuild        2005-07-12 08:35:41.000000000 +0400  
@@ -41,7 +41,7 @@  
        if ! use ppc-macos; then  
                #EPATCH_OPTS="-p1 -d${S}" epatch  
${FILESDIR}/${P}-fontconfig-externalgd.diff || die "Failed to patch"  
                einfo "Running aclocal/automake/autoconf"  
-               aclocal && libtoolize --copy --force && automake -a &&  
autoconf || die "Failed  to aclocal/libtoolize/automake/autoconf"  
+               aclocal && libtoolize --copy --force && automake && autoconf  
|| die "Failed     to aclocal/libtoolize/automake/autoconf"  
        fi  
 }  
 
In attempt to avoid this problem I rebuilt the system from scratch (emerge -e 
world), but no effect. 
  

Reproducible: Always
Steps to Reproduce:
 
 


Expected Results:  
 

gentoo graphviz # emerge --info 
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, 
glibc-2.3.5-r0, 2.6.10-gentoo-r4 i686) 
================================================================= 
System uname: 2.6.10-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz 
Gentoo Base System version 1.6.13 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    1.2.11 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="ftp://172.16.32.160/pub/mirror/gentoo" 
MAKEOPTS="-j1" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 alsa apm arts avi bitmap-fonts bzip2 crypt cups emboss encode 
foomaticdb fortran gd gif gpm gtk gtk2 imlib ipv6 java jpeg ldap libg++ libwww 
mad mikmod motif mp3 mpeg mysql ncurses nls nptl oggvorbis opengl oss pam 
pdflib perl pic png postgres python quicktime readline spell ssl tcpd truetype 
truetype-fonts type1-fonts unicode xml2 xmms xv zlib userland_GNU kernel_linux 
elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2005-07-28 07:54:25 UTC
Created attachment 64537 [details, diff]
Same patch but attached.

HTH.
Comment 2 Karol Wojtaszek (RETIRED) gentoo-dev 2005-08-01 14:51:49 UTC
Fixed in portage, thanks for help.