[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ada build problem with 6.5.20240504
From: |
G. Branden Robinson |
Subject: |
Re: Ada build problem with 6.5.20240504 |
Date: |
Mon, 6 May 2024 22:50:44 -0500 |
At 2024-05-06T15:20:14-0400, Thomas Dickey wrote:
> On Mon, May 06, 2024 at 07:18:33AM -0500, G. Branden Robinson wrote:
> > This isn't perfectly reproducible; a repeated attempt tends to
> > succeed.
> >
> > I use "make -j".[1] My guess is that a dependency is missing in
> > Ada95/examples/Makefile.
>
> hmm - I've been using gprbuild where it's available (which Debian
> usually has), and would overlook some cases where it's not used.
I'm not trying to avoid it; apart from ./configure options, my ncurses
is completely stock, build-system wise.
> > x86_64-linux-gnu-gcc-10 -c -I. -I../src -I./../src -gnatpn -O2 -I.
> > ncurses2-flushinp_test.adb
> > x86_64-linux-gnu-gnatbind-10 -aO. -aO../src -aO./../src -x tour.ali
> > x86_64-linux-gnu-gnatlink-10 tour.ali -L../lib -lAdaCurses -L../../lib
> > -lformw -lmenuw -lpanelw -lncursesw -ldb -ldb
> > x86_64-linux-gnu-gcc-10 -c -I. -I../src -I./../src -gnatpn -O2 -I.
> > ncurses2-getch_test.adb
> > /usr/bin/ld: cannot find -lAdaCurses
> > collect2: error: ld returned 1 exit status
> > x86_64-linux-gnu-gnatlink-10: error when calling
> > /usr/bin/x86_64-linux-gnu-gcc-10
> > gnatmake: *** link failed.
> > make[2]: *** [Makefile:165: tour] Error 4
> > x86_64-linux-gnu-gcc-10 -c -I. -I../src -I./../src -gnatpn -O2 -I.
> > ncurses2-getopt.adb
> > x86_64-linux-gnu-gcc-10 -c -I. -I../src -I./../src -gnatpn -O2 -I.
> > ncurses2-menu_test.adb
> > x86_64-linux-gnu-gcc-10 -c -I. -I../src -I./../src -gnatpn -O2 -I.
> > ncurses2-overlap_test.adb
> > x86_64-linux-gnu-gcc-10 -c -I. -I../src -I./../src -gnatpn -O2 -I.
> > ncurses2-slk_test.adb
> > x86_64-linux-gnu-gcc-10 -c -I. -I../src -I./../src -gnatpn -O2 -I.
> > ncurses2-test_sgr_attributes.adb
> > x86_64-linux-gnu-gcc-10 -c -I. -I../src -I./../src -gnatpn -O2 -I.
> > ncurses2-trace_set.adb
> > x86_64-linux-gnu-gnatbind-10 -aO. -aO../src -aO./../src -x ncurses.ali
> > x86_64-linux-gnu-gnatlink-10 ncurses.ali -L../lib -lAdaCurses -L../../lib
> > -lformw -lmenuw -lpanelw -lncursesw -ldb -ldb
> > /usr/bin/ld: cannot find -lAdaCurses
> > collect2: error: ld returned 1 exit status
> > x86_64-linux-gnu-gnatlink-10: error when calling
> > /usr/bin/x86_64-linux-gnu-gcc-10
> > gnatmake: *** link failed.
> > make[2]: *** [Makefile:162: ncurses] Error 4
> > make[2]: Leaving directory '/.../ncurses-snapshots/Ada95/samples'
> > make[1]: *** [Makefile:85: all] Error 2
> > make[1]: Leaving directory '/.../ncurses-snapshots/Ada95'
> > make: *** [Makefile:143: all] Error 2
> >
> > Regards,
> > Branden
> >
> > [1] My build script is pretty simple.
> >
> > $ cat ./ATTIC/remake-ncurses.sh
> > #!/bin/sh
> >
> > make distclean
> > config-ncurses && make -j10 && make install && groan
Here's my "config-ncurses" script. Some stuff I experimented with
months ago has been commented out ever since.
#!/bin/sh
# autoreconf-dickey -f -i
./configure \
--prefix=$HOME/ncurses-HEAD \
--with-shared \
--with-cxx-shared \
--with-hashed-db \
--with-manpage-format=normal \
--with-versioned-syms \
--enable-widec \
--enable-opaque-curses \
--enable-opaque-form \
--enable-opaque-menu \
--enable-opaque-panel \
# --with-shlib-version=rel \
# --with-ada-sharedlib \ "no GNAT project support"
# --with-config-suffix=GBRINFIX \
# --enable-pc-files \
# --with-pkg-config \
# --with-pc-suffix=GBRSUFFIX \
Is this a case of gprbuild doing things differently than GNU make and
GCC?
Regards,
Branden
signature.asc
Description: PGP signature