Opened 5 years ago

Closed 5 years ago

#1748 closed defect (wontfix)

FTBFS: objs/Makefile:127: *** multiple target patterns

Reported by: actionmystique@… Owned by:
Priority: critical Milestone:
Component: nginx-package Version: 1.15.x
Keywords: Cc:
uname -a:
nginx -V: 1.15.9


4.19.0-4-amd64 #1 SMP Debian 4.19.28-2 (2019-03-15) x86_64 GNU/Linux
nginx release-1.15.9
make 4.2.1-1.2

Building with:
auto/configure --build=x86_64-pc-linux-gnu \

--prefix=/usr/nginx --conf-path=/etc/nginx --pid-path=/run \
--sbin-path=/usr/sbin/nginx --error-log-path=/var/log/nginx --http-log-path=/var/log/nginx \
--user=www-data \
--with-pcre=../nginx-build/pcre2-10.32-4 \
--with-zlib=../nginx-build/zlib-1:1.2.11.dfsg-1 \
--with-debug --with-file-aio --with-http_addition_module --with-http_auth_request_module \
--with-http_dav_module --with-http_geoip_module --with-http_gunzip_module \
--with-http_gzip_static_module --with-http_image_filter_module --with-http_mp4_module \
--with-http_perl_module --with-http_random_index_module --with-http_realip_module \
--with-http_secure_link_module --with-http_slice_module --with-http_ssl_module \
--with-http_stub_status_module --with-http_sub_module --with-http_xslt_module \
--with-http_v2_module --with-threads


leads to:
checking for GeoIP IPv6 support ... found
creating objs/Makefile

Configuration summary

+ using threads
+ using PCRE library: ../nginx-build/pcre2-10.32-4
+ using system OpenSSL library
+ using zlib library: ../nginx-build/zlib-1:1.2.11.dfsg-1

nginx path prefix: "/usr/nginx"
nginx binary file: "/usr/sbin/nginx"
nginx modules path: "/usr/nginx/modules"
nginx configuration prefix: "/etc"
nginx configuration file: "/etc/nginx"
nginx pid file: "/run"
nginx error log file: "/var/log/nginx"
nginx http access log file: "/var/log/nginx"
nginx http client request body temporary files: "client_body_temp"
nginx http proxy temporary files: "proxy_temp"
nginx http fastcgi temporary files: "fastcgi_temp"
nginx http uwsgi temporary files: "uwsgi_temp"
nginx http scgi temporary files: "scgi_temp"

make -f objs/Makefile
make[1]: Entering directory '/media/actionmystique/SAMSUNG5-Shared/home/actionmystique/src/Nginx/git-nginx'
objs/Makefile:127: * multiple target patterns. Stop.
make[1]: Leaving directory '/media/actionmystique/SAMSUNG5-Shared/home/actionmystique/src/Nginx/git-nginx'
* [Makefile:8: build] Error 2

Change History (2)

comment:1 by Sergey Kandaurov, 5 years ago

Could you share objs/Makefile with us?

comment:2 by Maxim Dounin, 5 years ago

Resolution: wontfix
Status: newclosed

You have : in the zlib library path, --with-zlib=../nginx-build/zlib-1:1.2.11.dfsg-1, and this makes your make unhappy. Change the path to something without : in it.

Note: See TracTickets for help on using tickets.