Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421039 - dev-util/source-highlight: KEYWORD *-fbsd
Summary: dev-util/source-highlight: KEYWORD *-fbsd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 356069
  Show dependency tree
 
Reported: 2012-06-13 23:35 UTC by Naohiro Aota
Modified: 2012-08-06 21:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (source-highlight-build.log,44.56 KB, text/plain)
2012-06-13 23:35 UTC, Naohiro Aota
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Naohiro Aota gentoo-dev 2012-06-13 23:35:10 UTC
Created attachment 315233 [details]
build.log

app-text/asciidoc failed to build with:

libtool: compile:  i686-gentoo-freebsd9.0-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../gl -I../../gl -I/usr/include/boost-1_49 -O2 -march=native -pipe -fomit-frame-pointer -c stopwatch.cpp  -fPIC -DPIC -o .libs/stopwatch.o
In file included from ../../gl/unistd.h:121:0,
                 from /usr/lib/gcc/i686-gentoo-freebsd9.0/4.5.3/include/g++-v4/i686-gentoo-freebsd9.0/bits/gthr-default.h:42,
                 from /usr/lib/gcc/i686-gentoo-freebsd9.0/4.5.3/include/g++-v4/i686-gentoo-freebsd9.0/bits/gthr.h:162,
                 from /usr/lib/gcc/i686-gentoo-freebsd9.0/4.5.3/include/g++-v4/ext/atomicity.h:34,
                 from /usr/lib/gcc/i686-gentoo-freebsd9.0/4.5.3/include/g++-v4/bits/ios_base.h:41,
                 from /usr/lib/gcc/i686-gentoo-freebsd9.0/4.5.3/include/g++-v4/ios:43,
                 from /usr/lib/gcc/i686-gentoo-freebsd9.0/4.5.3/include/g++-v4/ostream:40,
                 from /usr/lib/gcc/i686-gentoo-freebsd9.0/4.5.3/include/g++-v4/iostream:40,
                 from stopwatch.cpp:14:
../../gl/getopt.h:196:8: error: redefinition of 'struct option'
/usr/include/getopt.h:46:15: error: previous definition of 'struct option'
gmake[4]: *** [stopwatch.lo] Error 1
gmake[4]: *** Waiting for unfinished jobs....
In file included from ../../gl/unistd.h:121:0,
                 from /usr/include/boost-1_49/boost/config/stdlib/libstdcpp3.hpp:76,
                 from /usr/include/boost-1_49/boost/config.hpp:44,
                 from /usr/include/boost-1_49/boost/regex/config.hpp:43,
                 from /usr/include/boost-1_49/boost/regex.hpp:28,
                 from substfun.h:13,
                 from substfun.cpp:10:
../../gl/getopt.h:196:8: error: redefinition of 'struct option'
/usr/include/getopt.h:46:15: error: previous definition of 'struct option'
gmake[4]: *** [substfun.lo] Error 1

This is because the C file doesn't include config.h so that it cannot deal with gnulib's unistd.h or getopt.h properly. Upstream already fixed this with the commit following. I'll add this patch and add x86-fbsd KEYWORD if you don't see problem.

http://git.savannah.gnu.org/cgit/src-highlite.git/commit/?id=4978d781ddf461c3d0b252d8e5dccda06288e0b3
Comment 1 Naohiro Aota gentoo-dev 2012-06-16 00:24:13 UTC
Fixed mistaken package name.
Comment 2 Naohiro Aota gentoo-dev 2012-07-04 09:28:24 UTC
Tiziano, no problem? I'll commit in a week.
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2012-07-04 09:47:38 UTC
Not necessary. Upstream released 3.1.7 which contains that fix and I bumped it in the tree a couple of minutes ago.
Comment 4 Naohiro Aota gentoo-dev 2012-07-05 06:41:51 UTC
Thanks. ~x86-fbsd added.
Comment 5 Alexis Ballier gentoo-dev 2012-08-06 21:47:12 UTC
(In reply to comment #4)
> Thanks. ~x86-fbsd added.

closing then