Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2018 02:23:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 231044] Makefile in aalib-1.4.0 requires CFLAGS to have -I/usr/local/include
Message-ID:  <bug-231044-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231044

            Bug ID: 231044
           Summary: Makefile in aalib-1.4.0 requires CFLAGS to have
                    -I/usr/local/include
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dclarke@blastwave.org
                CC: amdmi3@FreeBSD.org, vbox@FreeBSD.org
                CC: amdmi3@FreeBSD.org, vbox@FreeBSD.org

A normal make results in an error that slang.h can not be found and if=20
aalib-1.4.0 is a downstream dependency on another build then we see :=20

.
.
.
cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector -fno-strict-alia=
sing
-I/usr/local/include/slang -c aalinux.c -o aalinux.o >/dev/null 2>&1
--- aaslang.lo ---
*** [aaslang.lo] Error code 1

make[7]: stopped in /usr/ports/graphics/aalib/work/aalib-1.4.0/src
--- aalinux.lo ---
mv -f .libs/aalinux.lo aalinux.lo
--- aafastre.lo ---
cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector -fno-strict-alia=
sing
-I/usr/local/include/slang -c aafastre.c -o aafastre.o >/dev/null 2>&1
--- aafont.lo ---
mv -f .libs/aafont.lo aafont.lo
--- aafastre.lo ---
mv -f .libs/aafastre.lo aafastre.lo
--- aamktabl.lo ---
mv -f .libs/aamktabl.lo aamktabl.lo
1 error

make[7]: stopped in /usr/ports/graphics/aalib/work/aalib-1.4.0/src
*** [all-recursive] Error code 1

make[6]: stopped in /usr/ports/graphics/aalib/work/aalib-1.4.0
1 error

make[6]: stopped in /usr/ports/graphics/aalib/work/aalib-1.4.0
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make[5]: stopped in /usr/ports/graphics/aalib
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/graphics/aalib
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/devel/sdl12
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/devel/sdl12
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/emulators/virtualbox-ose
*** Error code 1

Stop.



The real truth is that slang.h can not be found.

a manual check revelas this and so I edit the Makefile and change the=20
CFLAGS line to insert -I/usr/local/include  before -I/usr/local/include/sla=
ng=20
and then all goes well.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231044-7788>