Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494820 - sys-freebsd/freebsd-lib-10.0_rc2 does not seem to be able to upgrade correctly.
Summary: sys-freebsd/freebsd-lib-10.0_rc2 does not seem to be able to upgrade correctly.
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-20 12:26 UTC by Yuta SATOH
Modified: 2017-06-22 10:17 UTC (History)
0 users

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 Yuta SATOH 2013-12-20 12:26:45 UTC
Compile of freebsd-lib-10.0_rc2 to succeed.
However, iconv seems to not work correctly only installed freebsd-lib once.

I have not found the cause yet.
will be resolved when you run twice emerge freebsd-lib.

Reproducible: Always

Steps to Reproduce:
1. emerge freebsd-sources
2. reboot
3. emerge -u sys-freebsd/freebsd-lib sys-freebsd/freebsd-usbin sys-freebsd/freebsd-sbin sys-freebsd/freebsd-bin sys-freebsd/freebsd-pam-modules


Actual Results:  
When you upgrade sys-freebsd/freebsd-sbin, errors related to iconv occurs.


===> mount_cd9660 (all)
Warning: Object directory not changed from original /var/tmp/portage/sys-freebsd/freebsd-sbin-10.0_rc2/work/sbin/mount_cd9660
gcc -O2 -pipe -mtune=generic  -I/var/tmp/portage/sys-freebsd/freebsd-sbin-10.0_rc2/work/sbin/mount_cd9660/../mount -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c mount_cd9660.c
gcc -O2 -pipe -mtune=generic  -I/var/tmp/portage/sys-freebsd/freebsd-sbin-10.0_rc2/work/sbin/mount_cd9660/../mount -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /var/tmp/portage/sys-freebsd/freebsd-sbin-10.0_rc2/work/sbin/mount_cd9660/../mount/getmntopts.c
gcc -O2 -pipe -mtune=generic  -I/var/tmp/portage/sys-freebsd/freebsd-sbin-10.0_rc2/work/sbin/mount_cd9660/../mount -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign  -o mount_cd9660 mount_cd9660.o getmntopts.o -lkiconv
/usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.6.3/../../../../x86_64-gentoo-freebsd9.1/bin/ld: mount_cd9660: hidden symbol `iconv_close' in /usr/lib/libc_nonshared.a(iconv_close.o) is referenced by DSO
/usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.6.3/../../../../x86_64-gentoo-freebsd9.1/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
*** [mount_cd9660] Error code 1
1 error
*** [all] Error code 2
1 error
 * ERROR: sys-freebsd/freebsd-sbin-10.0_rc2::gentoo failed (compile phase):
 *   make failed




workaround, re-emerge freebsd-lib, and retry emerge -u freebsd-sbin



# emerge -pvu sys-freebsd/freebsd-lib sys-freebsd/freebsd-usbin sys-freebsd/freebsd-sbin sys-freebsd/freebsd-bin sys-freebsd/freebsd-pam-modules

 * IMPORTANT: 2 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

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

Calculating dependencies... done!
[ebuild     U  ] sys-freebsd/freebsd-share-10.0_rc2 [9.1] USE="-doc -zfs%" 0 kB
[ebuild     U  ] sys-freebsd/freebsd-pam-modules-10.0_rc2 [9.1] USE="(-kerberos) -nis -profile" 0 kB
[ebuild     U  ] dev-libs/openssl-1.0.1e-r2 [1.0.1d] USE="bindist sse2 tls-heartbeat%* zlib -gmp (-kerberos) -rfc3779 -static-libs {-test} -vanilla" 0 kB
[ebuild     U  ] sys-freebsd/freebsd-lib-10.0_rc2 [9.1] USE="ipv6 ssl -atm -bluetooth -build -hesiod (-kerberos) -netware -profile -usb -zfs (-bootstrap%) (-multilib%*)" ABI_X86="(32%*) (64%*) (-x32)" 0 kB
[ebuild     U  ] virtual/libiconv-0-r2::fix10 [0::gentoo] ABI_X86="(64%*) -32% (-x32)" 0 kB
[uninstall     ] dev-libs/libelf-0.8.13-r1  USE="nls -debug"
[blocks b      ] dev-libs/libelf ("dev-libs/libelf" is blocking sys-freebsd/freebsd-lib-10.0_rc2)
[ebuild     U  ] sys-freebsd/freebsd-bin-10.0_rc2 [9.1] USE="-profile" 0 kB
[ebuild     U  ] sys-freebsd/freebsd-libexec-10.0_rc2 [9.1] USE="ipv6 pam ssl (-kerberos) -nis -profile -xinetd" ABI_X86="(32%*) (64%*) (-x32)" 0 kB
[ebuild     U  ] sys-freebsd/freebsd-sbin-10.0_rc2 [9.1] USE="cxx ipv6 pf ssl -atm -build -ipfilter -netware -profile" 0 kB
[ebuild     U  ] sys-freebsd/freebsd-ubin-10.0_rc2 [9.1] USE="ipv6 ssl -ar -atm -audit -bluetooth -build (-kerberos) -netware -nis -profile -usb -zfs" ABI_X86="(32%*) (64%*) (-x32)" 0 kB
[uninstall     ] dev-libs/libiconv-1.14
[blocks b      ] dev-libs/libiconv ("dev-libs/libiconv" is blocking sys-freebsd/freebsd-lib-10.0_rc2, sys-freebsd/freebsd-ubin-10.0_rc2)
[uninstall     ] sys-freebsd/freebsd-contrib-9.1  USE="-profile"
[blocks b      ] sys-freebsd/freebsd-contrib ("sys-freebsd/freebsd-contrib" is blocking sys-freebsd/freebsd-ubin-10.0_rc2)
[ebuild     U  ] sys-freebsd/freebsd-usbin-10.0_rc2 [9.1] USE="ipv6 pam ssl -acpi -atm -audit -bluetooth -build -floppy (-kerberos) -minimal -netware -nis -profile -usb" 0 kB

Total: 10 packages (10 upgrades, 3 uninstalls), Size of downloads: 0 kB
Conflict: 3 blocks

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Comment 1 Yuta SATOH 2017-06-22 10:17:19 UTC
freebsd-lib-10.0 is no longer in the tree.
closing.