Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 597880 - app-emulation/dosemu-1.4.1_pre20091009 fails to emerge: You need glibc-2.1.3 or newer
Summary: app-emulation/dosemu-1.4.1_pre20091009 fails to emerge: You need glibc-2.1.3 ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-23 14:58 UTC by gentoo
Modified: 2016-10-29 10:36 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (emerge-info.txt,17.71 KB, text/plain)
2016-10-23 14:58 UTC, gentoo
Details
work/dosemu/config.log (config.log,75.49 KB, text/x-log)
2016-10-23 14:59 UTC, gentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo 2016-10-23 14:58:24 UTC
Created attachment 451154 [details]
emerge --info output

Trying to emerge dosemu (stable on amd64), it fails with this error message:

configure: error: Sorry, you need glibc-2.1.3 or newer.

But the version of glibc installed on this system is newer:

glibc: Installed versions:  2.22-r4

Attaching emerge --info and also the file work/dosemu/config.log as prompted by the bug message.
Comment 1 gentoo 2016-10-23 14:59:39 UTC
Created attachment 451156 [details]
work/dosemu/config.log
Comment 2 Rafał Mużyło 2016-10-24 20:00:43 UTC
config.log unfortunately doesn't cache values for its glibc version test.

What does 'printf '%b\n' '#include <features.h>\nXXAaZZ __GLIBC__ XXBbZZ __GLIBC_MINOR__'|gcc -E -|awk '/XXAaZZ/ {print $2 " " $4}'' return ?
Comment 3 gentoo 2016-10-26 04:41:33 UTC
Thanks.  The command returns nothing, an empty line.
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2016-10-29 09:56:19 UTC
Same here. Is your /bin/sh non-bash by chance?

Seems default-configure needs /bin/bash, not just /bin/sh. I'll tweak it.
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2016-10-29 10:11:56 UTC
Oh, the real bug here is how preprocessor returns a value nowadays:

$ printf '%b\n' '#include <features.h>\nXXAaZZ __GLIBC__ XXBbZZ __GLIBC_MINOR__'|cc -E -


    # 2 "<stdin>" 2
    XXAaZZ 
    # 2 "<stdin>" 3 4
          2 
    # 2 "<stdin>"
                    XXBbZZ 
    # 2 "<stdin>" 3 4
                           23

The
    awk '/XXAaZZ/ {print $2 " " $4}'
won't be able to catch it because it assumes result will take single line.
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2016-10-29 10:36:17 UTC
There was another issue with extern inline function on modern gcc
on old dosemu version. Ive stabilized new version and removed old
completely:

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0f5913304145e6ddcf949b75eafc347a98e781f