Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280111 - dev-tcltk/snack-2.2.10-r1 emerge failed
Summary: dev-tcltk/snack-2.2.10-r1 emerge failed
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-02 21:54 UTC by Lóránt Farkas
Modified: 2010-04-28 18:47 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.info,5.60 KB, text/plain)
2009-08-03 09:28 UTC, Lóránt Farkas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lóránt Farkas 2009-08-02 21:54:30 UTC
I have tied to emrge the above package and get:

>>> Emerging (1 of 1) dev-tcltk/snack-2.2.10-r1
 * snack2.2.10.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                [ ok ]
 * checking ebuild checksums ;-) ...                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                               [ ok ]
>>> Unpacking source...                                                                                                    
>>> Unpacking snack2.2.10.tar.gz to /var/tmp/portage/dev-tcltk/snack-2.2.10-r1/work                                        
>>> Source unpacked in /var/tmp/portage/dev-tcltk/snack-2.2.10-r1/work                                                     
>>> Compiling source in /var/tmp/portage/dev-tcltk/snack-2.2.10-r1/work/snack2.2.10/unix ...                               
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --includedir=/usr/include --enable-alsa --enable-threads --with-ogg-include=/usr/include --with-ogg-lib=/usr/lib64                                           
checking for Tcl configuration... configure: WARNING: Can't find Tcl configuration definitions                              
make -j3                                                                                                                    
make: *** No targets specified and no makefile found.  Stop.                                                                
 *                                                                                                                          
 * ERROR: dev-tcltk/snack-2.2.10-r1 failed.                                                                                 
 * Call stack:                                                                                                              
 *               ebuild.sh, line   49:  Called src_compile                                                                  
 *             environment, line 2275:  Called die                                                                          
 * The specific snippet of code:                                                                                            
 *       emake || die "make failed"                                                                                         
 *  The die message:                                                                                                        
 *   make failed                                                                                                            
 *                                                                                                                          
 * 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/dev-tcltk/snack-2.2.10-r1/temp/build.log'.                          
 * The ebuild environment file is located at '/var/tmp/portage/dev-tcltk/snack-2.2.10-r1/temp/environment'.                 
 *                                                                                                                          

As you see the configure scipt was unable to find the tcl and tk configure script.

the problem was with the part of ebuild:

  if use vorbis ; then
        myconf="${myconf} --with-ogg-include=/usr/include"
        myconf="${myconf} --with-ogg-lib=/usr/$(get_libdir)"
    fi

I changed to 

  if use vorbis ; then
        myconf="${myconf} --with-ogg-include=/usr/include"
        myconf="${myconf} --with-ogg-lib=/usr/$(get_libdir)
        --with-tcl=/usr/$(get_libdir) --with-tk=/usr/$(get_libdir)"
    fi

and now it works.

Reproducible: Always
Comment 1 James Earl Spahlinger 2009-08-03 01:10:53 UTC
Could you include your 'emerge --info' output. 
Comment 2 Lóránt Farkas 2009-08-03 09:28:02 UTC
Created attachment 199998 [details]
emerge --info
Comment 3 Wormo (RETIRED) gentoo-dev 2009-08-06 06:28:31 UTC
Thanks for reporting this problem and your solution! Assigning to maintainers.
Comment 4 Federico Ferri (RETIRED) gentoo-dev 2009-08-06 11:05:30 UTC
Can't reproduce here.

Which version of tcl?
Comment 5 Lóránt Farkas 2009-08-08 18:06:42 UTC
wich arch do you use?
It must be an amd64 specific problem. The configure script is wrong. Despite you define the --libdir it doesn't look in the --libdir but in predefined locations is /usr/lib/ /usr/local/lib etc. It doesn't look in /usr/lib64 where it could be found at an amd64 system.
Comment 6 Lóránt Farkas 2009-08-08 18:07:13 UTC
It is an amd64 specific problem.
Comment 7 Federico Ferri (RETIRED) gentoo-dev 2009-08-09 02:01:37 UTC
do you have the lib symlink?

what's the output of ls -ld /usr/lib*  ?
Comment 8 Lóránt Farkas 2009-08-09 06:19:48 UTC
drwxr-xr-x  30 lory users   4096 2009-08-07 07:45 /usr/lib
drwxr-xr-x  21 root root   32768 2009-08-07 07:45 /usr/lib32
drwxr-xr-x 165 root root  229376 2009-08-07 09:03 /usr/lib64
drwxr-xr-x  11 root root    4096 2009-08-07 08:10 /usr/libexec

the /usr/lib is not a symlink to /usr/lib64. However, maybe it could be a symlink - I didn't see any thing other than symlinks here. But when I installed the system (about four years ago) it was an different directory.
Comment 9 Lóránt Farkas 2009-08-09 06:30:37 UTC
I was wrong. There are subdirectories e.g. /usr/lib/bcc wich belongs to 

sys-devel/dev86

and installs here. 
Comment 10 Justin Lecher (RETIRED) gentoo-dev 2010-04-28 18:47:21 UTC
Not in tree anymore