Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 571676 - dev-java/icedtea-3: cannot be built if app-arch/zip is built with USE=natspec
Summary: dev-java/icedtea-3: cannot be built if app-arch/zip is built with USE=natspec
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew John Hughes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-12 17:21 UTC by Perfect Gentleman
Modified: 2020-11-15 11:38 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Perfect Gentleman 2016-01-12 17:21:58 UTC
If app-arch/zip was built with USE="natspec", IcedTea cannot be built
Code:	
Copying sa-jdi.jar
/bin/mkdir -p /tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/lib/amd64/server
/bin/mkdir -p /tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/lib
/bin/mkdir -p /tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/lib/amd64/server
/bin/cp -fP '/tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/hotspot/dist/lib/sa-jdi.jar' '/tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/lib/sa-jdi.jar'
/bin/rm -f /tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/lib/amd64/server/libjsig.diz
/bin/rm -f /tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/lib/amd64/server/libjsig.so
/bin/rm -f /tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/lib/amd64/server/libjsig.diz.tmp /tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/lib/amd64/server/libjsig.debuginfo
/bin/ln -s ../libjsig.so /tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/lib/amd64/server/libjsig.so
/bin/ln -s ../libjsig.debuginfo /tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/lib/amd64/server/libjsig.debuginfo
cd /tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/lib/amd64/server && /usr/bin/zip -q -y /tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/lib/amd64/server/libjsig.diz.tmp libjsig.debuginfo

zip error: Nothing to do! (/tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/lib/amd64/server/libjsig.diz.tmp)
Import.gmk:185: recipe for target '/tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/lib/amd64/server/libjsig.diz' failed
gmake[3]: *** [/tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/lib/amd64/server/libjsig.diz] Error 12
gmake[3]: *** Waiting for unfinished jobs....
/bin/mv /tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/_the.CORBA.binaries.imported.tmp /tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/_the.CORBA.binaries.imported
/bin/mv /tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/impsrc/_the.CORBA.src.imported.tmp /tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/impsrc/_the.CORBA.src.imported
/bin/mv /tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/classes/_the.CORBA.classes.imported.tmp /tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot/jdk/classes/_the.CORBA.classes.imported
gmake[3]: Leaving directory '/tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk-boot/jdk/make'
BuildJdk.gmk:51: recipe for target 'import-only' failed
gmake[2]: *** [import-only] Error 2
gmake[2]: Leaving directory '/tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk-boot/jdk/make'
/tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk-boot//make/Main.gmk:115: recipe for target 'jdk-only' failed
make[1]: *** [jdk-only] Error 2
make[1]: Leaving directory '/tmp/portage/dev-java/icedtea-3.0.0_pre07-r1/work/icedtea-3.0.0/openjdk.build-boot'
Makefile:2323: recipe for target 'stamps/icedtea-boot.stamp' failed
make: *** [stamps/icedtea-boot.stamp] Error 2

It concerns icedtea:8 and latest icedtea:7

Reproducible: Always
Comment 1 James Le Cuirot gentoo-dev 2016-01-12 17:31:15 UTC
How odd. FYI, this is what the flag does.

"Use dev-libs/libnatspec to correctly decode non-ascii file names archived in Windows."

Seems reasonable that someone might want to enable that.
Comment 2 Perfect Gentleman 2016-01-12 17:35:20 UTC
(In reply to James Le Cuirot from comment #1)
> How odd. FYI, this is what the flag does.
> 
> "Use dev-libs/libnatspec to correctly decode non-ascii file names archived
> in Windows."
> 
> Seems reasonable that someone might want to enable that.

I know what this flag is for.
That's odd, i agree, for more than half a year i could not figure out why icedtea was not building.
Comment 3 James Le Cuirot gentoo-dev 2016-01-12 19:08:10 UTC
(In reply to Perfect Gentleman from comment #2)
> I know what this flag is for.

Sorry, that was for gnu_andrew's benefit.

> That's odd, i agree, for more than half a year i could not figure out why
> icedtea was not building.

Thanks for reporting it then, could have taken us a while too.
Comment 4 Shea Levy 2016-01-27 18:59:16 UTC
FYI, in nixpkgs we've borrowed the natspec patch, and with it enabled zip -y creates regular files instead of symlinks (with the content of the file being the destination of the original symlink). I see in the log that zip -y is called, I'm guessing this is the culprit.
Comment 5 Andrew John Hughes 2016-01-27 19:43:40 UTC
Yeah, I'm aware of the flag and glad I didn't enable it now! It sounds like it does more than it says on the tin.
Comment 6 charles17 2020-08-18 17:56:11 UTC
(In reply to Perfect Gentleman from comment #0)
> If app-arch/zip was built with USE="natspec", IcedTea cannot be built

Worksforme with dev-java/icedtea-3.16.0


emerge -pvq app-arch/zip
[ebuild   R   ] app-arch/zip-3.0-r4  USE="bzip2 crypt natspec unicode"



Portage 2.3.103 (python 3.8.5-final-0, default/linux/amd64/17.1/desktop, gcc-10.2.0, glibc-2.31-r6, 4.19.129-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.129-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-glibc2.2.5
KiB Mem:    16336148 total,  10964564 free
KiB Swap:   17577980 total,  17577980 free
Timestamp of repository gentoo: Tue, 18 Aug 2020 11:45:01 +0000
Head commit of repository gentoo: e347c9071ab538bec9cb49903b7913e36645f8e9
Head commit of repository guru: 675da9634bdd0d50b659b66d2b3445401450c564

sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo, 10.2.0::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage/
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

testing
    location: /var/db/repos/testing
    masters: gentoo

Installed sets: @thunderbird
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://ftp.halifax.rwth-aachen.de/gentoo/ https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli crypt cups dri dts dvd dvdr emboss encode exif flac fortran gdbm gif gpm gtk iconv icu ipv6 jpeg lcms libglvnd libtirpc mad mng mp3 mp4 mpeg multilib ncurses nptl ogg opengl openmp pango pcre pdf png policykit ppds qt5 readline sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8 python3_9" RUBY_TARGETS="ruby25" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="intel i965 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-java/icedtea-3.16.0::gentoo was built with the following:
USE="alsa cups gtk jbootstrap pch source system-lcms (-cacao) -doc -examples -headless-awt (-jamvm) -kerberos -libressl (-nsplugin) -pax_kernel -pulseaudio -sctp (-selinux) -shenandoah -smartcard -test (-webstart) -zero" ABI_X86="(64)"
CFLAGS="-march=native -O2 -pipe -fcommon -fno-delete-null-pointer-checks -fno-lifetime-dse"
CXXFLAGS="-march=native -O2 -pipe -fcommon -fno-delete-null-pointer-checks -fno-lifetime-dse"
FEATURES="sandbox binpkg-dostrip strict userfetch ipc-sandbox pid-sandbox protect-owned ebuild-locks fixlafiles news unmerge-orphans binpkg-docompress network-sandbox usersandbox multilib-strict usersync assume-digests distlocks binpkg-logs parallel-fetch unmerge-logs preserve-libs sfperms qa-unresolved-soname-deps config-protect-if-modified merge-sync unknown-features-warn userpriv xattr"