Opened 12 years ago

Last modified 5 years ago

#35751 assigned defect

py-pysvn: universal build fails

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: py-pysvn

Description

DEBUG: Executing org.macports.configure (py26-pysvn)
DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64 -arch i386' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64 -arch i386' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8' CXX='ccache /usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Users_rschmidt_macports_dports_python_py-pysvn/py26-pysvn/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2' LDFLAGS='-L/opt/local/lib -arch x86_64 -arch i386' OBJC='ccache /usr/bin/clang' FCFLAGS='-pipe -O2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64 -arch i386' FFLAGS='-pipe -O2' CC_PRINT_OPTIONS='YES' CC='ccache /usr/bin/clang'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_python_py-pysvn/py26-pysvn/work/pysvn-1.7.6/Source" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py configure --disable-dependency-tracking --apr-inc-dir=/opt/local/include/apr-1 --apu-inc-dir=/opt/local/include/apr-1 --apr-lib-dir=/opt/local/lib --svn-root-dir=/opt/local'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_python_py-pysvn/py26-pysvn/work/pysvn-1.7.6/Source" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py configure --disable-dependency-tracking --apr-inc-dir=/opt/local/include/apr-1 --apu-inc-dir=/opt/local/include/apr-1 --apr-lib-dir=/opt/local/lib --svn-root-dir=/opt/local 
Error: Unknown option --disable-dependency-tracking
('Error:', 'failed to parse options')

Change History (6)

comment:1 Changed 12 years ago by blair (Blair Zajac)

I guess I need to filter --disable-dependency-tracking out?

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

That would be a good first step; the snippet you usually see in ports for that purpose is:

configure.universal_args-delete --disable-dependency-tracking

I didn't test whether that was all it needed.

comment:3 Changed 12 years ago by blair (Blair Zajac)

I don't have a MacPorts install that is universal so I won't be able to test it.

Can you try it and commit it if it works?

Does adding configure.universal_args-delete --disable-dependency-tracking change the contents of the files installed for a non-universal build?

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

Replying to blair@…:

I don't have a MacPorts install that is universal so I won't be able to test it.

It's easy enough to test: just:

sudo port install py27-pysvn +universal

MacPorts will rebuild any required dependencies with the universal variant automatically. It may take awhile, but it should just work.

Can you try it and commit it if it works?

The build then succeeds, but the resulting software is still not universal. So additional changes are needed. Potentially, passing [get_canonical_archflags] somewhere would help.

Does adding configure.universal_args-delete --disable-dependency-tracking change the contents of the files installed for a non-universal build?

Nope; MacPorts only adds configure.universal_args to configure.args when the universal variant is selected.

comment:5 Changed 9 years ago by mf2k (Frank Schima)

Cc: yunzheng.hu@… removed

comment:6 Changed 5 years ago by mf2k (Frank Schima)

Owner: blair deleted
Status: newassigned
Note: See TracTickets for help on using tickets.