Commit 84b37354 authored by Guillaume Benoit's avatar Guillaume Benoit

[cli] fix build pkgs

parent 97f4e4e1
......@@ -1964,7 +1964,7 @@ namespace Pamac {
if (status == 0 && built_pkgs.length > 0) {
no_confirm_commit = true;
stdout.printf ("\n");
to_build = built_pkgs;
to_load = built_pkgs;
start_trans_prepare ();
} else {
on_trans_commit_finished (false);
......
  • @guinux: Seems to fix the build, however we now have an endless loop ...

    phil@development ~/dev/boxit-work/testing/community $ pamac --version
    Pamac 6.4.0-5
    phil@development ~/dev/boxit-work/testing/community $ pamac build glee
    To build (1):
      glee                5.4.0-4               
    
    Commit transaction ? [y/N] y
    
    ==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
    Authentication is required
    Authenticating as: Philip Müller (phil)
    Password: 
    ==== AUTHENTICATION COMPLETE ====
    Building glee...
    Cloning into 'glee'...
    remote: Enumerating objects: 11, done.
    remote: Counting objects: 100% (11/11), done.
    remote: Compressing objects: 100% (10/10), done.
    remote: Total 11 (delta 1), reused 11 (delta 1)
    Unpacking objects: 100% (11/11), done.
    ==> Making package: glee 5.4.0-4 (Mo 23 Jul 2018 05:59:15 CEST)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
      -> Downloading GLee-5.4.0-src.tar.gz...
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  263k  100  263k    0     0   940k      0 --:--:-- --:--:-- --:--:--  940k
      -> Found glee.pc
      -> Found Makefile
    ==> Validating source files with sha512sums...
        GLee-5.4.0-src.tar.gz ... Passed
        glee.pc ... Passed
        Makefile ... Passed
    ==> Extracting sources...
      -> Extracting GLee-5.4.0-src.tar.gz with bsdtar
    ==> Starting build()...
    cc -o GLee.shared.o -c GLee.c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC
    g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared \
    	-Wl,-soname,libGLee.so.5 \
    	-o libGLee.so.5.4 \
    	GLee.shared.o -o libGLee.so.5.4 -lGL
    rm -f libGLee.so.5
    ln -s libGLee.so.5.4 libGLee.so.5
    rm -f libGLee.so
    ln -s libGLee.so.5 libGLee.so
    ==> Entering fakeroot environment...
    ==> Starting package()...
    install -d "/tmp/pamac-build-phil/glee/pkg/glee/usr/lib/"
    cp -a *.so* "/tmp/pamac-build-phil/glee/pkg/glee/usr/lib/"
    install -d "/tmp/pamac-build-phil/glee/pkg/glee/usr/include/"
    install -Dm644 *.h "/tmp/pamac-build-phil/glee/pkg/glee/usr/include/"
    install -d "/tmp/pamac-build-phil/glee/pkg/glee/usr/lib/pkgconfig/"
    install -Dm644 glee.pc "/tmp/pamac-build-phil/glee/pkg/glee/usr/lib/pkgconfig/"
    install -d  "/tmp/pamac-build-phil/glee/pkg/glee/usr/share/licenses/glee"
    sed '9,32!d' readme.txt > "/tmp/pamac-build-phil/glee/pkg/glee/usr/share/licenses/glee/LICENSE"
    ==> Tidying install...
      -> Removing libtool files...
      -> Purging unwanted files...
      -> Removing static library files...
      -> Stripping unneeded symbols from binaries and libraries...
      -> Compressing man and info pages...
    ==> Checking for packaging issues...
    ==> Creating package "glee"...
      -> Generating .PKGINFO file...
      -> Generating .BUILDINFO file...
      -> Generating .MTREE file...
      -> Compressing package...
    ==> Leaving fakeroot environment.
    ==> Finished making: glee 5.4.0-4 (Mo 23 Jul 2018 05:59:22 CEST)
    ==> Cleaning up...
    
    Warning: glee-5.4.0-4 ist aktuell -- Reinstalliere
    Resolving dependencies...
    Checking inter-conflicts...
    Checking keyring...                                                        [1/1]
    Checking integrity...                                                      [1/1]
    Loading packages files...                                                  [1/1]
    Checking file conflicts...                                                 [1/1]
    Checking available disk space...                                           [1/1]
    Reinstalling glee (5.4.0-4)...                                             [1/1]
    Running post-transaction hooks:
    Arming ConditionNeedsUpdate...                                             [1/1]
    
    Building glee...
    Cloning into 'glee'...
    remote: Enumerating objects: 11, done.
    remote: Counting objects: 100% (11/11), done.
    remote: Compressing objects: 100% (10/10), done.
    remote: Total 11 (delta 1), reused 11 (delta 1)
    Unpacking objects: 100% (11/11), done.
    ==> Making package: glee 5.4.0-4 (Mo 23 Jul 2018 05:59:23 CEST)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
      -> Downloading GLee-5.4.0-src.tar.gz...
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  263k  100  263k    0     0  1078k      0 --:--:-- --:--:-- --:--:-- 1078k
      -> Found glee.pc
      -> Found Makefile
    ==> Validating source files with sha512sums...
        GLee-5.4.0-src.tar.gz ... Passed
        glee.pc ... Passed
        Makefile ... Passed
    ==> Extracting sources...
      -> Extracting GLee-5.4.0-src.tar.gz with bsdtar
    ==> Starting build()...
    cc -o GLee.shared.o -c GLee.c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC
    g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared \
    	-Wl,-soname,libGLee.so.5 \
    	-o libGLee.so.5.4 \
    	GLee.shared.o -o libGLee.so.5.4 -lGL
    rm -f libGLee.so.5
    ln -s libGLee.so.5.4 libGLee.so.5
    rm -f libGLee.so
    ln -s libGLee.so.5 libGLee.so
    ==> Entering fakeroot environment...
    ==> Starting package()...
    install -d "/tmp/pamac-build-phil/glee/pkg/glee/usr/lib/"
    cp -a *.so* "/tmp/pamac-build-phil/glee/pkg/glee/usr/lib/"
    install -d "/tmp/pamac-build-phil/glee/pkg/glee/usr/include/"
    install -Dm644 *.h "/tmp/pamac-build-phil/glee/pkg/glee/usr/include/"
    install -d "/tmp/pamac-build-phil/glee/pkg/glee/usr/lib/pkgconfig/"
    install -Dm644 glee.pc "/tmp/pamac-build-phil/glee/pkg/glee/usr/lib/pkgconfig/"
    install -d  "/tmp/pamac-build-phil/glee/pkg/glee/usr/share/licenses/glee"
    sed '9,32!d' readme.txt > "/tmp/pamac-build-phil/glee/pkg/glee/usr/share/licenses/glee/LICENSE"
    ==> Tidying install...
      -> Removing libtool files...
      -> Purging unwanted files...
      -> Removing static library files...
      -> Stripping unneeded symbols from binaries and libraries...
      -> Compressing man and info pages...
    ==> Checking for packaging issues...
    ==> Creating package "glee"...
      -> Generating .PKGINFO file...
      -> Generating .BUILDINFO file...
      -> Generating .MTREE file...
      -> Compressing package...
    ==> Leaving fakeroot environment.
    ==> Finished making: glee 5.4.0-4 (Mo 23 Jul 2018 05:59:29 CEST)
    ==> Cleaning up...
    
    Warning: glee-5.4.0-4 ist aktuell -- Reinstalliere
    Resolving dependencies...
    Checking inter-conflicts...
    Checking keyring...                                                        [1/1]
    Checking integrity...                                                      [1/1]
    Loading packages files...                                                  [1/1]
    Checking file conflicts...                                                 [1/1]
    Checking available disk space...                                           [1/1]
    Reinstalling glee (5.4.0-4)...                                             [1/1]
    Running post-transaction hooks:
    Arming ConditionNeedsUpdate...                                             [1/1]
    
    Building glee...
    Cloning into 'glee'...
    remote: Enumerating objects: 11, done.
    remote: Counting objects: 100% (11/11), done.
    remote: Compressing objects: 100% (10/10), done.
    remote: Total 11 (delta 1), reused 11 (delta 1)
    Unpacking objects: 100% (11/11), done.
    ==> Making package: glee 5.4.0-4 (Mo 23 Jul 2018 05:59:31 CEST)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
      -> Downloading GLee-5.4.0-src.tar.gz...
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  263k  100  263k    0     0  1061k      0 --:--:-- --:--:-- --:--:-- 1061k
      -> Found glee.pc
      -> Found Makefile
    ==> Validating source files with sha512sums...
        GLee-5.4.0-src.tar.gz ... Passed
        glee.pc ... Passed
        Makefile ... Passed
    ==> Extracting sources...
      -> Extracting GLee-5.4.0-src.tar.gz with bsdtar
    ==> Starting build()...
    cc -o GLee.shared.o -c GLee.c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC
    ^Cmake: *** Deleting file 'GLee.shared.o'
    make: *** [Makefile:34: GLee.shared.o] Interrupt
    
    Transaction cancelled.
    
    (pamac:21705): GLib-GIO-CRITICAL **: 05:59:32.246: g_application_release: assertion 'application->priv->use_count > 0' failed
    
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment