Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2013 20:41:39 GMT
From:      Garrett Cooper <yaneurabeya@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/178062: make depend broken on CURRENT with lib/libgpib for clang/gcc
Message-ID:  <201304222041.r3MKfdMD067791@red.freebsd.org>
Resent-Message-ID: <201304222050.r3MKo08x012047@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         178062
>Category:       conf
>Synopsis:       make depend broken on CURRENT with lib/libgpib for clang/gcc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 22 20:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        10-CURRENT
>Organization:
EMC Isilon
>Environment:
FreeBSD gran-tourismo.west.isilon.com 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r+ba9afe9: Fri Apr 19 20:29:10 PDT 2013     gcooper@gran-tourismo.west.isilon.com:/usr/obj/usr/src/sys/GRAN-TOURISMO  amd64
>Description:
I run into the following error on CURRENT when I try and run buildworld when MK_GPIB == "yes":

CC='clang' mkdep -f .depend -a     -std=gnu99   /home/gcooper/svn/onefs.3/src/lib/libgpib/ibfoo.c
/home/gcooper/svn/onefs.3/src/lib/libgpib/ibfoo.c:37:10: fatal error: 'dev/ieee488/ugpib.h' file not found
#include <dev/ieee488/ugpib.h>
         ^
1 error generated.
mkdep: compile failed

Similarly, if I use gcc (I have to hardcode it in the Makefile for some odd reason even though I specify CC=gcc), I run into the same error:

$ make depend
rm -f .depend
CC='gcc' mkdep -f .depend -a     -std=gnu99   /usr/src/lib/libgpib/ibfoo.c
/usr/src/lib/libgpib/ibfoo.c:37:31: error: dev/ieee488/ugpib.h: No such file or directory
/usr/src/lib/libgpib/ibfoo.c:38:35: error: dev/ieee488/ibfoo_int.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop.
make: stopped in /usr/src/lib/libgpib

It seems that things are being built out of order, or a change in the bsd.dep.mk/bsd.lib.mk was made to the extent that things no longer build in a sane manner.
>How-To-Repeat:
1. Checkout a recent copy of CURRENT.
2. cd lib/libgpib; make obj depend
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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