Bug 116313 - Cannot compile sysutils/desktopbsd-tools on AMD64 CURRENT
Summary: Cannot compile sysutils/desktopbsd-tools on AMD64 CURRENT
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Lars Engels
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-12 18:20 UTC by admin
Modified: 2007-10-30 04:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.15 KB, patch)
2007-09-12 18:20 UTC, admin
no flags Details | Diff
patch-libdesktopbsd-ui_moddevinfo.ui.h (484 bytes, text/x-diff; charset="iso-8859-1")
2007-10-06 20:05 UTC, Peter Hofer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description admin 2007-09-12 18:20:01 UTC
Compilation failed with

c++ -c -pipe -Wall -W -O2 -fno-strict-aliasing -pipe -fPIC  -DQT_NO_CHECK -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../libdesktopbsd -I../../../../../../local/include -I/usr/local/include -o moddevinfo.o moddevinfo.cpp
In file included from moddevinfo.cpp:26:
moddevinfo.ui.h: In member function 'int modDevInfo::insertDevice(devinfo_dev*, void*)':
moddevinfo.ui.h:35: error: cast from 'void*' to 'uint' loses precision
*** Error code 1

Stop in /usr/ports/sysutils/desktopbsd-tools/work/desktopbsd-tools/libdesktopbsd-ui.
*** Error code 1

Fix: patch

Patch attached with submission follows:
How-To-Repeat: always on amd64, on i386 - successful
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-09-12 18:20:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Lars Engels freebsd_committer freebsd_triage 2007-09-12 21:55:57 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lme

I'll take it.
Comment 3 Peter Hofer 2007-09-29 10:48:45 UTC
I'm currently installing a 7.0-CURRENT snapshot to reproduce and fix this.
Comment 4 Peter Hofer 2007-10-06 20:05:28 UTC
I investigated the issue and came up with the attached patch.

It has been tested on 7-CURRENT/amd64 and 6-STABLE/i386 so far.
Comment 5 Lars Engels freebsd_committer freebsd_triage 2007-10-29 21:07:27 UTC
State Changed
From-To: feedback->open

Maintainer has fixed.
Comment 6 Lars Engels freebsd_committer freebsd_triage 2007-10-29 21:10:30 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 7 dfilter service freebsd_committer freebsd_triage 2007-10-30 04:37:24 UTC
lme         2007-10-29 21:03:57 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/desktopbsd-tools Makefile 
  Added files:
    sysutils/desktopbsd-tools/files 
                                    extra-patch-libdesktopbsd_accesspoint.cpp 
                                    extra-patch-libdesktopbsd_accesspoint.h 
                                    extra-patch-libdesktopbsd_wirelessinterface.cpp 
                                    extra-patch-libdesktopbsd_wirelessinterface.h 
                                    patch-libdesktopbsd-ui_moddevinfo.ui.h 
  Removed files:
    sysutils/desktopbsd-tools/files 
                                    patch-libdesktopbsd_accesspoint.cpp 
                                    patch-libdesktopbsd_accesspoint.h 
                                    patch-libdesktopbsd_wirelessinterface.cpp 
                                    patch-libdesktopbsd_wirelessinterface.h 
  Log:
  - Fix build
  
  PR:             ports/116313
  Submitted by:   Alex "lissyara" Keda <admin (AT) lissyara.su>
                  Peter Hofer <ph (AT) desktopbsd.net> via mail
  Approved by:    miwi (mentor)
  
  Revision  Changes    Path
  1.11      +5 -6      ports/sysutils/desktopbsd-tools/Makefile
  1.1       +181 -0    ports/sysutils/desktopbsd-tools/files/extra-patch-libdesktopbsd_accesspoint.cpp (new)
  1.1       +52 -0     ports/sysutils/desktopbsd-tools/files/extra-patch-libdesktopbsd_accesspoint.h (new)
  1.1       +262 -0    ports/sysutils/desktopbsd-tools/files/extra-patch-libdesktopbsd_wirelessinterface.cpp (new)
  1.1       +25 -0     ports/sysutils/desktopbsd-tools/files/extra-patch-libdesktopbsd_wirelessinterface.h (new)
  1.1       +11 -0     ports/sysutils/desktopbsd-tools/files/patch-libdesktopbsd-ui_moddevinfo.ui.h (new)
  1.2       +0 -181    ports/sysutils/desktopbsd-tools/files/patch-libdesktopbsd_accesspoint.cpp (dead)
  1.2       +0 -52     ports/sysutils/desktopbsd-tools/files/patch-libdesktopbsd_accesspoint.h (dead)
  1.2       +0 -262    ports/sysutils/desktopbsd-tools/files/patch-libdesktopbsd_wirelessinterface.cpp (dead)
  1.2       +0 -25     ports/sysutils/desktopbsd-tools/files/patch-libdesktopbsd_wirelessinterface.h (dead)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"