Summary: | app-arch/rpm-4.4.6-r4 and 4.4.7-r2 fails to compile with >=net-misc/neon-0.28 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ian Abbott <ian> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | askwar, bornland, caster, dliana, fhellmuth, fmccor, gentoo-bugs, gentoo, gregkh, jarausch, Martin.vGagern, moixa, patrizio.bassi, pcmoore, perry, tais.hansen, tschenturs, vapier, weeve3, willard.dawson, xsak, zeekec, zzam |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
patch for the rpm-4.4.6-r4.ebuild to accept neon-0.28
rpm-4.4.6-neon-0.28.patch patch for amd64 The same as rpm-4.4.6-neon-0.28.patch only an other name |
Description
Ian Abbott
2008-03-25 21:00:24 UTC
I have the same error that occurs on compiling rpm4 and rpm5. My emerge --info : Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-tuxonice-r3~julroy67~ x86_64) ================================================================= System uname: 2.6.24-tuxonice-r3~julroy67~ x86_64 Intel(R) Core(TM)2 Quad CPU @ 2.40GHz Timestamp of tree: Wed, 26 Mar 2008 16:19:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.5 dev-lang/python: 2.5.1-r5 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ " LANG="fr_FR.UTF-8" LC_ALL="fr_FR.UTF-8" LINGUAS="fr" MAKEOPTS="-j6" PKGDIR="/binhost" 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/i686-mingw32/usr/portage /usr/local/portage /usr/portage/local/layman/sunrise /usr/portage/local/layman/desktop-effects" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3ds 7zip X X509 a52 aac ace acl acpi addbookmarks additions administrator ads aften alias alsa amarok amazon amd64 amr amrnb amrwb aspnet aspnetedit async asyncns automount autoreplace bash-completion berkdb bidi binary-drivers binfilter blender-game boost branding bzip2 c++ cairo cal3d caps captury cdda cddb cdinstall cdio cdparanoia cdr cdrom cdsound cegui cg chm cjk clamav clamd cli clucene colordiff connectionstatus contactnotes contrib cpudetection cracklib crypt css ctype cups curl curlwrappers cxx d daap dbus devil dia directfb disk-partition divx djvu dmi dmx dri dvd dvdnav dvdr dvdread editor eds emboss emerald emovix enca encode enscript exif exiv2 expat extra-cardsets extras fam fame fastcgi fbcon fbcondecor fbsplash ffmpeg file filter firefox flac fmod fontconfig fortran ftp fuse gdbm gecko geoip gif gimp gimpprint glib glitz glut gmedia gnome gnutls gphoto2 gpm graphviz gs gstreamer gtk gzip hal hddtemp hdri hibernate-script highlight history hpn httpd iconv icu id3tag idn ifp ilbc imagemagick imap inkjar inotify insecure-patches insecure-savers iplsrc ipod ipv6 irc isdnlog jabber java javascript jce jingle jpeg jpeg2k justify kde kdehiddenvisibility kerberos kipi kontact kqemu ladspa lame lcms ldap libgcrypt libnotify libsamplerate libssh2 live lm_sensors log lua lzo mad make-symlinks maps matroska md5sum mdb messenger midi mikmod mime ming mjpeg mmap mmx mng modplug mono mozdevelop mozdom mozsha1 mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer msn mtp mudflap musepack musicbrainz ncurses nemesi neon nepomuk network networkmanager newxkb njb nls nodrm nowlistening npp nptl nptlonly nspr nss odbc ode ogg ogre ole openal openexr opengl openmp pam pango pch pcre pdf perl physfs pie plasma player plugins png pnm policykit polling posix postproc postscript povray pppd pulseaudio pyste python qca qt3 qt3support qt4 quicktime rar readline realmedia reflection replytolist rss rtc rtsp samba samplerate sdk sdl sdl-image session shout skins smp sndfile sockets solver songs sound speex spell spl sql sqlite sqlite3 srt sse sse2 ssl ssse3 statistics stream svg svgz swat symlink sysfs sysvipc taglib tagwriting tcl tcpd teletext texteffect tga theora threads tiff timidity tk trayicon truetype twolame unicode upnp usb utils v4l v4l2 vcd vcdx verse videos vim-syntax vim-with-x visualization vlm vnc vorbis vorbis-psy vst wavpack webpresence winbind winpopup wma wmf wmp x264 xanim xattr xcb xcf xcomposite xerces-c xforms xine xiph xml xmlrpc xmlwriter xorg xpm xprint xscreensaver xslt xv xvid xvmc yv12 zip zlib zrtp" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS It should depend on '<net-misc/neon-0.27' I guess. *** Bug 215037 has been marked as a duplicate of this bug. *** any solution to compile with current neon-0.28.1? Created attachment 147641 [details, diff]
patch for the rpm-4.4.6-r4.ebuild to accept neon-0.28
The patched ebuild, using the following patch, compiled for me.
Created attachment 147642 [details, diff]
rpm-4.4.6-neon-0.28.patch
The actual patch for rpm-4.4.6 to be applied by the modified 4.4.6-r4 ebuild. Hopefully shifts rpm-4.4.6 from neon-0.27 API to that of neon-0.28.
(In reply to comment #6) > Created an attachment (id=147642) [edit] > rpm-4.4.6-neon-0.28.patch > > The actual patch for rpm-4.4.6 to be applied by the modified 4.4.6-r4 ebuild. > Hopefully shifts rpm-4.4.6 from neon-0.27 API to that of neon-0.28. > The patch works fine with version 4.4.7-r2 (In reply to comment #7) > (In reply to comment #6) > > Created an attachment (id=147642) [edit] > > rpm-4.4.6-neon-0.28.patch > > > > The actual patch for rpm-4.4.6 to be applied by the modified 4.4.6-r4 ebuild. > > Hopefully shifts rpm-4.4.6 from neon-0.27 API to that of neon-0.28. > > > > The patch works fine with version 4.4.7-r2 But does 4.4.7-r2 actually work? Per Bug #153280, it does not. Or are you not on x86? Well, whatever - with the attached files from Honza, I also was able to build rpm 4.4.6.
> But does 4.4.7-r2 actually work? Per Bug #153280, it does not. Or are you not
> on x86?
>
> Well, whatever - with the attached files from Honza, I also was able to build
> rpm 4.4.6.
>
Sorry i'm on x86-64
(In reply to comment #9) > > But does 4.4.7-r2 actually work? Per Bug #153280, it does not. Or are you not > > on x86? > > > > Well, whatever - with the attached files from Honza, I also was able to build > > rpm 4.4.6. > > > > Sorry i'm on x86-64 > I have tested on x86 with version 4.4.6-r4 and on x86_64 with version 4.4.7-r2 and can report the patch works perfectly and so does rpm after it emerges. Just emerge rpm-5.0.3 and your are fine... (In reply to comment #11) > Just emerge rpm-5.0.3 and your are fine... Except it's still hardmasked due to bug #205280. And bug #215646 looks like the upgrade to rpm-5* might be a one way road, at least for people actually having rpm packages installed. I prefer this patch from Honza for the time being. Perhaps current revisions of the rpm 4.x ebuilds could depend on '<net-misc/neon-0.27' and later revisions could use Honza's patch and depend on '>=net-misc/neon-0.28'? Is there any reason not to apply that patch? I think it is annoying having a patch and nevertheless having to deal witrh it locally. (In reply to comment #5) Works for me (x86) worked for me, too, on x86 :) The patch does not work for me. Did I do something wrong. I created a overlay under /usr/local/portage/app-arch/, copied the whole directory /usr/portage_condor/app-arch/rpm to /usr/local/portage/app-arch/, copied rpm-4.4.6-neon-0.28.patch to usr/local/portage/app-arch/rpm/files/ and applied the rpm-4.4.6-r4-ebuild-neon-0.28.patch. 'emerge -pvD1 rpm' shows me: ... [ebuild R ] app-arch/rpm-4.4.7-r2 USE="nls perl python sqlite -doc" 0 kB [0=>1] Total: 1 package (1 reinstall), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage 'emerge -vD1 rpm' fails with: /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include/beecrypt -I/usr/include/neon -I../lua/include -I../lua/local -I../syck/lib -I../misc -march=nocona -O2 -pipe -fno-strict-aliasing -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT rpmdav.lo -MD -MP -MF .deps/rpmdav.Tpo -c -o rpmdav.lo rpmdav.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include/beecrypt -I/usr/include/neon -I../lua/include -I../lua/local -I../syck/lib -I../misc -march=nocona -O2 -pipe -fno-strict-aliasing -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT rpmdav.lo -MD -MP -MF .deps/rpmdav.Tpo -c rpmdav.c -fPIC -DPIC -o .libs/rpmdav.o rpmdav.c:106: error: expected declaration specifiers or '...' before 'ne_conn_status' rpmdav.c: In function 'davNotify': ... * ERROR: app-arch/rpm-4.4.7-r2 failed. ... * This ebuild is from an overlay: '/usr/local/portage/' Any hint? Regards Juergen I just realized, that the patch works only for rpm-4.4.6-r4. But for x86_64 gentoo tries to install rpm-4.4.7-r2. I modified the both patches a little bit, that they are working for x86_64. Created attachment 152267 [details]
patch for amd64
Created attachment 152271 [details]
The same as rpm-4.4.6-neon-0.28.patch only an other name
Honza's patches for 4.4.6 and Juergen's patches for 4.4.7 worked for me. (I built 4.4.7 for amd64, and built 4.4.6 in a 32-bit chroot - effectively for x86). I've applied Honza's patch in rpm-4.4.6-r5 (based on r4) and rpm-4.4.7-r4 (based on r2, skipping the masked r3) revbumps. Had to drop mips and ppc for the updated neon dep. And tweak package.mask a bit, so that the 4.4.7-r3 is masked specifically instead of >= and there's new entry for 5.0*. Thanks everyone. Will let this open for a while. works for me after the patch has been applied to r4. thank you. closing per above comment Juergen Rose´s patches for rpm-4.4.7-r2 appears to be working on ppc64 (32 bits userland (PS3)) as well |