Summary: | Dosemu 1.3.2 ebuild fails configure w/ autoconf-2.60 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fabio Battaglia <nightshade> |
Component: | New packages | Assignee: | Hanno Böck <hanno> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gdeclercq, heiko.baums, Martin.vGagern, ulm |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 137964 | ||
Attachments: |
patch configure.ac to run default-configure right at the start
dosemu-1.3.2.ebuild |
Description
Fabio Battaglia
2006-06-28 03:19:05 UTC
*** Bug 139811 has been marked as a duplicate of this bug. *** Created attachment 92544 [details, diff] 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. 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 on attachment 92544 [details, diff]
patch configure.ac to run default-configure right at the start
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.
Created attachment 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?
worked around in 1.3.3, would prefer a fix to configure.ac upstream, but got no reply yet. |