[MacPorts] #42996: postfix build fails with clang error
#42996: postfix build fails with clang error ---------------------+-------------------------------- Reporter: terry@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: postfix ---------------------+-------------------------------- postfix without any variants will build but if I add any variants it fails with the error below. clang error - MacPro3,1, Quad-Core Intel Xeon, 2.8 GHz, 4GB RAM, OS X 10.8.5, Xcode 4.6.3 & Xcode 5.1 clang error - iMac, i5, OS X 10.9.2, Xcode 5.1 no clang error - postfix with variants builds fine on an iMac core2 duo running 10.8.5, Xcode 5.0 ... :info:build cp libmaster.a ../../lib/libmaster.a :info:build /usr/bin/clang -DNO_PCRE -arch x86_64 -DHAS_MYSQL -I/opt/local/include/mysql5/mysql -Wmissing-prototypes -Wformat -Wno- comment -DBIND_8_COMPAT -DNO_NETINFO -DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -g -Os -I. -I../../include -DMACOSX -o master master.o master_conf.o master_ent.o master_sig.o master_avail.o master_spawn.o master_service.o master_status.o master_listen.o master_vars.o master_wakeup.o master_watch.o master_flow.o master_monitor.o ../../lib/libglobal.a ../../lib/libutil.a -L/opt/local/lib -R/opt/local/lib -L/opt/local/lib -arch x86_64 -lresolv -L/opt/local/lib/mysql5/mysql -lmysqlclient -lz -lm -lresolv :info:build ranlib ../../lib/libmaster.a :info:build clang: error: unknown argument: '-R/opt/local/lib' [-Wunused- command-line-argument-hard-error-in-future] :info:build clang: note: this will be a hard error (cannot be downgraded to a warning) in the future :info:build make: *** [master] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.11.0/src/master' :info:build make: *** [update] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.11.0' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.11.0" && /usr/bin/make -j4 -w :info:build Exit code: 2 :error:build org.macports.build for port postfix returned: command execution failed :debug:build Error code: CHILDSTATUS 93866 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for postfix: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port postfix for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/main.log -- Ticket URL: <https://trac.macports.org/ticket/42996> MacPorts <http://www.macports.org/> Ports system for OS X
#42996: postfix build fails with clang error ----------------------+-------------------------------- Reporter: terry@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: postfix | ----------------------+-------------------------------- Comment (by terry@…): (fix funny line wrapping) clang error - MacPro3,1, Quad-Core Intel Xeon, 2.8 GHz, 4GB RAM, OS X 10.8.5, Xcode 4.6.3 & Xcode 5.1 clang error - iMac, i5, OS X 10.9.2, Xcode 5.1 no clang error - postfix with variants builds fine on an iMac core2 duo running 10.8.5, Xcode 5.0 -- Ticket URL: <https://trac.macports.org/ticket/42996#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42996: postfix build fails with clang error ----------------------+------------------- Reporter: terry@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: postfix | ----------------------+------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jmr@… Old description:
postfix without any variants will build but if I add any variants it fails with the error below.
clang error - MacPro3,1, Quad-Core Intel Xeon, 2.8 GHz, 4GB RAM, OS X 10.8.5, Xcode 4.6.3 & Xcode 5.1 clang error - iMac, i5, OS X 10.9.2, Xcode 5.1 no clang error - postfix with variants builds fine on an iMac core2 duo running 10.8.5, Xcode 5.0
... :info:build cp libmaster.a ../../lib/libmaster.a :info:build /usr/bin/clang -DNO_PCRE -arch x86_64 -DHAS_MYSQL -I/opt/local/include/mysql5/mysql -Wmissing-prototypes -Wformat -Wno- comment -DBIND_8_COMPAT -DNO_NETINFO -DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -g -Os -I. -I../../include -DMACOSX -o master master.o master_conf.o master_ent.o master_sig.o master_avail.o master_spawn.o master_service.o master_status.o master_listen.o master_vars.o master_wakeup.o master_watch.o master_flow.o master_monitor.o ../../lib/libglobal.a ../../lib/libutil.a -L/opt/local/lib -R/opt/local/lib -L/opt/local/lib -arch x86_64 -lresolv -L/opt/local/lib/mysql5/mysql -lmysqlclient -lz -lm -lresolv :info:build ranlib ../../lib/libmaster.a :info:build clang: error: unknown argument: '-R/opt/local/lib' [-Wunused- command-line-argument-hard-error-in-future] :info:build clang: note: this will be a hard error (cannot be downgraded to a warning) in the future :info:build make: *** [master] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.11.0/src/master' :info:build make: *** [update] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.11.0' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.11.0" && /usr/bin/make -j4 -w :info:build Exit code: 2 :error:build org.macports.build for port postfix returned: command execution failed :debug:build Error code: CHILDSTATUS 93866 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for postfix: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port postfix for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/main.log
New description: postfix without any variants will build but if I add any variants it fails with the error below. clang error - MacPro3,1, Quad-Core Intel Xeon, 2.8 GHz, 4GB RAM, OS X 10.8.5, Xcode 4.6.3 & Xcode 5.1 [[br]] clang error - iMac, i5, OS X 10.9.2, Xcode 5.1 [[br]] no clang error - postfix with variants builds fine on an iMac core2 duo running 10.8.5, Xcode 5.0 {{{ ... :info:build cp libmaster.a ../../lib/libmaster.a :info:build /usr/bin/clang -DNO_PCRE -arch x86_64 -DHAS_MYSQL -I/opt/local/include/mysql5/mysql -Wmissing-prototypes -Wformat -Wno- comment -DBIND_8_COMPAT -DNO_NETINFO -DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -g -Os -I. -I../../include -DMACOSX -o master master.o master_conf.o master_ent.o master_sig.o master_avail.o master_spawn.o master_service.o master_status.o master_listen.o master_vars.o master_wakeup.o master_watch.o master_flow.o master_monitor.o ../../lib/libglobal.a ../../lib/libutil.a -L/opt/local/lib -R/opt/local/lib -L/opt/local/lib -arch x86_64 -lresolv -L/opt/local/lib/mysql5/mysql -lmysqlclient -lz -lm -lresolv :info:build ranlib ../../lib/libmaster.a :info:build clang: error: unknown argument: '-R/opt/local/lib' [-Wunused- command-line-argument-hard-error-in-future] :info:build clang: note: this will be a hard error (cannot be downgraded to a warning) in the future :info:build make: *** [master] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.11.0/src/master' :info:build make: *** [update] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.11.0' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.11.0" && /usr/bin/make -j4 -w :info:build Exit code: 2 :error:build org.macports.build for port postfix returned: command execution failed :debug:build Error code: CHILDSTATUS 93866 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for postfix: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port postfix for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/main.log }}} -- -- Ticket URL: <https://trac.macports.org/ticket/42996#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42996: postfix build fails with clang error ----------------------+-------------------- Reporter: terry@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: postfix | ----------------------+-------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r118124 -- Ticket URL: <https://trac.macports.org/ticket/42996#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts