[MacPorts] #43253: universal build in nettle assumes Intel build platform
#43253: universal build in nettle assumes Intel build platform -----------------------+-------------------------------- Reporter: t.tensi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: nettle -----------------------+-------------------------------- Dear all, there is a problem with the current nettle portfile 2.7.1: when building universal it blindly assumes an Intel machine as the host. I have run it on a PowerPC Mac and here the line {{{ set merger_configure_args(i386) --build=i686-apple-${os.platform}${os.major} }}} does of course pose problems (I have attached a portfile that does a case distinction). I would also recommend to introduce a temporary variable like {{{ set suffix apple-${os.platform}${os.major} }}} that may be used to simplify the file significantly. I am not sure whether all the build and host settings in the portfile are already covered by the muniversal group in the header and the general mechanisms of MacPorts. So maybe those lines are completely obsolete. Best regards, Thomas -- Ticket URL: <https://trac.macports.org/ticket/43253> MacPorts <http://www.macports.org/> Ports system for OS X
#43253: universal build in nettle assumes Intel build platform ------------------------+-------------------------------- Reporter: t.tensi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: nettle | ------------------------+-------------------------------- Comment (by egall@…): the variable that is being set is just for the i386 build though... afaik, the flags for building under ppc would use the `merger_configure_args(ppc)` variable instead, I think... -- Ticket URL: <https://trac.macports.org/ticket/43253#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43253: nettle: universal build assumes Intel build platform ------------------------+-------------------------------- Reporter: t.tensi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: nettle | ------------------------+-------------------------------- Changes (by ryandesign@…): * cc: jeremyhu@… (added) Comment: The code in question was added to the portfile in r111066. I don't quite understand why any of it was necessary... -- Ticket URL: <https://trac.macports.org/ticket/43253#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43253: nettle: universal build assumes Intel build platform ------------------------+-------------------------------- Reporter: t.tensi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: nettle | ------------------------+-------------------------------- Comment (by jeremyhu@…): That was added because the port failed at cross compilation. -- Ticket URL: <https://trac.macports.org/ticket/43253#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#43253: nettle: universal build assumes Intel build platform ------------------------+-------------------------------- Reporter: t.tensi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: nettle | ------------------------+-------------------------------- Comment (by jeremyhu@…): If upstream fixed it in a newer build, try just removing that goop and see if it now works. Their build system only worked right if host == build. -- Ticket URL: <https://trac.macports.org/ticket/43253#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts