Opened 12 years ago

Closed 12 years ago

#33938 closed defect (duplicate)

MacPorts needs conf file option to disable binary downloads

Reported by: howarth@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.0.4
Keywords: compiler Cc:
Port:

Description

The introduction of binary packages with MacPorts 2.0.4 breaks the compiler selection
in perl/python etc. It results in the wrong compiler being preset in perl and python
(and thus packages which build through those packages). It also defeats the purpose
of using the newer llvm in the clang compiler rather than the ancient llvm in llvm-gcc.
The macports.conf file should have a field which allows the user to change the binary
package usage from default out to default in so that it no longer the default behavior
without the user manually passing -b to port.

Change History (4)

comment:1 Changed 12 years ago by howarth@…

Another reason users might want to avoid binary downloads is that those built on Snow Leopard
will not be built with the same SDK as Lion and more importantly not linked with -pie to provide
full use of ASLR on Lion.

comment:2 Changed 12 years ago by ecronin (Eric Cronin)

r88725 and r88730 just need to be merged to the release branch.

Binary packages include the OS version in them, so port would never install a package built on SL on Lion. The brand new Lion buildbot does have an outdated XCode though which might be why clang isn't getting used by default...

I'll repeat whoever it is on the mailing list from months ago: so are we actually going to document this buildbot thing now that we're silently forcing it on pretty much all our users unsuspectingly with the Lion buildbot (and evidently you have to be running trunk to disable it)? packages.macports.org appears zero times in the wiki and 320 times in trac tickets.

comment:3 in reply to:  2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Component: portsbase
Port: MacPorts removed

Replying to ecronin@…:

r88725 and r88730 just need to be merged to the release branch.

No point; a new 2.1 release branch is due soon.

I'll repeat whoever it is on the mailing list from months ago: so are we actually going to document this buildbot thing now that we're silently forcing it on pretty much all our users unsuspectingly with the Lion buildbot (and evidently you have to be running trunk to disable it)? packages.macports.org appears zero times in the wiki and 320 times in trac tickets.

Feel free to document it, or to file a ticket requesting it be documented.

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.