Bug 90955 - app-arch/pdv-1.5.1-r1 fails
Bug#: 90955 Product:  Gentoo Linux Version: 2005.0 Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: wormo@gentoo.org Reported By: hetfield666@gmail.com
Component: Ebuilds
URL: 
Summary: app-arch/pdv-1.5.1-r1 fails
Keywords:  
Status Whiteboard: 
Opened: 2005-04-30 02:08 0000
Description:   Opened: 2005-04-30 02:08 0000
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O3 -mtune=pentium3 -march=pentium3 -pipe
-fomit-frame-pointer -mmmx -msse -c unittests.c
gcc  -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse
 -o unittests  unittests.o filecopy.o mkpkgutils.o port.o pdvspec.o
make[2]: Leaving directory
`/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1'
Making all in X11
make[2]: Entering directory
`/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -I -c util.c
util.c:47:19: Xm/Xm.h: No such file or directory
util.c:48:24: Xm/ToggleB.h: No such file or directory
util.c:49:21: Xm/Text.h: No such file or directory
In file included from util.c:51:
xmpdvmkpkg.h:51: error: parse error before "Widget"
xmpdvmkpkg.h:51: warning: no semicolon at end of struct or union
xmpdvmkpkg.h:52: warning: data definition has no type or storage class
xmpdvmkpkg.h:53: error: parse error before "tx_fnoutput"
xmpdvmkpkg.h:53: warning: data definition has no type or storage class
xmpdvmkpkg.h:54: error: parse error before "tx_exec"
xmpdvmkpkg.h:54: warning: data definition has no type or storage class
xmpdvmkpkg.h:55: error: parse error before "tx_fnhelp"
xmpdvmkpkg.h:55: warning: data definition has no type or storage class
xmpdvmkpkg.h:56: error: parse error before "tx_fnagrmsg"
xmpdvmkpkg.h:56: warning: data definition has no type or storage class
xmpdvmkpkg.h:57: error: parse error before "tb_compress"
xmpdvmkpkg.h:57: warning: data definition has no type or storage class
xmpdvmkpkg.h:58: error: parse error before "tb_tar"
xmpdvmkpkg.h:58: warning: data definition has no type or storage class
xmpdvmkpkg.h:72: error: parse error before "g_statusw"
xmpdvmkpkg.h:72: warning: data definition has no type or storage class
xmpdvmkpkg.h:80: error: parse error before "Widget"
util.c:64: error: parse error before "Widget"
util.c: In function `xu_SetMainTitle':
util.c:66: error: syntax error before "shellw"
util.c:70: error: `Arg' undeclared (first use in this function)
util.c:70: error: (Each undeclared identifier is reported only once
util.c:70: error: for each function it appears in.)
util.c:70: error: parse error before "args"
util.c:74: error: `topshell' undeclared (first use in this function)
util.c:75: error: `shellw' undeclared (first use in this function)
util.c:77: error: `newprefix' undeclared (first use in this function)
util.c:86: error: `newtitle' undeclared (first use in this function)
util.c:92: error: `args' undeclared (first use in this function)
util.c:92: error: `XmNtitle' undeclared (first use in this function)
util.c:93: error: `XmNiconName' undeclared (first use in this function)
util.c: In function `spectowidgets':
util.c:109: error: invalid use of undefined type `struct specwidgets_st'
util.c:111: error: invalid use of undefined type `struct specwidgets_st'
util.c:113: error: invalid use of undefined type `struct specwidgets_st'
util.c:115: error: invalid use of undefined type `struct specwidgets_st'
util.c:117: error: invalid use of undefined type `struct specwidgets_st'
util.c:119: error: invalid use of undefined type `struct specwidgets_st'
util.c:123: error: invalid use of undefined type `struct specwidgets_st'
util.c:123: error: `True' undeclared (first use in this function)
util.c:123: error: `False' undeclared (first use in this function)
util.c:125: error: invalid use of undefined type `struct specwidgets_st'
util.c:128: error: invalid use of undefined type `struct specwidgets_st'
util.c:130: error: invalid use of undefined type `struct specwidgets_st'
util.c: In function `widgetstospec':
util.c:148: error: invalid use of undefined type `struct specwidgets_st'
util.c:148: warning: assignment makes pointer from integer without a cast
util.c:155: error: invalid use of undefined type `struct specwidgets_st'
util.c:155: warning: assignment makes pointer from integer without a cast
util.c:162: error: invalid use of undefined type `struct specwidgets_st'
util.c:162: warning: assignment makes pointer from integer without a cast
util.c:169: error: invalid use of undefined type `struct specwidgets_st'
util.c:169: warning: assignment makes pointer from integer without a cast
util.c:176: error: invalid use of undefined type `struct specwidgets_st'
util.c:176: warning: assignment makes pointer from integer without a cast
util.c:183: error: invalid use of undefined type `struct specwidgets_st'
util.c:183: warning: assignment makes pointer from integer without a cast
util.c:193: error: invalid use of undefined type `struct specwidgets_st'
util.c:193: error: `True' undeclared (first use in this function)
util.c:196: error: invalid use of undefined type `struct specwidgets_st'
util.c: In function `statusmsg':
util.c:235: warning: comparison between pointer and integer
make[2]: *** [util.o] Error 1
make[2]: Leaving directory
`/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1'
make: *** [all-recursive-am] Error 2

!!! ERROR: app-arch/pdv-1.5.1-r1 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

------- Comment #1 From Wormo 2005-05-03 12:27:55 0000 -------
Please paste all information from 'emerge info' in your bug report (I guess you
must have overlooked this instruction in the form for filing bugs).

It looks to me as though there is an unlisted dependancy on motif for the X app
in this package; I expect to see that you do not have motif in your USE flags.

------- Comment #2 From Patrizio Bassi 2005-05-03 13:51:16 0000 -------
i'm sorry, i saw no deps there so i tought it was not needed.

i've lastest openmotif installed.

my info:
Portage 2.0.51.20-r5 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.12-rc3 i686)
=================================================================
System uname: 2.6.12-rc3 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.11
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-apps/sandbox:    1.2.1-r2
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-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/run/dspam /var/spool/dspam"
CONFIG_PROTECT_MASK="/etc/fenris /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ngi.it http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
LANG="it_IT@euro"
LC_ALL="it_IT@euro"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo-rsync.ngi.it/gentoo-portage"
USE="x86 X X509 Xaw3d a52 aac aalib acl acpi activefilter adns alsa apache2 apm arts audiofile avi bash-completion berkdb bidi bitmap-fonts bonobo bootsplash caps cdda cddb cdio cdparanoia cdr chroot clamav client codecs crypt css cups curl dga dhcp directfb divx4linux djbfft dlloader edl eds emboss encode ethereal exif faac faad fam fbcon ffmpeg fftw flac flash foomaticdb foreign-package fortran freetds gcj gd gdbm ggi gif gimp gimpprint gnokii gnome gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile iconv idea imagemagick imlib innodb ipv6 irda irmc jack java javascript jikes jit joystick jpeg jpeg2k junit justify kde kerberos lcd ldap libcaca libclamav libg++ libgda libusb libwww lirc live lm_sensors lzo mad mailwrapper matroska md5sum mdb mikmod mime mmx mmx2 mmxext mng motif mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mplayer mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network nls nntp no_wxgtk1 nobsh noxalan nptl nptlonly oav odbc ogg oggvorbis opengl operanom2 oss pam pda pdf pdflib perl png pnp postgres ppds pthreads python qemu-fast qhull qt quicktime quotas readline real rrdtool rtc ruby samba scanner sdl server session sftplogging slang slp snortsam soap sockets socks5 softmmu softquota spamassassin spell sqlite3 sse ssl subject-rewrite svg svga tcltk tcpd tetex tga theora tiff truetype truetype-fonts trusted type1-fonts usb vorbis wsconvert wxwindows xanim xchatdccserver xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xv xvid xvm xvmc zlib linguas_it userland_GNU kernel_linux libc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS

------- Comment #3 From Wormo 2005-05-03 15:31:38 0000 -------
That's weird then, because the missing header files such as "Xm/Xm.h" should
have been installed with openmotif. Perhaps there is a path problem... try
this:

find /usr -name Xm.h

------- Comment #4 From Patrizio Bassi 2005-05-04 02:08:49 0000 -------
find /usr -name Xm.h
/usr/include/openmotif-2.2/Xm/Xm.h


however the ebuild has not the motif deps

------- Comment #5 From Wormo 2005-05-05 11:28:11 0000 -------
True, the dependency needs to be put in, but that fix won't help you since you
already have openmotif installed. I think you need to run motif-config to
create the proper links to your motif headers.

------- Comment #6 From Patrizio Bassi 2005-05-06 02:19:49 0000 -------
that's something wrong with motif and motif config:

see here:

root@blight Xm # pwd
/usr/include/Xm
root@blight Xm # ls -l
totale 0
lrwxrwxrwx  1 root root 16  1 apr 23:39 Xm -> /usr/include//Xm/
root@blight Xm #                         


that's a cyclic link!!!!

please fix
rm -fr /usr/include/Xm/
ln -s /usr/include/openmotif-2.2/Xm/  /usr/include/Xm/

for openmotif / motif-config

compilation works, but linking fails.
...after that...i have:
make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -I -c util.c
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
/tmp/ccRLvxqR.o(.text+0xf4): In function `xu_SetMainTitle':
: undefined reference to `XtShellStrings'
/tmp/ccRLvxqR.o(.text+0x10e): In function `xu_SetMainTitle':
: undefined reference to `XtShellStrings'
/tmp/ccRLvxqR.o(.text+0x138): In function `xu_SetMainTitle':
: undefined reference to `XtSetValues'
/tmp/ccRLvxqR.o(.text+0x15b): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/tmp/ccRLvxqR.o(.text+0x164): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/tmp/ccRLvxqR.o(.text+0x17a): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/tmp/ccRLvxqR.o(.text+0x182): In function `spectowidgets':
: undefined reference to `XmTextSetString'
/tmp/ccRLvxqR.o(.text+0x187): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/tmp/ccRLvxqR.o(.text+0x190): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/tmp/ccRLvxqR.o(.text+0x1a6): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/tmp/ccRLvxqR.o(.text+0x1ae): In function `spectowidgets':
: undefined reference to `XmTextSetString'
/tmp/ccRLvxqR.o(.text+0x1b3): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/tmp/ccRLvxqR.o(.text+0x1bc): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/tmp/ccRLvxqR.o(.text+0x1d2): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/tmp/ccRLvxqR.o(.text+0x1da): In function `spectowidgets':
: undefined reference to `XmTextSetString'
/tmp/ccRLvxqR.o(.text+0x1df): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/tmp/ccRLvxqR.o(.text+0x1e8): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/tmp/ccRLvxqR.o(.text+0x1fe): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/tmp/ccRLvxqR.o(.text+0x206): In function `spectowidgets':
: undefined reference to `XmTextSetString'
/tmp/ccRLvxqR.o(.text+0x20b): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/tmp/ccRLvxqR.o(.text+0x214): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/tmp/ccRLvxqR.o(.text+0x22a): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/tmp/ccRLvxqR.o(.text+0x232): In function `spectowidgets':
: undefined reference to `XmTextSetString'
/tmp/ccRLvxqR.o(.text+0x237): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/tmp/ccRLvxqR.o(.text+0x240): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/tmp/ccRLvxqR.o(.text+0x256): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/tmp/ccRLvxqR.o(.text+0x25e): In function `spectowidgets':
: undefined reference to `XmTextSetString'
/tmp/ccRLvxqR.o(.text+0x264): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/tmp/ccRLvxqR.o(.text+0x26c): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/tmp/ccRLvxqR.o(.text+0x286): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/tmp/ccRLvxqR.o(.text+0x28e): In function `spectowidgets':
: undefined reference to `XmToggleButtonSetState'
/tmp/ccRLvxqR.o(.text+0x2a5): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/tmp/ccRLvxqR.o(.text+0x2ad): In function `spectowidgets':
: undefined reference to `XmToggleButtonSetState'
/tmp/ccRLvxqR.o(.text+0x2b3): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/tmp/ccRLvxqR.o(.text+0x2bb): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/tmp/ccRLvxqR.o(.text+0x2d5): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/tmp/ccRLvxqR.o(.text+0x2dd): In function `spectowidgets':
: undefined reference to `XmToggleButtonSetState'
/tmp/ccRLvxqR.o(.text+0x2f4): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/tmp/ccRLvxqR.o(.text+0x2fc): In function `spectowidgets':
: undefined reference to `XmToggleButtonSetState'
/tmp/ccRLvxqR.o(.text+0x310): In function `widgetstospec':
: undefined reference to `freespecmembers'
/tmp/ccRLvxqR.o(.text+0x315): In function `widgetstospec':
: undefined reference to `g_specwidgets'
/tmp/ccRLvxqR.o(.text+0x31d): In function `widgetstospec':
: undefined reference to `XmTextGetString'
/tmp/ccRLvxqR.o(.text+0x342): In function `widgetstospec':
: undefined reference to `XtFree'
/tmp/ccRLvxqR.o(.text+0x347): In function `widgetstospec':
: undefined reference to `g_specwidgets'
/tmp/ccRLvxqR.o(.text+0x34f): In function `widgetstospec':
: undefined reference to `XmTextGetString'
/tmp/ccRLvxqR.o(.text+0x374): In function `widgetstospec':
: undefined reference to `XtFree'
/tmp/ccRLvxqR.o(.text+0x379): In function `widgetstospec':
: undefined reference to `g_specwidgets'
/tmp/ccRLvxqR.o(.text+0x381): In function `widgetstospec':
: undefined reference to `XmTextGetString'
/tmp/ccRLvxqR.o(.text+0x3a6): In function `widgetstospec':
: undefined reference to `XtFree'
/tmp/ccRLvxqR.o(.text+0x3ab): In function `widgetstospec':
: undefined reference to `g_specwidgets'
/tmp/ccRLvxqR.o(.text+0x3b3): In function `widgetstospec':
: undefined reference to `XmTextGetString'
/tmp/ccRLvxqR.o(.text+0x3d8): In function `widgetstospec':
: undefined reference to `XtFree'
/tmp/ccRLvxqR.o(.text+0x3dd): In function `widgetstospec':
: undefined reference to `g_specwidgets'
/tmp/ccRLvxqR.o(.text+0x3e5): In function `widgetstospec':
: undefined reference to `XmTextGetString'
/tmp/ccRLvxqR.o(.text+0x40a): In function `widgetstospec':
: undefined reference to `XtFree'
/tmp/ccRLvxqR.o(.text+0x40f): In function `widgetstospec':
: undefined reference to `g_specwidgets'
/tmp/ccRLvxqR.o(.text+0x417): In function `widgetstospec':
: undefined reference to `XmTextGetString'
/tmp/ccRLvxqR.o(.text+0x43c): In function `widgetstospec':
: undefined reference to `XtFree'
/tmp/ccRLvxqR.o(.text+0x465): In function `widgetstospec':
: undefined reference to `g_specwidgets'
/tmp/ccRLvxqR.o(.text+0x46d): In function `widgetstospec':
: undefined reference to `XmToggleButtonGetState'
/tmp/ccRLvxqR.o(.text+0x47f): In function `widgetstospec':
: undefined reference to `g_specwidgets'
/tmp/ccRLvxqR.o(.text+0x487): In function `widgetstospec':
: undefined reference to `XmToggleButtonGetState'
/tmp/ccRLvxqR.o(.text+0x4ba): In function `cmpspecandwidgets':
: undefined reference to `g_pdvspec'
/tmp/ccRLvxqR.o(.text+0x4c5): In function `cmpspecandwidgets':
: undefined reference to `cmpspec'
/tmp/ccRLvxqR.o(.text+0x4d3): In function `cmpspecandwidgets':
: undefined reference to `freespecmembers'
/tmp/ccRLvxqR.o(.text+0x515): In function `statusmsg':
: undefined reference to `g_statusw'
/tmp/ccRLvxqR.o(.text+0x540): In function `statusmsg':
: undefined reference to `g_statusw'
/tmp/ccRLvxqR.o(.text+0x548): In function `statusmsg':
: undefined reference to `XmTextSetString'
collect2: ld returned 1 exit status
make[2]: *** [util.o] Error 1
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1'
make: *** [all-recursive-am] Error 2

------- Comment #7 From Wormo 2005-05-07 18:03:22 0000 -------
This is not actually a linking problem, it looks more like a configure problem

This command should be producing util.o:

gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/X11R6/include -c util.c

Instead, you have a missing path after -I so the -c is misinterpreted as a path:

gcc -DHAVE_CONFIG_H -I. -I. -I.     -I  -c util.c
                                       ^
missing ------------------------------/

Please attach the whole log from the emerge to show where things start to go wrong (probably during configure). Also you might want to check that you do not have a messed up link to your X libraries, since there was a time when xorg was undergoing some reorganization and had some problems with bad links to headers and things (and I see you do use ~x86 rather than only stable)

------- Comment #8 From Patrizio Bassi 2005-05-07 23:57:39 0000 -------
-I/usr/X11R6/include is == -I/usr/include

with new xorg builds.

my system is perfect. alla compiles/runs good.

only this package creates troubles

full log:
emerge pdv
Calculating dependencies ...done!
>>> emerge (1 of 1) app-arch/pdv-1.5.1-r1 to /
>>> md5 files   ;-) pdv-1.5.1-r1.ebuild
>>> md5 files   ;-) pdv-1.5.1.ebuild
>>> md5 files   ;-) files/pdv-1.5.1-opt.patch
>>> md5 files   ;-) files/digest-pdv-1.5.1
>>> md5 files   ;-) files/pdv-1.5.1-early-free.patch
>>> md5 files   ;-) files/digest-pdv-1.5.1-r1
>>> md5 src_uri ;-) pdv-1.5.1.tar.gz
>>> Unpacking source...
>>> Unpacking pdv-1.5.1.tar.gz to /var/tmp/portage/pdv-1.5.1-r1/work
 * Applying pdv-1.5.1-opt.patch ...                                       [ ok ]
 * Applying pdv-1.5.1-early-free.patch ...                                [ ok ]
>>> Source unpacked.
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
creating cache ./config.cache
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 whether make sets ${MAKE}... (cached) yes
checking for gcc... gcc
checking whether the C compiler (gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse ) works... yes
checking whether the C compiler (gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for strip... /usr/bin/strip
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for unistd.h... yes
checking for getopt.h... yes
checking for string.h... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdarg.h... yes
checking for working const... yes
checking for off_t... yes
checking for size_t... yes
checking for vprintf... yes
checking for strdup... yes
checking for strerror... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
configuring in X11
running /bin/sh ./configure  --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for a BSD compatible install... (cached) /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) 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 gcc... (cached) gcc
checking whether the C compiler (gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse ) works... yes
checking whether the C compiler (gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for X... libraries , headers
checking for XtManageChild in -lXt... yes
checking for XLoadFont in -lX11... yes
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for dlopen in -ldl... yes
checking for getwchar in -lw... no
checking for XextAddDisplay in -lXext... yes
checking for XpEndPage in -lXp... yes
checking for XmStringFree in -lXm... yes
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getopt.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for working const... (cached) yes
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for vprintf... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
updating cache .././config.cache
creating ./config.status
creating Makefile
creating config.h
make  all-recursive
make[1]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1'
Making all in .
make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -c pdv.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -c port.c
gcc  -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse  -o pdv  pdv.o port.o
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -c filecopy.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -c mkpkgutils.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -c pdvmkpkg.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -c pdvspec.c
gcc  -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse  -o pdvmkpkg  filecopy.o mkpkgutils.o pdvmkpkg.o port.o pdvspec.o
touch pdv_fixed.c
/usr/bin/strip pdv
printf "%-5.5s" $VERSION >> pdv
printf "\000\000\000\000\000\000\000\000" >> pdv
sleep 1
touch pdv_fixed
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -c unittests.c
gcc  -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse  -o unittests  unittests.o filecopy.o mkpkgutils.o port.o pdvspec.o
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1'
Making all in X11
make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -I -c util.c
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0xf4): In function `xu_SetMainTitle':
: undefined reference to `XtShellStrings'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x10e): In function `xu_SetMainTitle':
: undefined reference to `XtShellStrings'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x138): In function `xu_SetMainTitle':
: undefined reference to `XtSetValues'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x15b): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x164): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x17a): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x182): In function `spectowidgets':
: undefined reference to `XmTextSetString'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x187): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x190): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x1a6): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x1ae): In function `spectowidgets':
: undefined reference to `XmTextSetString'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x1b3): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x1bc): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x1d2): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x1da): In function `spectowidgets':
: undefined reference to `XmTextSetString'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x1df): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x1e8): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x1fe): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x206): In function `spectowidgets':
: undefined reference to `XmTextSetString'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x20b): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x214): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x22a): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x232): In function `spectowidgets':
: undefined reference to `XmTextSetString'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x237): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x240): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x256): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x25e): In function `spectowidgets':
: undefined reference to `XmTextSetString'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x264): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x26c): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x286): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x28e): In function `spectowidgets':
: undefined reference to `XmToggleButtonSetState'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x2a5): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x2ad): In function `spectowidgets':
: undefined reference to `XmToggleButtonSetState'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x2b3): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x2bb): In function `spectowidgets':
: undefined reference to `g_pdvspec'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x2d5): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x2dd): In function `spectowidgets':
: undefined reference to `XmToggleButtonSetState'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x2f4): In function `spectowidgets':
: undefined reference to `g_specwidgets'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x2fc): In function `spectowidgets':
: undefined reference to `XmToggleButtonSetState'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x310): In function `widgetstospec':
: undefined reference to `freespecmembers'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x315): In function `widgetstospec':
: undefined reference to `g_specwidgets'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x31d): In function `widgetstospec':
: undefined reference to `XmTextGetString'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x342): In function `widgetstospec':
: undefined reference to `XtFree'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x347): In function `widgetstospec':
: undefined reference to `g_specwidgets'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x34f): In function `widgetstospec':
: undefined reference to `XmTextGetString'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x374): In function `widgetstospec':
: undefined reference to `XtFree'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x379): In function `widgetstospec':
: undefined reference to `g_specwidgets'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x381): In function `widgetstospec':
: undefined reference to `XmTextGetString'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x3a6): In function `widgetstospec':
: undefined reference to `XtFree'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x3ab): In function `widgetstospec':
: undefined reference to `g_specwidgets'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x3b3): In function `widgetstospec':
: undefined reference to `XmTextGetString'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x3d8): In function `widgetstospec':
: undefined reference to `XtFree'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x3dd): In function `widgetstospec':
: undefined reference to `g_specwidgets'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x3e5): In function `widgetstospec':
: undefined reference to `XmTextGetString'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x40a): In function `widgetstospec':
: undefined reference to `XtFree'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x40f): In function `widgetstospec':
: undefined reference to `g_specwidgets'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x417): In function `widgetstospec':
: undefined reference to `XmTextGetString'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x43c): In function `widgetstospec':
: undefined reference to `XtFree'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x465): In function `widgetstospec':
: undefined reference to `g_specwidgets'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x46d): In function `widgetstospec':
: undefined reference to `XmToggleButtonGetState'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x47f): In function `widgetstospec':
: undefined reference to `g_specwidgets'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x487): In function `widgetstospec':
: undefined reference to `XmToggleButtonGetState'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x4ba): In function `cmpspecandwidgets':
: undefined reference to `g_pdvspec'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x4c5): In function `cmpspecandwidgets':
: undefined reference to `cmpspec'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x4d3): In function `cmpspecandwidgets':
: undefined reference to `freespecmembers'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x515): In function `statusmsg':
: undefined reference to `g_statusw'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x540): In function `statusmsg':
: undefined reference to `g_statusw'
/var/tmp/portage/pdv-1.5.1-r1/temp/ccF6jSBk.o(.text+0x548): In function `statusmsg':
: undefined reference to `XmTextSetString'
collect2: ld returned 1 exit status
make[2]: *** [util.o] Error 1
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1'
make: *** [all-recursive-am] Error 2

!!! ERROR: app-arch/pdv-1.5.1-r1 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

------- Comment #9 From Wormo 2005-05-12 22:52:07 0000 -------
I wonder if this is some autoconf/automake bug... try this

cd /mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11
grep CFLAGS config.status Makefile
make util.o


(CFLAGS is supposed to contain -I<X include path> which is then used in compiling the .o files)

------- Comment #10 From Patrizio Bassi 2005-05-13 00:33:23 0000 -------
config.status:s%@CFLAGS@%-I%g
Makefile:CFLAGS = -I
Makefile:COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
Makefile:LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@


make util.o
gcc -DHAVE_CONFIG_H -I. -I. -I.     -I -c util.c
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
/tmp/ccJIotJF.o(.text+0xf4): In function `xu_SetMainTitle':
......

[CUT]

as before

------- Comment #11 From Wormo 2005-05-13 14:25:37 0000 -------
Aha, as suspected... that is a bogus value that the configure script set up for
CFLAGS. I have a patch for you to try

* copy the attached file pdv-1.5.1-x-config.patch into
$PORTAGE_OVERLAY/app-arch/pdv/files/

* copy the attached file pdv-1.5.1-r1.ebuild into
$PORTAGE_OVERLAY/app-arch/pdv/

* generate new digests with 'ebuild pdv-1.5.1-r1.ebuild digest'

* try the emerge again

(this assumes you have an overlay directory set up in /etc/make.conf)

------- Comment #12 From Wormo 2005-05-13 14:27:38 0000 -------
Created an attachment (id=58837) [details]
pdv-1.5.1-r1.ebuild modified to apply new patch for fixing configure script

------- Comment #13 From Wormo 2005-05-13 14:30:11 0000 -------
Created an attachment (id=58839) [details]
pdv-1.5.1-x-config.patch - patch to fix configure script for xpdvmkpkg

------- Comment #14 From Patrizio Bassi 2005-05-14 00:22:16 0000 -------
touch pdv_fixed
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -c unittests.c
gcc  -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse  -o unittests  unittests.o filecopy.o mkpkgutils.o port.o pdvspec.o
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1'
Making all in X11
make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11'
cd . && aclocal
cd . && automake --foreign --include-deps Makefile
automake: configure.in: required file `../config.guess' not found
automake: configure.in: required file `../config.sub' not found
make[2]: *** [Makefile.in] Error 1
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1'
make: *** [all-recursive-am] Error 2

!!! ERROR: app-arch/pdv-1.5.1-r1 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.





however i'm pretty sure it can't work, it need autoconf to be called!
you patch .in file and not configure.

------- Comment #15 From Patrizio Bassi 2005-05-14 00:29:07 0000 -------
starting autoconf-2.59 in the main directory and in the X11 directory
it restarts configure and so on...but fails as before!



sleep 1
touch pdv_fixed
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1'
Making all in X11
make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11'
cd . && autoconf
FATAL ERROR: Autoconf version 2.50 or higher is required for this script
make[2]: *** [configure] Error 2
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1'
make: *** [all-recursive-am] Error 2
root@blight pdv-1.5.1 # cd X11/
root@blight X11 # autoconf-2.59
root@blight X11 # cd ..
root@blight pdv-1.5.1 # make
make  all-recursive
make[1]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1'
Making all in .
make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1'
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1'
Making all in X11
make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11'
/bin/sh ./config.status --recheck
running /bin/sh ./configure  --cache-file=.././config.cache --srcdir=. --no-create --no-recursion
configure: loading cache .././config.cache
checking for a BSD-compatible install... (cached) /bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... (cached) yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... (cached) gcc -E
checking for X... (cached) libraries , headers
checking for XtManageChild in -lXt... (cached) yes
checking for XLoadFont in -lX11... (cached) yes
checking for socket in -lsocket... (cached) no
checking for gethostbyname in -lnsl... (cached) yes
checking for dlopen in -ldl... (cached) yes
checking for getwchar in -lw... (cached) no
checking for XextAddDisplay in -lXext... (cached) yes
checking for XpEndPage in -lXp... (cached) yes
checking for XmStringFree in -lXm... (cached) yes
checking for egrep... grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... no
checking for string.h... (cached) yes
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getopt.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for vprintf... (cached) yes
checking for _doprnt... no
checking for strdup... (cached) yes
checking for strerror... (cached) yes
updating cache .././config.cache
configure: creating ./config.status
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating Makefile
config.status: executing default-1 commands
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11'
make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -I -c util.c
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
/tmp/ccgtaFLK.o(.text+0xb5): In function `xu_SetMainTitle':
/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11/util.c:92: undefined reference to `XtShellStrings'
/tmp/ccgtaFLK.o(.text+0xde):/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11/util.c:93: undefined reference to `XtShellStrings'
/tmp/ccgtaFLK.o(.text+0xe6):/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11/util.c:94: undefined reference to `XtSetValues'
/tmp/ccgtaFLK.o(.text+0x117): In function `spectowidgets':
/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11/util.c:109: undefined reference to `g_pdvspec'
/tmp/ccgtaFLK.o(.text+0x129):/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11/util.c:109: undefined reference to `g_specwidgets'
/tmp/ccgtaFLK.o(.text+0x131):/mnt/Dati/Gentoo/tmp/portage/pdv-1.5.1-r1/work/pdv-1.5.1/X11/util.c:109: undefined reference to `XmTextSetString'


------- Comment #16 From Wormo 2005-05-16 23:26:38 0000 -------
Ok try again with a new improved version that has a fixed patch (last one was
indeed buggy, sorry!) and an ebuild that regenerates the configure file. 

------- Comment #17 From Wormo 2005-05-16 23:28:50 0000 -------
Created an attachment (id=59092) [details]
pdv-1.5.1-r1.ebuild that applies patch AND regenerates configure script

------- Comment #18 From Wormo 2005-05-16 23:30:58 0000 -------
Created an attachment (id=59093) [details]
pdv-1.5.1-x-config.patch with couple bugs fixed

------- Comment #19 From Patrizio Bassi 2005-05-17 03:12:04 0000 -------
i'm not @ home now, i'll try this night.

------- Comment #20 From Patrizio Bassi 2005-05-17 10:39:53 0000 -------
works perfectly. 
 
please commit to portage. 
 
bye 

------- Comment #21 From Wormo 2005-05-17 13:11:14 0000 -------
Thanks for reporting back, fix has been committed.