Opened 11 years ago

Closed 11 years ago

#42996 closed defect (fixed)

postfix build fails with clang error

Reported by: terry@… Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: postfix

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (3)

comment:1 Changed 11 years ago 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

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

Description: modified (diff)
Owner: changed from macports-tickets@… to jmr@…

comment:3 Changed 11 years ago by jmroot (Joshua Root)

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