[tor-bugs] #24358 [Applications/Tor bundles/installation]: flex error 32 linux build??? binutils

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Nov 19 21:26:47 UTC 2017


#24358: flex error 32 linux build??? binutils
-------------------------------------------------+-------------------------
     Reporter:  fedora0penchaos@…                |      Owner:  erinn
         Type:  defect                           |     Status:  new
     Priority:  Medium                           |  Milestone:
    Component:  Applications/Tor                 |    Version:
  bundles/installation                           |
     Severity:  Normal                           |   Keywords:  rbm-build
Actual Points:                                   |  Parent ID:
       Points:                                   |   Reviewer:
      Sponsor:                                   |
-------------------------------------------------+-------------------------
 gcc -DHAVE_CONFIG_H -I.  -I. -I./../include -I./../elfcpp
 -DLOCALEDIR="\"/var/tmp/dist/binutils/share/locale\""
 -DBINDIR="\"/var/tmp/dist/binutils/bin\""
 -DTOOLBINDIR="\"/var/tmp/dist/binutils/x86_64-unknown-linux-gnu/bin\""
 -DTOOLLIBDIR="\"/var/tmp/dist/binutils/x86_64-unknown-linux-gnu/lib\""
 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror
 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=yyscript.o -g -O2
 -MT yyscript.o -MD -MP -MF .deps/yyscript.Tpo -c -o yyscript.o yyscript.c
 yyscript.c:1:1: error: return type defaults to 'int' [-Werror=return-type]
 yyscript.c:1:1: error: function declaration isn't a prototype [-Werror
 =strict-prototypes]
 cc1: all warnings being treated as errors
 make[4]: *** [yyscript.o] Error 1
 make[4]: *** Waiting for unfinished jobs....
 mv -f .deps/workqueue.Tpo .deps/workqueue.Po
 mv -f .deps/stringpool.Tpo .deps/stringpool.Po
 mv -f .deps/symtab.Tpo .deps/symtab.Po
 make[4]: Leaving directory `/var/tmp/tmp.rWHRJpScJi/binutils-2.24/gold'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/var/tmp/tmp.rWHRJpScJi/binutils-2.24/gold'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/var/tmp/tmp.rWHRJpScJi/binutils-2.24/gold'
 make[1]: *** [all-gold] Error 2
 make[1]: Leaving directory `/var/tmp/tmp.rWHRJpScJi/binutils-2.24'
 make: *** [all] Error 2

 (What I got when building 32 bits linux Tor-Browser)
 I guess it is flex, so there needs to be flex library inside the container
 or my system?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24358>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list