FS#15037 - java-environment package not found, on clean chroot.

Attached to Project: Arch Linux
Opened by Baho Utot (baho-utot) - Wednesday, 10 June 2009, 01:00 GMT
Last edited by Allan McRae (Allan) - Saturday, 13 June 2009, 13:03 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

checking for file conflicts...
installing libpng...
installing libjpeg...
installing libtiff...
Optional dependencies for libtiff
freeglut: for using tiffgt
==> Checking Buildtime Dependencies...
==> Installing missing dependencies...
error: 'java-environment': not found in sync db
java-environment package not found, searching for group...
==> ERROR: Pacman failed to install missing dependencies.
==> Removing installed dependencies...
checking dependencies...
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 13 June 2009, 13:03 GMT
Reason for closing:  Not a bug
Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 10 June 2009, 01:17 GMT
  • Field changed: Summary ([ibpano13] java-environment package not found, searching for group... → [libpano13] java-environment package not found, searching for group...)
@Biru: rare works fine here on clean chroot doing the command "makepkg -sr"

what is the command that you execute?
Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 10 June 2009, 01:24 GMT
hehe, anyway there is a problem, in this case "is makepkg related"... when package was finally build or aborted, at the "removing deps part" will fail.

==> Removing installed dependencies...
java-environment not found, searching for group...
error: 'java-environment': not found in local db
==> WARNING: Failed to remove installed dependencies.

Of course pacman don't understand about group on removing operation. Maybe makepkg should remember in some way the pkg installed via "provides" field.
Comment by Allan McRae (Allan) - Wednesday, 10 June 2009, 02:18 GMT
This is a known limitation in makepkg. I'm sure there is a bug report about it in the pacman tracker.
Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 10 June 2009, 03:33 GMT
@Allan can't locate it :(
Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 10 June 2009, 04:09 GMT
Maybe the best way, is close this bug, and one of us open a report in "pacman", in case of exist mark as duplicate. :)

OK?
Comment by Allan McRae (Allan) - Wednesday, 10 June 2009, 04:17 GMT
Fine with me... It must just be on my local TODO list.
Comment by Baho Utot (baho-utot) - Wednesday, 10 June 2009, 08:40 GMT
Here it is BTW Iam building in a clean chroot

sudo makechrootpkg -c -r ${CHROOT} -u -- --noconfirm -L 2>&1 | tee ${STARTDIR}/${i}/build.log

which gives:

building union chroot
updating chroot
mounting sysfs : /sys
mounting procfs : /proc
binding device nodes : /dev
binding pacman cache : /var/cache/pacman
copying mtab : /etc/mtab
copying resolv.conf : /etc/resolv.conf
starting chroot (pacman -Syu --noconfirm)
:: Synchronizing package databases...
core is up to date
downloading extra.db.tar.gz...
:: Starting full system upgrade...
local database is up to date
cleaning up mounts
moving build files to chroot
Setting PKGDEST in makepkg.conf
Setting SRCDEST in makepkg.conf
allowing 'nobody' sudo rights in the chroot
mounting sysfs : /sys
mounting procfs : /proc
binding device nodes : /dev
binding pacman cache : /var/cache/pacman
copying mtab : /etc/mtab
copying resolv.conf : /etc/resolv.conf
starting chroot (/chrootbuild)
==> Making package: libpano13 2.9.12-1 i686 (Wed Jun 10 01:20:28 UTC 2009)
==> Checking Runtime Dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...

Targets (3): libpng-1.2.36-1 libjpeg-6b-6 libtiff-3.8.2-4

Total Download Size: 0.00 MB
Total Installed Size: 4.25 MB

Proceed with installation? [Y/n]
checking package integrity...
checking for file conflicts...
installing libpng...
installing libjpeg...
installing libtiff...
Optional dependencies for libtiff
freeglut: for using tiffgt
==> Checking Buildtime Dependencies...
==> Installing missing dependencies...
error: 'java-environment': not found in sync db
java-environment package not found, searching for group...
==> ERROR: Pacman failed to install missing dependencies.
==> Removing installed dependencies...
checking dependencies...

Remove (3): libtiff-3.8.2-4 libjpeg-6b-6 libpng-1.2.36-1

Total Removed Size: 4.25 MB

Do you want to remove these packages? [Y/n]
removing libtiff...
removing libjpeg...
removing libpng...
cleaning up mounts
Build failed, check /home/Chroot/rw/build
cleaning up unioned mounts
Comment by Allan McRae (Allan) - Wednesday, 10 June 2009, 09:23 GMT
What mirror are you using in your chroot? openjdk6 provides java-environment. I can not replicate using you exact commandline.
Comment by Baho Utot (baho-utot) - Wednesday, 10 June 2009, 23:10 GMT
Here is my mirror list

#
# Arch Linux repository mirrorlist
#

# North America
# - United States
#Server = ftp://ftp.archlinux.org/$repo/os/i686
Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/i686
Server = http://archlinux.unixheads.org/$repo/os/i686
Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/i686
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/i686
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/i686
Server = http://archlinux.umflint.edu/mirrors/archlinux/$repo/os/i686
Server = http://mirror.neotuli.net/arch/$repo/os/i686
Server = http://mirror.rit.edu/archlinux/$repo/os/i686
Server = http://mirror.umoss.org/archlinux/$repo/os/i686
Server = http://schlunix.org/archlinux/$repo/os/i686
Server = http://mirror.archlinux.com.ve/$repo/os/i686
Server = http://mirrors.gigenet.com/archlinux/$repo/os/i686

as you see it is as installed with the archlinux ftp repo comment out.

I tried building on my notebook computer and it built successfully
after trying again on my desktop I got a failure, Must be something wrong on my desktop computer.

What is different is the desktop is a new install and the notebook is an older install from the days of kde-3.5.8 running an older kernel.


Comment by Gerardo Exequiel Pozzi (djgera) - Friday, 12 June 2009, 00:47 GMT
  • Field changed: Summary ([libpano13] java-environment package not found, searching for group... → java-environment package not found, on clean chroot.)
Renamed the task to more generic, not related with that package.

Anyway I can not reproduce this. :(
Comment by Allan McRae (Allan) - Friday, 12 June 2009, 04:15 GMT
Does /home/Chroot/root/var/lib/pacman/sync/extra/openjdk6-1.5-2/depends
exist and have java-environment in the provides.
Comment by Baho Utot (baho-utot) - Saturday, 13 June 2009, 12:15 GMT
No /home/Chroot/root/var/lib/pacman/sync/extra/openjdk6-1.5-2/depends does not exist

I don't know why it does not
Comment by Allan McRae (Allan) - Saturday, 13 June 2009, 12:28 GMT
It appears something is wrong with your chroot pacman db. Running this should fix it:

mkarchroot -r "pacman -Syy" /home/Chroot/root
Comment by Baho Utot (baho-utot) - Saturday, 13 June 2009, 13:01 GMT
Ok I ran that cmd and it looks like it took care of the problem


Thank you

Loading...