Opened 5 years ago

Last modified 5 months ago

#51921 assigned defect

libiodbc @3.52.12 +x11: error: use of undeclared identifier 'liburl'

Reported by: danielta Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jwhowse4, hapaguy (Brian Kurt Fujikawa), persramd@…, petrov@…, mojca (Mojca Miklavec), udbraumann, neo954 (Gᴏɴɢ Jie), jgonzale (Juan Gonzalez), lukewmo (Luke Mo), cjones051073 (Chris Jones), AlainT, Asoehn, jcinaz
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

Attachments (3)

libiodbc_main.log (25.7 KB) - added by danielta 5 years ago.
main.log
libiodbc-3.52.12-success.log.xz (24.4 KB) - added by nerdling (Jeremy Lavergne) 5 years ago.
succcessful build and install
main.log (493.8 KB) - added by danielta 5 years ago.
clean_main.log

Download all attachments as: .zip

Change History (20)

Changed 5 years ago by danielta

Attachment: libiodbc_main.log added

main.log

comment:1 Changed 5 years ago by ryandesign (Ryan 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 5 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 5 years ago by nerdling (Jeremy Lavergne)

succcessful build and install

comment:3 Changed 5 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 5 years ago by danielta

Attachment: main.log added

clean_main.log

comment:4 in reply to:  3 Changed 5 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 5 years ago by danielta (previous) (diff)

comment:5 Changed 5 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.

comment:6 Changed 4 years ago by nerdling (Jeremy Lavergne)

Cc: jwhowse4@… added

Has duplicate #51946.

comment:7 Changed 4 years ago by hapaguy (Brian Kurt Fujikawa)

Cc: brian.fujikawa@… added

Cc Me!

comment:8 Changed 4 years ago by persramd@…

Cc: persramd@… added

Cc Me!

comment:9 Changed 4 years ago by petrov@…

Cc: petrov@… added

Cc Me!

comment:10 Changed 4 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:11 Changed 4 years ago by udbraumann

Cc: braumann@… added

Cc Me!

comment:12 Changed 4 years ago by neo954 (Gᴏɴɢ Jie)

Cc: gongjie.jie@… added

Cc Me!

comment:13 Changed 3 years ago by kencu (Ken)

I just had to install this using sudo port install libiodbc -x11 to get it to build with clang-3.9 on 10.6.8 / libc++ as well. Otherwise there were screenfulls of errors similar to 55002

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

Cc: riccardobrasca jgonzale added

Has duplicate #55002.

comment:15 Changed 5 months ago by ryandesign (Ryan Schmidt)

Cc: lukewmo cjones051073 AlainT Asoehn added

Has duplicate #59471.

comment:16 Changed 5 months ago by ryandesign (Ryan Schmidt)

Cc: jcinaz added

Has duplicate #59687.

comment:17 Changed 5 months ago by riccardobrasca

Cc: riccardobrasca removed
Note: See TracTickets for help on using tickets.