First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 138327
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Hanno Boeck <hanno@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Fabio Battaglia <nightshade@email.it>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dosemu-1.3.2-defconfig.patch patch configure.ac to run default-configure right at the start patch Martin von Gagern 2006-07-23 04:00 0000 1.04 KB Details | Diff
dosemu-1.3.2.ebuild dosemu-1.3.2.ebuild text/plain Martin von Gagern 2006-07-25 06:40 0000 1.77 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 138327 depends on: Show dependency tree
Bug 138327 blocks: 137964
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: 2006-06-28 03:19 0000
This is how it dies:
root@Plaguewielder:[/home/nightshade]$ emerge =dosemu-1.3.2
Calculating dependencies... done!
>>> Emerging (1 of 1) app-emulation/dosemu-1.3.2 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking dosemu-freedos-b9r5-bin.tgz ;-)
>>> checking dosemu-1.3.2.tgz ;-)
>>> Unpacking source...
>>> Unpacking dosemu-1.3.2.tgz to /var/tmp/portage/dosemu-1.3.2/work
 * Applying dosemu-broken-links.diff ...                                       
                    [ ok ] * Applying dosemu-1.2.2-cflags.patch ...            
                                              [ ok ]configure.ac:420: warning:
AC_CONFIG_SUBDIRS: you should use literals
autoconf/status.m4:929: AC_CONFIG_SUBDIRS is expanded from...
configure.ac:420: the top level
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dosemu-1.3.2/work/dosemu-1.3.2 ...
 * econf: updating dosemu-1.3.2/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating dosemu-1.3.2/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --sysconfdir=/etc/dosemu/
--with-mandir=/usr/share/man/ --build=i686-pc-linux-gnu
/usr/share/config.site cannot be opened

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/dosemu-1.3.2/work/dosemu-1.3.2/config.log

!!! ERROR: app-emulation/dosemu-1.3.2 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  dosemu-1.3.2.ebuild, line 62:   Called econf '--sysconfdir=/etc/dosemu/'
'--with-mandir=/usr/share/man/'  ebuild.sh, line 541:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

This is /var/tmp/portage/dosemu-1.3.2/work/dosemu-1.3.2/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.60.  Invocation command line was

  $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --sysconfdir=/etc/dosemu/
--with-mandir=/usr/share/man/ --build=i686-pc-linux-gnu

## --------- ##
## Platform. ##
## --------- ##

hostname = Plaguewielder
uname -m = i686
uname -r = 2.6.17-gentoo-CENTRINO
uname -s = Linux
uname -v = #2 PREEMPT Wed Jun 28 11:28:05 CEST 2006

/usr/bin/uname -p = Intel(R) Pentium(R) M processor 1.86GHz
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /opt/blackdown-jdk-1.4.2.03/bin
PATH: /opt/blackdown-jdk-1.4.2.03/jre/bin
PATH: /usr/qt/3/bin


## ----------- ##
## Core tests. ##
## ----------- ##

And this is my emerge --info:
Portage 2.1.1_pre1-r5 (default-linux/x86/2006.0, gcc-4.1.1/vanilla,
glibc-2.4-r3, 2.6.17-gentoo-CENTRINO i686)
=================================================================
System uname: 2.6.17-gentoo-CENTRINO i686 Intel(R) Pentium(R) M processor
1.86GHz
Gentoo Base System version 1.12.1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler
/etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/xgl-coffee
/usr/local/overlays/gentopia /usr/local/overlays/gentopia-gnome"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib acpi acpi4linux aim alsa ao ares artworkextra
asf asm atm audio avahi avi bash-completion beagle berkdb bitmap-fonts
bluetooth bogofilter bonjour bonobo bzip2 bzlib cairo cdda cddb cdparanoia cdr
cjk cli crypt css cups curl daap dbus divx4linux dmi dri dts dv dvb dvd dvdr
eds effects emboss encode esd ethereal evo exif exo expat fbcon ffmpeg firefox
flac fontconfig foomaticdb fortran gamin gcj gd gdbm ggi gif glibc-omitfp glitz
glut glx gnome gnutls gphoto2 gpm gps graphviz gs gsm gstreamer gstreamer010
gtk gtk2 gtkhtml hal howl howl-compat icq idn ieee1394 imagemagick imap imlib
inkjar insecure-savers ipod ipv6 irda isdnlog jack java joystick jpeg jpeg2k
lcms libcaca libg++ libnotify libsexy libwww linuxthreads-tls mad matroska
mikmod mmx mmx2 mmxext mng mod mono motif mozsvg mp3 mpeg msn musepack
musicbrainz mythtv nas nautilus ncurses nfs nls nntp nptl nptlonly nvidia
offensive ogg oggvorbis ole openal opengl pam panel-plugin pcmcia pcre pdf
pdflib perl plotutils png pppd python qt3 qt4 quicktime radiotap rdesktop
readline real reflection rtc samba sdl sdl-sound session silc slang smartcard
smnp spell spl sqlite sse sse2 ssl startup-notification svg synaptics
tagwriting tcl tcltk tcpd tetex theora thumbnail thunar-vfs tiff tk truetype
truetype-font truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2
vcd videos vnc vorbis widescreen wifi win32codecs wmf wxwindows xchat
xcomposite xine xml xml2 xmms xorg xpm xprint xslt xss xv xvid zlib elibc_glibc
input_devices_synaptics input_devices_keyboard input_devices_mouse
input_devices_joystick kernel_linux linguas_it linguas_en userland_GNU
video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Jakub Moc (RETIRED) 2006-07-09 13:49:18 0000 -------
*** Bug 139811 has been marked as a duplicate of this bug. ***

------- Comment #2 From Martin von Gagern 2006-07-23 04:00:57 0000 -------
Created an attachment (id=92544) [details]
patch configure.ac to run default-configure right at the start

The problem is that configure runs
> if test -z "$DOSEMU_DEFAULT_CONFIGURE" ; then
>   exec $srcdir/default-configure "$@"
> fi
at a time where $@ has already been changed, in this case to contain the list
of site config files. Th eattached patch moves this invocation further up.

------- Comment #3 From Martin von Gagern 2006-07-23 04:16:21 0000 -------
After applying my patch from comment 2 I got the following error:

make[2]: Entering directory
`/var/tmp/portage/dosemu-1.3.2/work/dosemu-1.3.2/src/base'
i686-pc-linux-gnu-gcc -c -MP -MMD -I../../src/include
-I../../src/plugin/include -march=prescott -O2 -fno-pic  -o data.o data.c
data.c:37:25: error: keyb_server.h: No such file or directory
data.c:38:26: error: keyb_clients.h: No such file or directory
make[2]: *** [data.o] Error 1                                

The files are in src/plugin/kbd_unicode/include which is not listed in the
include file list. Maybe mkpluginhooks did something wrong.

The bug might be because my patch somehow garbled the configuration process, I
don't know for sure. Please let me know if you experience the same.

------- Comment #4 From Martin von Gagern 2006-07-25 06:27:22 0000 -------
(From update of attachment 92544 [details])
OK, this patch does not work. The moved section is not included in the
configure script, so that default-configure is not called at all, causing
errors.

------- Comment #5 From Martin von Gagern 2006-07-25 06:40:34 0000 -------
Created an attachment (id=92719) [details]
dosemu-1.3.2.ebuild

This ebuild basically renames default-configure to configure, so that econf
calls this directly. Of course the current configure script is taken care of.

An alternative would be to use the default-configure call directly, but looking
at the econf code, I think it does a lot of work I'd not like to reproduce.

This compiled for me, but has problems running: key 'r' is printed as 't', 'i'
as '.' and ',' as 'x', so I can't type exitemu except using Alt+105 as i.

No idea where this comes from so far. Do you experience the same?

------- Comment #6 From Hanno Boeck 2006-09-05 14:28:42 0000 -------
worked around in 1.3.3, would prefer a fix to configure.ac upstream, but got no
reply yet.

First Last Prev Next    No search results available      Search page      Enter new bug