| 121 | We starten een rebuild om te kijken of we nu verder komen: |
| 122 | {{{ |
| 123 | psy@ws1 ~/opensyn3/npl % sudo ./rebuildcheck powertop |
| 124 | Rebuild required: ./powertop-2.8.tar.xz has changed! |
| 125 | Rebuild required: libnl major is now 1, but this package was build was against 0. |
| 126 | Dependency check libnl |
| 127 | REBUILDING /home/psy/opensyn3/npl/overig/powertop/powertop.SlackBuild: |
| 128 | Buildroot up-to-date check: (nopkgcheck to skip)..............................................................................................DONE |
| 129 | Buildroot /tmp/buildroot0._home_psy_opensyn3_builder repareren/syncen...OK |
| 130 | Build-dependency libnl installeren: /home/psy/opensyn3/npl/.tmp/D/libnl-1.1.4-i486-6116.tgz |
| 131 | Build-dependency libnl_dev installeren: /home/psy/opensyn3/npl/.tmp/D/libnl_dev-1.1.4-i486-6116.tgz |
| 132 | Nieuwe packages ldconfiggen... |
| 133 | etc-update doen |
| 134 | Different config file: /etc/hosts.new (please check manually) |
| 135 | /home/psy/opensyn3/npl/overig/powertop word gekopieerd naar werkdirectory /tmp/buildroot0._home_psy_opensyn3_builder/tmp/build |
| 136 | *** Chroot naar /tmp/buildroot0._home_psy_opensyn3_builder en starten van powertop.SlackBuild in /tmp/build: |
| 137 | 10 /tmp/build > pwd |
| 138 | 10 /tmp/build > CWD=/tmp/build |
| 139 | 11 /tmp/build > set -e |
| 140 | 12 /tmp/build > source ./powertop.SlackBuild.orig |
| 141 | 28 /tmp/build > PKGNAM=powertop |
| 142 | 29 /tmp/build > echo powertop-2.8.tar.xz |
| 143 | 29 /tmp/build > rev |
| 144 | 29 /tmp/build > cut -f 3- -d . |
| 145 | 29 /tmp/build > cut -f 1 -d - |
| 146 | 29 /tmp/build > rev |
| 147 | (...) |
| 148 | make[3]: Entering directory `/tmp/powertop-2.8/src' |
| 149 | CXX powertop-display.o |
| 150 | In file included from display.cpp:25:0: |
| 151 | display.h:31:21: fatal error: ncurses.h: No such file or directory |
| 152 | #include <ncurses.h> |
| 153 | ^ |
| 154 | compilation terminated. |
| 155 | make[3]: *** [powertop-display.o] Error 1 |
| 156 | (...) |
| 157 | |
| 158 | }}} |
| 159 | |
| 160 | == 2e build probeem oplossen == |
| 161 | |
| 162 | Aan de error zien we dat ncurses.h ontbreekt. |
| 163 | |
| 164 | Ook hier is een pakketje voor (je kunt ook ./findpkgfile gebruiken om zoeken in welke package een file zich bevind) |
| 165 | |
| 166 | Nu voegen we #DEP:ncurses toe en starten de build nogmaals: |
| 167 | {{{ |
| 168 | psy@ws1 ~/opensyn3/npl % sudo ./rebuildcheck powertop '' nopkgcheck |
| 169 | Rebuild required: ./powertop-2.8.tar.xz has changed! |
| 170 | (...) |
| 171 | All rebuilds completed. |
| 172 | }}} |
| 173 | |
| 174 | De build is gelukt! |