[MacPorts] #25708: libarchive variants and configure args fails to compile...breaks others

MacPorts noreply at macports.org
Fri Jul 16 08:44:25 PDT 2010


#25708: libarchive variants and configure args fails to compile...breaks others
------------------------------------------------------+---------------------
 Reporter:  gvibe06@…                                 |       Owner:  macports-tickets@…                   
     Type:  defect                                    |      Status:  new                                  
 Priority:  Normal                                    |   Milestone:                                       
Component:  ports                                     |     Version:  1.9.1                                
 Keywords:  libarchive cpio tar bzip2 bsdtar bsdcpio  |        Port:  libarchive                           
------------------------------------------------------+---------------------
 '''FYI - toby is the listed maintainer, no email domain listed under "port
 info libarchive"'''

 1.  Why is --without-lzma a default configure.arg when there is a variant
 to disable it?

 2.  Why are there not more variants to disable things that aren't needed
 (i.e. bsdtar, bsdcpio)?

 3.  Here is the crash that occurs every attempt (debug version attached):

 {{{
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I.  -I./libarchive -I./libarchive_fe
 -I/opt/local/include -I/opt/local/include/libxml2  -pipe -O2 -arch x86_64
 -MT tar/bsdtar-write.o -MD -MP -MF tar/.deps/bsdtar-write.Tpo -c -o tar
 /bsdtar-write.o `test -f 'tar/write.c' || echo './'`tar/write.c
 tar/tree.c:126: error: expected specifier-qualifier-list before 'HANDLE'
 tar/tree.c: In function 'tree_dump':
 tar/tree.c:183: error: 'struct tree' has no member named 'depth'
 tar/tree.c:184: error: 'struct tree' has no member named 'buff'
 tar/tree.c:186: error: 'struct tree' has no member named 'basename'
 tar/tree.c:198: error: 'struct tree' has no member named 'd'
 tar/tree.c: In function 'tree_push':
 tar/tree.c:226: error: 'struct tree' has no member named 'dirname_length'
 tar/tree.c: In function 'tree_append':
 tar/tree.c:238: error: 'struct tree' has no member named 'buff'
 tar/tree.c:239: error: 'struct tree' has no member named 'buff'
 tar/tree.c:239: error: 'struct tree' has no member named 'dirname_length'
 tar/tree.c:245: error: 'struct tree' has no member named 'dirname_length'
 tar/tree.c:246: error: 'struct tree' has no member named 'buff_length'
 tar/tree.c:247: error: 'struct tree' has no member named 'buff_length'
 tar/tree.c:248: error: 'struct tree' has no member named 'buff_length'
 tar/tree.c:249: error: 'struct tree' has no member named 'buff_length'
 tar/tree.c:250: error: 'struct tree' has no member named 'buff_length'
 tar/tree.c:251: error: 'struct tree' has no member named 'buff'
 tar/tree.c:251: error: 'struct tree' has no member named 'buff'
 tar/tree.c:251: error: 'struct tree' has no member named 'buff_length'
 tar/tree.c:253: error: 'struct tree' has no member named 'buff'
 tar/tree.c:255: error: 'struct tree' has no member named 'buff'
 tar/tree.c:255: error: 'struct tree' has no member named 'dirname_length'
 tar/tree.c:256: error: 'struct tree' has no member named 'path_length'
 tar/tree.c:256: error: 'struct tree' has no member named 'dirname_length'
 tar/tree.c:258: error: 'struct tree' has no member named 'dirname_length'
 tar/tree.c:260: error: 'struct tree' has no member named 'path_length'
 tar/tree.c:268: error: 'struct tree' has no member named 'basename'
 tar/tree.c: In function 'tree_open':
 tar/tree.c:286: error: 'struct tree' has no member named 'openCount'
 tar/tree.c:287: error: 'struct tree' has no member named 'd'
 tar/tree.c:287: error: 'INVALID_HANDLE_VALUE' undeclared (first use in
 this function)
 tar/tree.c:287: error: (Each undeclared identifier is reported only once
 tar/tree.c:287: error: for each function it appears in.)
 tar/tree.c: In function 'tree_ascend':
 tar/tree.c:338: error: 'struct tree' has no member named 'depth'
 tar/tree.c:342: error: 'struct tree' has no member named 'tree_errno'
 tar/tree.c:354: error: 'struct tree' has no member named 'openCount'
 tar/tree.c:361: error: 'struct tree' has no member named 'tree_errno'
 tar/tree.c: In function 'tree_pop':
 tar/tree.c:376: error: 'struct tree' has no member named 'buff'
 tar/tree.c:377: error: 'struct tree' has no member named 'buff'
 tar/tree.c:377: error: 'struct tree' has no member named 'dirname_length'
 tar/tree.c:382: error: 'struct tree' has no member named 'dirname_length'
 tar/tree.c:383: error: 'struct tree' has no member named 'buff'
 tar/tree.c:384: error: 'struct tree' has no member named 'basename'
 tar/tree.c:384: error: 'struct tree' has no member named 'buff'
 tar/tree.c:384: error: 'struct tree' has no member named 'dirname_length'
 tar/tree.c:385: error: 'struct tree' has no member named 'basename'
 tar/tree.c:386: error: 'struct tree' has no member named 'basename'
 tar/tree.c: In function 'tree_next':
 tar/tree.c:402: error: 'struct tree' has no member named 'visit_type'
 tar/tree.c:410: error: 'struct tree' has no member named 'd'
 tar/tree.c:410: error: 'INVALID_HANDLE_VALUE' undeclared (first use in
 this function)
 tar/tree.c:439: error: 'struct tree' has no member named 'visit_type'
 tar/tree.c:449: error: 'struct tree' has no member named 'openCount'
 tar/tree.c:450: error: 'struct tree' has no member named 'openCount'
 tar/tree.c:450: error: 'struct tree' has no member named 'maxOpenCount'
 tar/tree.c:451: error: 'struct tree' has no member named 'maxOpenCount'
 tar/tree.c:451: error: 'struct tree' has no member named 'openCount'
 tar/tree.c:456: error: 'struct tree' has no member named 'dirname_length'
 tar/tree.c:456: error: 'struct tree' has no member named 'path_length'
 tar/tree.c:465: error: 'struct tree' has no member named 'tree_errno'
 tar/tree.c:466: error: 'struct tree' has no member named 'visit_type'
 tar/tree.c:468: error: 'struct tree' has no member named 'depth'
 tar/tree.c:469: error: 'struct tree' has no member named 'visit_type'
 tar/tree.c:484: error: 'struct tree' has no member named 'visit_type'
 tar/tree.c:485: error: 'struct tree' has no member named 'visit_type'
 tar/tree.c:489: error: 'struct tree' has no member named 'flags'
 tar/tree.c:490: error: 'struct tree' has no member named 'flags'
 tar/tree.c:493: error: 'struct tree' has no member named 'visit_type'
 tar/tree.c: In function 'tree_dir_next_posix':
 tar/tree.c:542: error: 'struct tree' has no member named 'd'
 tar/tree.c:543: error: 'struct tree' has no member named 'd'
 tar/tree.c:546: error: 'struct tree' has no member named 'tree_errno'
 tar/tree.c:547: error: 'struct tree' has no member named 'visit_type'
 tar/tree.c:548: error: 'struct tree' has no member named 'visit_type'
 tar/tree.c:552: error: 'struct tree' has no member named 'de'
 tar/tree.c:552: error: 'struct tree' has no member named 'd'
 tar/tree.c:553: error: 'struct tree' has no member named 'de'
 tar/tree.c:554: error: 'struct tree' has no member named 'd'
 tar/tree.c:555: error: 'struct tree' has no member named 'd'
 tar/tree.c:555: error: 'INVALID_HANDLE_VALUE' undeclared (first use in
 this function)
 tar/tree.c:558: error: 'struct tree' has no member named 'de'
 tar/tree.c:559: error: 'struct tree' has no member named 'de'
 tar/tree.c:560: error: 'struct tree' has no member named 'flags'
 tar/tree.c:561: error: 'struct tree' has no member named 'flags'
 tar/tree.c:567: error: 'struct tree' has no member named 'visit_type'
 tar/tree.c: In function 'tree_errno':
 tar/tree.c:578: error: 'struct tree' has no member named 'tree_errno'
 tar/tree.c: In function 'tree_descend':
 tar/tree.c:588: error: 'struct tree' has no member named 'visit_type'
 tar/tree.c:592: error: 'struct tree' has no member named 'basename'
 tar/tree.c:595: error: 'struct tree' has no member named 'basename'
 tar/tree.c: In function 'tree_current_stat':
 tar/tree.c:606: error: 'struct tree' has no member named 'flags'
 tar/tree.c:607: error: 'struct tree' has no member named 'st'
 tar/tree.c:609: error: 'struct tree' has no member named 'flags'
 tar/tree.c:611: error: 'struct tree' has no member named 'st'
 tar/tree.c: At top level:
 tar/tree.c:615: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before '*' token
 tar/tree.c: In function 'tree_current_lstat':
 tar/tree.c:645: error: 'struct tree' has no member named 'flags'
 tar/tree.c:646: error: 'struct tree' has no member named 'lst'
 tar/tree.c:648: error: 'struct tree' has no member named 'flags'
 tar/tree.c:650: error: 'struct tree' has no member named 'lst'
 tar/tree.c: In function 'tree_current_is_dir':
 tar/tree.c:672: error: 'struct tree' has no member named 'flags'
 tar/tree.c: In function 'tree_current_is_physical_dir':
 tar/tree.c:714: error: 'struct tree' has no member named 'flags'
 tar/tree.c: In function 'tree_current_access_path':
 tar/tree.c:763: error: 'struct tree' has no member named 'basename'
 tar/tree.c: In function 'tree_current_path':
 tar/tree.c:772: error: 'struct tree' has no member named 'buff'
 tar/tree.c: In function 'tree_current_pathlen':
 tar/tree.c:781: error: 'struct tree' has no member named 'path_length'
 tar/tree.c: In function 'tree_current_depth':
 tar/tree.c:790: error: 'struct tree' has no member named 'depth'
 tar/tree.c: In function 'tree_close':
 tar/tree.c:802: error: 'struct tree' has no member named 'buff'
 make[1]: *** [tar/bsdtar-tree.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 mv -f tar/.deps/bsdtar-write.Tpo tar/.deps/bsdtar-write.Po
 make: *** [all] Error 2
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_libarchive/work/libarchive-2.8.4"
 && /usr/bin/make -j2 all " returned error 2
 Error: Target org.macports.build returned: shell command failed
 Warning: the following items did not execute (for libarchive):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Log for libarchive is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_libarchive/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 4. Here are the configure args that allow this port to build properly and
 still meet dependency requirements for other ports:

 --without-bsdtar --without-bsdcpio

-- 
Ticket URL: <http://trac.macports.org/ticket/25708>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list