[kde-freebsd] [Bug 177018] Can't build devel/xsd

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 11 20:56:01 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=177018

--- Comment #14 from Max Brazhnikov <makc at FreeBSD.org> ---
(In reply to Mikhail T. from comment #13)
> Created attachment 150485 [details]
> Patch gnu/dep and intel/dep (identical) to work with regular sed and sh
> 
> Dropping this patch into files/ fixes the problems for me -- no sed-errors,
> and dependencies are properly generated now. That, in turn, causes the
> missing file to be generated before it is used -- which for non-developers
> (such as people simply building the port) has the same effect, as the
> previously-suggested work-around was achieving...
> 
> Not sure, why this was not hurting all systems -- mine uses a non-standard
> PREFIX (/opt), not sure about Daniel's...

Now it fails for me with similar errors:

if test -f
/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/semantic-graph/annotation.o.d;
then mv
/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/semantic-graph/annotation.o.d
/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/semantic-graph/annotation.o.d.old;
fi && c++ 
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libfrontend-elements
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libcult/cult/arch/i386/i486/i586/i686/x86_64
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libcult/cult/arch/i386/i486/i586/i686
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libcult/cult/arch/i386/i486/i586
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libcult/cult/arch/i386/i486
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libcult/cult/arch/i386
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libcult/cult/arch/generic
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libcult
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libcult
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libcult/cult/arch/i386/i486/i586/i686/x86_64
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libcult/cult/arch/i386/i486/i586/i686
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libcult/cult/arch/i386/i486/i586
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libcult/cult/arch/i386/i486
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libcult/cult/arch/i386
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libcult/cult/arch/generic
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libcult
-I/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libcult  -O2 -pipe
-fstack-protector -fno-strict-aliasing -I/usr/local/include -M -MG -MP -MQ
/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/semantic-graph/annotation.o.d
-MQ
/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/semantic-graph/annotation.o
/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/semantic-graph/annotation.cxx
| /home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/build-0.3/c/gnu/dep
/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend
/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/xsd-frontend.l.cpp-options
>/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/semantic-graph/annotation.o.d
&& if test -f
/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/semantic-graph/annotation.o.d.old;
then if cmp -s
/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/semantic-graph/annotation.o.d
/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/semantic-graph/annotation.o.d.old;
then rm -f
/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/semantic-graph/annotation.o.d.old
&& false; else rm -f
/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/semantic-graph/annotation.o.d.old
&& true; fi fi
sed: 1: "s| xsd-frontend/| /home ...": unterminated substitute pattern

...

In file included from
/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/transformations/enum-synthesis.cxx:8,
                 from
/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/xsd/xsd/xsd.cxx:21:
/home/makc/dev/ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/semantic-graph.hxx:20:55:
error: xsd-frontend/semantic-graph/fundamental.hxx: No such file or directory

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


More information about the kde-freebsd mailing list