Opened 8 years ago

Last modified 15 months ago

#51921 assigned defect

libiodbc @3.52.12 +x11: error: use of undeclared identifier 'liburl' — at Version 5

Reported by: danielta Owned by: snc@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: libiodbc

Description (last modified by nerdling (Jeremy Lavergne))

The buildbot successfully built +x11 archive, but it actually lacks any GTK components.

Hi, upgrading the outdated ports, it stops at libiodbc with several errors. the first is:

:info:build drvconn.c:501:7: error: use of undeclared identifier 'liburl'

followed by other undeclared symbols. Please see attached log.

cheers

Change History (8)

Changed 8 years ago by danielta

Attachment: libiodbc_main.log added

main.log

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to snc@…
Summary: libiodbc returned: command execution failedlibiodbc @3.52.12: error: use of undeclared identifier 'liburl'

Agreed, libiodbc 3.52.12 fails to build for me too on El Capitan.

comment:2 Changed 8 years ago by nerdling (Jeremy Lavergne)

I need a full build log: this installs fine for me locally, and the build bot hasn't caught up to provide any missing pieces.

Changed 8 years ago by nerdling (Jeremy Lavergne)

succcessful build and install

comment:3 Changed 8 years ago by nerdling (Jeremy Lavergne)

Cc: ryandesign@… added

Buildbot just confirmed: successful build on El Capitan. Now I definitely need clean build/complete logs from either of you :-)

https://build.macports.org/builders/buildports-elcapitan-x86_64/builds/2654/steps/compile/logs/progress

Changed 8 years ago by danielta

Attachment: main.log added

clean_main.log

comment:4 in reply to:  3 Changed 8 years ago by danielta

I've run

port clean  libiodbc
port install  libiodbc

the problem is still there. there is also a broken link in download:

:msg:archivefetch --->  Attempting to fetch libiodbc-3.52.12_0+x11.darwin_15.x86_64.tbz2 from https://packages.macports.org/libiodbc
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found

see complete log attached. I'm running on El Captain 10.11.6.

any idea? thanks for you time. cheers d

Replying to snc@…:

Buildbot just confirmed: successful build on El Capitan. Now I definitely need clean build/complete logs from either of you :-)

https://build.macports.org/builders/buildports-elcapitan-x86_64/builds/2654/steps/compile/logs/progress

Last edited 8 years ago by danielta (previous) (diff)

comment:5 Changed 8 years ago by nerdling (Jeremy Lavergne)

Cc: ryandesign@… removed
Description: modified (diff)
Status: newassigned
Summary: libiodbc @3.52.12: error: use of undeclared identifier 'liburl'libiodbc @3.52.12 +x11: error: use of undeclared identifier 'liburl'
Version: 2.3.4

The broken link during archivefetch is MacPorts looking for a pre-built archive. It should become available once the buildbot is finished (which has occurred, so it has become a workaround on the next clean run of sudo port install libiodbc).

It looks like the difference between the build logs is GTK. The buildbot didn't actually build any GTK code; so another workaround is to build with the variant disabled sudo port install libiodbc -x11.

Notice the side effect of the buildbot: the archive claims +x11 but it actually built as if -x11.

Note: See TracTickets for help on using tickets.