Changes between Version 4 and Version 5 of SynSlackwareImport


Ignore:
Timestamp:
01/19/17 15:03:50 (8 years ago)
Author:
Edwin Eefting
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SynSlackwareImport

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