Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253520 - sci-chemistry/molden-4.7 fails to compile
Summary: sci-chemistry/molden-4.7 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-03 07:56 UTC by David Kredba
Modified: 2010-02-26 05:40 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 David Kredba 2009-01-03 07:56:20 UTC
New build of the sci-chemistry/molden-4.7 package fails to compile with message:

make -C surf depend                                                                                                                                                                                                                         
make[1]: Entering directory `/var/tmp/portage/sci-chemistry/molden-4.7/work/molden4.7/surf'                                                                                                                                                 
making dependencies...                                                                                                                                                                                                                      
makedepend: warning:  surf.c (reading /usr/include/stdio.h, line 34): cannot find include file "stddef.h"                                                                                                                                   
        not in ./stddef.h                                                                                                                                                                                                                   
        not in /usr/include/stddef.h                                                                                                                                                                                                        
makedepend: warning:  surf.c (reading /usr/include/_G_config.h, line 15): cannot find include file "stddef.h"                                                                                                                               
        not in ./stddef.h                                                                                                                                                                                                                   
        not in /usr/include/stddef.h                                                                                                                                                                                                        
makedepend: warning:  surf.c (reading /usr/include/wchar.h, line 52): cannot find include file "stddef.h"                                                                                                                                   
        not in ./stddef.h                                                                                                                                                                                                                   
        not in /usr/include/stddef.h                                                                                                                                                                                                        
makedepend: warning:  surf.c (reading /usr/include/libio.h, line 53): cannot find include file "stdarg.h"                                                                                                                                   
        not in ./stdarg.h                                                                                                                                                                                                                   
        not in /usr/include/stdarg.h                                                                                                                                                                                                        
makedepend: warning:  surf.c (reading /usr/include/stdlib.h, line 33): cannot find include file "stddef.h"                                                                                                                                  
        not in ./stddef.h                                                                                                                                                                                                                   
        not in /usr/include/stddef.h                                                                                                                                                                                                        
makedepend: warning:  surf.c (reading /usr/include/sys/types.h, line 147): cannot find include file "stddef.h"                                                                                                                              
        not in ./stddef.h                                                                                                                                                                                                                   
        not in /usr/include/stddef.h                                                                                                                                                                                                        
makedepend: warning:  surf.c (reading /usr/include/alloca.h, line 25): cannot find include file "stddef.h"                                                                                                                                  
        not in ./stddef.h                                                                                                                                                                                                                   
        not in /usr/include/stddef.h                                                                                                                                                                                                        
makedepend: warning:  surf.c (reading /usr/include/string.h, line 33): cannot find include file "stddef.h"                                                                                                                                  
        not in ./stddef.h                                                                                                                                                                                                                   
        not in /usr/include/stddef.h                                                                                                                                                                                                        
ex: applet not found                                                                                                                                                                                                                        
make[1]: *** [depend] Error 1                                                                                                                                                                                                               
make[1]: Leaving directory `/var/tmp/portage/sci-chemistry/molden-4.7/work/molden4.7/surf'                                                                                                                                                  
make: *** [surf/surf] Error 2

Previous version compiles fine.

Reproducible: Always

Steps to Reproduce:
1.LANG=C LC_ALL=C emerge =sci-chemistry/molden-4.7
2.
3.

Actual Results:  
Fails for not finding header files (missing linux/ in #include directive?).

Expected Results:  
Compiles fine.

[ebuild     U ] sci-chemistry/molden-4.7 [4.6] USE="opengl -debug" 0 kB

emerge --info                          
Portage 2.1.6.4 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo-1 x86_64)
=================================================================                                              
System uname: Linux-2.6.28-gentoo-1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8200_@_2.66GHz-with-glibc2.2.5          
Timestamp of tree: Sat, 03 Jan 2009 06:40:01 +0000                                                             
app-shells/bash:     3.2_p48                                                                                   
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                                       
dev-lang/python:     2.5.2-r8                                                                                  
dev-util/cmake:      2.6.2                                                                                     
sys-apps/baselayout: 2.0.0                                                                                     
sys-apps/openrc:     0.4.1-r1                                                                                  
sys-apps/sandbox:    1.3.2                                                                                     
sys-devel/autoconf:  2.13, 2.63                                                                                
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                  
sys-devel/binutils:  2.19                                                                                      
sys-devel/gcc-config: 1.4.0-r4                                                                                 
sys-devel/libtool:   2.2.6a                                                                                    
virtual/os-headers:  2.6.28-r1                                                                                 
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                 
CBUILD="x86_64-pc-linux-gnu"                                                                                   
CFLAGS="-O2 -g -pipe -mtune=core2 -march=core2 -mssse3 -msse4.1"                                               
CHOST="x86_64-pc-linux-gnu"                                                                                    
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                                      
CXXFLAGS="-O2 -g -pipe -mtune=core2 -march=core2 -mssse3 -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages nostrip parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://gentoo.inode.at/ http://gentoo.lagis.at/ http://gentoo.mirror.web4u.cz/"
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="cs en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 arts berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus doc dri dvd dvdr dvdread eds emacs emboss encode esd evo examples fam fftw firefox fltk fortran gdbm gif gimp gmp gnome gpm gs gstreamer gtk hal htmlhandbook iconv idn isdnlog ithreads java jpeg kde kdeprefix lapack latex ldap libedit libnotify mad mbox midi mikmod mmx mp3 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly nsplugin objc objc++ objc-gc ogg opengl openmp pam pch pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sasl sdl session slang spell spl sse sse2 ssl startup-notification svg sysfs tcl tcpd threads tiff tk truetype unicode usb vorbis wxwindows xattr xcb xcomposite xemacs xinerama xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="sony_dscf1 sony_dscf55" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv radeon savage sis tdfx trident vesa vga via vmware voodoo nvidia v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Rene Meier 2009-01-19 12:47:33 UTC
i have nearly the same setup and it works for me. at the end of your error message we can see:               
> ex: applet not found

i have the same warnings but not the not found message.
$ ls -l /usr/bin/ex
lrwxrwxrwx 1 root root 13  2. Aug 2007  /usr/bin/ex -> //usr/bin/vim
so ex belongs to vim. could you please install vim, try again and report the results.
Comment 2 Mathias Weigt 2009-01-19 15:55:39 UTC
(In reply to comment #1)
> i have nearly the same setup and it works for me. at the end of your error
> message we can see:               
> > ex: applet not found
> 
> i have the same warnings but not the not found message.
> $ ls -l /usr/bin/ex
> lrwxrwxrwx 1 root root 13  2. Aug 2007  /usr/bin/ex -> //usr/bin/vim
> so ex belongs to vim. could you please install vim, try again and report the
> results.

Thank you, now it works!
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2010-02-26 05:40:06 UTC
Closing since the missing dependency on vim 
was added to the ebuild.

Thanks,
Markus