Bug 159383 - portage-utils-0.1.22 fails to merge on gentoo/fbsd
Bug#: 159383 Product:  Gentoo/Alt Version: unspecified Platform: All
OS/Version: FreeBSD Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: portage-utils@gentoo.org Reported By: arachnist@gmail.com
Component: FreeBSD
URL: 
Summary: portage-utils-0.1.22 fails to merge on gentoo/fbsd
Keywords:  
Status Whiteboard: 
Opened: 2006-12-29 08:28 0000
Description:   Opened: 2006-12-29 08:28 0000
When i did 'emerge -uDNv world' it failed at portage-utils with the following
error message

>>> Source unpacked.
>>> 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 'contents_parse_line':
main.c:378: error: expected '(' before '__istype'
main.c: In function 'initialize_flat':
main.c:661: warning: passing argument 3 of 'scandir' from incompatible pointer
type
main.c:672: warning: passing argument 3 of 'scandir' from incompatible pointer
type
main.c:693: warning: passing argument 3 of 'scandir' from incompatible pointer
type
main.c: In function 'get_vdb_atoms':
main.c:962: warning: passing argument 3 of 'scandir' from incompatible pointer
type
main.c:970: warning: passing argument 3 of 'scandir' from incompatible pointer
type
In file included from include_applets.h:2,
                 from main.c:1040:
qcheck.c: In function 'qcheck_main':
qcheck.c:150: warning: format '%lu' expects type 'long unsigned int', but
argument 5 has type 'time_t'
qcheck.c:174: warning: format '%lu' expects type 'long unsigned int', but
argument 5 has type 'time_t'
qcheck.c:190: warning: format '%lu' expects type 'long unsigned int', but
argument 5 has type 'time_t'
In file included from include_applets.h:5,
                 from main.c:1040:
qlist.c: In function 'qlist_main':
qlist.c:178: warning: passing argument 3 of 'scandir' from incompatible pointer
type
qlist.c:190: warning: passing argument 3 of 'scandir' from incompatible pointer
type
In file included from include_applets.h:6,
                 from main.c:1040:
qlop.c: In function 'show_merge_times':
qlop.c:161: warning: format '%lu' expects type 'long unsigned int', but
argument 3 has type 'int'
In file included from include_applets.h:11,
                 from main.c:1040:
qxpak.c: In function '_xpak_add_file':
qxpak.c:273: warning: format '%lu' expects type 'long unsigned int', but
argument 9 has type 'off_t'
qxpak.c: In function 'xpak_create':
qxpak.c:319: warning: passing argument 3 of 'scandir' from incompatible pointer
type
In file included from include_applets.h:15,
                 from main.c:1040:
qmerge.c: In function 'pkg_merge':
qmerge.c:735: warning: format '%lu' expects type 'long unsigned int', but
argument 6 has type 'time_t'
qmerge.c:735: warning: format '%lu' expects type 'long unsigned int', but
argument 6 has type 'time_t'
qmerge.c:788: warning: format '%lu' expects type 'long unsigned int', but
argument 7 has type 'time_t'
qmerge.c:788: warning: format '%lu' expects type 'long unsigned int', but
argument 7 has type 'time_t'
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 "The information in this file
should be obtained from <dirent.h>"
/usr/include/sys/dir.h:40:2: warning: #warning "and is provided solely (and
temporarily) for backward compatibility."
In file included from include_applets.h:16,
                 from main.c:1040:
qcache.c: In function 'qcache_traverse':
qcache.c:520: warning: passing argument 3 of 'scandir' from incompatible
pointer type
qcache.c:535: warning: passing argument 3 of 'scandir' from incompatible
pointer type
qcache.c:560: warning: passing argument 3 of 'scandir' from incompatible
pointer type
qcache.c: In function 'qcache_stats':
qcache.c:781: warning: passing argument 3 of 'scandir' 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.

------- Comment #1 From solar 2007-01-10 15:36:49 0000 -------
bug 161242 shows that this package can be compiled on fbsd again. 
Try pulling from cvs.

------- Comment #2 From solar 2007-01-15 19:01:46 0000 -------
Pushed 0.1.23 into the tree which should fix this. If not please file a new
bug.