[MacPorts] #26051: All that deps from openssl can't install
#26051: All that deps from openssl can't install --------------------------------+------------------------------------------- Reporter: pilot@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: MacPorts 1.9.2 Component: ports | Version: 1.9.1 Keywords: | Port: --------------------------------+------------------------------------------- for sample try to install Apache2, main.log list of goups erorr with openssl, like: {{{ :info:build /opt/local/include/openssl/opensslconf.h:121:2: error: #else without #if :info:build /opt/local/include/openssl/opensslconf.h:122:1: warning: "RC4_INT" redefined :info:build /opt/local/include/openssl/opensslconf.h:120:1: warning: this is the location of the previous definition :info:build /opt/local/include/openssl/opensslconf.h:123:2: error: #endif without #if :info:build /opt/local/include/openssl/opensslconf.h:124:1: warning: missing terminating ' character :info:build /opt/local/include/openssl/opensslconf.h:124: error: missing terminating ' character :info:build /opt/local/include/openssl/opensslconf.h:125:2: error: #endif without #if :info:build /opt/local/include/openssl/opensslconf.h:133:2: error: #endif without #if :info:build ab.c: In function 'ssl_print_cert_info': :info:build ab.c:514: error: 'X509_CINF' has no member named 'version' :info:build ab.c:514: warning: format '%ld' expects type 'long int', but argument 3 has type 'int' :info:build ab.c:516: error: 'X509_CINF' has no member named 'validity' :info:build ab.c:520: error: 'X509_CINF' has no member named 'validity' :info:build ab.c: In function 'ssl_print_info': :info:build ab.c:546: error: expected expression before ')' token :info:build ab.c:549: error: expected expression before ')' token :info:build lipo: can't figure out the architecture type of: /var/tmp//ccaPcCVf.out :info:build make[2]: *** [ab.lo] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build make[1]: *** [all-recursive] Error 1 :info:build make: *** [all-recursive] Error 1 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.15" && /usr/bin/make -j2 all " returned error 2 :error:build Target org.macports.build returned: shell command failed :debug:build Backtrace: shell command failed while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" }}} -- Ticket URL: <http://trac.macports.org/ticket/26051> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26051: All that deps from openssl can't install --------------------------------+------------------------------------------- Reporter: pilot@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: MacPorts 1.9.2 Component: ports | Version: 1.9.1 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by pilot@…): OS: Snow Leopard last -- Ticket URL: <http://trac.macports.org/ticket/26051#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26051: apache2, mysql5: universal i386/ppc build failure on 10.6 --------------------------------+------------------------------------------- Reporter: pilot@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: apache2 mysql5 --------------------------------+------------------------------------------- Changes (by jmr@…): * cc: pilot@… (removed) * cc: imajes@…, ryandesign@… (added) * milestone: MacPorts 1.9.2 => * type: request => defect * port: => apache2 mysql5 Comment: As per the ticket guidelines linked prominently from the New Ticket page, don't set the milestone field, and remember to fill in the Port field and cc the maintainer. -- Ticket URL: <http://trac.macports.org/ticket/26051#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26051: apache2, mysql5: universal i386/ppc build failure on 10.6 --------------------------------+------------------------------------------- Reporter: pilot@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: apache2 mysql5 --------------------------------+------------------------------------------- Comment(by pilot@…): thanks, i understand for future. What you think about this defect with openssl -- Ticket URL: <http://trac.macports.org/ticket/26051#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26051: apache2, mysql5: universal i386/ppc build failure on 10.6 --------------------------------+------------------------------------------- Reporter: pilot@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: apache2 mysql5 --------------------------------+------------------------------------------- Comment(by ryandesign@…): The real error in the apache2 log file appears to be {{{ :info:build /opt/local/include/openssl/opensslconf.h:118: error: expected identifier or '(' before '\x6d61743d' }}} The real error in the mysql5 log file appears to be {{{ :info:configure checking for SSL... configure: error: Could not link with SSL libs at /opt/local }}} The apache2 log does indeed show that you are trying to build universal for ppc and i386 and that you are on Snow Leopard. This makes no sense; Snow Leopard does not run on PowerPC. The only universal build we support on Snow Leopard is i386 and x86_64. Why do you want to build for PowerPC on Snow Leopard? -- Ticket URL: <http://trac.macports.org/ticket/26051#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26051: apache2, mysql5: universal i386/ppc build failure on 10.6 --------------------------------+------------------------------------------- Reporter: pilot@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: apache2 mysql5 --------------------------------+------------------------------------------- Comment(by pilot@…):
The apache2 log does indeed show that you are trying to build universal for ppc and i386 and that you are on Snow Leopard. This makes no sense; Snow Leopard does not run on PowerPC. The only universal build we support on Snow Leopard is i386 and x86_64. Why do you want to build for PowerPC on Snow Leopard?
If i build package only for intel architecture more then 50% ports in macports list not installed or not work together -- Ticket URL: <http://trac.macports.org/ticket/26051#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26051: apache2, mysql5: universal i386/ppc build failure on 10.6 --------------------------------+------------------------------------------- Reporter: pilot@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: apache2 mysql5 --------------------------------+------------------------------------------- Comment(by pilot@…): only with universal version of installation i install more then 100 ports, in other hand with intel architecture i can't do that -- Ticket URL: <http://trac.macports.org/ticket/26051#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26051: apache2, mysql5: universal i386/ppc build failure on 10.6 --------------------------------+------------------------------------------- Reporter: pilot@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: apache2 mysql5 --------------------------------+------------------------------------------- Comment(by ryandesign@…): That doesn't sound accurate. MacPorts works great on Snow Leopard building only for Intel architectures. Perhaps you migrated from Leopard or earlier to Snow Leopard and did not follow the [wiki:Migration Migration] procedure? If that's not it, you'll have to elaborate on the problems you were having when building only for Intel architectures. It is not expected for you to need to build for PowerPC architectures on Snow Leopard; indeed, it would be more expected for that not to work at all since nobody's ever tested that. -- Ticket URL: <http://trac.macports.org/ticket/26051#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26051: apache2, mysql5: universal i386/ppc build failure on 10.6 --------------------------------+------------------------------------------- Reporter: pilot@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: apache2 mysql5 --------------------------------+------------------------------------------- Comment(by pilot@…): I will try migration procedure, remove all ports, clear all, then first what i do install the apache2: apache2 +darwin+preforkmpm+universal when all deps is intalled including openssl, macports try to install apache2 port, and show error listed on top of this conversation. For instance i can try to install apache2 only for intel architecture -- Ticket URL: <http://trac.macports.org/ticket/26051#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26051: apache2, mysql5: universal i386/ppc build failure on 10.6 --------------------------------+------------------------------------------- Reporter: pilot@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: apache2 mysql5 --------------------------------+------------------------------------------- Comment(by ryandesign@…): This ticket has talked about building universal for ppc and i386, which is not how things usually build universal on Snow Leopard; if that's how things are building universal for you, that means the universal_archs line in your macports.conf says ppc i386 when it should say x86_64 i386, either because you manually changed the line to read ppc i386, or because you upgraded from Leopard or earlier to Snow Leopard and did not follow [wiki:Migration Migration] including updating your macports.conf with the new defaults. You should compare every line of your macports.conf with the default configuration in the file macports.conf.default and adopt all the changes from it, unless there are specific changes you do want to retain. -- Ticket URL: <http://trac.macports.org/ticket/26051#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26051: apache2, mysql5: universal i386/ppc build failure on 10.6 --------------------------------+------------------------------------------- Reporter: pilot@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: apache2 mysql5 --------------------------------+------------------------------------------- Comment(by pilot@…): thanks i understand, and go to modify my macports.conf -- Ticket URL: <http://trac.macports.org/ticket/26051#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26051: apache2, mysql5: universal i386/ppc build failure on 10.6 --------------------------------+------------------------------------------- Reporter: pilot@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: apache2 mysql5 --------------------------------+------------------------------------------- Comment(by pilot@…): Replying to [comment:10 ryandesign@…]:
This ticket has talked about building universal for ppc and i386, which is not how things usually build universal on Snow Leopard; if that's how things are building universal for you, that means the universal_archs line in your macports.conf says ppc i386 when it should say x86_64 i386, either because you manually changed the line to read ppc i386, or because you upgraded from Leopard or earlier to Snow Leopard and did not follow [wiki:Migration Migration] including updating your macports.conf with the new defaults. You should compare every line of your macports.conf with the default configuration in the file macports.conf.default and adopt all the changes from it, unless there are specific changes you do want to retain.
Thanks, real problem is in my macports.conf file, i will replace i386 pcc - with x86_64 i386 - and all ports installed successful! -- Ticket URL: <http://trac.macports.org/ticket/26051#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26051: apache2, mysql5: universal i386/ppc build failure on 10.6 ---------------------------------+------------------------------------------ Reporter: pilot@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: Port: apache2 mysql5 | ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Great, I'm glad you got it working. -- Ticket URL: <http://trac.macports.org/ticket/26051#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts