<?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>159383</bug_id>
          
          <creation_ts>2006-12-29 08:28 0000</creation_ts>
          <short_desc>portage-utils-0.1.22 fails to merge on gentoo/fbsd</short_desc>
          <delta_ts>2007-01-15 19:01:46 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>FreeBSD</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>FreeBSD</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>arachnist@gmail.com</reporter>
          <assigned_to>portage-utils@gentoo.org</assigned_to>
          <cc>bsd@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>arachnist@gmail.com</who>
            <bug_when>2006-12-29 08:28:16 0000</bug_when>
            <thetext>When i did &apos;emerge -uDNv world&apos; it failed at portage-utils with the following error message

&gt;&gt;&gt; Source unpacked.
&gt;&gt;&gt; Compiling source in /var/tmp/portage/app-portage/portage-utils-0.1.22/work/portage-utils-0.1.22 ...
: q : qatom : qcache : qcheck : qdepends : qfile : qgrep : qlist : qlop : qmerge : qpkg : qpy : qsearch : qsize : qtbz2 : quse : qxpak :
i686-gentoo-freebsd6.2-gcc -Os -march=pentium2 -pipe -funsigned-char main.c -o q
main.c: In function &apos;contents_parse_line&apos;:
main.c:378: error: expected &apos;(&apos; before &apos;__istype&apos;
main.c: In function &apos;initialize_flat&apos;:
main.c:661: warning: passing argument 3 of &apos;scandir&apos; from incompatible pointer type
main.c:672: warning: passing argument 3 of &apos;scandir&apos; from incompatible pointer type
main.c:693: warning: passing argument 3 of &apos;scandir&apos; from incompatible pointer type
main.c: In function &apos;get_vdb_atoms&apos;:
main.c:962: warning: passing argument 3 of &apos;scandir&apos; from incompatible pointer type
main.c:970: warning: passing argument 3 of &apos;scandir&apos; from incompatible pointer type
In file included from include_applets.h:2,
                 from main.c:1040:
qcheck.c: In function &apos;qcheck_main&apos;:
qcheck.c:150: warning: format &apos;%lu&apos; expects type &apos;long unsigned int&apos;, but argument 5 has type &apos;time_t&apos;
qcheck.c:174: warning: format &apos;%lu&apos; expects type &apos;long unsigned int&apos;, but argument 5 has type &apos;time_t&apos;
qcheck.c:190: warning: format &apos;%lu&apos; expects type &apos;long unsigned int&apos;, but argument 5 has type &apos;time_t&apos;
In file included from include_applets.h:5,
                 from main.c:1040:
qlist.c: In function &apos;qlist_main&apos;:
qlist.c:178: warning: passing argument 3 of &apos;scandir&apos; from incompatible pointer type
qlist.c:190: warning: passing argument 3 of &apos;scandir&apos; from incompatible pointer type
In file included from include_applets.h:6,
                 from main.c:1040:
qlop.c: In function &apos;show_merge_times&apos;:
qlop.c:161: warning: format &apos;%lu&apos; expects type &apos;long unsigned int&apos;, but argument 3 has type &apos;int&apos;
In file included from include_applets.h:11,
                 from main.c:1040:
qxpak.c: In function &apos;_xpak_add_file&apos;:
qxpak.c:273: warning: format &apos;%lu&apos; expects type &apos;long unsigned int&apos;, but argument 9 has type &apos;off_t&apos;
qxpak.c: In function &apos;xpak_create&apos;:
qxpak.c:319: warning: passing argument 3 of &apos;scandir&apos; from incompatible pointer type
In file included from include_applets.h:15,
                 from main.c:1040:
qmerge.c: In function &apos;pkg_merge&apos;:
qmerge.c:735: warning: format &apos;%lu&apos; expects type &apos;long unsigned int&apos;, but argument 6 has type &apos;time_t&apos;
qmerge.c:735: warning: format &apos;%lu&apos; expects type &apos;long unsigned int&apos;, but argument 6 has type &apos;time_t&apos;
qmerge.c:788: warning: format &apos;%lu&apos; expects type &apos;long unsigned int&apos;, but argument 7 has type &apos;time_t&apos;
qmerge.c:788: warning: format &apos;%lu&apos; expects type &apos;long unsigned int&apos;, but argument 7 has type &apos;time_t&apos;
In file included from qcache.c:16,
                 from include_applets.h:16,
                 from main.c:1040:
/usr/include/sys/dir.h:39:2: warning: #warning &quot;The information in this file should be obtained from &lt;dirent.h&gt;&quot;
/usr/include/sys/dir.h:40:2: warning: #warning &quot;and is provided solely (and temporarily) for backward compatibility.&quot;
In file included from include_applets.h:16,
                 from main.c:1040:
qcache.c: In function &apos;qcache_traverse&apos;:
qcache.c:520: warning: passing argument 3 of &apos;scandir&apos; from incompatible pointer type
qcache.c:535: warning: passing argument 3 of &apos;scandir&apos; from incompatible pointer type
qcache.c:560: warning: passing argument 3 of &apos;scandir&apos; from incompatible pointer type
qcache.c: In function &apos;qcache_stats&apos;:
qcache.c:781: warning: passing argument 3 of &apos;scandir&apos; from incompatible pointer type
gmake: *** [q] Error 1

!!! ERROR: app-portage/portage-utils-0.1.22 failed.
Call stack:
  ebuild.sh, line 1580:   Called dyn_compile
  ebuild.sh, line 945:   Called src_compile
  portage-utils-0.1.22.ebuild, line 22:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2007-01-10 15:36:49 0000</bug_when>
            <thetext>bug 161242 shows that this package can be compiled on fbsd again. 
Try pulling from cvs.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2007-01-15 19:01:46 0000</bug_when>
            <thetext>Pushed 0.1.23 into the tree which should fix this. If not please file a new bug.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>