Opened 6 years ago

Closed 6 years ago

#56167 closed defect (fixed)

gtk-engines2 @2.20.2_4: unterminated variable reference

Reported by: willbprog127 (Will Brokenbourgh) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gtk-engines2

Description

After starting: port install gtk-engines2, the install fails, with the relevant part of the main.log below...

:info:configure config.status: executing depfiles commands
:info:configure config.status: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_gtk-engines2/gtk-engines2/work/gtk-engines-2.20.2':
:info:configure config.status: error: Something went wrong bootstrapping makefile fragments
:info:configure     for automatic dependency tracking.  Try re-running configure with the
:info:configure     '--disable-dependency-tracking' option to at least be able to build
:info:configure     the package (albeit without support for automatic dependency tracking).
:info:configure See `config.log' for more details
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_gtk-engines2/gtk-engines2/work/gtk-engines-2.20.2" && ./autogen.sh --prefix=/opt/local --enable-animation 
:info:configure Exit code: 1
:error:configure Failed to configure gtk-engines2, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_gtk-engines2/gtk-engines2/work/gtk-engines-2.20.2/config.log
:error:configure Failed to configure gtk-engines2: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_gtk-engines2/gtk-engines2/main.log for details.

Attachments (3)

port installation log - 2018-03-27.pdf (65.7 KB) - added by willbprog127 (Will Brokenbourgh) 6 years ago.
Build log for gtk-engines2
gtk-engines2-main.log (172.3 KB) - added by willbprog127 (Will Brokenbourgh) 6 years ago.
Build log for gtk-engines2
gtk-engines2-config.log (45.1 KB) - added by willbprog127 (Will Brokenbourgh) 6 years ago.
config.log for gtk-engines2

Download all attachments as: .zip

Change History (8)

Changed 6 years ago by willbprog127 (Will Brokenbourgh)

Build log for gtk-engines2

Changed 6 years ago by willbprog127 (Will Brokenbourgh)

Attachment: gtk-engines2-main.log added

Build log for gtk-engines2

comment:1 Changed 6 years ago by willbprog127 (Will Brokenbourgh)

Sorry about the .PDF attachment, please ignore it

comment:2 in reply to:  description ; Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to willbprog127:

:info:configure See `config.log' for more details

Could you attach this file?

Changed 6 years ago by willbprog127 (Will Brokenbourgh)

Attachment: gtk-engines2-config.log added

config.log for gtk-engines2

comment:3 in reply to:  2 Changed 6 years ago by willbprog127 (Will Brokenbourgh)

Replying to ryandesign:

Replying to willbprog127:

:info:configure See `config.log' for more details

Could you attach this file?

Done. :-)

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

Owner: set to ryandesign
Status: newaccepted
Summary: gtk-engines2 @2.20.2_4 (x11) error while buildinggtk-engines2 @2.20.2_4: unterminated variable reference

The config.log shows the problem is:

config.status:1529: cd test       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_gtk-engines2/gtk-engines2/work/.tmp/GmxrIM6u:905: *** unterminated variable reference.  Stop.

Debian found a similar problem—caused by a deficiency in automake—and developed a patch (the file 03_automake1.14.patch in the archive gtk2-engines_2.20.2-3.debian.tar.gz).

I do not see the problem on High Sierra, but I do see it on Snow Leopard as you do. I'm not sure why this difference exists (maybe it has to do with differences in the make that Apple ships on these systems), but the patch seems to let it work on both systems, so I'm going to commit it.

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

Resolution: fixed
Status: acceptedclosed

In 7e64b0de3018a4efe26583e905bb904a9e0fc196/macports-ports (master):

gtk-engines2: Work around automake bug

Fixes build failure on some systems, including Snow Leopard.

Closes: #56167

Note: See TracTickets for help on using tickets.