[ANNOUNCE] uClibc++-0.2.4 released

Yann E. MORIN yann.morin.1998 at free.fr
Tue May 29 16:35:13 UTC 2012


Bernhard, All,

On Saturday 26 May 2012 00:22:35 Bernhard Reutner-Fischer wrote:
> On Fri, May 25, 2012 at 11:58:13PM +0200, Yann E. MORIN wrote:
> >I was thinking.. Now that you seem to have revived uClibc++, would it make
> >sense to incorporate the source tree into uClibc? And have a 'C++' entry
> >in the menuconfig, as we do have '
> nope. uClibc++ is a c++ thing and a completely different (super)set of affairs.

I expected this answer! ;-)

> >I believe this would be good, at least in one part: the build system.
> >I just cloned the uClibc++ repository, and it just does not build:
> >    $ git clone 
> >    Cloning into uClibc++...
> >    [...]
> >    $ cd uClibc++
> >    $ git checkout v0.2.4
> >    [...blabla detached head...]
> >    $ make menuconfig
> >    make[1]: Entering directory `/home/ymorin/tmp/uClibc++/extra/config'
> >    make[1]: *** ../../.config: Is a directory.  Stop.
> >    make[1]: Leaving directory `/home/ymorin/tmp/uClibc++/extra/config'
> >    make: *** [extra/config/mconf] Error 2
[--SNIP--]
> polluted env? Please paste your $ env
> somewhere.

I tried with a minimalist environement, and was able to reproduce the error:

ymorin at treguer:/home/ymorin$ set
BASH=/bin/bash
BASHOPTS=checkwinsize:cmdhist:expand_aliases:extquote:force_fignore:hostcomplete:interactive_comments:login_shell:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="4" [1]="1" [2]="5" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
BASH_VERSION='4.1.5(1)-release'
COLUMNS=196
DIRSTACK=()
EUID=1000
GROUPS=()
HISTFILE=/home/ymorin/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOSTNAME=treguer
HOSTTYPE=x86_64
IFS=$' \t\n'
LINES=72
MACHTYPE=x86_64-pc-linux-gnu
MAILCHECK=60
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
PIPESTATUS=([0]="0")
PPID=12668
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
PS2='> '
PS4='+ '
PWD=/home/ymorin
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
TERM=dumb
UID=1000
_=i

ymorin at treguer:/home/ymorin$ env
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
PWD=/home/ymorin
SHLVL=1
_=/usr/bin/env

ymorin at treguer:/home/ymorin$ cd dev/uClibc++/

ymorin at treguer:/home/ymorin/dev/uClibc++$ make menuconfig
make[1]: Entering directory `/home/ymorin/dev/uClibc++/extra/config'
make[1]: *** ../../.config: Is a directory.  Stop.
make[1]: Leaving directory `/home/ymorin/dev/uClibc++/extra/config'
make: *** [extra/config/mconf] Error 2

ymorin at treguer:/home/ymorin/dev/uClibc++$ /opt/make/bin/make-3.81 menuconfig
make[1]: Entering directory `/home/ymorin/dev/uClibc++/extra/config'
make[1]: *** ../../.config: Is a directory.  Stop.
make[1]: Leaving directory `/home/ymorin/dev/uClibc++/extra/config'
make-3.81: *** [extra/config/mconf] Error 2

> Double check against git grep getenv\(

ymorin at treguer:/home/ymorin/dev/uClibc++$ git grep getenv\(
WARNING: terminal is not fully functional
extra/config/confdata.c:        env = getenv(SRCTREE);
extra/config/confdata.c:                             getenv("MAJOR_VERSION"),
extra/config/confdata.c:                             getenv("MINOR_VERSION"),
extra/config/confdata.c:                             getenv("SUBLEVEL"));
extra/config/lex.zconf.c_shipped:               env = getenv(SRCTREE);
extra/config/mconf.c:                   env = getenv("LINES");
extra/config/mconf.c:                   env = getenv("COLUMNS");
extra/config/mconf.c:   mode = getenv("MENUCONFIG_MODE");
extra/config/symbol.c:  p = getenv("VERSION");
extra/config/zconf.l:           env = getenv(SRCTREE);

Fact is, it doesn't even try to build anything, so even the kconfig stuff
is *not* built at time of error. :-/

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


More information about the uClibc mailing list