Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 233158
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WORKSFORME
Assigned To: Netmon Herd <netmon@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Caleb Tennis <caleb@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2008-07-28 13:32 0000
emerging wireshark (USE=-gtk), I get this:

06:36:39 (1.57 MB/s) - `/data/distfiles/wireshark-1.0.2.tar.bz2' saved
[13064896/13064896]

 * checking ebuild checksums ;-) ...                                           
                                                                           [ ok
]
 * checking auxfile checksums ;-) ...                                          
                                                                           [ ok
]
 * checking miscfile checksums ;-) ...                                         
                                                                           [ ok
]
 * checking wireshark-1.0.2.tar.bz2 ;-) ...                                    
                                                                           [ ok
]
 * USE=-gtk will mean no gui called wireshark will be created and
 * only command line utils are available
 * Adding group 'wireshark' to your system ...
 *  - Groupid: next available
>>> Unpacking source...
>>> Unpacking wireshark-1.0.2.tar.bz2 to /var/tmp/portage/net-analyzer/wireshark-1.0.2/work
 * Applying wireshark-0.99.7-asneeded.patch ...                                
                                                                           [ ok
]
 * Applying wireshark-0.99.8-as-needed.patch ...                               
                                                                           [ ok
]
 * Applying wireshark-except-double-free.diff ...                              
                                                                           [ ok
]
 * Running eautoreconf in
'/var/tmp/portage/net-analyzer/wireshark-1.0.2/work/wireshark-1.0.2' ...
 * Running aclocal ...                                                         
                                                                           [ ok
]
 * Running libtoolize --copy --force --automake ...                            
                                                                           [ ok
]
 * Running aclocal ...                                                         
                                                                           [ ok
]
 * Running autoconf ...                                                        
                                                                           [ !!
]

 * Failed Running autoconf !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/net-analyzer/wireshark-1.0.2/temp/autoconf-8928.out

 * 
 * ERROR: net-analyzer/wireshark-1.0.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2914:  Called eautoreconf
 *             environment, line  930:  Called eautoconf
 *             environment, line  873:  Called autotools_run_tool 'src_unpack'
 *             environment, line  403:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *  The die message:
 *   Failed Running autoconf !
 * 
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/net-analyzer/wireshark-1.0.2/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/net-analyzer/wireshark-1.0.2/temp/environment'.
 * 


Reading that error file, it has this in it:

configure.in:558: error: possibly undefined macro: AM_PATH_GTK_2_0
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:561: error: possibly undefined macro: AM_PATH_GTK

------- Comment #1 From Cédric Krier 2008-08-03 16:22:26 0000 -------
Fix in cvs

------- Comment #2 From Caleb Tennis 2008-08-07 11:25:08 0000 -------
I'm still getting the same error when emerging wireshark with this patch

>>> Emerging (1 of 1) net-analyzer/wireshark-1.0.2 to /
 * wireshark-1.0.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                     
                   [ ok ]
 * gtk-2.0-for-wireshark.m4.bz2 RMD160 SHA1 SHA256 size ;-) ...                
                   [ ok ]
 * checking ebuild checksums ;-) ...                                           
                   [ ok ]
 * checking auxfile checksums ;-) ...                                          
                   [ ok ]
 * checking miscfile checksums ;-) ...                                         
                   [ ok ]
 * checking wireshark-1.0.2.tar.bz2 ;-) ...                                    
                   [ ok ]
 * checking gtk-2.0-for-wireshark.m4.bz2 ;-) ...                               
                   [ ok ]
 * USE=-gtk will mean no gui called wireshark will be created and
 * only command line utils are available
>>> Unpacking source...
>>> Unpacking wireshark-1.0.2.tar.bz2 to /var/tmp/portage/net-analyzer/wireshark-1.0.2/work
>>> Unpacking gtk-2.0-for-wireshark.m4.bz2 to /var/tmp/portage/net-analyzer/wireshark-1.0.2/work
 * Applying wireshark-0.99.7-asneeded.patch ...                                
                   [ ok ]
 * Applying wireshark-0.99.8-as-needed.patch ...                               
                   [ ok ]
 * Applying wireshark-except-double-free.diff ...                              
                   [ ok ]
 * Running eautoreconf in
'/var/tmp/portage/net-analyzer/wireshark-1.0.2/work/wireshark-1.0.2' ...
 * Running aclocal -I . ...                                                    
                   [ ok ]
 * Running libtoolize --copy --force --automake ...                            
                   [ ok ]
 * Running aclocal -I . ...                                                    
                   [ ok ]
 * Running autoconf ...                                                        
                   [ !! ]

 * Failed Running autoconf !
 * 
 * Include in your bugreport the contents of:
 * 
 *

------- Comment #3 From Peter Volkov 2008-09-10 05:59:58 0000 -------
Caleb, please, check autotools.eclass version you use. It should expand
ACLOAL_AMFLAGS and get correct directory for -I from there:
aclocal_opts=$(sed -n '/^ACLOCAL_AMFLAGS[[:space:]]*=/s:[^=]*=::p'
${amflags_file})aclocal_opts=$(sed -n
'/^ACLOCAL_AMFLAGS[[:space:]]*=/s:[^=]*=::p' ${amflags_file})

Seems that you use *very* old eclass.

Caleb I've reverted your fix as it's not necessary. Long time ago I've 
convinced upstream to include required *.m4 files and now they are in
aclocal-fallback directory. So actually everything should work...

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug