Opened 9 years ago

Closed 9 years ago

#32539 closed defect (fixed)

xqilla build failure when flex port is active

Reported by: dgonyier (Dwaine Gonyier) Owned by: arjen@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ryandesign (Ryan Schmidt)
Port: xqilla

Description

sudo port install xqilla
--->  Computing dependencies for xqilla
--->  Building xqilla
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for xqilla is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xqilla/xqilla/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Build log is attached.

Attachments (1)

main.log (94.4 KB) - added by dgonyier (Dwaine Gonyier) 9 years ago.
Port build log

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by dgonyier (Dwaine Gonyier)

Attachment: main.log added

Port build log

comment:1 Changed 9 years ago by dgonyier (Dwaine Gonyier)

Cc: dgonyier@… added

Cc Me!

comment:2 Changed 9 years ago by ryandesign (Ryan Schmidt)

Cc: dgonyier@… removed
Owner: changed from macports-tickets@… to arjen@…
Port: xqilla added

The first error in the log is:

/opt/local/include/FlexLexer.h:130: error: expected unqualified-id before numeric constant

Where does that file come from, by the way? I don't have it on my system, where xqilla builds fine.

port provides /opt/local/include/FlexLexer.h

comment:3 Changed 9 years ago by ryandesign (Ryan Schmidt)

Summary: xqilla build failurexqilla build failure when flex port is active

Upon further reflection I realize that FlexLexer.h is provided by the flex port. If I install the flex port, I can reproduce the error.

So the workaround for you is to deactivate the flex port for the duration of the xqilla build.

sudo port clean xqilla
sudo port -f deactivate flex
sudo port install xqilla
sudo port activate flex

comment:4 Changed 9 years ago by dgonyier (Dwaine Gonyier)

I tried the suggested workaround and xqilla built successfully.

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

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.