Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 167670
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Printing Team <printing@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Adrian Frith <adrian@leg.uct.ac.za>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
a2ps-4.13-manpage-chmod.patch Patch to man/Makefile.maint to fix chmod call. patch Adrian Frith 2007-02-19 20:11 0000 461 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 167670 depends on: Show dependency tree
Bug 167670 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-02-19 20:10 0000
While emerging app-text/a2ps-4.13c-r5, the compile dies with an error in chmod,
because one of the makefiles does "chmod -w" where it should be "chmod a-w". I
have attached a patch to fix the appropriate Makefile.

Reproducible: Always

Steps to Reproduce:
1. emerge a2ps

Actual Results:  
Making all in man
make[2]: Entering directory
`/var/tmp/portage/app-text/a2ps-4.13c-r5/work/a2ps-4.13/man'
Updating man page a2ps.1
chmod: a2ps.1-t: new permissions are r--rw-rw-, not r--r--r--
make[2]: *** [a2ps.1] Error 1
make[2]: Leaving directory
`/var/tmp/portage/app-text/a2ps-4.13c-r5/work/a2ps-4.13/man'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/app-text/a2ps-4.13c-r5/work/a2ps-4.13'
make: *** [all] Error 2

!!! ERROR: app-text/a2ps-4.13c-r5 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3445:   Called src_compile
  a2ps-4.13c-r5.ebuild, line 81:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/portage/app-text/a2ps-4.13c-r5/temp/build.log'.


Expected Results:  
Successful compile.

Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r0,
2.6.19-suspend2-r2 i686)
=================================================================
System uname: 2.6.19-suspend2-r2 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 19 Feb 2007 04:50:01 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.leg.uct.ac.za/pub/linux/gentoo
http://ftp.rucus.ru.ac.za/pub/linux/gentoo http://ftp.heanet.ie/pub/gentoo
http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_ZA.UTF-8"
LINGUAS="en_ZA en_GB en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="   "
SYNC="rsync://ftp.leg.uct.ac.za/gentoo-portage"
USE="X a52 aac acpi alsa apache2 avahi bash-completion beagle berkdb
bitmap-fonts bluetooth bonobo branding bzip2 cairo calendar cddb cdparanoia cdr
cli cracklib crypt cscope ctype cups dbus dga djvu dlloader doc dri dts dv dvd
dvdread dvi eds encode esd evo evolution exif fam fbsplash ffmpeg firefox flac
foomaticdb fortran ftp gb gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2
gtkhtml hal howl iconv imap ipod ipv6 isdnlog jabber java javascript joystick
jpeg junit ldap libg++ libgda libnotify maildir mbox midi mime mmap mmx mng
mono mp3 mpeg ncurses nls nntp nptl nptlonly nsplugin offensive ogg opengl pam
pango pcmcia pcntl pcre pda pdf perl plotutils png posix postgres ppds pppd
python quicktime rdesktop readline reflection ruby samba sdl session slp snmp
soap sockets speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification
svg symlink sysvipc tcpd tetex theora tidy tiff truetype truetype-fonts
type1-fonts unicode usb videos vim vim-syntax vorbis wifi win32codecs wmf x264
x86 xine xinerama xml xmlrpc xorg xosd xv xvid zlib" ALSA_CARDS="ali5451
als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370
ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident
usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy
dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear
meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc"
INPUT_DEVICES="mouse keyboard evdev joystick synaptics" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en_ZA en_GB en" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS

------- Comment #1 From Adrian Frith 2007-02-19 20:11:07 0000 -------
Created an attachment (id=110689) [details]
Patch to man/Makefile.maint to fix chmod call.

------- Comment #2 From Stefan Schweizer 2007-02-19 22:28:24 0000 -------
thanks, committed

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug