Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2013 17:37:33 GMT
From:      Daniel Eischen <deischen@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/178666: graphics/xv broke by imake/clang
Message-ID:  <201305151737.r4FHbXd8017985@oldred.FreeBSD.org>
Resent-Message-ID: <201305151740.r4FHe0Iw079891@freefall.freebsd.org>

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

>Number:         178666
>Category:       ports
>Synopsis:       graphics/xv broke by imake/clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 15 17:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Eischen
>Release:        10.0-current
>Organization:
>Environment:
FreeBSD rigel 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r250391: Wed May  8 20:42:19 EDT 2013     deischen@rigel:/usr/obj/opt/FreeBSD/current/src/sys/rigel  amd64

>Description:
===>   xv-3.10a_15 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by xv-3.10a_15 for building
===>  Extracting for xv-3.10a_15
=> SHA256 Checksum OK for xv/xv-3.10a.tar.gz.
=> SHA256 Checksum OK for xv/xv-3.10a-jumbo-patches-20070520.tar.gz.
=> SHA256 Checksum OK for xv/xv-3.10a-enhancements.20070520-20081216.diff.
===>  Patching for xv-3.10a_15
===>  Applying distribution patches for xv-3.10a_15
===>  Applying FreeBSD patches for xv-3.10a_15
===>   xv-3.10a_15 depends on executable: imake - found
===>   xv-3.10a_15 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   xv-3.10a_15 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   xv-3.10a_15 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found
===>   xv-3.10a_15 depends on shared library: jpeg - found
===>   xv-3.10a_15 depends on shared library: tiff - found
===>   xv-3.10a_15 depends on shared library: png15 - found
===>   xv-3.10a_15 depends on shared library: jasper - found
===>  Configuring for xv-3.10a_15
===>   FreeBSD 10 autotools fix applied to /opt/FreeBSD/current/ports/graphics/xv/work/xv-3.10a/jpeg/configure
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/local/lib/X11/config
In file included from Imakefile.c:16:
In file included from /usr/local/lib/X11/config/Imake.tmpl:109:
/usr/local/lib/X11/config/FreeBSD.cf:451:35: error: '#' is not followed by a macro parameter
#define IncludeMakefile(file) @@# dependencies are in .depend
                                  ^
In file included from Imakefile.c:16:
In file included from /usr/local/lib/X11/config/Imake.tmpl:316:
/usr/local/lib/X11/config/Imake.rules:1674:27: warning: empty character constant [-Winvalid-pp-token]
        for flag in ${MAKEFLAGS} ''; do \                               @@\
                                 ^
/usr/local/lib/X11/config/Imake.rules:1897:35: error: '#' is not followed by a macro parameter
#define IncludeMakefile(file) @@# dependencies are in .depend
                                  ^
In file included from Imakefile.c:16:
/usr/local/lib/X11/config/Imake.tmpl:2144:10: fatal error: ' X11 .rules' file not found
#include ProjectRulesFile
         ^
/usr/local/lib/X11/config/Imake.tmpl:2142:35: note: expanded from macro 'ProjectRulesFile'
# define ProjectRulesFile       Concat3(<,TopLevelProject,.rules>)
                                        ^
/usr/local/lib/X11/config/Imake.rules:256:23: note: expanded from macro 'Concat3'
#define Concat3(a,b,c)a/**/b/**/c
                      ^
1 warning and 3 errors generated.
imake: Exit code 1.
  Stop.
===>  Building for xv-3.10a_15
"Makefile", line 12: Need an operator
"Makefile", line 13: Need an operator
"Makefile", line 16: Need an operator
"Makefile", line 17: Need an operator
"Makefile", line 18: Need an operator
"Makefile", line 19: Need an operator
"Makefile", line 21: Need an operator
"Makefile", line 325: Need an operator
"Makefile", line 326: Need an operator
"Makefile", line 327: Need an operator
"Makefile", line 1099: Need an operator
"Makefile", line 1100: Need an operator
"Makefile", line 1105: Need an operator
"Makefile", line 1106: Need an operator
"Makefile", line 1107: Need an operator
"Makefile", line 1380: Need an operator
"Makefile", line 2730: Need an operator
"Makefile", line 2731: Need an operator
"Makefile", line 2732: Need an operator
"Makefile", line 2961: Need an operator
"Makefile", line 2962: Need an operator
"Makefile", line 2965: Need an operator
"Makefile", line 2966: Need an operator
"Makefile", line 2967: Need an operator
"Makefile", line 2968: Need an operator
"Makefile", line 3971: Need an operator
"Makefile", line 5282: Need an operator
"Makefile", line 5527: Need an operator
"Makefile", line 5621: Need an operator
"Makefile", line 5622: Need an operator
"Makefile", line 5919: Need an operator
"Makefile", line 5920: Need an operator
"Makefile", line 5999: Need an operator
"Makefile", line 6000: Need an operator
"Makefile", line 6025: Need an operator
"Makefile", line 6026: Need an operator
"Makefile", line 6027: Missing dependency operator
make: fatal errors encountered -- cannot continue
*** [do-build] Error code 1

Stop in /opt/FreeBSD/current/ports/graphics/xv.

>How-To-Repeat:
Using a 10.0-current with the default compiler (CLANG), try building graphics/xv.
There is nothing special in /etc/make.conf:

BATCH=yes
WITH_NEW_XORG=true
WITH_KMS=true
WITH_PKGNG=yes
# added by use.perl 2013-04-15 01:29:26
PERL_VERSION=5.14.2

>Fix:


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



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