<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>124444</bug_id>
          
          <creation_ts>2006-02-28 10:59 0000</creation_ts>
          <short_desc>sys-freebsd/freebsd-ubin fails at usbhidaction.c</short_desc>
          <delta_ts>2006-04-12 10:50:28 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo/Alt</product>
          <component>Other</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>johan.vrolix@telenet.be</reporter>
          <assigned_to>bsd@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>johan.vrolix@telenet.be</who>
            <bug_when>2006-02-28 10:59:49 0000</bug_when>
            <thetext>Portage 2.1_pre5-r1 (!/usr/local/portage/portage-alt-overlay/profiles/default-bsd/fbsd/6.0/x86, gcc-, freebsd-lib-6.0-r0, 6.0-RELEASE i386)
=================================================================
System uname: 6.0-RELEASE i386 i386
Gentoo Base System version 20060222
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  6.0
ACCEPT_KEYWORDS=&quot;x86 x86-fbsd ~x86 ~x86-fbsd&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-gentoo-freebsd6.0&quot;
CFLAGS=&quot;-mtune=pentium3 -O2 -pipe -ftracer&quot;
CHOST=&quot;i686-gentoo-freebsd6.0&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-mtune=pentium3 -O2 -pipe -ftracer -fconserve-space -fvisibility-inlines-hidden&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig collision-protect distlocks sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://ftp.belnet.be/packages/gentoo&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage/portage-alt-overlay&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86-fbsd ipv6 nat ncurses nopie nossp oss pam readline ssl symlink tcpd usb elibc_FreeBSD kernel_FreeBSD userland_BSD&quot;
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

===&gt; usbhidaction (all)
Warning: Object directory not changed from original /var/tmp/portage/freebsd-ubin-6.0-r1/work/usr.bin/usbhidaction
i686-gentoo-freebsd6.0-gcc -mtune=pentium3 -O2 -pipe -ftracer   -c usbhidaction.c
usbhidaction.c:52:20: usbhid.h: No such file or directory
usbhidaction.c:67: error: field `item&apos; has incomplete type
usbhidaction.c:81: error: syntax error before &quot;report_desc_t&quot;
usbhidaction.c: In function `main&apos;:
usbhidaction.c:99: error: `report_desc_t&apos; undeclared (first use in this function)
usbhidaction.c:99: error: (Each undeclared identifier is reported only once
usbhidaction.c:99: error: for each function it appears in.)
usbhidaction.c:99: error: syntax error before &quot;repd&quot;
usbhidaction.c:156: error: `repd&apos; undeclared (first use in this function)
usbhidaction.c:162: error: `hid_input&apos; undeclared (first use in this function)
usbhidaction.c: At top level:
usbhidaction.c:264: error: syntax error before &quot;report_desc_t&quot;
usbhidaction.c: In function `parse_conf&apos;:
usbhidaction.c:273: error: storage size of &apos;h&apos; isn&apos;t known
usbhidaction.c:277: error: `conf&apos; undeclared (first use in this function)
usbhidaction.c:351: error: `repd&apos; undeclared (first use in this function)
usbhidaction.c:351: error: `hid_input&apos; undeclared (first use in this function)
usbhidaction.c:351: error: `reportid&apos; undeclared (first use in this function)
usbhidaction.c:351: warning: assignment makes pointer from integer without a cast
usbhidaction.c:390: error: `hid_collection&apos; undeclared (first use in this function)
usbhidaction.c:396: error: `hid_endcollection&apos; undeclared (first use in this function)
usbhidaction.c:404: error: `ignore&apos; undeclared (first use in this function)
*** Error code 1

Stop in /var/tmp/portage/freebsd-ubin-6.0-r1/work/usr.bin/usbhidaction.
*** Error code 1

Stop in /var/tmp/portage/freebsd-ubin-6.0-r1/work/usr.bin.

!!! ERROR: sys-freebsd/freebsd-ubin-6.0-r1 failed.
Call stack:
  ebuild.sh, line 1928:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile
  ebuild.sh, line 1643:   Called freebsd_src_compile
  freebsd.eclass, line 95:   Called bsdmk_src_compile

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2006-02-28 15:18:15 0000</bug_when>
            <thetext>A part that -fvisibility-inlines-hidden is going to hurt you *very* badly....

The problem is that the ebuild didn&apos;t symlink sys inside it, and was using the old method of patching the makefiles, but that makefile wasn&apos;t updated.
I&apos;ve updated the ebuild, will come in tomorrow&apos;s overlay snapshot; now it symlinks sys directory inside WORKDIR and avoid patching the makefiles where unneeded.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2006-02-28 15:18:48 0000</bug_when>
            <thetext>Forgot to resolve this as fixed :)

To the next!</thetext>
          </long_desc>
      
    </bug>

</bugzilla>