Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Pkgfile:
- # Description: LibXISF is C++ library that can read and write XISF files produced by PixInsight. It implement XISF 1.0 specification.
- # URL: https://gitea.nouspiro.space/nou/libXISF
- # Maintainer: Andrey Orlov
- # Depends on: lz4 zlib
- name=libxisf
- version=0.2.9
- release=1
- source=(https://gitea.nouspiro.space/nou/libXISF/archive/v$version.tar.gz)
- build() {
- cd $name
- cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
- cmake --build build --parallel
- cmake -DCMAKE_INSTALL_PREFIX=/usr . && make install
- }
- Build log:
- # pkgmk
- =======> WARNING: Signature file not found, falling back to old md5sum checking.
- =======> Building '/home/andrey/libxisf/libxisf#0.2.9-1.pkg.tar.gz'.
- bsdtar -p -o -C /home/andrey/libxisf/work/src -xf /home/andrey/libxisf/v0.2.9.tar.gz
- + build
- + cd libxisf
- + cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
- -- The CXX compiler identification is GNU 12.4.0
- -- The C compiler identification is GNU 12.4.0
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Check for working CXX compiler: /usr/bin/c++ - skipped
- -- Detecting CXX compile features
- -- Detecting CXX compile features - done
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Check for working C compiler: /usr/bin/cc - skipped
- -- Detecting C compile features
- -- Detecting C compile features - done
- -- Found PkgConfig: /usr/bin/pkg-config (found version "2.3.0")
- -- Checking for module 'libzstd'
- -- Found libzstd, version 1.5.6
- -- Configuring done (0.3s)
- -- Generating done (0.0s)
- -- Build files have been written to: /home/andrey/libxisf/work/src/libxisf/build
- + cmake --build build --parallel
- [ 3%] Building CXX object CMakeFiles/XISF.dir/libxisf.cpp.o
- [ 7%] Building CXX object CMakeFiles/XISF.dir/bytearray.cpp.o
- [ 11%] Building CXX object CMakeFiles/XISF.dir/streambuffer.cpp.o
- [ 14%] Building CXX object CMakeFiles/XISF.dir/utils.cpp.o
- [ 18%] Building CXX object CMakeFiles/XISF.dir/variant.cpp.o
- [ 22%] Building C object CMakeFiles/XISF.dir/lz4/lz4.c.o
- [ 25%] Building C object CMakeFiles/XISF.dir/lz4/lz4hc.c.o
- [ 29%] Building CXX object CMakeFiles/XISF.dir/pugixml/pugixml.cpp.o
- [ 33%] Building C object CMakeFiles/XISF.dir/zlib/adler32.c.o
- [ 37%] Building C object CMakeFiles/XISF.dir/zlib/compress.c.o
- [ 40%] Building C object CMakeFiles/XISF.dir/zlib/crc32.c.o
- [ 44%] Building C object CMakeFiles/XISF.dir/zlib/deflate.c.o
- [ 48%] Building C object CMakeFiles/XISF.dir/zlib/gzclose.c.o
- [ 51%] Building C object CMakeFiles/XISF.dir/zlib/gzlib.c.o
- [ 55%] Building C object CMakeFiles/XISF.dir/zlib/gzread.c.o
- [ 59%] Building C object CMakeFiles/XISF.dir/zlib/gzwrite.c.o
- [ 62%] Building C object CMakeFiles/XISF.dir/zlib/inflate.c.o
- [ 66%] Building C object CMakeFiles/XISF.dir/zlib/infback.c.o
- /home/andrey/libxisf/work/src/libxisf/zlib/gzlib.c: In function 'gz_open':
- /home/andrey/libxisf/work/src/libxisf/zlib/gzlib.c:14:17: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration]
- 14 | # define LSEEK lseek
- | ^~~~~
- /home/andrey/libxisf/work/src/libxisf/zlib/gzlib.c:254:9: note: in expansion of macro 'LSEEK'
- 254 | LSEEK(state->fd, 0, SEEK_END); /* so gzoffset() is correct */
- | ^~~~~
- /home/andrey/libxisf/work/src/libxisf/zlib/gzread.c: In function 'gz_load':
- /home/andrey/libxisf/work/src/libxisf/zlib/gzread.c:35:15: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
- 35 | ret = read(state->fd, buf + *have, get);
- | ^~~~
- | fread
- [ 70%] Building C object CMakeFiles/XISF.dir/zlib/inftrees.c.o
- [ 74%] Building C object CMakeFiles/XISF.dir/zlib/inffast.c.o
- /home/andrey/libxisf/work/src/libxisf/zlib/gzread.c: In function 'gzclose_r':
- /home/andrey/libxisf/work/src/libxisf/zlib/gzread.c:647:11: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
- 647 | ret = close(state->fd);
- | ^~~~~
- | pclose
- /home/andrey/libxisf/work/src/libxisf/zlib/gzwrite.c: In function 'gz_comp':
- /home/andrey/libxisf/work/src/libxisf/zlib/gzwrite.c:89:20: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
- 89 | writ = write(state->fd, strm->next_in, put);
- | ^~~~~
- | fwrite
- /home/andrey/libxisf/work/src/libxisf/zlib/gzwrite.c: In function 'gzclose_w':
- /home/andrey/libxisf/work/src/libxisf/zlib/gzwrite.c:673:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
- 673 | if (close(state->fd) == -1)
- | ^~~~~
- | pclose
- [ 77%] Building C object CMakeFiles/XISF.dir/zlib/trees.c.o
- [ 81%] Building C object CMakeFiles/XISF.dir/zlib/uncompr.c.o
- [ 85%] Building C object CMakeFiles/XISF.dir/zlib/zutil.c.o
- [ 88%] Linking CXX shared library libXISF.so
- [ 88%] Built target XISF
- [ 92%] Building CXX object CMakeFiles/LibXISFTest.dir/test/main.cpp.o
- [ 96%] Building CXX object CMakeFiles/LibXISFTest.dir/test/benchmark.cpp.o
- [100%] Linking CXX executable LibXISFTest
- [100%] Built target LibXISFTest
- + cmake -DCMAKE_INSTALL_PREFIX=/usr .
- -- The CXX compiler identification is GNU 12.4.0
- -- The C compiler identification is GNU 12.4.0
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Check for working CXX compiler: /usr/bin/c++ - skipped
- -- Detecting CXX compile features
- -- Detecting CXX compile features - done
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Check for working C compiler: /usr/bin/cc - skipped
- -- Detecting C compile features
- -- Detecting C compile features - done
- -- Found PkgConfig: /usr/bin/pkg-config (found version "2.3.0")
- -- Checking for module 'libzstd'
- -- Found libzstd, version 1.5.6
- -- Configuring done (0.3s)
- -- Generating done (0.0s)
- -- Build files have been written to: /home/andrey/libxisf/work/src/libxisf
- + make install
- [ 3%] Building CXX object CMakeFiles/XISF.dir/bytearray.cpp.o
- [ 7%] Building CXX object CMakeFiles/XISF.dir/libxisf.cpp.o
- [ 11%] Building CXX object CMakeFiles/XISF.dir/streambuffer.cpp.o
- [ 14%] Building CXX object CMakeFiles/XISF.dir/utils.cpp.o
- [ 18%] Building CXX object CMakeFiles/XISF.dir/variant.cpp.o
- [ 22%] Building C object CMakeFiles/XISF.dir/lz4/lz4.c.o
- [ 25%] Building C object CMakeFiles/XISF.dir/lz4/lz4hc.c.o
- [ 29%] Building CXX object CMakeFiles/XISF.dir/pugixml/pugixml.cpp.o
- [ 33%] Building C object CMakeFiles/XISF.dir/zlib/adler32.c.o
- [ 37%] Building C object CMakeFiles/XISF.dir/zlib/compress.c.o
- [ 40%] Building C object CMakeFiles/XISF.dir/zlib/crc32.c.o
- [ 44%] Building C object CMakeFiles/XISF.dir/zlib/deflate.c.o
- [ 48%] Building C object CMakeFiles/XISF.dir/zlib/gzclose.c.o
- [ 51%] Building C object CMakeFiles/XISF.dir/zlib/gzlib.c.o
- /home/andrey/libxisf/work/src/libxisf/zlib/gzlib.c: In function 'gz_open':
- /home/andrey/libxisf/work/src/libxisf/zlib/gzlib.c:14:17: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration]
- 14 | # define LSEEK lseek
- | ^~~~~
- /home/andrey/libxisf/work/src/libxisf/zlib/gzlib.c:254:9: note: in expansion of macro 'LSEEK'
- 254 | LSEEK(state->fd, 0, SEEK_END); /* so gzoffset() is correct */
- | ^~~~~
- [ 55%] Building C object CMakeFiles/XISF.dir/zlib/gzread.c.o
- /home/andrey/libxisf/work/src/libxisf/zlib/gzread.c: In function 'gz_load':
- /home/andrey/libxisf/work/src/libxisf/zlib/gzread.c:35:15: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
- 35 | ret = read(state->fd, buf + *have, get);
- | ^~~~
- | fread
- /home/andrey/libxisf/work/src/libxisf/zlib/gzread.c: In function 'gzclose_r':
- /home/andrey/libxisf/work/src/libxisf/zlib/gzread.c:647:11: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
- 647 | ret = close(state->fd);
- | ^~~~~
- | pclose
- [ 59%] Building C object CMakeFiles/XISF.dir/zlib/gzwrite.c.o
- /home/andrey/libxisf/work/src/libxisf/zlib/gzwrite.c: In function 'gz_comp':
- /home/andrey/libxisf/work/src/libxisf/zlib/gzwrite.c:89:20: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
- 89 | writ = write(state->fd, strm->next_in, put);
- | ^~~~~
- | fwrite
- /home/andrey/libxisf/work/src/libxisf/zlib/gzwrite.c: In function 'gzclose_w':
- /home/andrey/libxisf/work/src/libxisf/zlib/gzwrite.c:673:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
- 673 | if (close(state->fd) == -1)
- | ^~~~~
- | pclose
- [ 62%] Building C object CMakeFiles/XISF.dir/zlib/inflate.c.o
- [ 66%] Building C object CMakeFiles/XISF.dir/zlib/infback.c.o
- [ 70%] Building C object CMakeFiles/XISF.dir/zlib/inftrees.c.o
- [ 74%] Building C object CMakeFiles/XISF.dir/zlib/inffast.c.o
- [ 77%] Building C object CMakeFiles/XISF.dir/zlib/trees.c.o
- [ 81%] Building C object CMakeFiles/XISF.dir/zlib/uncompr.c.o
- [ 85%] Building C object CMakeFiles/XISF.dir/zlib/zutil.c.o
- [ 88%] Linking CXX shared library libXISF.so
- [ 88%] Built target XISF
- [ 92%] Building CXX object CMakeFiles/LibXISFTest.dir/test/main.cpp.o
- [ 96%] Building CXX object CMakeFiles/LibXISFTest.dir/test/benchmark.cpp.o
- [100%] Linking CXX executable LibXISFTest
- [100%] Built target LibXISFTest
- Install the project...
- -- Install configuration: ""
- -- Up-to-date: /usr/include/libxisf.h
- -- Up-to-date: /usr/include/libXISF_global.h
- -- Installing: /usr/lib64/pkgconfig/libxisf.pc
- -- Installing: /usr/lib64/libXISF.so.0.2.9
- -- Up-to-date: /usr/lib64/libXISF.so.0
- -- Up-to-date: /usr/lib64/libXISF.so
- =======> Build result:
- bsdtar: *: Cannot stat: No such file or directory
- bsdtar: Error exit delayed from previous errors.
- =======> ERROR: Building '/home/andrey/libxisf/libxisf#0.2.9-1.pkg.tar.gz' failed.
- #
Advertisement
Add Comment
Please, Sign In to add comment