Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238398 - app-arch/zip-3.0 won't compile with USE="-crypt"
Summary: app-arch/zip-3.0 won't compile with USE="-crypt"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-22 14:58 UTC by Nils Larsson
Modified: 2008-09-25 00:29 UTC (History)
2 users (show)

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


Attachments
My emerge --info (emerge.info,7.69 KB, text/plain)
2008-09-22 18:58 UTC, Nils Larsson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Larsson 2008-09-22 14:58:30 UTC
app-arch/zip-3.0 will not compile with USE="-crypt".

Reproducible: Always

Steps to Reproduce:
1. USE="-crypt" emerge =app-arch/zip-3.0

Actual Results:  
Calculating dependencies... done!
[ebuild   R   ] app-arch/zip-3.0  USE="unicode -bzip2 -crypt*" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-arch/zip-3.0
 * zip30.zip RMD160 SHA1 SHA256 size ;-) ...                             [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking zip30.zip to /tmp/portage/portage/app-arch/zip-3.0/work
 * Applying zip-3.0-pic.patch ...                                         [ ok ]
 * Applying zip-3.0-exec-stack.patch ...                                  [ ok ]
 * Applying zip-3.0-build.patch ...                                       [ ok ]
>>> Source unpacked.
>>> Compiling source in /tmp/portage/portage/app-arch/zip-3.0/work/zip30 ...
sh unix/configure "i686-pc-linux-gnu-gcc" "-I. -DUNIX -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fno-ident -DNO_BZIP2_SUPPORT -DNO_CRYPT " ""
Check C compiler type (optimization options)
  GNU C (-O3)
Check bzip2 support
  Check for bzip2 in bzip2 directory
  Check if OS already has bzip2 library installed
-- OS supports bzip2 - linking in bzip2
Check for the C preprocessor
Check if we can use asm code
Checking if compiler wants to create pic code
Check if compiler generates underlines
Check for ANSI options
Check for prototypes
Check the handling of const
Check for time_t
Check for size_t
Check for off_t
Check size of UIDs and GIDs
(Now zip stores variable size UIDs/GIDs using a new extra field.  This
 tests if this OS uses 16-bit UIDs/GIDs and so if the old 16-bit storage
 should also be used for backward compatibility.)
  s.st_uid is 4 bytes
  s.st_gid is 4 bytes
-- UID not 2 bytes - disabling old 16-bit UID/GID support
Check for Large File Support
  off_t is 8 bytes
-- yes we have Large File Support!
Check for wide char support
-- have wchar_t - enabling Unicode support
Check for gcc no-builtin flag
Check for rmdir
Check for strchr
Check for strrchr
Check for rename
Check for mktemp
Check for mktime
Check for mkstemp
Check for memset
Check for memmove
Check for strerror
Check for errno declaration
Check for directory libraries
Check for readlink
Check for directory include file
Check for nonexistent include files
Check for term I/O include file
Check for valloc
Check for /usr/local/bin and /usr/local/man
Check for OS-specific flags
Check for symbolic links
eval make -f unix/Makefile zips `cat flags`
make[1]: Entering directory `/tmp/portage/portage/app-arch/zip-3.0/work/zip30'
i686-pc-linux-gnu-gcc -c -I. -DUNIX -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fno-ident -DNO_BZIP2_SUPPORT -DNO_CRYPT -DBZIP2_SUPPORT -DASMV -DASM_CRC -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zip.c
zip.c: I funktion "main":
zip.c:3455: fel: "IZ_PWLEN" är odeklarerad (första förekomsten i denna funktion)
zip.c:3455: fel: (Varje odeklarerad identifierare rapporteras bara en gång
zip.c:3455: fel: för varje funktion den finns i.)
make[1]: *** [zip.o] Fel 1
make[1]: Leaving directory `/tmp/portage/portage/app-arch/zip-3.0/work/zip30'
make: *** [generic] Fel 2
 * 
 * ERROR: app-arch/zip-3.0 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2356:  Called die
 * The specific snippet of code:
 * emake CC="$(tc-getCC)" LOCAL_ZIP="${CFLAGS} ${CPPFLAGS}" -f unix/Makefile generic || die
 * The die message:
 * (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/tmp/portage/portage/app-arch/zip-3.0/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/portage/app-arch/zip-3.0/temp/environment'.
 * 

>>> Failed to emerge app-arch/zip-3.0, Log file:

>>>  '/tmp/portage/portage/app-arch/zip-3.0/temp/build.log'

 * Messages for package app-arch/zip-3.0:

 * 
 * ERROR: app-arch/zip-3.0 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2356:  Called die
 * The specific snippet of code:
 * emake CC="$(tc-getCC)" LOCAL_ZIP="${CFLAGS} ${CPPFLAGS}" -f unix/Makefile generic || die
 * The die message:
 * (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/tmp/portage/portage/app-arch/zip-3.0/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/portage/app-arch/zip-3.0/temp/environment'.
 * 


Expected Results:  
Successful install.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-22 17:42:13 UTC
Please post your `emerge --info' too.
Comment 2 Nils Larsson 2008-09-22 18:58:55 UTC
Created attachment 166115 [details]
My emerge --info
Comment 3 Ryan Tandy 2008-09-22 19:13:34 UTC
confirmed; building with USE=crypt works.

Portage 2.2_rc9 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-i686-Genuine_Intel-R-_CPU_T2400_@_1.83GHz-with-glibc2.0
Timestamp of tree: Mon, 22 Sep 2008 17:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=native -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -march=native -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.osuosl.org/pub/gentoo"
LANG="en_CA.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j3 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="X a52 acpi aio alsa async bzip2 cairo cdio curl custom-cflags custom-optimization cxx dri dv dvd encode expat fam fontconfig ftp gecko gif glib glibc-omitfp glitz hpn iconv idn jpeg kpathsea latex lcms libsamplerate lzo mad midi mmx mmxext mp3 mpd mpeg multiuser ncurses nethack network-cron nptl nsplugin nss ogg opengl pam pcre png pstricks quicktime rar readline rtc samba sndfile srt sse sse2 ssl ssse3 svg symlink theora threads threadsafe truetype unicode urandom utils vim-syntax vim-with-x vorbis webdav webdav-neon win32codecs x264 x86 xcb xinerama xml xorg xpm xscreensaver xulrunner xv xvid zlib" 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" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="none nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Conrad Kostecki gentoo-dev 2008-09-23 12:31:39 UTC
dito, same problem here