nix
this derivation will be built:
smooth-0.9.10
/nix/store/9q3pfibwsphszcjmpmlvh5vxhggx417g-smooth-x86_64-unknown-linux-gnufilc0-0.9.10.drv
nix
this path will be fetched (5.21 MiB download, 39.13 MiB unpacked):
/nix/store/1r3w7p96xvkw6a5g31g1zw7q09h18xkp-source
smooth-0.9.10
Build started
→ unpackPhase
unpacking source archive /nix/store/1r3w7p96xvkw6a5g31g1zw7q09h18xkp-source
source root is source
→ patchPhase
→ updateAutotoolsGnuConfigScriptsPhase
→ updateAutotoolsGnuConfigScriptsPhase
→ configurePhase
patching script interpreter paths in ./configure
./configure: interpreter directive changed from "#!/bin/sh" to "/nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/sh"
configure flags: --prefix=/nix/store/0pc4bsppjw0ik20233wwczgdjv8zfzkr-smooth-x86_64-unknown-linux-gnufilc0-0.9.10 --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnufilc0
There is no need to run configure for building smooth. Just make sure
the following prerequisites are met before running make:
On Linux, *BSD, Solaris, Hurd:
- libbz2 / libbzip2 development package
- libcurl development package
- libfribidi development package
- libgtk+3.0 development package
- libjpeg development package
- libxml2 development package
- smooth uses a bundled version of libcpuid by default. To use
the library installed on your system, please build with
"make config=systemlibcpuid".
On macOS:
- Building smooth is supported on macOS 10.5.8 Leopard and later
using the Xcode Command Line Tools (no Xcode project file provided)
On Windows:
- Please use MSYS2 (https://www.msys2.org/) or Visual Studio 2022
with the msvc/smooth.sln project file to build smooth
When all prerequisites are met, simply run "make && make install".
→ buildPhase
build flags: SHELL=/nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash prefix=\$\(out\) config=systemlibbz2\,systemlibcpuid\,systemlibcurl\,systemlibfribidi\,systemlibiconv\,systemlibjpeg\,systemlibpng\,systemlibwebp\,systemlibxml2\,systemzlib
mkdir -p ./bin ./lib
cd classes && make && cd ..
make[1]: Entering directory '/build/source/classes'
cd backends && make && cd ..
make[2]: Entering directory '/build/source/classes/backends'
cd cocoa && make && cd .. && cd gdiplus && make && cd ..
make[3]: Entering directory '/build/source/classes/backends/cocoa'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/source/classes/backends/cocoa'
make[3]: Entering directory '/build/source/classes/backends/gdiplus'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/source/classes/backends/gdiplus'
cd haiku && make && cd .. && cd win32 && make && cd ..
make[3]: Entering directory '/build/source/classes/backends/haiku'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/source/classes/backends/haiku'
make[3]: Entering directory '/build/source/classes/backends/win32'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/source/classes/backends/win32'
cd xlib && make && cd ..
make[3]: Entering directory '/build/source/classes/backends/xlib'
/nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: pkg-config: command not found
/nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: pkg-config: command not found
clang++ -I"/build/source/classes/backends/xlib"/../../../include -fvisibility=hidden -fPIC -pthread -DSMOOTH_DLL -c backendxlib.cpp -o backendxlib.o
backendxlib.cpp:11:10: fatal error: 'gtk/gtk.h' file not found
11 | #include <gtk/gtk.h>
| ^~~~~~~~~~~
1 error generated.
make[3]: *** [../../../Makefile-commands:133: backendxlib.o] Error 1
make[3]: Leaving directory '/build/source/classes/backends/xlib'
make[2]: *** [../../Makefile-commands:111: allcmds] Error 2
make[2]: Leaving directory '/build/source/classes/backends'
make[1]: *** [Makefile:15: backends] Error 2
make[1]: Leaving directory '/build/source/classes'
make: *** [Makefile:287: objects] Error 2
error: Cannot build '/nix/store/9q3pfibwsphszcjmpmlvh5vxhggx417g-smooth-x86_64-unknown-linux-gnufilc0-0.9.10.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/0pc4bsppjw0ik20233wwczgdjv8zfzkr-smooth-x86_64-unknown-linux-gnufilc0-0.9.10
Last 25 log lines:
> make[3]: Nothing to be done for 'all'.
> make[3]: Leaving directory '/build/source/classes/backends/gdiplus'
> cd haiku && make && cd .. && cd win32 && make && cd ..
> make[3]: Entering directory '/build/source/classes/backends/haiku'
> make[3]: Nothing to be done for 'all'.
> make[3]: Leaving directory '/build/source/classes/backends/haiku'
> make[3]: Entering directory '/build/source/classes/backends/win32'
> make[3]: Nothing to be done for 'all'.
> make[3]: Leaving directory '/build/source/classes/backends/win32'
> cd xlib && make && cd ..
> make[3]: Entering directory '/build/source/classes/backends/xlib'
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: pkg-config: command not found
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: pkg-config: command not found
> clang++ -I"/build/source/classes/backends/xlib"/../../../include -fvisibility=hidden -fPIC -pthread -DSMOOTH_DLL -c backendxlib.cpp -o backendxlib.o
> backendxlib.cpp:11:10: fatal error: 'gtk/gtk.h' file not found
> 11 | #include <gtk/gtk.h>
> | ^~~~~~~~~~~
> 1 error generated.
> make[3]: *** [../../../Makefile-commands:133: backendxlib.o] Error 1
> make[3]: Leaving directory '/build/source/classes/backends/xlib'
> make[2]: *** [../../Makefile-commands:111: allcmds] Error 2
> make[2]: Leaving directory '/build/source/classes/backends'
> make[1]: *** [Makefile:15: backends] Error 2
> make[1]: Leaving directory '/build/source/classes'
> make: *** [Makefile:287: objects] Error 2
For full logs, run:
nix log /nix/store/9q3pfibwsphszcjmpmlvh5vxhggx417g-smooth-x86_64-unknown-linux-gnufilc0-0.9.10.drvEnd of log