Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 88794

Summary: ERROR: net-misc/LinNeighborhood-0.6.5 failed (with --as-needed)
Product: Gentoo Linux Reporter: Alexey Maximov <amax>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexey Maximov 2005-04-11 18:46:30 UTC
amazing svgalib # EXTRA_ECONF=--disable-gtktest emerge LinNeighborhood
Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/LinNeighborhood-0.6.5 to /
>>> md5 src_uri ;-) LinNeighborhood-0.6.5.tar.gz
>>> Unpacking source...
>>> Unpacking LinNeighborhood-0.6.5.tar.gz to /var/tmp/portage/LinNeighborhood-0.6.5/work
>>> Source unpacked.
 * Applying linneighborhood-0.6.5-samba301.patch ...                      [ ok ]
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for strerror in -lcposix... no
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getcwd... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... no
checking for bison... bison
checking version of bison... v. ?.??, bad
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... no
*** Could not run GTK test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GTK or finding the wrong
*** version of GTK. If it is not finding GTK, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
*** If you have a RedHat 5.0 system, you should remove the GTK package that
*** came with the system with the command
***
***    rpm --erase --nodeps gtk gtk-devel
checking for pthread.h... yes
checking for pthread_exit in -lpthread... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating intl/Makefile
config.status: creating LinNeighborhood.spec
config.status: creating LinNeighborhood.lsm
config.status: creating config.h
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/LinNeighborhood-0.6.5/work/LinNeighborhood-0.6.5'
Making all in src
make[2]: Entering directory `/var/tmp/portage/LinNeighborhood-0.6.5/work/LinNeighborhood-0.6.5/src'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBDIR=\"/usr/lib\" -DDATADIR=\"/usr/share\"    -march=i686 -O2 -pipe -fomit-frame-pointer -ffast-math  -c browsewrap.c
browsewrap.c:23:18: glib.h: No such file or directory
In file included from browsewrap.h:27,
                 from browsewrap.c:24:
define.h:266: error: parse error before "GSList"
define.h:266: warning: no semicolon at end of struct or union
define.h:267: warning: data definition has no type or storage class
define.h:327: error: parse error before "GSList"
define.h:327: warning: no semicolon at end of struct or union
define.h:328: warning: data definition has no type or storage class
define.h:333: error: parse error before "GSList"
define.h:333: warning: no semicolon at end of struct or union
define.h:334: warning: data definition has no type or storage class
define.h:336: error: parse error before '}' token
define.h:336: warning: data definition has no type or storage class
define.h:348: error: parse error before "group_struct"
define.h:348: warning: no semicolon at end of struct or union
define.h:349: warning: data definition has no type or storage class
define.h:350: error: parse error before '}' token
define.h:350: warning: data definition has no type or storage class
define.h:357: error: parse error before "gpointer"
define.h:357: warning: no semicolon at end of struct or union
define.h:358: warning: data definition has no type or storage class
define.h:359: error: parse error before '}' token
define.h:359: warning: data definition has no type or storage class
define.h:387: error: parse error before "guint64"
define.h:387: warning: no semicolon at end of struct or union
define.h:394: error: parse error before '}' token
define.h:394: warning: data definition has no type or storage class
define.h:409: error: parse error before "gpointer"
define.h:409: warning: no semicolon at end of struct or union
define.h:410: warning: data definition has no type or storage class
In file included from browsewrap.c:24:
browsewrap.h:31: error: parse error before '*' token
browsewrap.h:35: error: parse error before "GSList"
browsewrap.h:43: error: parse error before "GSList"
browsewrap.h:50: error: parse error before "GSList"
browsewrap.h:143: error: parse error before '*' token
browsewrap.h:148: error: parse error before "GSList"
browsewrap.h:157: error: parse error before "GSList"
browsewrap.h:165: error: parse error before "GSList"
In file included from browsewrap.c:25:
preferences.h:60: error: parse error before '*' token
preferences.h:60: warning: data definition has no type or storage class
In file included from browsewrap.c:26:
smbif.h:23:21: gtk/gtk.h: No such file or directory
smbif.h:24:21: gdk/gdk.h: No such file or directory
In file included from browsewrap.c:26:
smbif.h:89: error: parse error before "GSList"
In file included from browsewrap.c:27:
utility.h:38: error: parse error before '*' token
utility.h:81: error: parse error before "mem_mount_struct"
utility.h:82: error: parse error before "mem_mount_struct"
utility.h:83: error: parse error before '*' token
utility.h:86: error: parse error before '*' token
In file included from browsewrap.c:28:
data.h:35: error: parse error before '*' token
data.h:38: error: parse error before '*' token
data.h:39: error: parse error before '*' token
data.h:40: error: parse error before '*' token
data.h:41: error: parse error before '*' token
data.h:42: error: parse error before "gpointer"
data.h:43: error: parse error before '*' token
data.h:44: error: parse error before "gpointer"
data.h:45: error: parse error before "gpointer"
data.h:69: error: parse error before "mount_list_count"
data.h:69: warning: data definition has no type or storage class
data.h:70: error: parse error before "gpointer"
data.h:80: error: parse error before "mem_mount_list_count"
data.h:80: warning: data definition has no type or storage class
data.h:81: error: parse error before "gpointer"
data.h:82: error: parse error before '*' token
data.h:82: warning: data definition has no type or storage class
data.h:87: error: parse error before "master_list_count"
data.h:87: warning: data definition has no type or storage class
data.h:88: error: parse error before "gpointer"
data.h:95: error: parse error before "GSList"
data.h:97: error: parse error before "host_list_count"
data.h:97: warning: data definition has no type or storage class
data.h:98: error: parse error before "gpointer"
data.h:99: error: parse error before '*' token
data.h:99: warning: data definition has no type or storage class
data.h:102: error: parse error before '*' token
data.h:103: error: parse error before "group_list_count"
data.h:103: warning: data definition has no type or storage class
data.h:104: error: parse error before "gpointer"
data.h:106: error: parse error before '*' token
data.h:107: error: parse error before '*' token
data.h:107: warning: data definition has no type or storage class
data.h:108: error: parse error before '*' token
data.h:111: error: parse error before "GSList"
data.h:113: error: parse error before "machine_list_count"
data.h:113: warning: data definition has no type or storage class
data.h:114: error: parse error before "gpointer"
data.h:115: error: parse error before '*' token
data.h:115: error: parse error before '*' token
data.h:115: warning: data definition has no type or storage class
data.h:116: error: parse error before '*' token
data.h:116: warning: data definition has no type or storage class
data.h:117: error: parse error before '*' token
data.h:120: error: parse error before "GSList"
data.h:121: error: parse error before "share_list_count"
data.h:121: warning: data definition has no type or storage class
data.h:122: error: parse error before "gpointer"
data.h:123: error: parse error before '*' token
data.h:123: warning: data definition has no type or storage class
data.h:128: error: parse error before "groupmaster_list_count"
data.h:128: warning: data definition has no type or storage class
data.h:129: error: parse error before "gpointer"
In file included from browsewrap.c:29:
guiwrap.h:40: error: parse error before "data"
guiwrap.h:43: error: parse error before "interval"
guiwrap.h:67: error: parse error before "GSList"
In file included from browsewrap.c:30:
libsmb.h:104: error: parse error before '*' token
libsmb.h:105: warning: data definition has no type or storage class
libsmb.h:108: error: parse error before '*' token
libsmb.h:143: error: parse error before "gint"
libsmb.h:143: warning: no semicolon at end of struct or union
libsmb.h:155: error: parse error before '}' token
libsmb.h:155: warning: data definition has no type or storage class
browsewrap.c:50: error: parse error before "browse_job_len"
browsewrap.c:50: warning: data definition has no type or storage class
browsewrap.c:60: error: parse error before '*' token
browsewrap.c:60: error: `GSList' undeclared here (not in a function)
browsewrap.c:60: error: parse error before ')' token
browsewrap.c:60: warning: data definition has no type or storage class
browsewrap.c: In function `browse_clean':
browsewrap.c:83: error: parse error before ')' token
browsewrap.c: At top level:
browsewrap.c:140: error: parse error before "browse_job_len"
browsewrap.c: In function `browse_job_to_queue':
browsewrap.c:156: warning: assignment makes pointer from integer without a cast
browsewrap.c: In function `browse_job_from_queue':
browsewrap.c:166: error: request for member `data' in something not a structure or union
browsewrap.c:167: warning: assignment makes pointer from integer without a cast
browsewrap.c: At top level:
browsewrap.c:333: error: parse error before '*' token
browsewrap.c: In function `GetSMBGroups_done':
browsewrap.c:339: error: `state' undeclared (first use in this function)
browsewrap.c:339: error: (Each undeclared identifier is reported only once
browsewrap.c:339: error: for each function it appears in.)
browsewrap.c:342: error: `browse_info' undeclared (first use in this function)
browsewrap.c:342: error: `groupmasterlist' undeclared (first use in this function)
browsewrap.c: At top level:
browsewrap.c:356: error: parse error before "GSList"
browsewrap.c: In function `GetSMBMachines_done':
browsewrap.c:362: error: `state' undeclared (first use in this function)
browsewrap.c:365: error: `browse_info' undeclared (first use in this function)
browsewrap.c:365: error: `group_name' undeclared (first use in this function)
browsewrap.c:366: error: `machinecommentlist' undeclared (first use in this function)
browsewrap.c: At top level:
browsewrap.c:384: error: parse error before "GSList"
browsewrap.c: In function `GetSMBShares_done':
browsewrap.c:390: error: `state' undeclared (first use in this function)
browsewrap.c:393: error: `browse_info' undeclared (first use in this function)
browsewrap.c:393: error: `group_name' undeclared (first use in this function)
browsewrap.c:394: error: `machine_name' undeclared (first use in this function)
browsewrap.c:397: error: `machineinfo' undeclared (first use in this function)
browsewrap.c:398: error: `sharecommenttypelist' undeclared (first use in this function)
browsewrap.c: At top level:
browsewrap.c:415: error: parse error before "GSList"
browsewrap.c: In function `GetSMBPath_done':
browsewrap.c:421: error: `state' undeclared (first use in this function)
browsewrap.c:424: error: `browse_info' undeclared (first use in this function)
browsewrap.c:424: error: `group_name' undeclared (first use in this function)
browsewrap.c:425: error: `machine_name' undeclared (first use in this function)
browsewrap.c:426: error: `share_name' undeclared (first use in this function)
browsewrap.c:427: error: `path_name' undeclared (first use in this function)
browsewrap.c:428: error: `files' undeclared (first use in this function)
browsewrap.c: At top level:
browsewrap.c:455: error: parse error before '*' token
browsewrap.c: In function `browse_groups_enumerate':
browsewrap.c:459: error: `data' undeclared (first use in this function)
browsewrap.c:462: error: request for member `name' in something not a structure or union
browsewrap.c: In function `browse_groups_notify':
browsewrap.c:476: error: `gpointer' undeclared (first use in this function)
browsewrap.c:476: error: parse error before "mode"
browsewrap.c: At top level:
browsewrap.c:480: error: parse error before '*' token
browsewrap.c: In function `add_groupmasters_enumerate':
browsewrap.c:485: error: request for member `name' in something not a structure or union
browsewrap.c: At top level:
browsewrap.c:489: error: parse error before '*' token
browsewrap.c: In function `browse_groups_done':
browsewrap.c:495: error: `groupmasterlist' undeclared (first use in this function)
browsewrap.c:507: error: `mode' undeclared (first use in this function)
browsewrap.c: At top level:
browsewrap.c:592: error: parse error before "gpointer"
browsewrap.c: In function `browse_groups_master_enumerate':
browsewrap.c:596: error: `data' undeclared (first use in this function)
browsewrap.c:597: error: `master' undeclared (first use in this function)
browsewrap.c: In function `browse_groups':
browsewrap.c:635: error: `gpointer' undeclared (first use in this function)
browsewrap.c:635: error: parse error before "mode"
browsewrap.c: At top level:
browsewrap.c:640: error: parse error before '*' token
browsewrap.c: In function `browse_machines_enumerate':
browsewrap.c:644: error: `data' undeclared (first use in this function)
browsewrap.c:645: error: request for member `group' in something not a structure or union
browsewrap.c:645: error: request for member `name' in something not a structure or union
browsewrap.c: At top level:
browsewrap.c:649: error: parse error before "GSList"
browsewrap.c: In function `browse_machines_done':
browsewrap.c:655: error: `group_name' undeclared (first use in this function)
browsewrap.c:655: error: `machinecommentlist' undeclared (first use in this function)
browsewrap.c:655: error: `mode' undeclared (first use in this function)
browsewrap.c:663: error: `gpointer' undeclared (first use in this function)
browsewrap.c:663: error: parse error before "mode"
browsewrap.c: In function `browse_machines':
browsewrap.c:748: error: invalid operands to binary *
browsewrap.c:750: error: `list' undeclared (first use in this function)
browsewrap.c:752: error: incompatible types in assignment
browsewrap.c:755: error: request for member `machinelist' in something not a structure or union
browsewrap.c:757: error: request for member `pending_jobs' in something not a structure or union
browsewrap.c:757: error: request for member `masterlist' in something not a structure or union
browsewrap.c:758: error: request for member `pending_jobs' in something not a structure or union
browsewrap.c:759: error: request for member `pending_jobs' in something not a structure or union
browsewrap.c:764: error: request for member `masterlist' in something not a structure or union
browsewrap.c:770: error: request for member `name' in something not a structure or union
browsewrap.c:773: error: request for member `pending_jobs' in something not a structure or union
browsewrap.c: At top level:
browsewrap.c:789: error: parse error before "GSList"
browsewrap.c: In function `browse_shares_done':
browsewrap.c:792: error: `mode' undeclared (first use in this function)
browsewrap.c:794: error: `sharecommenttypelist' undeclared (first use in this function)
browsewrap.c:795: error: `machine_name' undeclared (first use in this function)
browsewrap.c:796: error: `machineinfo' undeclared (first use in this function)
browsewrap.c:802: error: `group_name' undeclared (first use in this function)
browsewrap.c: In function `browse_shares':
browsewrap.c:894: error: `g_struct' undeclared (first use in this function)
browsewrap.c:895: error: `m_struct' undeclared (first use in this function)
browsewrap.c:896: error: `h_struct' undeclared (first use in this function)
browsewrap.c: At top level:
browsewrap.c:951: error: parse error before "GSList"
browsewrap.c: In function `browse_path_done':
browsewrap.c:955: error: `group_name' undeclared (first use in this function)
browsewrap.c:955: error: `machine_name' undeclared (first use in this function)
browsewrap.c:955: error: `share_name' undeclared (first use in this function)
browsewrap.c:955: error: `path_name' undeclared (first use in this function)
browsewrap.c:955: error: `files' undeclared (first use in this function)
make[2]: *** [browsewrap.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/LinNeighborhood-0.6.5/work/LinNeighborhood-0.6.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/LinNeighborhood-0.6.5/work/LinNeighborhood-0.6.5'
make: *** [all-recursive-am] Error 2



so.. the ebuild is wrong.. so:
1. it must support EXTRA_ECONF
2. it must be not failed ON GTK TEST!
3. GTK TEST must be fixed for compatibility with --as-needed. currently gtk test  in configure stuff is not fixed fixed (gtktest failed but all gtk progs compiled ok and works)


amazing svgalib # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11.4-cko2 i686)
=================================================================
System uname: 2.6.11.4-cko2 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 10 2005, 22:32:13)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r3, 1.9.5, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6
sys-devel/binutils:  2.15.94.0.2.2
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS=" -march=i686 -O2 -pipe -fomit-frame-pointer -ffast-math "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="  -march=i686 -O2 -pipe -fomit-frame-pointer -ffast-math  -fvisibility-inlines-hidden "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg distlocks prelink sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="ru_RU.CP1251"
LDFLAGS=" -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed "
LINGUAS="ru uk"
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 X a52 aac aalib acl acpi acpi4linux activefilter alsa apm artswrappersuid audiofile avi bash-completion bitmap-fonts bluetooth bonobo caps cdda cddb cdio cdparanoia cdr crypt cscope cups curl dga directfb dpms dts dv dvb dvd dvdr dvdread eds emboss encode exif fam fbcon ffmpeg fftw flac foomaticdb freetype ftp gd ggi gif gimp glitz gnokii gnutls gphoto2 gpm gstreamer gtk2 guile hal howl iconv icq icu ieee1394 imagemagick imap imlib innodb irmc jack jack-tmpfs joystick jpeg jpeg2k kerberos ladcca ladspa lcd lcms ldap libcaca libg++ libgda libvisual libwww lirc live lm_sensors lmtp logitech-mouse lua lufsusermount lzo mad maildir mailwrapper matroska mbox mikmod mjpeg mmx mng mono mozdevelop mozilla mozsvg mp3 mpeg mppe-mppc msn mythtv nas ncurses network nntp no-old-linux nptl nptlonly ntlm oav odbc ogg oggvorbis openal opie pam pcmcia pcre pda pdflib pic plotutils png portaudio povray pvm pwdb qt quicktime quotas rdesktop readline real rtc samba sasl sblive scanner silc skey slang slp smartcard sndfile socks5 soundtouch speex spell sqlite ssl stream svg svga svgz symlink sysfs tcltk tcpd tetex theora threads tidy tiff transcode truetype truetype-fonts unicode usb utf8 v4l v4l2 vcd vcdimager vidix vlm vorbis wifi winbind wmf wxwindows xanim xine xml xml2 xrandr xv xvid yv12 zeroconf zlib linguas_ru linguas_uk"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL
Comment 1 Alexey Maximov 2005-04-11 18:48:34 UTC
I can correct the ebuild, to add --disable-gtktest directly to configure, but it is not a correct way. IMHO configure tool must support --as-needed flag in GTK test. and it must not be failed permanently.
Comment 2 Peter Johanson (RETIRED) gentoo-dev 2005-04-11 18:53:37 UTC
Assinging to gnome, as they handle GTK+
Comment 3 SpanKY gentoo-dev 2005-04-11 19:01:19 UTC
dont screw with LDFLAGS