pimvullers / elementary

The elementary OS experience for Gentoo Linux.
https://elementary.io/
114 stars 35 forks source link

404 Error When Emerging mail-client/geary #15

Closed sssilver closed 11 years ago

sssilver commented 11 years ago

I get a 404 error from wget when trying to emerge mail-client/geary. Been getting it for quite a few weeks.

pimvullers commented 11 years ago

I resolved the download issue. And added the latest version (0.2.2) as well. I do however also have some build issues in combination with the latest granite.

sssilver commented 11 years ago

After emerge --sync, this is what I have:

>>> Emerging (1 of 1) mail-client/geary-0.1.0 from elementary
>>> Downloading 'http://distfiles.gentoo.org/distfiles/geary-0.1.0.tar.xz'
--2012-11-28 20:29:33--  http://distfiles.gentoo.org/distfiles/geary-0.1.0.tar.xz
Resolving distfiles.gentoo.org... 140.211.166.134, 64.50.233.100, 156.56.247.195, ...
Connecting to distfiles.gentoo.org|140.211.166.134|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-11-28 20:29:33 ERROR 404: Not Found.

>>> Downloading 'http://yorba.org/download/geary/stable/geary-0.1.0.tar.xz'
--2012-11-28 20:29:33--  http://yorba.org/download/geary/stable/geary-0.1.0.tar.xz
Resolving yorba.org... 173.244.176.250
Connecting to yorba.org|173.244.176.250|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-11-28 20:29:34 ERROR 404: Not Found.

!!! Couldn't download 'geary-0.1.0.tar.xz'. Aborting.```
pimvullers commented 11 years ago

When using overlays an emerge --sync is not sufficient, this only syncs the main portage tree. If you installed this overlay using layman you should run 'layman -S'. If you cloned it manually you should run 'git pull' in the corresponding directory.

sssilver commented 11 years ago

Thanks for the tip, pimvullers. After emerge --sync && layman -S:

aregh-8460-lnx silver # emerge -av geary

These are the packages that would be merged, in order:

Calculating dependencies - * Missing digest for '/var/lib/layman/elementary/mail-client/geary/geary-0.2.2.ebuild'
... done!
[ebuild  N     ] mail-client/geary-0.1.0::elementary  230 kB

Total: 1 package (1 new), Size of downloads: 230 kB

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests
!!! A file is not listed in the Manifest: '/var/lib/layman/elementary/mail-client/geary/geary-0.2.2.ebuild'```
pimvullers commented 11 years ago

Sorry, forgot to commit all files. But as mentioned before, I've got some build issues that I need to investigate, but it might work without granite, or using an older granite version.

pimvullers commented 11 years ago

Older versions don't work, so I'll have to disable granite detection or patch geary to work with the latest granite.

pimvullers commented 11 years ago

I've now added a patch such that geary 0.2.2 should build with granite 0.1.1

sssilver commented 11 years ago

Looks like some dependencies aren't properly resolved. Namely, gee, libnotify, and libcanberra.

Build log:

These are the packages that would be merged, in order:

Calculating dependencies  .... done!
[ebuild  N     ] mail-client/geary-0.2.2::elementary  0 kB

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

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) mail-client/geary-0.2.2 from elementary
 * geary-0.2.2.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...               [ ok ]
>>> Unpacking source...
>>> Unpacking geary-0.2.2.tar.xz to /var/tmp/portage/mail-client/geary-0.2.2/work
>>> Source unpacked in /var/tmp/portage/mail-client/geary-0.2.2/work
>>> Preparing source in /var/tmp/portage/mail-client/geary-0.2.2/work/geary-0.2.2 ...
 * Applying fix-granite-0.1.1.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/mail-client/geary-0.2.2/work/geary-0.2.2 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/mail-client/geary-0.2.2/work/geary-0.2.2_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/mail-client/geary-0.2.2/work/geary-0.2.2_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DDESKTOP_UPDATE=OFF -DGSETTINGS_COMPILE=OFF -DICON_UPDATE=OFF -DVALA_EXECUTABLE=/usr/bin/valac-0.18 -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/mail-client/geary-0.2.2/work/geary-0.2.2_build/gentoo_rules.cmake  /var/tmp/portage/mail-client/geary-0.2.2/work/geary-0.2.2
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/mail-client/geary-0.2.2/work/geary-0.2.2_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 4.6.3
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1") 
-- xgettext found
-- Found Vala: /usr/bin/valac-0.18  
-- checking for a minimum Vala version of 0.17.4
--   found Vala, version 0.18.1
-- Unity indicate support: OFF
-- Unity messaging menu support: OFF
-- Unity launcher support: OFF
-- Granite support: OFF
-- checking for modules 'gthread-2.0;glib-2.0>=2.32.0;gio-2.0>=2.28.0;gtk+-3.0>=3.4.0;gee-1.0>=0.6.0;unique-3.0>=3.0.0;libnotify>=0.7.5;libcanberra>=0.28;sqlite3>=3.7.4;gmime-2.6>=2.6.0;gnome-keyring-1>=3.2.2;webkitgtk-3.0>=1.8.0'
--   package 'gee-1.0>=0.6.0' not found
--   package 'libnotify>=0.7.5' not found
--   package 'libcanberra>=0.28' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:284 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:338 (_pkg_check_modules_internal)
  src/CMakeLists.txt:358 (pkg_check_modules)

-- GSettings schemas will be compiled in-place.
-- GSettings schemas will be installed into /usr/share/glib-2.0/schemas/
Creating POT file
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -O2 -pipe -march=native 
C++             
Linker flags:
Executable       -Wl,-O1 -Wl,--as-needed
Module           -Wl,-O1 -Wl,--as-needed
Shared           -Wl,-O1 -Wl,--as-needed

-- Configuring incomplete, errors occurred!
 * ERROR: mail-client/geary-0.2.2 failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 3026:  Called cmake-utils_src_configure
 *   environment, line  709:  Called _execute_optionaly 'src_configure'
 *   environment, line  223:  Called enable_cmake-utils_src_configure
 *   environment, line 1021:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=mail-client/geary-0.2.2'`,
 * the complete build log and the output of `emerge -pqv '=mail-client/geary-0.2.2'`.
 * This ebuild is from an overlay named 'elementary': '/var/lib/layman/elementary/'
 * The complete build log is located at '/var/tmp/portage/mail-client/geary-0.2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-client/geary-0.2.2/temp/environment'.
 * Working directory: '/var/tmp/portage/mail-client/geary-0.2.2/work/geary-0.2.2_build'
 * S: '/var/tmp/portage/mail-client/geary-0.2.2/work/geary-0.2.2'

>>> Failed to emerge mail-client/geary-0.2.2, Log file:

>>>  '/var/tmp/portage/mail-client/geary-0.2.2/temp/build.log'

 * Messages for package mail-client/geary-0.2.2:

 * ERROR: mail-client/geary-0.2.2 failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 3026:  Called cmake-utils_src_configure
 *   environment, line  709:  Called _execute_optionaly 'src_configure'
 *   environment, line  223:  Called enable_cmake-utils_src_configure
 *   environment, line 1021:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=mail-client/geary-0.2.2'`,
 * the complete build log and the output of `emerge -pqv '=mail-client/geary-0.2.2'`.
 * This ebuild is from an overlay named 'elementary': '/var/lib/layman/elementary/'
 * The complete build log is located at '/var/tmp/portage/mail-client/geary-0.2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-client/geary-0.2.2/temp/environment'.
 * Working directory: '/var/tmp/portage/mail-client/geary-0.2.2/work/geary-0.2.2_build'
 * S: '/var/tmp/portage/mail-client/geary-0.2.2/work/geary-0.2.2'```
sssilver commented 11 years ago

When looking for gee, perhaps it means libgee? Because I do have that installed.

pimvullers commented 11 years ago

I updated the dependencies... libgee is slotted, you've probably got an 0.8 version, while geary needs one from the '0' slot.

sssilver commented 11 years ago

Thanks, it builds successfully now! Great job.

pimvullers commented 11 years ago

Thanks for reporting. I normally use the live ebuilds (9999 versions) that directly build from the bzr or git repositories (to keep up with the latest changes), so I'm glad others notify me about issues in the release versions.