Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-java/ant - Strange build date
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Einstok_Fair
n00b
n00b


Joined: 12 Aug 2020
Posts: 40

PostPosted: Thu Feb 29, 2024 2:40 pm    Post subject: dev-java/ant - Strange build date Reply with quote

I just compiled dev-java/ant,
but

# ant -version

says
```
Apache Ant(TM) version 1.10.9 compiled on July 14 2022
```

Why it does so, how that happened?
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1539

PostPosted: Thu Feb 29, 2024 3:48 pm    Post subject: Re: dev-java/ant - Strange build date Reply with quote

Einstok_Fair wrote:

Apache Ant(TM) version 1.10.9


What's stranger is current version is 1.10.14-r2.

Please provide the output of:

Code:
grep ant /var/log/emerge.log | awk  '{ printf strftime("%c: ", $1); $1 = ""; print $0; }' | tail


EDIT: actually 1.10.9 has been the stable version up until 4 days ago. If you sync and update now, you'll have 1.10.14 compiled today. The above command would only confirm when you last emerged ant.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21637

PostPosted: Thu Feb 29, 2024 4:02 pm    Post subject: Reply with quote

What is the output of type -P ant ; emerge --info dev-java/ant? I wonder if you have a non-Portage ant being found in preference to what you just installed.
Back to top
View user's profile Send private message
Einstok_Fair
n00b
n00b


Joined: 12 Aug 2020
Posts: 40

PostPosted: Fri Mar 01, 2024 9:39 pm    Post subject: Re: dev-java/ant - Strange build date Reply with quote

logrusx wrote:
If you sync and update now, you'll have 1.10.14 compiled today.


yes.

Code:

# LANG="C" ant -version
Warning: Unable to determine tools.jar location.
  If build fails because sun.* classes could not be found,
  Make sure you are using a JDK, not JRE as your user/system VM.
  and that you have java-config version 2.0.30 or above installed.
Apache Ant(TM) version 1.10.14 compiled on [b]маÑÑа 01 2024[/b]


Code:

Fri 01 Mar 2024 09:25:19 PM -00:  >>> emerge (8 of 8) dev-java/ant-core-1.10.14 to /
Fri 01 Mar 2024 09:25:19 PM -00:  === (8 of 8) Cleaning (dev-java/ant-core-1.10.14::/var/db/repos/gentoo/dev-java/ant-core/ant-core-1.10.14.ebuild)
Fri 01 Mar 2024 09:25:19 PM -00:  === (8 of 8) Compiling/Packaging (dev-java/ant-core-1.10.14::/var/db/repos/gentoo/dev-java/ant-core/ant-core-1.10.14.ebuild)
Fri 01 Mar 2024 09:25:23 PM -00:  === (8 of 8) Merging (dev-java/ant-core-1.10.14::/var/db/repos/gentoo/dev-java/ant-core/ant-core-1.10.14.ebuild)
Fri 01 Mar 2024 09:25:24 PM -00:  >>> AUTOCLEAN: dev-java/ant-core:0
Fri 01 Mar 2024 09:25:25 PM -00:  === (8 of 8) Post-Build Cleaning (dev-java/ant-core-1.10.14::/var/db/repos/gentoo/dev-java/ant-core/ant-core-1.10.14.ebuild)
Fri 01 Mar 2024 09:25:25 PM -00:  ::: completed emerge (8 of 8) dev-java/ant-core-1.10.14 to /
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30922
Location: here

PostPosted: Sat Mar 02, 2024 12:34 pm    Post subject: Reply with quote

Can you post output of commands proposed by Hu?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Einstok_Fair
n00b
n00b


Joined: 12 Aug 2020
Posts: 40

PostPosted: Sun Mar 03, 2024 11:30 pm    Post subject: Reply with quote

Code:

$ type -P ant
/usr/bin/ant


Code:

$ emerge --info dev-java/ant

...

Portage 3.0.51 (python 3.11.5-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-12, glibc-2.37-r7, 5.10.13-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.13-x86_64-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-glibc2.37
KiB Mem:    16393392 total,    617560 free
KiB Swap:    8388604 total,   7786504 free
Head commit of repository buildserver: b7395df06943a5c17a748bb7e1deafba83918335

...

Timestamp of repository gentoo: Sun, 03 Mar 2024 04:50:48 +0000
Head commit of repository gentoo: c21b1e59eb321d7b902bbf4de0a7e23821d2f04e

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r1::gentoo, 2.69-r4::gentoo, 2.71-r5::gentoo
dev-build/automake:        1.13.4-r2::gentoo, 1.16.5::gentoo
dev-build/cmake:           3.26.5-r2::gentoo
dev-build/libtool:         2.4.7::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.2.3::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           2.7.18-r4::gentoo, 3.9.12::gentoo, 3.10.11::gentoo, 3.11.5::gentoo
dev-lang/rust:             1.60.0::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          254.5-r1::gentoo
sys-devel/binutils:        2.34-r2::gentoo, 2.37_p1-r2::gentoo, 2.38-r2::gentoo, 2.39-r5::gentoo, 2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           14.0.6-r1::gentoo, 15.0.7-r1::gentoo
sys-devel/gcc:             9.3.0-r1::gentoo, 10.3.0::gentoo, 11.3.1_p20221209::gentoo, 12.2.1_p20230428-r1::gentoo, 13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             11.1.0::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.6-r2::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r7::gentoo
Repositories:

...

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: http://mirrors/var/db/repos/gentoo
    priority: 1000
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles installsources ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.utf8"
LC_ALL="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BINHOST="file:///var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-4"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups dbus dri dts dvd dvdr eds encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gnome-shell gpm gstreamer gtk gui iconv icu introspection ipv6 jpeg keyring lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pkg-config png policykit ppds pulseaudio qt5 readline sdl seccomp sound spell split-usr ssl startup-notification svg sysprof systemd test-rust tiff tracker truetype udev udisks unicode upower usb vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="actions alias auth_basic authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="pc qemu" INPUT_DEVICES="libinput" KERNEL="linux" L10N="ru en en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-javascript wiki-publisher" LLVM_TARGETS="X86 AMDGPU AArch64 RISCV WebAssembly" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" MSBUILD_TARGETS="msbuild15-9" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="x86_64 aarch64" QEMU_USER_TARGETS="x86_64 aarch64" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi dummy fbdev intel nouveau radeon vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


Anyway, I think that problem gone with update. Thanks.
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1539

PostPosted: Mon Mar 04, 2024 6:29 am    Post subject: Reply with quote

You still have glibc-2.37.

You better update at least once a couple of months or you're going to run into trouble updating.

You have 5 versions of gcc, do you need all those? If not, you should run emerge --ask --depclean after every update. Review the list of packages to be cleaned up carefully to avoid unmerging something you need. Emerge --noreplace will record the ones you need in world and then you can run emerge --ask --depclean again.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum