Solved ports-mgmt/synth 3.01 fails to build

Anyone know how to fix this issue when building ports-mgmt/synth ?

It looks like this issue first appeared in July during testing, but it was released on to the ports system anyways.


Code:
--------------------------------------------------------------------------------
--  Phase: build
--------------------------------------------------------------------------------
===>  Building for synth-3.01
(cd /construction/xports/ports-mgmt/synth/work/synth-3.01/src && /usr/bin/env NCURSES_LINK=static PATH=/usr/local/gnat12/bin:/construction/xports/ports-mgmt/synth/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin  ADA_PROJECT_PATH=/usr/local/lib/gnat XDG_DATA_HOME=/construction/xports/ports-mgmt/synth/work  XDG_CONFIG_HOME=/construction/xports/ports-mgmt/synth/work  XDG_CACHE_HOME=/construction/xports/ports-mgmt/synth/work/.cache  HOME=/construction/xports/ports-mgmt/synth/work TMPDIR="/tmp" PKG_CONFIG_LIBDIR=/construction/xports/ports-mgmt/synth/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"  gcc -c unix_core.c -o ../build/unix_core.o)
(cd /construction/xports/ports-mgmt/synth/work/synth-3.01/synthexec && /usr/bin/env NCURSES_LINK=static PATH=/usr/local/gnat12/bin:/construction/xports/ports-mgmt/synth/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin  ADA_PROJECT_PATH=/usr/local/lib/gnat XDG_DATA_HOME=/construction/xports/ports-mgmt/synth/work  XDG_CONFIG_HOME=/construction/xports/ports-mgmt/synth/work  XDG_CACHE_HOME=/construction/xports/ports-mgmt/synth/work/.cache  HOME=/construction/xports/ports-mgmt/synth/work TMPDIR="/tmp" PKG_CONFIG_LIBDIR=/construction/xports/ports-mgmt/synth/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"  gcc synthexec.c -o ../build/synthexec)
(cd /construction/xports/ports-mgmt/synth/work/synth-3.01 && /usr/bin/env NCURSES_LINK=static PATH=/usr/local/gnat12/bin:/construction/xports/ports-mgmt/synth/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin  ADA_PROJECT_PATH=/usr/local/lib/gnat XDG_DATA_HOME=/construction/xports/ports-mgmt/synth/work  XDG_CONFIG_HOME=/construction/xports/ports-mgmt/synth/work  XDG_CACHE_HOME=/construction/xports/ports-mgmt/synth/work/.cache  HOME=/construction/xports/ports-mgmt/synth/work TMPDIR="/tmp" PKG_CONFIG_LIBDIR=/construction/xports/ports-mgmt/synth/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" gprbuild -P default  -largs build/unix_core.o)
Compile
   [Ada]          synth.adb
   [Ada]          actions.adb
   [Ada]          parameters.adb
parameters.adb:53:22: error: missing argument for parameter "Config_File_Name" in call to "Init" declared at config.ads:65
gprbuild: *** compilation phase failed
*** Error code 4

Stop.
make: stopped in /xports/ports-mgmt/synth
 
Thanks, i just updated my ports tree (latest branch). It didnt build successfully at first because it requires the latest version of devel/adacurses to build.
I got this error below with previous version of devel/adacurses.
Code:
Bind
   [gprbind]      synth.bexch
   [Ada]          synth.ali
error: "terminal_interface.ali" not found, "terminal_interface.ads" must be compiled
gprbind: invocation of gnatbind failed
gprbuild: unable to bind synth.adb
*** Error code 4

Stop.
make[1]: stopped in /home/yusuf/Documents/ports/ports-mgmt/synth
*** Error code 1

Stop.
make: stopped in /home/yusuf/Documents/ports/ports-mgmt/synth

I updated devel/adacurses to version 20211021_2 and now it built fine.

I was looking for an alternative to poudriere and now i can try synth, thanks!

PR 279804
 
Back
Top