Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466526 - =www-servers/nginx-1.2.8 fails to patch with USE="syslog"
Summary: =www-servers/nginx-1.2.8 fails to patch with USE="syslog"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
: 466528 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-20 05:19 UTC by Fernando (likewhoa)
Modified: 2013-04-25 06:44 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,3.79 KB, text/plain)
2013-04-20 05:21 UTC, Fernando (likewhoa)
Details
Failed Patch (syslog_1.2.0.patch,20.02 KB, text/plain)
2013-04-20 05:21 UTC, Fernando (likewhoa)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando (likewhoa) 2013-04-20 05:19:46 UTC
Current ~arch nginx-1.2.8 fails to patch with the syslog USE.


Reproducible: Always

Steps to Reproduce:
1. emerge =www-servers/nginx-1.2.8

Actual Results:  
Portage 2.2.0_alpha173 (hardened/linux/amd64/no-multilib, gcc-4.7.2, glibc-2.17, 3.2.43-hardened x86_64)
=================================================================
System uname: Linux-3.2.43-hardened-x86_64-AMD_Athlon-tm-_X2_255_Processor-with-gentoo-2.2
KiB Mem:     8196448 total,   2494580 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sat, 20 Apr 2013 03:45:02 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL AdobeFlash-11.x dlj-1.1 sun-bcla-java-vm skype-eula Google-TOS RTCW-ETEULA Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed,--sort-common -Wl,--warn-once"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion bzip2 cairo cjk cli cracklib crypt custom-cflags cxx dbus dri encode firefox fontconfig gdbm gif gimp gpm gtk gtstreamer hardened iconv jpeg jpeg2k justify lcms libnotify libssh2 logrotate mmx modules mudflap ncurses nls nptl nptlonly opengl openmp openntpd pam pax_kernel pcre pdf png qt4 readline session spell sse sse2 ssl startup-notification suid threads tiff truetype unicode urandom usb userlocales vhosts xforms xft xml xpm xprint xscreensaver zlib" ABI_X86="64" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" NGINX_MODULES_HTTP="upload upload_progress empty_gif stub_status mp4 gzip_static userid flv geoip image_filter push random_index secure_link access addition auth_basic autoindex browser charset fastcgi geo gzip limit_req limit_conn limit_zone map memcached referer rewrite ssi" NGINX_MODULES_MAIL="imap" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_2" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Expected Results:  
>>> Preparing source in /var/tmp/portage/www-servers/nginx-1.2.8/work/nginx-1.2.8 ...
 * Applying syslog_1.2.0.patch ...

 * Failed Patch: syslog_1.2.0.patch !
 *  ( /var/tmp/portage/www-servers/nginx-1.2.8/work/nginx_syslog_patch-0.24/syslog_1.2.0.patch )
 * 
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 3273:  Called epatch '/var/tmp/portage/www-servers/nginx-1.2.8/work/nginx_syslog_patch-0.24/syslog_1.2.0.patch'
 *   environment, line 1295:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of `emerge --info '=www-servers/nginx-1.2.8'`,
 * the complete build log and the output of `emerge -pqv '=www-servers/nginx-1.2.8'`.
 * The complete build log is located at '/var/log/portage/www-servers:nginx-1.2.8:20130420-011943.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-servers/nginx-1.2.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-servers/nginx-1.2.8/temp/environment'.
 * Working directory: '/var/tmp/portage/www-servers/nginx-1.2.8/work/nginx-1.2.8'
 * S: '/var/tmp/portage/www-servers/nginx-1.2.8/work/nginx-1.2.8'
Comment 1 Fernando (likewhoa) 2013-04-20 05:21:22 UTC
Created attachment 346054 [details]
build log
Comment 2 Fernando (likewhoa) 2013-04-20 05:21:48 UTC
Created attachment 346056 [details]
Failed Patch
Comment 3 Fernando (likewhoa) 2013-04-20 05:25:12 UTC
=================================================================
                        Package Settings
=================================================================

www-servers/nginx-1.2.8 was built with the following:
USE="aio http http-cache libatomic pcre ssl vim-syntax -debug -ipv6 -pcre-jit (-selinux) -syslog" ABI_X86="64" NGINX_MODULES_HTTP="access addition auth_basic autoindex browser charset empty_gif fastcgi flv geo geoip gzip gzip_static image_filter limit_conn limit_req map memcached mp4 push random_index referer rewrite secure_link ssi stub_status upload upload_progress userid -auth_pam -cache_purge -dav -degradation -fancyindex -headers_more -lua -perl -proxy -realip -scgi -slowfs_cache -split_clients -sub -upstream_ip_hash -uwsgi -xslt" NGINX_MODULES_MAIL="imap -pop3 -smtp"
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2013-04-20 05:28:48 UTC
*** Bug 466528 has been marked as a duplicate of this bug. ***
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2013-04-20 05:30:51 UTC
Assigning to patrick since he did the non-maintainer bump.
Comment 6 Christian Bricart 2013-04-22 08:02:31 UTC
quoting upstream (https://github.com/yaoweibin/nginx_syslog_patch):
> syslog_1.2.0.patch could work with nginx-1.2.0 - nginx-1.2.6 and nginx-1.3.0 - nginx-1.3.9.
> syslog_1.2.7.patch could work with nginx-1.2.7+.
> ..

so you need the latest syslog-patch in $SRC_URI

--- /usr/portage/www-servers/nginx/nginx-1.2.8.ebuild   2013-04-19 07:08:56.000000000 +0200
+++ nginx-1.2.8.ebuild  2013-04-22 09:59:17.335875000 +0200
@@ -18,8 +18,8 @@
 GENTOO_DEPEND_ON_PERL="no"
 
 # syslog
-SYSLOG_MODULE_PV="0.24"
-SYSLOG_MODULE_NGINX_PV="1.2.0"
+SYSLOG_MODULE_PV="0.25"
+SYSLOG_MODULE_NGINX_PV="1.2.7"
 SYSLOG_MODULE_P="ngx_syslog-${SYSLOG_MODULE_PV}"
 SYSLOG_MODULE_URI="https://github.com/yaoweibin/nginx_syslog_patch/archive/v${SYSLOG_MODULE_PV}.tar.gz"
 SYSLOG_MODULE_WD="${WORKDIR}/nginx_syslog_patch-${SYSLOG_MODULE_PV}"
Comment 7 Bob's Your Uncle 2013-04-24 18:28:27 UTC
Ebuild diff in Comment 6 works for me.
Comment 8 Benedikt Böhm (RETIRED) gentoo-dev 2013-04-25 06:44:54 UTC
fixed for nginx-1.2.8 and nginx-1.4.0