[MacPorts] #33909: libcrypt missing configure.compiler
#33909: libcrypt missing configure.compiler ---------------------------+------------------------------------------------ Reporter: lkcl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ---------------------------+------------------------------------------------ ok a little bit of investigation, after talking on IRC, configure.compiler is by default apparently set to llvm-gcc-4.2 on macports 2.0.4 (xcode 3.1.2) however, llvm-gcc-4.2 isn't actually installed! so a workaround was done - adding configure.compiler - and it was at least possible to get this library to build. configure.args --disable-asm configure.compiler gcc-4.2 # Build fix for compilers that default to c99 (clang) configure.cflags-append "-std=gnu89" if {[string match "*clang*" ${configure.compiler}]} { # libgcrypt-1.5.0 does some ugly stuff with their udiv_qrnnd macro in mpih-div.c :notice:configure ---> Configuring libgcrypt :error:configure Target org.macports.configure returned: Invalid value for configure.compiler :debug:configure Backtrace: Invalid value for configure.compiler while executing "[ditem_key $ditem prerun] $targetname" :info:configure Warning: the following items did not execute (for libgcrypt): org.macports.build org.macports.configure :notice:configure Log for libgcrypt is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libgcrypt/libgcrypt/main.log -- Ticket URL: <https://trac.macports.org/ticket/33909> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33909: libcrypt missing configure.compiler ---------------------------+------------------------------------------------ Reporter: lkcl@… | Owner: sfiera@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: libgcrypt ---------------------------+------------------------------------------------ Changes (by cal@…): * owner: macports-tickets@… => sfiera@… * port: => libgcrypt Old description:
ok a little bit of investigation, after talking on IRC, configure.compiler is by default apparently set to llvm-gcc-4.2 on macports 2.0.4 (xcode 3.1.2)
however, llvm-gcc-4.2 isn't actually installed!
so a workaround was done - adding configure.compiler - and it was at least possible to get this library to build.
configure.args --disable-asm configure.compiler gcc-4.2
# Build fix for compilers that default to c99 (clang) configure.cflags-append "-std=gnu89"
if {[string match "*clang*" ${configure.compiler}]} { # libgcrypt-1.5.0 does some ugly stuff with their udiv_qrnnd macro in mpih-div.c
:notice:configure ---> Configuring libgcrypt :error:configure Target org.macports.configure returned: Invalid value for configure.compiler :debug:configure Backtrace: Invalid value for configure.compiler while executing "[ditem_key $ditem prerun] $targetname" :info:configure Warning: the following items did not execute (for libgcrypt): org.macports.build org.macports.configure :notice:configure Log for libgcrypt is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libgcrypt/libgcrypt/main.log
New description: ok a little bit of investigation, after talking on IRC, configure.compiler is by default apparently set to llvm-gcc-4.2 on macports 2.0.4 (xcode 3.1.2) however, llvm-gcc-4.2 isn't actually installed! so a workaround was done - adding configure.compiler - and it was at least possible to get this library to build. {{{ configure.args --disable-asm configure.compiler gcc-4.2 # Build fix for compilers that default to c99 (clang) configure.cflags-append "-std=gnu89" if {[string match "*clang*" ${configure.compiler}]} { # libgcrypt-1.5.0 does some ugly stuff with their udiv_qrnnd macro in mpih-div.c }}} {{{ :notice:configure ---> Configuring libgcrypt :error:configure Target org.macports.configure returned: Invalid value for configure.compiler :debug:configure Backtrace: Invalid value for configure.compiler while executing "[ditem_key $ditem prerun] $targetname" :info:configure Warning: the following items did not execute (for libgcrypt): org.macports.build org.macports.configure :notice:configure Log for libgcrypt is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libgcrypt/libgcrypt/main.log }}} -- Comment: Default compiler for Xcode 3.1 is gcc-4.0, which is installed. You shouldn't have to set `configure.compiler` for the port to successfully build. Please do a clean build (`port clean libgcrypt` and try again) and attach the `main.log` (find it using `port logfile libgcrypt`), if the build fails again. Please remember to use WikiFormatting and Cc the maintainer. -- Ticket URL: <https://trac.macports.org/ticket/33909#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33909: libcrypt missing configure.compiler ---------------------------+------------------------------------------------ Reporter: lkcl@… | Owner: sfiera@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: libgcrypt ---------------------------+------------------------------------------------ Comment(by lkcl@…): Replying to [ticket:33909 lkcl@…]:
ok a little bit of investigation, after talking on IRC, configure.compiler is by default apparently set to llvm-gcc-4.2 on macports 2.0.4 (xcode 3.1.2)
correction: investigating the source code it's gcc-4.0. however confirmation by explicitly printing out the value will be done tomorrow. -- Ticket URL: <https://trac.macports.org/ticket/33909#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33909: libcrypt missing configure.compiler ----------------------------+----------------------------------------------- Reporter: lkcl@… | Owner: sfiera@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: libgcrypt | ----------------------------+----------------------------------------------- Changes (by cal@…): * status: new => closed * resolution: => fixed Comment: Fixed in r91575. Please run selfupdate and try again. -- Ticket URL: <https://trac.macports.org/ticket/33909#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33909: libcrypt missing configure.compiler ----------------------------+----------------------------------------------- Reporter: lkcl@… | Owner: sfiera@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: libgcrypt | ----------------------------+----------------------------------------------- Changes (by jmr@…): * cc: jeremyhu@… (added) -- Ticket URL: <https://trac.macports.org/ticket/33909#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33909: libcrypt missing configure.compiler ----------------------------+----------------------------------------------- Reporter: lkcl@… | Owner: sfiera@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: | Keywords: Port: libgcrypt | ----------------------------+----------------------------------------------- Changes (by jeremyhu@…): * status: closed => reopened * resolution: fixed => Comment: No, that breaks ppc. -- Ticket URL: <https://trac.macports.org/ticket/33909#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33909: libcrypt missing configure.compiler ----------------------------+----------------------------------------------- Reporter: lkcl@… | Owner: sfiera@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: libgcrypt | ----------------------------+----------------------------------------------- Changes (by jeremyhu@…): * status: reopened => closed * resolution: => fixed Comment: Fixed in r91576. You need base trunk if you are building +universal. -- Ticket URL: <https://trac.macports.org/ticket/33909#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33909: libcrypt missing configure.compiler ----------------------------+----------------------------------------------- Reporter: lkcl@… | Owner: sfiera@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: libgcrypt | ----------------------------+----------------------------------------------- Comment(by lkcl@…): all good! port clean libgcrypt port build libgcrypt port install libgcrypt -- Ticket URL: <https://trac.macports.org/ticket/33909#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts