[Bug 1065678] Re: Unable to install apt-build, apparently a bug in debconf

2012-10-12 Thread Dawid Wróbel
root@mele:~# debconf-show apt-build debconf debconf-apt-progress/preparing: debconf/frontend: Dialog debconf-apt-progress/title: debconf/priority: high debconf-apt-progress/info: debconf-apt-progress/media-change: root@mele:~# DEBCONF_DEBUG=developer dpkg --configure -a Setting up

[Bug 1065678] Re: Unable to install apt-build, apparently a bug in debconf

2012-10-12 Thread Dominique Lasserre
I assume this is a debconf issue. config script fails when question should be shown. Are there debconf related problems with other packages? E.g. try: dpkg-reconfigure debconf Please add set -x to /var/lib/dpkg/info/apt-build.config (2nd line) and again show: DEBCONF_DEBUG=developer dpkg

[Bug 1065678] Re: Unable to install apt-build, apparently a bug in debconf

2012-10-12 Thread Dawid Wróbel
dpkg-reconfigure debconf worked just fine. BTW. I switched the priority level for ignored questions to low. This caused the apt-get configuration dialog to be shown for more advanced options, too (compilation tuning, etc.). I previously thought these questions were not shown because of the bug (I

[Bug 1065678] Re: Unable to install apt-build, apparently a bug in debconf

2012-10-12 Thread Dawid Wróbel
Sorry, I meant This caused the apt-build configuration dialog to be shown for more advanced options (...). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1065678 Title: Unable to install apt-build,

[Bug 1065678] Re: Unable to install apt-build, apparently a bug in debconf

2012-10-12 Thread Dominique Lasserre
Hm, perhabs this is an arm/sh issue. Please show: multithreaded=-j$(grep -c processor /proc/cpuinfo) echo ${multithreaded#-j} case ${multithreaded#-j} in ''|*[!0-9]*|0*) echo foobar;; esac echo end What happends when you change shebang in /var/lib/dpkg/info/apt- build.config from #!/bin/sh to

[Bug 1065678] Re: Unable to install apt-build, apparently a bug in debconf

2012-10-12 Thread Dominique Lasserre
Sorry, forget to mention, change into sh-shell before running those commands, e.g.: sh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1065678 Title: Unable to install apt-build, apparently a bug in

[Bug 1065678] Re: Unable to install apt-build, apparently a bug in debconf

2012-10-12 Thread Dawid Wróbel
root@mele:~# sh test.sh 0 foobar end Switching to bash didn't help, same error. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1065678 Title: Unable to install apt-build, apparently a bug in

[Bug 1065678] Re: Unable to install apt-build, apparently a bug in debconf

2012-10-12 Thread Dominique Lasserre
Please run atteched script with sh. I have commented all debconf stuff, so we should see all other errors. ** Attachment added: test script with disabled debconf https://bugs.launchpad.net/ubuntu/+source/apt-build/+bug/1065678/+attachment/3396480/+files/apt-build.test -- You received this

[Bug 1065678] Re: Unable to install apt-build, apparently a bug in debconf

2012-10-12 Thread Dawid Wróbel
Seems like no error this time? root@mele:~# sh test2.sh + set -e + CONFFILE=/etc/apt/apt-build.conf + build_dir= + repository_dir= + Olevel= + mtune= + options= + make_options= + echo . /usr/share/debconf/confmodule . /usr/share/debconf/confmodule + [ -e /etc/apt/apt-build.conf ] + ok= + [ -z ]

[Bug 1065678] Re: Unable to install apt-build, apparently a bug in debconf

2012-10-12 Thread Dominique Lasserre
I don't know why it ends there (there should come some more steps). I'll try to get an arm machine this weekend to reproduce this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1065678 Title:

[Bug 1065678] Re: Unable to install apt-build, apparently a bug in debconf

2012-10-11 Thread Dawid Wróbel
apport information ** Tags added: apport-collected ** Description changed: I was trying to install the apt-build today. After being shown a ncurses dialog to choose whether to add apt-build repository and then an optimization level, the dialog was closed and an error shown: Setting

[Bug 1065678] Re: Unable to install apt-build, apparently a bug in debconf

2012-10-11 Thread Dominique Lasserre
Hi Dawid, thank you for reporting this bug! Please show verbose debconf information: debconf-show apt-fast debconf And during upgrade/installation please export DEBCONF_DEBUG to developer (with unmodified postinst): DEBCONF_DEBUG=developer dpkg --configure -a -- You received this bug

[Bug 1065678] Re: Unable to install apt-build, apparently a bug in debconf

2012-10-11 Thread Dominique Lasserre
Arg, not apt-fast, apt-build of course ;) . -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1065678 Title: Unable to install apt-build, apparently a bug in debconf To manage notifications about this