Opened 10 years ago

Closed 10 years ago

#42988 closed defect (fixed)

linuxdoc-tools @0.9.67 build failure with new flex

Reported by: silverdr@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: haspatch Cc: cooljeanius (Eric Gallager)
Port: linuxdoc-tools

Description

[...]
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ta
rballs_ports_textproc_linuxdoc-tools/linuxdoc-tools/work/linuxdoc-tools-0.9.67/sgmlpre'                                             
:info:build /usr/bin/clang -Os -arch x86_64  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64  sgmlpre.c   -o sgmlpre 
:info:build sgmlpre.l:30:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]                                     
:info:build static nest;                    /* how deep are we nested? */                                                           
:info:build ~~~~~~ ^                                                                                                                
:info:build sgmlpre.l:31:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]                                     
:info:build static ifsense;                 /* sense of last `if' or unless seen */                                                 
:info:build ~~~~~~ ^                                                                                                                
:info:build sgmlpre.l:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]                                     
:info:build static firstoff;                /* nesting depth of first turnoff */                                                    
:info:build ~~~~~~ ^                                                                                                                
:info:build sgmlpre.l:130:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]                                    
:info:build main(int argc, char *argv[])                                                                                            
:info:build ^~~~                                                                                                                    
:info:build 4 warnings generated.                                                                                                   
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tar
balls_ports_textproc_linuxdoc-tools/linuxdoc-tools/work/linuxdoc-tools-0.9.67/sgmlpre'                                              
:info:build Compiling RTF conversion tools (in rtf-fix/)...                                                                         
:info:build ( cd rtf-fix ; \                                                                                                        
:info:build       /Applications/Xcode.app/Contents/Developer/usr/bin/make CFLAGS="-Os -arch x86_64" LDFLAGS="-L/opt/local/lib -Wl,-h
eaderpad_max_install_names -arch x86_64" || exit -1 )                                                                               
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ta
rballs_ports_textproc_linuxdoc-tools/linuxdoc-tools/work/linuxdoc-tools-0.9.67/rtf-fix'                                             
:info:build flex -t rtf2rtf.l>rtf2rtf.c                                                                                             
:info:build /usr/bin/clang -Os -arch x86_64 -o rtf2rtf rtf2rtf.c -lfl                                                               
:info:build rtf2rtf.l:74:12: error: redefinition of 'yyleng' with a different type: 'int' vs 'yy_size_t' (aka 'unsigned long')      
:info:build extern int yyleng;                                                                                                      
:info:build            ^                                                                                                            
:info:build <stdout>:275:11: note: previous definition is here                                                                      
:info:build yy_size_t yyleng;                                                                                                       
:info:build           ^                                                                                                             
:info:build 1 error generated.                                                                                                      
:info:build make[1]: *** [rtf2rtf] Error 1                                                                                          
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tar
balls_ports_textproc_linuxdoc-tools/linuxdoc-tools/work/linuxdoc-tools-0.9.67/rtf-fix'                                              
:info:build make: *** [all] Error 255                                                                                               
[...]

Change History (6)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: michael.klein@… removed
Keywords: mavericks added; Mavericks removed
Owner: changed from macports-tickets@… to michael.klein@…
Priority: HighNormal

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from michael.klein@… to macports-tickets@…

Michael has relinquished maintainer. See r118706.

comment:3 Changed 10 years ago by cooljeanius (Eric Gallager)

Also fails with the same error under 10.6. Looks like flex is generating bad code.

comment:4 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added; mavericks removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned
Summary: linuxdoc-tools @0.9.67 build failure under 10.9linuxdoc-tools @0.9.67 build failure with new flex

comment:6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.