tsaop / crux-kf5

CRUX ports for KDE Frameworks 5
9 stars 3 forks source link

libdbusmenu fails with a footprint mismatch #17

Closed TimB87 closed 1 year ago

TimB87 commented 1 year ago
=======> ERROR: Footprint mismatch found:
MISSING   drwxr-xr-x      root/root       usr/include/dbusmenu-qt5/CMakeFiles/Export/lib/
MISSING   drwxr-xr-x      root/root       usr/include/dbusmenu-qt5/CMakeFiles/Export/lib/cmake/
MISSING   drwxr-xr-x      root/root       usr/include/dbusmenu-qt5/CMakeFiles/Export/lib/cmake/dbusmenu-qt5/
NEW       drwxr-xr-x      root/root       usr/include/dbusmenu-qt5/CMakeFiles/Export/f208281107fa9108d97a497353de4878/
=======> ERROR: Building '/home/pkgmk/packages/libdbusmenu-qt5#0.9.3+16.04.20160218-1.pkg.tar.xz' failed.
prt-get: error while install

I have adjusted your build function to the following:

build() {
        cd ${name%5}-$version

        cmake -S . -B build -G Ninja \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DSYSCONF_INSTALL_DIR=/etc \
        -DLIB_INSTALL_DIR=/usr/lib \
        -DBUILD_TESTING=OFF \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
        -DCMAKE_BUILD_TYPE=Release \
        -DUSE_QT5=ON \
        -DCMAKE_INSTALL_LIBDIR=lib \
        -DWITH_DOC=OFF

        cmake --build build
        DESTDIR=$PKG cmake --install build
}

which results in a different mismatch:

=======> ERROR: Footprint mismatch found:                                                                                                                                                   
MISSING   drwxr-xr-x      root/root       usr/include/dbusmenu-qt5/CMakeFiles/                                                                                                              
MISSING   drwxr-xr-x      root/root       usr/include/dbusmenu-qt5/CMakeFiles/Export/                                                                                                       
MISSING   drwxr-xr-x      root/root       usr/include/dbusmenu-qt5/CMakeFiles/Export/lib/                                                                                                   
MISSING   drwxr-xr-x      root/root       usr/include/dbusmenu-qt5/CMakeFiles/Export/lib/cmake/                                                                                             
MISSING   drwxr-xr-x      root/root       usr/include/dbusmenu-qt5/CMakeFiles/Export/lib/cmake/dbusmenu-qt5/                                                                                
MISSING   drwxr-xr-x      root/root       usr/include/dbusmenu-qt5/CMakeFiles/dbusmenu-qt5.dir/                                                                                             
MISSING   drwxr-xr-x      root/root       usr/include/dbusmenu-qt5/CMakeFiles/dbusmenu-qt5.dir/dbusmenu-qt5_autogen/                                                                        
MISSING   drwxr-xr-x      root/root       usr/include/dbusmenu-qt5/CMakeFiles/dbusmenu-qt5_autogen.dir/                                                                                     
MISSING   drwxr-xr-x      root/root       usr/include/dbusmenu-qt5/dbusmenu-qt5_autogen/                                                                                                    
MISSING   drwxr-xr-x      root/root       usr/include/dbusmenu-qt5/dbusmenu-qt5_autogen/include/                                                                                            
MISSING   -rw-r--r--      root/root       usr/include/dbusmenu-qt5/dbusmenu-qt5_autogen/moc_predefs.h                                                                                       
MISSING   -rw-r--r--      root/root       usr/include/dbusmenu-qt5/dbusmenu_config.h                                                                                                        
MISSING   -rw-r--r--      root/root       usr/include/dbusmenu-qt5/dbusmenuadaptor.h                                                                                                        
=======> ERROR: Building '/home/pkgmk/packages/libdbusmenu-qt5#0.9.3+16.04.20160218-1.pkg.tar.xz' failed.

I want to doubt these files are needed, but I can report about that later on I guess.

tsaop commented 1 year ago

I've reworked the build arguments. Try it again and let me know if it solves it.

Thanks.

TimB87 commented 1 year ago

Hi, thank you, that fixed it for me :+1: