Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

nconfig not working properly in custom kernel packages #71

Closed
lucy opened this Issue Apr 21, 2012 · 9 comments

Comments

Projects
None yet
2 participants
Contributor

lucy commented Apr 21, 2012

Using the makenconfig option in the PKGBUILD of the package linux-ck doesn't work properly in pacaur. nconfig starts, but the UI just flickers and doesn't respond to input, so I have to kill it manually. It works as expected when using makepkg, yaourt or packer.

edit: "makemodconfig" should have been "makenconfig"

Owner

rmarquis commented Apr 21, 2012

Pffiou... I'm really not familiar with linux-ck so I've no idea what could be the problem. Could you paste the result of "bash -x pacaur -S linux-ck" here so I can have a debug output to analyse?

Thanks for reporting :]

Contributor

lucy commented Apr 21, 2012

Here is the output:

~ > bash -x pacaur -S linux-ck             
+ name=pacaur
+ version=3.0.1
+ export LANG=C
+ LANG=C
+ editor=vim
+ color=false
+ clean=true
+ fallback=true
+ editpkgbuild=true
+ editinstall=true
+ cleandevel=true
+ carchmagic=true
+ [[ -n /etc/xdg ]]
+ xdg_config=($(echo "${XDG_CONFIG_DIRS}" | awk -F ":" '{for (i=1; i<=NF; i++) print $i}' ))
++ echo /etc/xdg
++ awk -F : '{for (i=1; i<=NF; i++) print $i}'
+ for i in '${xdg_config[@]}'
+ [[ -d /etc/xdg ]]
+ export XDG_CONFIG_DIRS=/etc/xdg
+ XDG_CONFIG_DIRS=/etc/xdg
+ break
+ configDir=/etc/xdg/pacaur
+ userconfigDir=/home/ne/.config/pacaur
+ source /etc/xdg/pacaur/pacaur.conf
++ buildDir=/tmp/pacaurtmp-ne
++ editor=vim
++ color=true
++ clean=true
++ fallback=true
++ editpkgbuild=true
++ editinstall=true
++ cleandevel=true
++ carchmagic=true
+ [[ -r /home/ne/.config/pacaur/config ]]
+ true
+ pacmanBin=pacman-color
+ cower='cower --color=always'
+ reset='\e[0m'
+ colorR='\e[1;31m'
+ colorG='\e[1;32m'
+ colorY='\e[1;33m'
+ colorB='\e[1;34m'
+ colorM='\e[1;35m'
+ colorC='\e[1;36m'
+ colorW='\e[1;39m'
+ source /etc/makepkg.conf
++ DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' 'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u' 'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u' 'rsync::/usr/bin/rsync -z %u %o' 'scp::/usr/bin/scp -C %u %o')
++ CARCH=x86_64
++ CHOST=x86_64-unknown-linux-gnu
++ CFLAGS='-march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
++ CXXFLAGS='-march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
++ LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu
++ MAKEFLAGS=-j4
++ BUILDENV=(fakeroot !distcc color !ccache check !sign)
++ OPTIONS=(strip docs libtool emptydirs zipman purge !upx)
++ INTEGRITY_CHECK=(md5)
++ STRIP_BINARIES=--strip-all
++ STRIP_SHARED=--strip-unneeded
++ STRIP_STATIC=--strip-debug
++ MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
++ DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
++ PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
++ PKGEXT=.pkg.tar.xz
++ SRCEXT=.src.tar.gz
+ tmpDir=/tmp/pacaurtmp-ne
+ buildDir=/tmp/pacaurtmp-ne
+ [[ -d /tmp/pacaurtmp-ne ]]
+ [[ ! -d /tmp/pacaurtmp-ne ]]
+ mkdir -p /tmp/pacaurtmp-ne
+ [[ ! -d /tmp/pacaurtmp-ne ]]
+ args=("$@")
+ for i in '"${args[@]}"'
+ [[ -S =~ ^-[a-zA-Z0-9] ]]
+ opts+=("$i")
+ for i in '"${args[@]}"'
+ [[ linux-ck =~ ^-[a-zA-Z0-9] ]]
+ pkgs=()
+ count=0
+ index=0
+ [[ 0 -ne 1 ]]
+ getopts sidmykufecqrahvVDQRSTUbglnoptw-: OPT
+ pacmanarg+=("-$OPT")
+ case "$OPT" in
+ pacS=1
+ operation=sync
+ edit=true
+ coweropts+=("-f")
+ [[ -S =~ w ]]
+ installpkg=true
+ getopts sidmykufecqrahvVDQRSTUbglnoptw-: OPT
+ shift
+ [[ linux-ck =~ ^--[a-zA-Z0-9] ]]
+ pkgs+=("$1")
+ index=2
+ [[ 2 -ne 1 ]]
+ getopts sidmykufecqrahvVDQRSTUbglnoptw-: OPT
+ shift
+ [[ '' =~ ^--[a-zA-Z0-9] ]]
+ pkgs+=("$1")
+ index=2
+ [[ 2 -ne 1 ]]
+ getopts sidmykufecqrahvVDQRSTUbglnoptw-: OPT
+ shift
+ [[ '' =~ ^--[a-zA-Z0-9] ]]
+ pkgs+=("$1")
+ index=1
+ [[ 1 -ne 1 ]]
+ pkgs=(${pkgs[@]//})
+ pacmanarg=(${pacmanarg[@]/--/})
+ pacmanarg=(${pacmanarg[@]/-r/})
+ [[ ! -n vim ]]
+ [[ ! -f /usr/bin/pacman-color ]]
+ [[ ! -w /tmp/pacaurtmp-ne ]]
+ [[ -z linux-ck ]]
+ [[ -n '' ]]
+ case $operation in
+ [[ ! -n '' ]]
+ [[ ! -n linux-ck ]]
+ ClassifyPkgs linux-ck
+ [[ true = true ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ ! -n '' ]]
+ [[ ! -n '' ]]
+ GetIgnoredGrps
+ ignoredgrps+=($(grep '^ *IgnoreGroup' '/etc/pacman.conf' | cut -d '=' -f 2-))
++ grep '^ *IgnoreGroup' /etc/pacman.conf
++ cut -d = -f 2-
+ for i in '"${pkgs[@]}"'
+ [[    =~  linux-ck  ]]
++ pacman-color -S --print linux-ck
++ grep -v error:
+ [[ -z '' ]]
+ aurpkgs+=("$i")
+ [[ -n '' ]]
+ [[ -n linux-ck ]]
+ [[ -n '' ]]
+ [[ true = true ]]
+ [[ ! -n '' ]]
+ warn 'Package(s) \e[1;39mlinux-ck\e[0m not found in repositories, trying \e[1;35mAUR\e[0m...'
+ echo -e '\e[1;33m::\e[0m Package(s) \e[1;39mlinux-ck\e[0m not found in repositories, trying \e[1;35mAUR\e[0m...'
:: Package(s) linux-ck not found in repositories, trying AUR...
+ Core linux-ck
+ IgnoreChecks
+ [[ ! -n '' ]]
+ GetIgnoredPkgs
+ ignoredpkgs+=($(grep '^ *IgnorePkg' '/etc/pacman.conf' | cut -d '=' -f 2-))
++ grep '^ *IgnorePkg' /etc/pacman.conf
++ cut -d = -f 2-
+ [[ -e /home/ne/.config/cower/config ]]
+ ignoredpkgs=(${ignoredpkgs[@]//,/ })
+ [[ -z '' ]]
+ return
+ DownloadPkgs linux-ck
+ [[ true = false ]]
+ allaurdeps+=("${aurpkgs[@]}")
+ FindPkgsDeps linux-ck
+ [[ -z '' ]]
+ depspkgsaur=("${aurpkgs[@]}")
+ DownloadAur linux-ck
+ [[ -n '' ]]
+ d=-d
+ [[ sync = download ]]
+ [[ ! sync = download ]]
+ deps+=($($cower $d ${coweropts[@]} $@ -t $buildDir 2>"$tmpDir/repodeps" | awk -F " " '{print $2}'| sed -r "s:\x1B\[[0-9;]*[mK]::g"))
++ cower --color=always -d -f linux-ck -t /tmp/pacaurtmp-ne
++ awk -F ' ' '{print $2}'
++ sed -r 's:\x1B\[[0-9;]*[mK]::g'
+ [[ -e /tmp/pacaurtmp-ne/repodeps ]]
+ grep 'no results found for' /tmp/pacaurtmp-ne/repodeps
+ timeout linux-ck
++ echo linux-ck
++ grep -v 'resolve host name'
++ grep -v 'no results found for'
+ [[ -z linux-ck ]]
+ return 0
+ for i in '"${deps[@]}"'
+ . /tmp/pacaurtmp-ne/linux-ck/PKGBUILD
++ _makenconfig=n
++ _localmodcfg=n
++ _use_current=n
++ _BFQ_enable_=n
++ pkgname=linux-ck
++ true
++ pkgname=(linux-ck linux-ck-headers)
++ _kernelname=-ck
++ _basekernel=3.3
++ pkgver=3.3.2
++ pkgrel=1
++ arch=('i686' 'x86_64')
++ url=https://wiki.archlinux.org/index.php/linux-ck
++ license=('GPL2')
++ options=('!strip')
++ _ckpatchversion=1
++ _ckpatchname=patch-3.3-ck1
++ _bfqpath=http://algo.ing.unimo.it/people/paolo/disk_sched/patches/3.3.0-v3r3
++ source=("http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.3.tar.xz" "http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz" "http://ck.kolivas.org/patches/3.0/3.3/${_basekernel}-ck${_ckpatchversion}/${_ckpatchname}.bz2" 'config' 'config.x86_64' 'linux-ck.preset' 'fix-acerhdf-1810T-bios.patch' 'change-default-console-loglevel.patch' 'i915-fix-ghost-tv-output.patch' 'ext4-options.patch' "${_bfqpath}/0001-block-cgroups-kconfig-build-bits-for-BFQ-v3r3-3.3.patch" "${_bfqpath}/0002-block-introduce-the-BFQ-v3r3-I-O-sched-for-3.3.patch")
++ sha256sums=('355df2085626cdf0083c4bc0fe3017419034b6db5cce6f437ae8234a5e90b40c' 'd240aea2153017ed84b3fb360c875bbda34b680c4358c233f694f6fe154009b8' 'dd23a8e0fc6cdb393a9659d5d097c27e1ff5a0f30d0fe6a3441512a9bf6d00cb' '5ebb958cc22d2ea48bd2d6ae24ca79fa93d843bfe9227360a0e1ea782c464a65' '4e90d03920b83e87625689235dfa13fad0f6d18e1c1113beb19ecd0e78b8b6ae' 'c2cf8cc2600502de348f3dc3aae9a3bde5486759db15cb8a93df7aa35bd6e7da' 'f77e1a1f2d955f0499dc2957d1d65a3eb931212a13948b33916332296d0e4a7a' 'b9d79ca33b0b51ff4f6976b7cd6dbb0b624ebf4fbf440222217f8ffc50445de4' '9ccadbe3eb30bb283af3eb869c3a4bdb764628854811cc616a2e02e9ef398705' '0f15e7462b5d2650c354580920978228b3092bcf47e20e600242c8ca102df6f5' '179e159deaaa3976f5e5e329a640050b9803fef3cc77f8588a949b28c732c5ad' 'a401732b5bc36eeccbaab86b216295d0ce0b30b8afdae66d8f59a382689da6a4')
++ pkgdesc='Linux Kernel and modules with the ck1 patchset featuring the Brain Fuck Scheduler v0.420.'
+ sourcedpkgs+=($(echo -e "${depends[*]}\n${makedepends[*]}"))
++ echo -e '\n'
+ depspkgs=($($pacmanBin -T "${sourcedpkgs[@]}"))
++ pacman-color -T
+ [[ -e /tmp/pacaurtmp-ne/aurdeps ]]
+ [[ -n '' ]]
+ [[ -e /tmp/pacaurtmp-ne/aurdeps ]]
+ unset depspkgsaur
+ unset deps sourcedpkgs depends makedepends depspkgs
+ [[ -n '' ]]
+ deps=("${allaurdeps[@]}")
+ repodeps=($(echo "${repodeps[@]}" | sed 's/ /\n/g' | sort -u))
++ echo
++ sed 's/ /\n/g'
++ sort -u
+ aurdepspkgs=(${deps[@]:${#aurpkgs[@]}:${#deps[@]}})
+ [[ -n '' ]]
+ [[ -n '' ]]
+ ConflictChecks linux-ck
+ [[ ! -n '' ]]
+ local k=0
+ for i in '"${deps[@]}"'
+ unset conflicts
+ [[ -e /tmp/pacaurtmp-ne/linux-ck/PKGBUILD ]]
++ grep 'conflicts=(' /tmp/pacaurtmp-ne/linux-ck/PKGBUILD
+ [[ -n conflicts=('kernel26-ck')
conflicts=('kernel26-ck-headers') ]]
+ . /tmp/pacaurtmp-ne/linux-ck/PKGBUILD
++ _makenconfig=n
++ _localmodcfg=n
++ _use_current=n
++ _BFQ_enable_=n
++ pkgname=linux-ck
++ true
++ pkgname=(linux-ck linux-ck-headers)
++ _kernelname=-ck
++ _basekernel=3.3
++ pkgver=3.3.2
++ pkgrel=1
++ arch=('i686' 'x86_64')
++ url=https://wiki.archlinux.org/index.php/linux-ck
++ license=('GPL2')
++ options=('!strip')
++ _ckpatchversion=1
++ _ckpatchname=patch-3.3-ck1
++ _bfqpath=http://algo.ing.unimo.it/people/paolo/disk_sched/patches/3.3.0-v3r3
++ source=("http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.3.tar.xz" "http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz" "http://ck.kolivas.org/patches/3.0/3.3/${_basekernel}-ck${_ckpatchversion}/${_ckpatchname}.bz2" 'config' 'config.x86_64' 'linux-ck.preset' 'fix-acerhdf-1810T-bios.patch' 'change-default-console-loglevel.patch' 'i915-fix-ghost-tv-output.patch' 'ext4-options.patch' "${_bfqpath}/0001-block-cgroups-kconfig-build-bits-for-BFQ-v3r3-3.3.patch" "${_bfqpath}/0002-block-introduce-the-BFQ-v3r3-I-O-sched-for-3.3.patch")
++ sha256sums=('355df2085626cdf0083c4bc0fe3017419034b6db5cce6f437ae8234a5e90b40c' 'd240aea2153017ed84b3fb360c875bbda34b680c4358c233f694f6fe154009b8' 'dd23a8e0fc6cdb393a9659d5d097c27e1ff5a0f30d0fe6a3441512a9bf6d00cb' '5ebb958cc22d2ea48bd2d6ae24ca79fa93d843bfe9227360a0e1ea782c464a65' '4e90d03920b83e87625689235dfa13fad0f6d18e1c1113beb19ecd0e78b8b6ae' 'c2cf8cc2600502de348f3dc3aae9a3bde5486759db15cb8a93df7aa35bd6e7da' 'f77e1a1f2d955f0499dc2957d1d65a3eb931212a13948b33916332296d0e4a7a' 'b9d79ca33b0b51ff4f6976b7cd6dbb0b624ebf4fbf440222217f8ffc50445de4' '9ccadbe3eb30bb283af3eb869c3a4bdb764628854811cc616a2e02e9ef398705' '0f15e7462b5d2650c354580920978228b3092bcf47e20e600242c8ca102df6f5' '179e159deaaa3976f5e5e329a640050b9803fef3cc77f8588a949b28c732c5ad' 'a401732b5bc36eeccbaab86b216295d0ce0b30b8afdae66d8f59a382689da6a4')
# Contributor: graysky <graysky AT archlinux DOT us>
++ pkgdesc='Linux Kernel and modules with the ck1 patchset featuring the Brain Fuck Scheduler v0.420.'
+ [[ -z '' ]]
+ conflicts=($(expac -Q %n "$i"))
++ expac -Q %n linux-ck
+ conflicts=($(expac -Q %n "${conflicts[@]}"))
++ expac -Q %n linux-ck
+ [[  linux-ck  =~  linux-ck  ]]
+ continue
+ nothingtodo linux-ck
+ [[ -z linux-ck ]]
+ return 0
+ ReinstallChecks linux-ck
+ exist=($(expac -Q %n "${deps[@]}"))
++ expac -Q %n linux-ck
+ Qversion=($(expac -Q %v "${deps[@]}"))
++ expac -Q %v linux-ck
+ (( i=0 ))
+ (( i<1 ))
+ [[  linux-ck  =~  linux-ck  ]]
+ GetAurVersion linux-ck
++ grep '^pkgver' /tmp/pacaurtmp-ne/linux-ck/PKGBUILD
++ cut -d = -f 2-
+ Apkgver='${_basekernel}.2'
++ grep '^pkgrel' /tmp/pacaurtmp-ne/linux-ck/PKGBUILD
++ cut -d = -f 2-
+ Apkgrel=1
+ Aversion='${_basekernel}.2-1'
++ vercmp '${_basekernel}.2-1' 3.3.2-1
+ [[ 1 -gt 0 ]]
+ continue
+ (( i++ ))
+ (( i<1 ))
+ OutofdateChecks linux-ck
+ for i in '"${deps[@]}"'
+ paraexec
+ DownloadJson linux-ck
+ [[ ! -f /tmp/pacaurtmp-ne/linux-ck.json ]]
+ curl -Lfs 'https://aur.archlinux.org/rpc.php?type=info&arg=linux-ck'
++ jobs
++ wc -l
+ ((  1 >= 10  ))
+ wait
+ for i in '"${deps[@]}"'
++ grep '"OutOfDate":"1"' /tmp/pacaurtmp-ne/linux-ck.json
+ [[ -n '' ]]
+ Prompt linux-ck
+ echo -e '\n\e[1;33mAUR Targets (1):\e[0m linux-ck\n'

AUR Targets (1): linux-ck

+ [[ ! -n '' ]]
+ [[ -n true ]]
+ action=installation
+ proceedY 'Proceed with installation?'
+ echo -ne 'Proceed with installation? [Y/n] '
Proceed with installation? [Y/n] + read -n 1 yn
y+ echo ''

+ case $yn in
+ return 0
+ EditPkgs linux-ck
+ [[ -n '' ]]
+ [[ ! -n true ]]
+ for i in '"$@"'
+ [[ ! true = false ]]
+ [[ -n '' ]]
+ [[ -e /tmp/pacaurtmp-ne/linux-ck/PKGBUILD ]]
+ vim /tmp/pacaurtmp-ne/linux-ck/PKGBUILD
+ success '\e[1;39mlinux-ck\e[0m PKGBUILD edited'
+ echo -e '\e[1;32m::\e[0m \e[1;39mlinux-ck\e[0m PKGBUILD edited'
:: linux-ck PKGBUILD edited
+ [[ ! true = false ]]
+ unset install
+ [[ -e /tmp/pacaurtmp-ne/linux-ck/PKGBUILD ]]
+ source /tmp/pacaurtmp-ne/linux-ck/PKGBUILD
++ _makenconfig=y
++ _localmodcfg=n
++ _use_current=n
++ _BFQ_enable_=y
++ pkgname=linux-ck
++ true
++ pkgname=(linux-ck linux-ck-headers)
++ _kernelname=-ck
++ _basekernel=3.3
++ pkgver=3.3.2
++ pkgrel=1
++ arch=('i686' 'x86_64')
++ url=https://wiki.archlinux.org/index.php/linux-ck
++ license=('GPL2')
++ options=('!strip')
++ _ckpatchversion=1
++ _ckpatchname=patch-3.3-ck1
++ _bfqpath=http://algo.ing.unimo.it/people/paolo/disk_sched/patches/3.3.0-v3r3
++ source=("http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.3.tar.xz" "http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz" "http://ck.kolivas.org/patches/3.0/3.3/${_basekernel}-ck${_ckpatchversion}/${_ckpatchname}.bz2" 'config' 'config.x86_64' 'linux-ck.preset' 'fix-acerhdf-1810T-bios.patch' 'change-default-console-loglevel.patch' 'i915-fix-ghost-tv-output.patch' 'ext4-options.patch' "${_bfqpath}/0001-block-cgroups-kconfig-build-bits-for-BFQ-v3r3-3.3.patch" "${_bfqpath}/0002-block-introduce-the-BFQ-v3r3-I-O-sched-for-3.3.patch")
++ sha256sums=('355df2085626cdf0083c4bc0fe3017419034b6db5cce6f437ae8234a5e90b40c' 'd240aea2153017ed84b3fb360c875bbda34b680c4358c233f694f6fe154009b8' 'dd23a8e0fc6cdb393a9659d5d097c27e1ff5a0f30d0fe6a3441512a9bf6d00cb' '5ebb958cc22d2ea48bd2d6ae24ca79fa93d843bfe9227360a0e1ea782c464a65' '4e90d03920b83e87625689235dfa13fad0f6d18e1c1113beb19ecd0e78b8b6ae' 'c2cf8cc2600502de348f3dc3aae9a3bde5486759db15cb8a93df7aa35bd6e7da' 'f77e1a1f2d955f0499dc2957d1d65a3eb931212a13948b33916332296d0e4a7a' 'b9d79ca33b0b51ff4f6976b7cd6dbb0b624ebf4fbf440222217f8ffc50445de4' '9ccadbe3eb30bb283af3eb869c3a4bdb764628854811cc616a2e02e9ef398705' '0f15e7462b5d2650c354580920978228b3092bcf47e20e600242c8ca102df6f5' '179e159deaaa3976f5e5e329a640050b9803fef3cc77f8588a949b28c732c5ad' 'a401732b5bc36eeccbaab86b216295d0ce0b30b8afdae66d8f59a382689da6a4')
++ pkgdesc='Linux Kernel and modules with the ck1 patchset featuring the Brain Fuck Scheduler v0.420.'
+ [[ -n '' ]]
+ MakePkgs linux-ck
+ sudo -v
+ deps=($(echo "${deps[@]}" | awk -F "\n" '{print}' | awk -F " " '{for (i=NF;i>=1;i--) print $i}'))
++ echo linux-ck
++ awk -F '\n' '{print}'
++ awk -F ' ' '{for (i=NF;i>=1;i--) print $i}'
+ [[ true != true ]]
+ export PACMAN=pacman-color
+ PACMAN=pacman-color
+ [[ ! -n true ]]
+ for i in '"${deps[@]}"'
+ [[ -n '' ]]
+ [[ -n '' ]]
+ makeopts=(${makeopts[@]/--clean/})
+ [[ true = true ]]
+ [[ true = true ]]
+ makeopts+=("--clean")
+ [[ -e /tmp/pacaurtmp-ne/linux-ck/PKGBUILD ]]
+ info 'Building \e[1;39mlinux-ck\e[0m package...'
+ echo -e '\e[1;34m::\e[0m Building \e[1;39mlinux-ck\e[0m package...'
:: Building linux-ck package...
+ cd /tmp/pacaurtmp-ne/linux-ck
+ [[ -n true ]]
+ yes
+ makepkg -sfi --clean
==> Making package: linux-ck 3.3.2-1 (Sat Apr 21 21:07:03 CEST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Downloading linux-3.3.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 62.8M  100 62.8M    0     0   152k      0  0:07:03  0:07:03 --:--:--  112k
  -> Downloading patch-3.3.2.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 88196  100 88196    0     0  49614      0  0:00:01  0:00:01 --:--:-- 57381
  -> Downloading patch-3.3-ck1.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 58023  100 58023    0     0  18732      0  0:00:03  0:00:03 --:--:-- 34785
  -> Found config
  -> Found config.x86_64
  -> Found linux-ck.preset
  -> Found fix-acerhdf-1810T-bios.patch
  -> Found change-default-console-loglevel.patch
  -> Found i915-fix-ghost-tv-output.patch
  -> Found ext4-options.patch
  -> Downloading 0001-block-cgroups-kconfig-build-bits-for-BFQ-v3r3-3.3.patch...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3079  100  3079    0     0  10685      0 --:--:-- --:--:-- --:--:-- 37096
  -> Downloading 0002-block-introduce-the-BFQ-v3r3-I-O-sched-for-3.3.patch...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  160k  100  160k    0     0   108k      0  0:00:01  0:00:01 --:--:--  117k
==> Validating source files with sha256sums...
    linux-3.3.tar.xz ... Passed
    patch-3.3.2.xz ... Passed
    patch-3.3-ck1.bz2 ... Passed
    config ... Passed
    config.x86_64 ... Passed
    linux-ck.preset ... Passed
    fix-acerhdf-1810T-bios.patch ... Passed
    change-default-console-loglevel.patch ... Passed
    i915-fix-ghost-tv-output.patch ... Passed
    ext4-options.patch ... Passed
    0001-block-cgroups-kconfig-build-bits-for-BFQ-v3r3-3.3.patch ... Passed
    0002-block-introduce-the-BFQ-v3r3-I-O-sched-for-3.3.patch ... Passed
==> Extracting Sources...
  -> Extracting linux-3.3.tar.xz with bsdtar
  -> Extracting patch-3.3.2.xz with xz
  -> Extracting patch-3.3-ck1.bz2 with bzip2
==> Starting build()...
patching file Makefile
patching file arch/arm/mach-at91/at91sam9263_devices.c
patching file arch/arm/mach-at91/at91sam9g45_devices.c
patching file arch/arm/mach-at91/board-sam9263ek.c
patching file arch/arm/mach-at91/board-sam9m10g45ek.c
patching file arch/arm/mach-shmobile/setup-sh7372.c
patching file arch/arm/mach-tegra/Kconfig
patching file arch/arm/mach-tegra/board-dt-tegra20.c
patching file arch/arm/mach-tegra/devices.c
patching file arch/arm/mach-tegra/devices.h
patching file arch/m68k/mac/config.c
patching file arch/x86/include/asm/timer.h
patching file arch/x86/kernel/entry_32.S
patching file arch/x86/kernel/kgdb.c
patching file arch/x86/kernel/tls.c
patching file arch/x86/kernel/tsc.c
patching file arch/x86/kernel/vm86_32.c
patching file arch/x86/net/bpf_jit_comp.c
patching file arch/x86/syscalls/syscall_32.tbl
patching file drivers/acpi/acpica/tbfadt.c
patching file drivers/acpi/processor_thermal.c
patching file drivers/ata/ahci.c
patching file drivers/ata/ahci.h
patching file drivers/ata/ahci_platform.c
patching file drivers/ata/libahci.c
patching file drivers/ata/pata_legacy.c
patching file drivers/base/firmware_class.c
patching file drivers/base/power/domain.c
patching file drivers/base/power/runtime.c
patching file drivers/base/regmap/regcache-rbtree.c
patching file drivers/bluetooth/ath3k.c
patching file drivers/bluetooth/btusb.c
patching file drivers/char/tpm/Kconfig
patching file drivers/char/tpm/tpm.c
patching file drivers/clocksource/sh_cmt.c
patching file drivers/clocksource/sh_mtu2.c
patching file drivers/clocksource/sh_tmu.c
patching file drivers/dma/ioat/dma.c
patching file drivers/dma/ioat/dma.h
patching file drivers/dma/ioat/dma_v2.c
patching file drivers/dma/ioat/dma_v3.c
patching file drivers/firewire/ohci.c
patching file drivers/gpio/gpio-davinci.c
patching file drivers/gpio/gpio-omap.c
patching file drivers/gpu/drm/drm_fb_helper.c
patching file drivers/gpu/drm/gma500/framebuffer.c
patching file drivers/gpu/drm/i915/i915_drv.c
patching file drivers/gpu/drm/i915/i915_gem.c
patching file drivers/gpu/drm/i915/i915_reg.h
patching file drivers/gpu/drm/i915/intel_bios.c
patching file drivers/gpu/drm/i915/intel_display.c
patching file drivers/gpu/drm/i915/intel_drv.h
patching file drivers/gpu/drm/i915/intel_fb.c
patching file drivers/gpu/drm/i915/intel_lvds.c
patching file drivers/gpu/drm/i915/intel_sprite.c
patching file drivers/gpu/drm/radeon/atom.c
patching file drivers/gpu/drm/radeon/atom.h
patching file drivers/gpu/drm/radeon/atombios_crtc.c
patching file drivers/gpu/drm/radeon/atombios_dp.c
patching file drivers/gpu/drm/radeon/atombios_encoders.c
patching file drivers/gpu/drm/radeon/radeon_atombios.c
patching file drivers/gpu/drm/radeon/radeon_connectors.c
patching file drivers/gpu/drm/radeon/radeon_cursor.c
patching file drivers/gpu/drm/radeon/radeon_object.c
patching file drivers/gpu/drm/radeon/radeon_object.h
patching file drivers/hid/hid-chicony.c
patching file drivers/hid/hid-core.c
patching file drivers/hid/hid-ids.h
patching file drivers/hwmon/fam15h_power.c
patching file drivers/infiniband/ulp/iser/iscsi_iser.c
patching file drivers/infiniband/ulp/iser/iscsi_iser.h
patching file drivers/infiniband/ulp/iser/iser_initiator.c
patching file drivers/infiniband/ulp/srpt/ib_srpt.c
patching file drivers/iommu/amd_iommu.c
patching file drivers/iommu/amd_iommu_init.c
patching file drivers/md/bitmap.c
patching file drivers/md/dm-crypt.c
patching file drivers/md/dm-exception-store.c
patching file drivers/md/dm-thin.c
patching file drivers/md/md.c
patching file drivers/md/persistent-data/dm-btree-remove.c
patching file drivers/md/raid1.c
patching file drivers/md/raid10.c
patching file drivers/media/dvb/dvb-core/dvb_frontend.c
patching file drivers/media/dvb/dvb-usb/mxl111sf.c
patching file drivers/media/dvb/frontends/au8522_dig.c
patching file drivers/media/dvb/frontends/lgdt330x.c
patching file drivers/media/dvb/frontends/tda10071.c
patching file drivers/media/video/pvrusb2/pvrusb2-devattr.c
patching file drivers/media/video/uvc/uvc_video.c
patching file drivers/mfd/da9052-spi.c
patching file drivers/mfd/twl6030-irq.c
patching file drivers/mfd/wm8994-core.c
patching file drivers/misc/kgdbts.c
patching file drivers/mmc/core/sdio_bus.c
patching file drivers/mmc/host/atmel-mci.c
patching file drivers/mmc/host/sdhci-dove.c
patching file drivers/mtd/devices/block2mtd.c
patching file drivers/mtd/devices/doc2000.c
patching file drivers/mtd/devices/doc2001.c
patching file drivers/mtd/devices/doc2001plus.c
patching file drivers/mtd/devices/docg3.c
patching file drivers/mtd/devices/lart.c
patching file drivers/mtd/devices/m25p80.c
patching file drivers/mtd/devices/sst25l.c
patching file drivers/mtd/maps/ixp4xx.c
patching file drivers/mtd/maps/lantiq-flash.c
patching file drivers/mtd/nand/gpmi-nand/gpmi-nand.c
patching file drivers/mtd/ubi/scan.c
patching file drivers/mtd/ubi/wl.c
patching file drivers/net/ethernet/broadcom/tg3.c
patching file drivers/net/ethernet/freescale/fsl_pq_mdio.c
patching file drivers/net/ethernet/marvell/sky2.c
patching file drivers/net/ethernet/mellanox/mlx4/main.c
patching file drivers/net/ethernet/via/via-rhine.c
patching file drivers/net/usb/cdc_eem.c
patching file drivers/net/usb/usbnet.c
patching file drivers/net/usb/zaurus.c
patching file drivers/net/wireless/ath/ath9k/calib.c
patching file drivers/net/wireless/iwlegacy/3945-mac.c
patching file drivers/net/wireless/iwlegacy/4965-mac.c
patching file drivers/net/wireless/iwlegacy/common.c
patching file drivers/net/wireless/iwlwifi/iwl-core.c
patching file drivers/net/wireless/p54/p54spi.c
patching file drivers/net/wireless/rt2x00/rt2800usb.c
patching file drivers/net/wireless/rtlwifi/base.c
patching file drivers/net/wireless/rtlwifi/core.c
patching file drivers/net/wireless/rtlwifi/core.h
patching file drivers/net/wireless/rtlwifi/pci.c
patching file drivers/net/wireless/rtlwifi/pci.h
patching file drivers/net/wireless/rtlwifi/ps.c
patching file drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c
patching file drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c
patching file drivers/net/wireless/rtlwifi/rtl8192c/phy_common.c
patching file drivers/net/wireless/rtlwifi/rtl8192ce/hw.c
patching file drivers/net/wireless/rtlwifi/rtl8192ce/sw.c
patching file drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
patching file drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
patching file drivers/net/wireless/rtlwifi/rtl8192de/fw.c
patching file drivers/net/wireless/rtlwifi/rtl8192de/hw.c
patching file drivers/net/wireless/rtlwifi/rtl8192de/phy.c
patching file drivers/net/wireless/rtlwifi/rtl8192de/sw.c
patching file drivers/net/wireless/rtlwifi/rtl8192se/fw.c
patching file drivers/net/wireless/rtlwifi/rtl8192se/hw.c
patching file drivers/net/wireless/rtlwifi/rtl8192se/led.c
patching file drivers/net/wireless/rtlwifi/rtl8192se/sw.c
patching file drivers/net/wireless/rtlwifi/usb.c
patching file drivers/net/wireless/rtlwifi/wifi.h
patching file drivers/pci/pcie/aspm.c
patching file drivers/platform/x86/acer-wmi.c
patching file drivers/pnp/pnpacpi/core.c
patching file drivers/rtc/interface.c
patching file drivers/rtc/rtc-mpc5121.c
patching file drivers/scsi/scsi_transport_iscsi.c
patching file drivers/staging/android/lowmemorykiller.c
patching file drivers/staging/media/as102/as102_fw.h
patching file drivers/staging/media/as102/as10x_cmd.h
patching file drivers/staging/media/as102/as10x_types.h
patching file drivers/staging/octeon/ethernet-mdio.c
patching file drivers/staging/rtl8712/Kconfig
patching file drivers/staging/rtl8712/os_intfs.c
patching file drivers/staging/rtl8712/rtl871x_ioctl_linux.c
patching file drivers/staging/rtl8712/rtl871x_sta_mgt.c
patching file drivers/staging/rtl8712/sta_info.h
patching file drivers/staging/vme/devices/vme_pio2.h
patching file drivers/staging/vme/devices/vme_pio2_gpio.c
patching file drivers/staging/zcache/zcache-main.c
patching file drivers/target/iscsi/iscsi_target.c
patching file drivers/target/iscsi/iscsi_target_configfs.c
patching file drivers/target/loopback/tcm_loop.c
patching file drivers/target/target_core_alua.c
patching file drivers/target/target_core_cdb.c
patching file drivers/target/target_core_device.c
patching file drivers/target/tcm_fc/tcm_fc.h
patching file drivers/target/tcm_fc/tfc_cmd.c
patching file drivers/target/tcm_fc/tfc_conf.c
patching file drivers/target/tcm_fc/tfc_io.c
patching file drivers/tty/moxa.c
patching file drivers/tty/serial/omap-serial.c
patching file drivers/tty/serial/sh-sci.c
patching file drivers/tty/vt/consolemap.c
patching file drivers/usb/class/cdc-wdm.c
patching file drivers/usb/dwc3/core.c
patching file drivers/usb/dwc3/gadget.c
patching file drivers/usb/gadget/amd5536udc.c
patching file drivers/usb/gadget/at91_udc.c
patching file drivers/usb/gadget/atmel_usba_udc.c
patching file drivers/usb/gadget/ci13xxx_udc.c
patching file drivers/usb/gadget/f_subset.c
patching file drivers/usb/gadget/fsl_qe_udc.c
patching file drivers/usb/gadget/fsl_udc_core.c
patching file drivers/usb/gadget/goku_udc.c
patching file drivers/usb/gadget/hid.c
patching file drivers/usb/gadget/inode.c
patching file drivers/usb/gadget/langwell_udc.c
patching file drivers/usb/gadget/mv_udc_core.c
patching file drivers/usb/gadget/omap_udc.c
patching file drivers/usb/gadget/pch_udc.c
patching file drivers/usb/gadget/pxa25x_udc.c
patching file drivers/usb/gadget/s3c-hsudc.c
patching file drivers/usb/gadget/s3c2410_udc.c
patching file drivers/usb/host/ehci-fsl.c
patching file drivers/usb/host/ehci-fsl.h
patching file drivers/usb/host/fsl-mph-dr-of.c
patching file drivers/usb/host/ohci-at91.c
patching file drivers/usb/musb/musb_gadget.c
patching file drivers/usb/renesas_usbhs/mod_gadget.c
patching file drivers/usb/serial/cp210x.c
patching file drivers/usb/serial/ftdi_sio.c
patching file drivers/usb/serial/ftdi_sio.h
patching file drivers/usb/serial/ftdi_sio_ids.h
patching file drivers/usb/serial/generic.c
patching file drivers/usb/serial/mos7840.c
patching file drivers/usb/serial/option.c
patching file drivers/usb/serial/qcserial.c
patching file drivers/usb/storage/realtek_cr.c
patching file drivers/video/backlight/tosa_lcd.c
patching file drivers/video/fbmem.c
patching file drivers/video/udlfb.c
patching file fs/cifs/cifsfs.c
patching file fs/cifs/cifsglob.h
patching file fs/cifs/cifssmb.c
patching file fs/cifs/connect.c
patching file fs/cifs/dir.c
patching file fs/cifs/file.c
patching file fs/cifs/transport.c
patching file fs/dcache.c
patching file fs/ext4/ext4.h
patching file fs/ext4/ext4_jbd2.h
patching file fs/ext4/extents.c
patching file fs/ext4/fsync.c
patching file fs/ext4/inode.c
patching file fs/ext4/page-io.c
patching file fs/hugetlbfs/inode.c
patching file fs/jbd2/transaction.c
patching file fs/lockd/svc.c
patching file fs/locks.c
patching file fs/nfs/callback_xdr.c
patching file fs/nfs/delegation.c
patching file fs/nfs/delegation.h
patching file fs/nfs/nfs4_fs.h
patching file fs/nfs/nfs4proc.c
patching file fs/nfs/nfs4state.c
patching file fs/proc/namespaces.c
patching file fs/proc/proc_sysctl.c
patching file fs/proc/task_mmu.c
patching file fs/sysfs/inode.c
patching file fs/xfs/xfs_iget.c
patching file fs/xfs/xfs_log_recover.c
patching file include/asm-generic/pgtable.h
patching file include/asm-generic/unistd.h
patching file include/linux/fb.h
patching file include/linux/fs.h
patching file include/linux/kernel.h
patching file include/linux/kgdb.h
patching file include/linux/kmod.h
patching file include/linux/math64.h
patching file include/linux/pm_domain.h
patching file include/linux/rtc.h
patching file include/target/target_core_base.h
patching file kernel/cred.c
patching file kernel/debug/debug_core.c
patching file kernel/futex.c
patching file kernel/irq/chip.c
patching file kernel/irq/manage.c
patching file kernel/irq/migration.c
patching file kernel/kmod.c
patching file kernel/module.c
patching file kernel/power/hibernate.c
patching file kernel/power/process.c
patching file kernel/power/suspend.c
patching file kernel/power/user.c
patching file kernel/sysctl.c
patching file kernel/time/ntp.c
patching file kernel/trace/trace.c
patching file kernel/trace/trace_entries.h
patching file kernel/trace/trace_export.c
patching file lib/kobject_uevent.c
patching file mm/bootmem.c
patching file mm/memcontrol.c
patching file mm/memory.c
patching file mm/mempolicy.c
patching file mm/mincore.c
patching file mm/pagewalk.c
patching file mm/slub.c
patching file mm/sparse.c
patching file mm/swapfile.c
patching file mm/vmscan.c
patching file net/core/dev.c
patching file net/core/rtnetlink.c
patching file net/ipv6/ip6_output.c
patching file net/ipv6/route.c
patching file net/l2tp/l2tp_ppp.c
patching file net/mac80211/agg-rx.c
patching file net/rds/send.c
patching file net/rose/rose_dev.c
patching file net/sunrpc/cache.c
patching file net/sunrpc/sched.c
patching file net/xfrm/xfrm_replay.c
patching file scripts/mod/modpost.c
patching file scripts/mod/modpost.h
patching file security/integrity/ima/Kconfig
patching file security/tomoyo/mount.c
patching file sound/pci/hda/hda_eld.c
patching file sound/pci/hda/patch_realtek.c
patching file sound/soc/codecs/ak4642.c
patching file sound/soc/codecs/wm8994.c
patching file sound/soc/fsl/p1022_ds.c
patching file sound/soc/pxa/pxa-ssp.c
patching file sound/soc/tegra/tegra_i2s.c
patching file drivers/gpu/drm/i915/intel_tv.c
Hunk #1 succeeded at 1153 (offset -114 lines).
patching file drivers/platform/x86/acerhdf.c
patching file kernel/printk.c
patching file fs/ext4/super.c
==> Patching source with ck1 including bfs v0.420
patching file arch/powerpc/platforms/cell/spufs/sched.c
patching file Documentation/scheduler/sched-BFS.txt
patching file Documentation/sysctl/kernel.txt
patching file fs/proc/base.c
patching file include/linux/init_task.h
patching file include/linux/ioprio.h
patching file include/linux/sched.h
patching file init/Kconfig
patching file init/main.c
patching file kernel/delayacct.c
patching file kernel/exit.c
patching file kernel/posix-cpu-timers.c

patching file kernel/sysctl.c
patching file lib/Kconfig.debug
patching file include/linux/jiffies.h
patching file drivers/cpufreq/cpufreq.c
patching file drivers/cpufreq/cpufreq_ondemand.c
patching file drivers/cpufreq/cpufreq_conservative.c
patching file arch/x86/Kconfig
patching file kernel/sched/bfs.c
patching file kernel/sched/Makefile
patching file mm/vmscan.c
Hunk #3 succeeded at 2202 (offset -4 lines).
Hunk #4 succeeded at 3135 (offset 16 lines).
Hunk #5 succeeded at 3147 (offset 16 lines).
patching file include/linux/swap.h
patching file mm/memory.c
Hunk #1 succeeded at 3011 (offset 8 lines).
patching file mm/swapfile.c
patching file mm/page-writeback.c
patching file kernel/Kconfig.hz
patching file arch/x86/kernel/cpu/proc.c
patching file arch/x86/kernel/smpboot.c
patching file include/linux/nfsd/stats.h
patching file include/net/inet_timewait_sock.h
patching file init/calibrate.c
patching file kernel/Kconfig.preempt
patching file Makefile
==> Patching source with BFQ patches
patching file block/Kconfig.iosched
patching file block/Makefile
patching file include/linux/cgroup_subsys.h
patching file block/bfq-cgroup.c
patching file block/bfq-ioc.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq.h
==> Running make mrproper to clean source tree
==> Running make prepare for you to enable patched options of your choosing
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
.config:275:warning: override: reassigning to symbol DEFAULT_BFQ
#
# configuration written to .config
#
  SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_32.h
  SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_64.h
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_32.h
  SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_32_ia32.h
  SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_64.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  CC      kernel/bounds.s
  GEN     include/generated/bounds.h
  CC      arch/x86/kernel/asm-offsets.s
  GEN     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
==> Running make nconfig
  HOSTCC  scripts/kconfig/nconf.gui.o
  HOSTCC  scripts/kconfig/nconf.o
  HOSTLD  scripts/kconfig/nconf
scripts/kconfig/nconf Kconfig
make[1]: *** [nconfig] Error 1
make: *** [nconfig] Interrupt

==> ERROR: Aborted by user! Exiting...

~ > 

When prompted to edit the PKGBUILD I change _makenconfig="n" to _makenconfig="y" and _BFQ_enable_="n" to _BFQ_enable_="y".
I tried using makenconfig on the linux-mainline package by uncommenting make nconfig in the PKGBUILD and nconfig worked fine.

Owner

rmarquis commented Apr 21, 2012

This is weird, really. What pacaur does is only passing the PKGBUILD to "makepkg -sfi", so if manual building works, there should be no problem. I'm currently on a low speed internet line so it is difficult to test by myself right now, but will do asap.

Owner

rmarquis commented Apr 26, 2012

So I finally tested it myself, and I'm afraid to tell you that something must be wrong on your side. After nearly 45 min of downloading and compiling, pacaur successfully handles this package. I tried with -Sw option as I didn't want to install that package, but the only difference here is that makepkg won't install the package after the build. The particular way of using the "yes" utility in pacaur (yes | makepkg -sfi) has no incidence on the result.

Closing as "wontifix", this is not a pacaur bug.

@rmarquis rmarquis closed this Apr 26, 2012

Contributor

lucy commented Apr 26, 2012

Of course it installs correctly, that's not what this bug report is about. It's about the nconfig utility used to configure the kernel before compilation, which has to me enabled in the pkgbuild by changing _makenconfig="n" to _makenconfig="y". I just tested this again on both of my machines, nconfig still just flickers and doesn't accept input, and it seems very plausible that this could because of the yes utility. I think using the yes utility for makepkg is a bad idea since it breaks any configuration that is done before (and after) compilation and not in the pkgbuild, such as kernel configuration.

Owner

rmarquis commented Apr 26, 2012

Thanks for your input, I somehow missed that the package installs correctly by default. I have, however, no plan to use makepkg without the yes utility as this is the only way (as far as I know) to succeed in case of package conflict. What I can suggest you is to use cower to download the pkgbuild, and do the compilation with makepkg for this particular package.

Feel free to reopen this issue if you have idea or workaround to suggest.

Owner

rmarquis commented Apr 30, 2012

Now tracking this issue in the more global issue #73, although I'm not sure if I'll find a nice workaround.

Contributor

lucy commented May 1, 2012

Awesome, thanks for taking this further.

Owner

rmarquis commented Feb 5, 2013

For the record, see FS#13214.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment