port astro/stellarium: /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/AngleMeasure/src/AngleMeasure.hpp, : File name too long,*** Error code 1

0 views
Skip to first unread message

O. Hartmann

unread,
Nov 27, 2011, 5:01:12 AM11/27/11
to Current FreeBSD, freebsd-...@freebsd.org
Hello,

since a couple of days for now I have on FreeBSD 10.0-CURRENT/amd64,
clang compiled, the following error updating or reinstalling or
installing the port astro/stellarium:

===> Vulnerability check disabled, database not found
===> License GPLv2 accepted by the user
===> Found saved configuration for stellarium-0.11.1
===> Extracting for stellarium-0.11.1
=> SHA256 Checksum OK for stellarium-0.11.1.tar.gz.
===> Patching for stellarium-0.11.1
sed:
/usr/ports/astro/stellarium/work/stellarium-0.11.1/src/core/external/fixx11h.h
/usr/ports/astro/stellarium/work/stellarium-0.11.1/src/CMakeLists.txt
/usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/TelescopeControl/src/TelescopeControl.hpp
/usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/Oculars/src/Oculars.hpp
/usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/CompassMarks/src/CompassMarks.hpp
/usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/TextUserInterface/src/TextUserInterface.hpp
/usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/Supernovae/src/Supernovae.hpp
/usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/SolarSystemEditor/src/SolarSystemEditor.hpp
/usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/Satellites/src/Satellites.hpp
/usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/HelloStelModule/src/HelloStelModule.hpp
/usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/TimeZoneConfiguration/src/TimeZoneConfiguration.hpp
/usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/AngleMeasure/src/AngleMeasure.hpp
: File name too long
*** Error code 1

Stop in /usr/ports/astro/stellarium.
*** Error code 1

I have no idea what the error cuases. I tried to delete everything and
reinstall, but the error seems to be very sticky. I checked the
/usr/ports partition (UFS2, UFS-Journaling on) several time for errors,
but it seems to be clean.

Any ideas what's going on?

Regards,
Oliver


signature.asc

Jan Beich

unread,
Nov 27, 2011, 5:24:15 AM11/27/11
to O. Hartmann, Cur...@freebsd.org, FreeBSD, Gábor Kövesdán
(add gabor@ to CC, drop questions@)

"O. Hartmann" <ohar...@zedat.fu-berlin.de> writes:

> ===> Patching for stellarium-0.11.1
> sed:
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/src/core/external/fixx11h.h
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/src/CMakeLists.txt
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/TelescopeControl/src/TelescopeControl.hpp
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/Oculars/src/Oculars.hpp
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/CompassMarks/src/CompassMarks.hpp
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/TextUserInterface/src/TextUserInterface.hpp
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/Supernovae/src/Supernovae.hpp
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/SolarSystemEditor/src/SolarSystemEditor.hpp
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/Satellites/src/Satellites.hpp
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/HelloStelModule/src/HelloStelModule.hpp
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/TimeZoneConfiguration/src/TimeZoneConfiguration.hpp
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/AngleMeasure/src/AngleMeasure.hpp
> : File name too long
> *** Error code 1

Do you use bsdgrep? ${GREP} -Rl --null ... | ${XARGS} -0 ... won't work.

$ gnugrep -l --null . /usr/include/md*.h | vis
/usr/include/md2.h\^@/usr/include/md4.h\^@/usr/include/md5.h\^@

$ bsdgrep -l --null . /usr/include/md*.h | vis
/usr/include/md2.h
/usr/include/md4.h
/usr/include/md5.h
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-curre...@freebsd.org"

Jan Beich

unread,
Nov 27, 2011, 6:07:30 AM11/27/11
to O. Hartmann, FreeBSD, Cur...@freebsd.org, Gábor Kövesdán
Jan Beich <jbe...@tormail.net> writes:

Oops, here is a diff. Non -l/-L case still seems to be broken.

$ echo t >a; echo t >b; echo t >c
$ gnugrep --null . ? | vis
a\^@t
b\^@t
c\^@t

$ bsdgrep --null . ? | vis
a\^@:t
b\^@:t
c\^@:t

Index: usr.bin/grep/util.c
===================================================================
--- usr.bin/grep/util.c (revision 228003)
+++ usr.bin/grep/util.c (working copy)
@@ -246,9 +246,9 @@ procfile(const char *fn)
printf("%u\n", c);
}
if (lflag && !qflag && c != 0)
- printf("%s\n", fn);
+ printf("%s%c", fn, nullflag ? 0 : '\n');
if (Lflag && !qflag && c == 0)
- printf("%s\n", fn);
+ printf("%s%c", fn, nullflag ? 0 : '\n');
if (c && !cflag && !lflag && !Lflag &&
binbehave == BINFILE_BIN && f->binary && !qflag)
printf(getstr(8), fn);

O. Hartmann

unread,
Nov 27, 2011, 7:38:19 AM11/27/11
to Jan Beich, FreeBSD, "Gábor Kö"@freebsd.org, vesdán
Am 11/27/11 11:24, schrieb Jan Beich:

Yes, I use bsdgrep. The switch is set to use it via /etc/src.conf.

Oliver

P.S. Pretty fast, thanks ;-)

signature.asc
Reply all
Reply to author
Forward
0 new messages