[MacPorts] #57919: mod_maxminddb port

MacPorts noreply at macports.org
Wed Jan 16 23:39:10 UTC 2019


#57919: mod_maxminddb port
----------------------------+----------------------
  Reporter:  ryandesign     |      Owner:  (none)
      Type:  submission     |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  mod_maxminddb  |
----------------------------+----------------------

Comment (by iEFdev):

 Thank you for the work!

 I've tested the file, and added a few missing parts from before.

 One thing though… It (still) won't go into destroot, unless using destroot
 {}, instead of post-destroot {}. I have no idea why. Here's the output:

 {{{
 Executing:  cd
 "/opt/local/var/macports/build/_opt_ports_www_mod_maxminddb/mod_maxminddb/work/mod_maxminddb-1.1.0"
 && /usr/bin/make -w install
 DESTDIR=/opt/local/var/macports/build/_opt_ports_www_mod_maxminddb/mod_maxminddb/work/destroot
 make: Entering directory
 `/opt/local/var/macports/build/_opt_ports_www_mod_maxminddb/mod_maxminddb/work/mod_maxminddb-1.1.0'
 Making install in src
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_ports_www_mod_maxminddb/mod_maxminddb/work/mod_maxminddb-1.1.0/src'
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_ports_www_mod_maxminddb/mod_maxminddb/work/mod_maxminddb-1.1.0/src'
 /opt/local/bin/apxs -c -Wl,"-L/opt/local/lib
 -Wl,-headerpad_max_install_names -arch x86_64" -lmaxminddb  -Wc,"-pipe -Os
 -arch x86_64 -std=c99 -fms-extensions"  mod_maxminddb.c
 /opt/local/share/apr-1/build/libtool --silent --mode=compile --tag=CC
 /usr/bin/clang -prefer-pic -pipe -Os  -DDARWIN
 -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -I/opt/local/include/apache2
 -I/opt/local/include/apr-1   -I/opt/local/include/apr-1
 -I/opt/local/include -pipe -Os -arch x86_64 -std=c99 -fms-extensions  -c
 -o mod_maxminddb.lo mod_maxminddb.c && touch mod_maxminddb.slo
 /opt/local/share/apr-1/build/libtool --silent --mode=link --tag=CC
 /usr/bin/clang -L/opt/local/lib -Wl,-headerpad_max_install_names   -o
 mod_maxminddb.la -L/opt/local/lib -Wl,-headerpad_max_install_names -arch
 x86_64  -lmaxminddb -rpath /opt/local/lib/apache2/modules -module -avoid-
 version    mod_maxminddb.lo
 /opt/local/bin/apxs -i -a -n maxminddb .libs/mod_maxminddb.so
 /opt/local/www/apache2/build/instdso.sh
 SH_LIBTOOL='/opt/local/share/apr-1/build/libtool' .libs/mod_maxminddb.so
 /opt/local/lib/apache2/modules
 /opt/local/share/apr-1/build/libtool --mode=install install
 .libs/mod_maxminddb.so /opt/local/lib/apache2/modules/
 libtool: install: install .libs/mod_maxminddb.so
 /opt/local/lib/apache2/modules/mod_maxminddb.so
 install: /opt/local/lib/apache2/modules/mod_maxminddb.so: Operation not
 permitted
 apxs:Error: Command failed with rc=4653056
 .
 make[2]: *** [install-exec-local] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_ports_www_mod_maxminddb/mod_maxminddb/work/mod_maxminddb-1.1.0/src'
 make[1]: *** [install-am] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_ports_www_mod_maxminddb/mod_maxminddb/work/mod_maxminddb-1.1.0/src'
 make: *** [install-recursive] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_ports_www_mod_maxminddb/mod_maxminddb/work/mod_maxminddb-1.1.0'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_ports_www_mod_maxminddb/mod_maxminddb/work/mod_maxminddb-1.1.0"
 && /usr/bin/make -w install
 DESTDIR=/opt/local/var/macports/build/_opt_ports_www_mod_maxminddb/mod_maxminddb/work/destroot
 Exit code: 2
 Error: Failed to destroot mod_maxminddb: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_ports_www_mod_maxminddb/mod_maxminddb/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port mod_maxminddb failed
 }}}

 Wonder what makes it work for you and not here?

 · Eric

-- 
Ticket URL: <https://trac.macports.org/ticket/57919#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list