Bug 279870 - ports-mgmt/synth: build fails
Summary: ports-mgmt/synth: build fails
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dima Panov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-20 05:33 UTC by Robert William Vesterman
Modified: 2024-11-26 00:01 UTC (History)
8 users (show)

See Also:
bugzilla: maintainer-feedback? (fluffy)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert William Vesterman 2024-06-20 05:33:24 UTC
Here's the step that fails and the error message it gives:

-------------------------
ada -c -g -O2 -gnat12 -gnatyaAbBcdefhiklnOprsSxt -fstack-check -I- -gnatA /construction/xports/ports-mgmt/synth/work/synth-2.13/src/parameters.adb
parameters.adb:53:22: missing argument for parameter "Config_File_Name" in call to "Init" declared at config.ads:65
gnatmake: "/construction/xports/ports-mgmt/synth/work/synth-2.13/src/parameters.adb" compilation error
*** Error code 4

Stop.
make: stopped in /xports/ports-mgmt/synth
-------------------------

If there's any other information that might be helpful that I may be able to provide, please let me know. Thank you.
Comment 1 Jonathan Chen 2024-06-20 08:41:18 UTC
Currently, synth-2.13 will fail to build because:
  1. it needs to be patched to work with ini_file_manager-11
  2. the adacurses port is incomplete. Bug 279804
Comment 2 Ott Köstner 2024-07-19 16:11:23 UTC
(In reply to Robert William Vesterman from comment #0)

I confirm this:

ada -c -g -O2 -gnat12 -gnatyaAbBcdefhiklnOprsSxt -fstack-check -I- -gnatA /usr/ports/ports-mgmt/synth/work/synth-2.13/src/parameters.adb
parameters.adb:53:22: missing argument for parameter "Config_File_Name" in call to "Init" declared at config.ads:65
gnatmake: "/usr/ports/ports-mgmt/synth/work/synth-2.13/src/parameters.adb" compilation error
*** Error code 4

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

Stop.
make: stopped in /usr/ports/ports-mgmt/synth
Comment 3 Yusuf Yaman 2024-08-06 14:13:57 UTC
I am having same problem too on 14.1-RELEASE with Latest branch.
Comment 4 Roman 2024-08-12 12:40:17 UTC
+1 with 3.01 under 13.3-RELEASE-p5:

--------------------------------------------------------------------------------
--  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:/usr/local/libexec/ccache:/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  " CCACHE_DIR="/ccache" 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:/usr/local/libexec/ccache:/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  " CCACHE_DIR="/ccache" 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:/usr/local/libexec/ccache:/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  " CCACHE_DIR="/ccache" 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
Comment 5 Ken 2024-08-12 15:14:53 UTC
Synth also fails to build for me.

I'm running 13.3-RELEASE-p5

--------------------------------------------------------------------------------
--  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
Comment 6 commit-hook freebsd_committer freebsd_triage 2024-08-12 15:25:51 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6c568d3564185ac6c1a17f9000853b1cf5e2bf05

commit 6c568d3564185ac6c1a17f9000853b1cf5e2bf05
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2024-08-12 15:24:09 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2024-08-12 15:25:37 +0000

    ports-mgmt/synth: add missed patchfile, fixes the build (+)

    followup to 8df72f129d791a1d80b2d47e43fb2569ba865c95

    PR:     279870

 ports-mgmt/synth/files/patch-parameters.adb (new) | 11 +++++++++++
 1 file changed, 11 insertions(+)