Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#33354 closed defect (fixed)

libdbi: error: invalid value '4' in '-O20'

Reported by: reubano (Reuben Cummings) Owned by: mtalexander (Mike Alexander)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: clang Cc:
Port: libdbi

Description

MacOSX 10.7.2

Xcode 4.2.1

Build version 4D502

--->  Fetching archive for libdbi
--->  Attempting to fetch libdbi-0.8.3_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/libdbi
--->  Fetching libdbi
--->  Attempting to fetch libdbi-0.8.3.tar.gz from http://kent.dl.sourceforge.net/libdbi
--->  Verifying checksum(s) for libdbi
--->  Extracting libdbi
--->  Applying patches to libdbi
--->  Configuring libdbi
--->  Building libdbi
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for libdbi is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_libdbi/libdbi/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (1)

main.log (20.2 KB) - added by reubano (Reuben Cummings) 12 years ago.
Log for libdbi

Download all attachments as: .zip

Change History (11)

Changed 12 years ago by reubano (Reuben Cummings)

Attachment: main.log added

Log for libdbi

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Keywords: gnucash removed
Priority: HighNormal

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

Cc: mta@… removed
Owner: changed from macports-tickets@… to mta@…

This might be a clang issue. See if the suggestion there helps.

comment:3 Changed 12 years ago by reubano (Reuben Cummings)

Awesome, that was it!

comment:4 Changed 12 years ago by mf2k (Frank Schima)

So which compiler worked for you?

comment:5 Changed 12 years ago by reubano (Reuben Cummings)

llvm-gcc-4.2

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

Keywords: clang added
Summary: libdbi @0.8.3 Build errorlibdbi: error: invalid value '4' in '-O20'

Same error reported for libdbi-drivers in #34123. We should not change the port to use llvm-gcc-4.2 instead of clang; we should instead fix the port so it doesn't try to use the invalid optimization value -O20.

comment:7 Changed 12 years ago by reubano (Reuben Cummings)

FYI. Error is still present in libdbi-0.8.3_1

comment:8 in reply to:  7 ; Changed 12 years ago by jmroot (Joshua Root)

Replying to reubano@…:

FYI. Error is still present in libdbi-0.8.3_1

That's the same version the port was at when this was originally reported...

comment:9 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

comment:10 in reply to:  8 Changed 12 years ago by reubano (Reuben Cummings)

Replying to jmr@…:

Replying to reubano@…:

FYI. Error is still present in libdbi-0.8.3_1

That's the same version the port was at when this was originally reported...

Oh ok, I hadn't noticed that the version was the same. I just assumed that since so much time had passed there would have been a new version. Thanks for the patch!

Note: See TracTickets for help on using tickets.