[MacPorts] #70822: lparse @1.1.2: error: parse.cc.h: No such file or directory

MacPorts noreply at macports.org
Tue May 13 14:42:41 UTC 2025


#70822: lparse @1.1.2: error: parse.cc.h: No such file or directory
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  nerdling
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.1
Resolution:                |   Keywords:
      Port:  lparse        |
---------------------------+----------------------

Comment (by barracuda156):

 Replying to [comment:2 ryandesign]:
 > Have you tried disabling parallel building?
 >
 > {{{
 > sudo port clean lparse
 > sudo port install lparse build.jobs=1
 > }}}

 Yes, it still fails in the same manner:
 {{{
 $ sudo port -v -n build lparse  build.jobs=1
 --->  Computing dependencies for lparse.
 --->  Fetching distfiles for lparse
 --->  Verifying checksums for lparse
 --->  Checksumming lparse-1.1.2.tar.gz
 --->  Extracting lparse
 --->  Extracting lparse-1.1.2.tar.gz
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_lparse/lparse/work"
 && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/lparse/lparse-1.1.2.tar.gz' |
 /usr/bin/gnutar --no-same-owner -xf -
 --->  Applying patches to lparse
 --->  Applying fix-bison-version-detection.patch
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_lparse/lparse/work/lparse-1.1.2"
 && /usr/bin/patch -t -N -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/science/lparse/files
 /fix-bison-version-detection.patch'
 patching file configure
 --->  Applying respect-flags.patch
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_lparse/lparse/work/lparse-1.1.2"
 && /usr/bin/patch -t -N -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/science/lparse/files
 /respect-flags.patch'
 patching file configure
 --->  Applying fix-recursive-make.patch
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_lparse/lparse/work/lparse-1.1.2"
 && /usr/bin/patch -t -N -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/science/lparse/files
 /fix-recursive-make.patch'
 patching file Makefile.base
 --->  Applying avoid-namespace-collisions.patch
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_lparse/lparse/work/lparse-1.1.2"
 && /usr/bin/patch -t -N -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/science/lparse/files
 /avoid-namespace-collisions.patch'
 patching file src/instance.cc
 patching file src/error.h
 patching file src/library.cc
 patching file src/extern.h
 patching file src/symbol.cc
 patching file src/error.cc
 --->  Configuring lparse
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_lparse/lparse/work/lparse-1.1.2"
 && ./configure
 --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_lparse/lparse/work/destroot/opt/local/bin
 CC="$CXX"
 Checking bison version ...3.8.2
 Checking whether -ldl works ...found
 Creating Makefile ...done
 Creating src/Makefile ...done
 Creating src/config.h...done
 You can compile lparse now by typing 'make'.
 --->  Building lparse
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_lparse/lparse/work/lparse-1.1.2"
 && /usr/bin/make -w lparse
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_lparse/lparse/work/lparse-1.1.2'
 cd src && /usr/bin/make
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_lparse/lparse/work/lparse-1.1.2/src'
 /usr/bin/g++-4.2 -pipe -O3 -arch ppc -c array.cc
 /usr/bin/g++-4.2 -pipe -O3 -arch ppc -c instance.cc
 /usr/bin/g++-4.2 -pipe -O3 -arch ppc -c literal.cc
 /usr/bin/g++-4.2 -pipe -O3 -arch ppc -c priority.cc
 /usr/bin/g++-4.2 -pipe -O3 -arch ppc -c term.cc
 /usr/bin/g++-4.2 -pipe -O3 -arch ppc -c debug.cc
 /usr/bin/g++-4.2 -pipe -O3 -arch ppc -c iterate.cc
 /usr/bin/g++-4.2 -pipe -O3 -arch ppc -c main.cc
 /usr/bin/g++-4.2 -pipe -O3 -arch ppc -c rule.cc
 /usr/bin/g++-4.2 -pipe -O3 -arch ppc -c error.cc
 bison --defines=parse.cc.h -o parse.cc parse.yy && mv parse.cc.h parse.h
 parse.yy: warning: 2 shift/reduce conflicts [-Wconflicts-sr]
 parse.yy: warning: 70 reduce/reduce conflicts [-Wconflicts-rr]
 parse.yy: note: rerun with option '-Wcounterexamples' to generate conflict
 counterexamples
 /usr/bin/g++-4.2 -pipe -O3 -arch ppc -c lex.cc
 /usr/bin/g++-4.2 -pipe -O3 -arch ppc -c parse.cc
 parse.cc:146:22: error: parse.cc.h: No such file or directory
 parse.cc:1251: error: ‘YYSTYPE’ has not been declared
 parse.cc:1268: error: ‘YYSTYPE’ does not name a type
 parse.cc: In function ‘int yyparse()’:
 parse.cc:1298: error: ‘YYSTYPE’ was not declared in this scope
 parse.cc:1298: error: expected `;' before ‘yyvsa’
 parse.cc:1299: error: ‘yyvs’ was not declared in this scope
 parse.cc:1299: error: ‘yyvsa’ was not declared in this scope
 parse.cc:1300: error: ‘yyvsp’ was not declared in this scope
 parse.cc:1309: error: expected `;' before ‘yyval’
 parse.cc:1321: error: ‘YYEMPTY’ was not declared in this scope
 parse.cc:1437: error: ‘YYEOF’ was not declared in this scope
 parse.cc:1443: error: ‘YYerror’ was not declared in this scope
 parse.cc:1449: error: ‘YYUNDEF’ was not declared in this scope
 parse.cc:1482: error: ‘yylval’ was not declared in this scope
 parse.cc:1515: error: ‘yyval’ was not declared in this scope
 parse.cc:2576: error: ‘YYEOF’ was not declared in this scope
 make[1]: *** [parse.o] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_lparse/lparse/work/lparse-1.1.2/src'
 make: *** [lparse] Error 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70822#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list